superb-warfare/elements/RpgRocketDanSheWuFeiXingShiMeiKeFaSheng.mod.json
2024-05-04 14:26:24 +08:00

7 lines
No EOL
5.5 KiB
JSON

{
"_fv": 57,
"_type": "procedure",
"definition": {
"procedurexml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><variables><variable type=\"Number\" id=\"life\">life</variable></variables><block type=\"event_trigger\" deletable=\"false\" x=\"40\" y=\"40\"><field name=\"trigger\">no_ext_trigger</field><next><block type=\"entity_nbt_num_set\"><value name=\"entity\"><block type=\"immediate_source_entity_from_deps\"></block></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">time</field></block></value><value name=\"tagValue\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><value name=\"B\"><block type=\"entity_nbt_num_get\"><value name=\"entity\"><block type=\"immediate_source_entity_from_deps\"></block></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">time</field></block></value></block></value></block></value><next><block type=\"variables_set_number\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" is_player_var=\"false\" has_entity=\"false\"></mutation><field name=\"VAR\">local:life</field><value name=\"VAL\"><block type=\"entity_nbt_num_get\"><value name=\"entity\"><block type=\"immediate_source_entity_from_deps\"></block></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">time</field></block></value></block></value><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"math_binary_ops\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get_number\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" is_player_var=\"false\" has_entity=\"false\"></mutation><field name=\"VAR\">local:life</field></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">4</field></block></value></block></value><statement name=\"DO0\"><block type=\"entity_execute_command\"><value name=\"entity\"><block type=\"immediate_source_entity_from_deps\"></block></value><value name=\"command\"><block type=\"text\"><field name=\"TEXT\">particle minecraft:campfire_cosy_smoke ~ ~ ~ 0.8 0.8 0.8 0.01 50 force</field></block></value></block></statement><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"math_binary_ops\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"variables_get_number\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" is_player_var=\"false\" has_entity=\"false\"></mutation><field name=\"VAR\">local:life</field></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">4</field></block></value></block></value><statement name=\"DO0\"><block type=\"entity_set_movement\"><value name=\"entity\"><block type=\"immediate_source_entity_from_deps\"></block></value><value name=\"vx\"><block type=\"math_dual_ops\"><field name=\"OP\">MULTIPLY</field><value name=\"A\"><block type=\"math_number\"><field name=\"NUM\">1.04</field></block></value><value name=\"B\"><block type=\"entity_vel_x\"><value name=\"entity\"><block type=\"immediate_source_entity_from_deps\"></block></value></block></value></block></value><value name=\"vy\"><block type=\"math_dual_ops\"><field name=\"OP\">MINUS</field><value name=\"A\"><block type=\"math_dual_ops\" collapsed=\"true\"><field name=\"OP\">MULTIPLY</field><value name=\"A\"><block type=\"math_number\"><field name=\"NUM\">1.04</field></block></value><value name=\"B\"><block type=\"entity_vel_y\"><value name=\"entity\"><block type=\"immediate_source_entity_from_deps\"></block></value></block></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">0.02</field></block></value></block></value><value name=\"vz\"><block type=\"math_dual_ops\"><field name=\"OP\">MULTIPLY</field><value name=\"A\"><block type=\"math_number\"><field name=\"NUM\">1.04</field></block></value><value name=\"B\"><block type=\"entity_vel_z\"><value name=\"entity\"><block type=\"immediate_source_entity_from_deps\"></block></value></block></value></block></value><next><block type=\"entity_execute_command\"><value name=\"entity\"><block type=\"immediate_source_entity_from_deps\"></block></value><value name=\"command\"><block type=\"text\"><field name=\"TEXT\">particle minecraft:smoke ~ ~ ~ 0 0 0 0 2 force</field></block></value><next><block type=\"entity_execute_command\"><value name=\"entity\"><block type=\"immediate_source_entity_from_deps\"></block></value><value name=\"command\"><block type=\"text\"><field name=\"TEXT\">particle minecraft:campfire_cosy_smoke ~ ~ ~ 0 0 0 0 2 force</field></block></value></block></next></block></next></block></statement><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"math_binary_ops\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"variables_get_number\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" is_player_var=\"false\" has_entity=\"false\"></mutation><field name=\"VAR\">local:life</field></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">90</field></block></value></block></value><statement name=\"DO0\"><block type=\"entity_execute_command\"><value name=\"entity\"><block type=\"immediate_source_entity_from_deps\"></block></value><value name=\"command\"><block type=\"text\"><field name=\"TEXT\">target:mediumexp</field></block></value><next><block type=\"entity_despawn\"><value name=\"entity\"><block type=\"immediate_source_entity_from_deps\"></block></value></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></xml>"
}
}