mirror of
https://github.com/JasonTable/vore-mod.git
synced 2025-04-19 01:48:52 -04:00
7 lines
No EOL
8.2 KiB
JSON
7 lines
No EOL
8.2 KiB
JSON
{
|
|
"_fv": 34,
|
|
"_type": "procedure",
|
|
"definition": {
|
|
"procedurexml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"block_remove\" x=\"510\" y=\"110\"><value name=\"x\"><block type=\"coord_x\"></block></value><value name=\"y\"><block type=\"coord_y\"></block></value><value name=\"z\"><block type=\"coord_z\"></block></value></block><block type=\"event_trigger\" deletable=\"false\" x=\"471\" y=\"183\"><field name=\"trigger\">no_ext_trigger</field><next><block type=\"world_switch_world\"><field name=\"dimension\">CUSTOM:Belly</field><statement name=\"worldstatements\"><block type=\"world_entity_inrange_foreach\"><value name=\"_placeholder\"><block type=\"entity_iterator\" deletable=\"false\" movable=\"false\"></block></value><value name=\"x\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"coord_x\"></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">24</field></block></value></block></value><value name=\"y\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"coord_y\"></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">24</field></block></value></block></value><value name=\"z\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"coord_z\"></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">24</field></block></value></block></value><value name=\"range\"><block type=\"math_number\"><field name=\"NUM\">48</field></block></value><statement name=\"foreach\"><block type=\"controls_if\"><comment pinned=\"false\" h=\"119\" w=\"231\">run the exit command for players first so that maybe nearby mobs will follow. this is because only players will get updated exit position.</comment><value name=\"IF0\"><block type=\"logic_entity_compare\"><field name=\"entity\">EntityPlayer</field><value name=\"compareTo\"><block type=\"entity_iterator\"></block></value></block></value><statement name=\"DO0\"><block type=\"entity_send_chat\"><value name=\"text\"><block type=\"text\"><field name=\"TEXT\">The creature you were inside of has died.</field></block></value><value name=\"entity\"><block type=\"entity_iterator\"></block></value><value name=\"actbar\"><block type=\"logic_boolean\"><field name=\"BOOL\">FALSE</field></block></value><next><block type=\"entity_execute_command\"><value name=\"command\"><block type=\"text\"><field name=\"TEXT\">voredebug belly exit</field></block></value><value name=\"entity\"><block type=\"entity_iterator\"></block></value></block></next></block></statement></block></statement><next><block type=\"world_entity_inrange_foreach\"><value name=\"_placeholder\"><block type=\"entity_iterator\"></block></value><value name=\"x\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"coord_x\"></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">24</field></block></value></block></value><value name=\"y\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"coord_y\"></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">24</field></block></value></block></value><value name=\"z\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"coord_z\"></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">24</field></block></value></block></value><value name=\"range\"><block type=\"math_number\"><field name=\"NUM\">48</field></block></value><statement name=\"foreach\"><block type=\"controls_if\"><value name=\"IF0\"><block type=\"logic_negate\"><value name=\"BOOL\"><block type=\"logic_entity_compare\"><field name=\"entity\">EntityPlayer</field><value name=\"compareTo\"><block type=\"entity_iterator\"></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"entity_execute_command\"><value name=\"command\"><block type=\"text\"><field name=\"TEXT\">voredebug belly exit</field></block></value><value name=\"entity\"><block type=\"entity_iterator\"></block></value></block></statement></block></statement></block></next></block></statement></block></next></block><block type=\"controls_if\" x=\"1683\" y=\"148\"><value name=\"IF0\"><block type=\"compare_mcblocks\"><value name=\"a\"><block type=\"world_data_blockat\"><value name=\"x\"><block type=\"coord_x\"></block></value><value name=\"y\"><block type=\"coord_y\"></block></value><value name=\"z\"><block type=\"coord_z\"></block></value></block></value><value name=\"b\"><block type=\"mcitem_allblocks\"><field name=\"value\">CUSTOM:Bellyorigin</field></block></value></block></value><statement name=\"DO0\"><block type=\"controls_if\"><mutation else=\"1\"></mutation><value name=\"IF0\"><block type=\"text_binary_ops\"><value name=\"A\"><block type=\"block_nbt_text_get\"><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">exitCMD</field></block></value><value name=\"x\"><block type=\"coord_x\"></block></value><value name=\"y\"><block type=\"coord_y\"></block></value><value name=\"z\"><block type=\"coord_z\"></block></value></block></value><value name=\"B\"><block type=\"text\"><field name=\"TEXT\">uneat</field></block></value></block></value><statement name=\"DO0\"><block type=\"entity_execute_command\" inline=\"false\"><value name=\"command\"><block type=\"text_join\" inline=\"false\"><mutation items=\"8\"></mutation><value name=\"ADD0\"><block type=\"text\"><field name=\"TEXT\">execute in </field></block></value><value name=\"ADD1\"><block type=\"text_replace\" inline=\"false\"><comment pinned=\"false\" h=\"80\" w=\"160\">workaround to get id of dimension from vanilla or any mod</comment><value name=\"what\"><block type=\"text\"><field name=\"TEXT\">ResourceKey[minecraft:dimension / </field></block></value><value name=\"with\"><block type=\"text\"><field name=\"TEXT\"></field></block></value><value name=\"text\"><block type=\"text_replace\" inline=\"false\"><value name=\"what\"><block type=\"text\"><field name=\"TEXT\">]</field></block></value><value name=\"with\"><block type=\"text\"><field name=\"TEXT\"></field></block></value><value name=\"text\"><block type=\"text_join\"><mutation items=\"1\"></mutation><value name=\"ADD0\"><block type=\"entity_dimension_id\"><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value></block></value></block></value></block></value><value name=\"ADD2\"><block type=\"text\"><field name=\"TEXT\"> run tp @s </field></block></value><value name=\"ADD3\"><block type=\"entity_pos_x\"><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"ADD4\"><block type=\"text\"><field name=\"TEXT\"> </field></block></value><value name=\"ADD5\"><block type=\"entity_pos_y\"><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"ADD6\"><block type=\"text\"><field name=\"TEXT\"> </field></block></value><value name=\"ADD7\"><block type=\"entity_pos_z\"><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value></block></value><value name=\"entity\"><block type=\"entity_iterator\"></block></value></block></statement><statement name=\"ELSE\"><block type=\"entity_execute_command\" inline=\"false\"><value name=\"command\"><block type=\"block_nbt_text_get\"><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">exitCMD</field></block></value><value name=\"x\"><block type=\"coord_x\"></block></value><value name=\"y\"><block type=\"coord_y\"></block></value><value name=\"z\"><block type=\"coord_z\"></block></value></block></value><value name=\"entity\"><block type=\"entity_iterator\"></block></value></block></statement></block></statement><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"logic_negate\"><value name=\"BOOL\"><block type=\"logic_entity_compare\"><field name=\"entity\">EntityPlayer</field><value name=\"compareTo\"><block type=\"entity_iterator\"></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"entity_despawn\"><value name=\"entity\"><block type=\"entity_iterator\"></block></value></block></statement></block></next></block><block type=\"entity_iterator\" x=\"1049\" y=\"191\"></block></xml>"
|
|
}
|
|
} |