mirror of
https://github.com/JasonTable/vore-mod.git
synced 2024-11-26 23:23:59 -05:00
7 lines
No EOL
8 KiB
JSON
7 lines
No EOL
8 KiB
JSON
{
|
|
"_fv": 57,
|
|
"_type": "procedure",
|
|
"definition": {
|
|
"procedurexml": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?><xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"block_remove\" x=\"510\" y=\"110\"><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value></block><block deletable=\"false\" type=\"event_trigger\" 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 deletable=\"false\" movable=\"false\" type=\"entity_iterator\"/></value><value name=\"x\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"coord_x\"/></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\"/></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\"/></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 h=\"119\" pinned=\"false\" 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\"/></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\"/></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\"/></value></block></next></block></statement></block></statement><next><block type=\"world_entity_inrange_foreach\"><value name=\"_placeholder\"><block type=\"entity_iterator\"/></value><value name=\"x\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"coord_x\"/></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\"/></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\"/></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\"/></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\"/></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\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></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\"/><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\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value></block></value><value name=\"B\"><block type=\"text\"><field name=\"TEXT\">uneat</field></block></value></block></value><statement name=\"DO0\"><block inline=\"false\" type=\"entity_execute_command\"><value name=\"command\"><block inline=\"false\" type=\"text_join\"><mutation items=\"8\"/><value name=\"ADD0\"><block type=\"text\"><field name=\"TEXT\">execute in </field></block></value><value name=\"ADD1\"><block inline=\"false\" type=\"text_replace\"><comment h=\"80\" pinned=\"false\" 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\"/></block></value><value name=\"text\"><block inline=\"false\" type=\"text_replace\"><value name=\"what\"><block type=\"text\"><field name=\"TEXT\">]</field></block></value><value name=\"with\"><block type=\"text\"><field name=\"TEXT\"/></block></value><value name=\"text\"><block type=\"text_join\"><mutation items=\"1\"/><value name=\"ADD0\"><block type=\"entity_dimension_id\"><value name=\"entity\"><block type=\"entity_from_deps\"/></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\"/></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\"/></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\"/></value></block></value></block></value><value name=\"entity\"><block type=\"entity_iterator\"/></value></block></statement><statement name=\"ELSE\"><block inline=\"false\" type=\"entity_execute_command\"><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\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value></block></value><value name=\"entity\"><block type=\"entity_iterator\"/></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\"/></value></block></value></block></value><statement name=\"DO0\"><block type=\"entity_despawn\"><value name=\"entity\"><block type=\"entity_iterator\"/></value></block></statement></block></next></block><block type=\"entity_iterator\" x=\"1049\" y=\"191\"/></xml>"
|
|
}
|
|
} |