vore-mod/elements/EntityTickEat.mod.json
2024-03-13 00:29:55 -04:00

7 lines
No EOL
27 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\"><variables><variable id=\"whatthefuckwhywontthissave\" type=\"Boolean\">whatthefuckwhywontthissave</variable><variable id=\"anothershitworkaroundbullshit\" type=\"String\">anothershitworkaroundbullshit</variable></variables><block deletable=\"false\" type=\"event_trigger\" x=\"107\" y=\"-248\"><field name=\"trigger\">entity_ticks</field><next><block type=\"variables_set_logic\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:whatthefuckwhywontthissave</field><value name=\"VAL\"><block type=\"logic_boolean\"><field name=\"BOOL\">FALSE</field></block></value><next><block type=\"controls_if\"><value name=\"IF0\"><block inline=\"false\" type=\"logic_binary_ops\"><field name=\"OP\">AND</field><value name=\"A\"><block inline=\"false\" type=\"logic_binary_ops\"><field name=\"OP\">AND</field><value name=\"A\"><block type=\"logic_negate\"><value name=\"BOOL\"><block type=\"logic_entity_compare\"><field name=\"entity\">EntityPlayer</field><value name=\"compareTo\"><block type=\"entity_from_deps\"/></value></block></value></block></value><value name=\"B\"><block inline=\"false\" type=\"logic_binary_ops\"><field name=\"OP\">AND</field><value name=\"A\"><block type=\"compare_mcitems\"><value name=\"a\"><block type=\"entity_iteminhand\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value></block></value><value name=\"b\"><block type=\"mcitem_all\"><field name=\"value\">CUSTOM:ShrinkGun</field></block></value></block></value><value name=\"B\"><block type=\"world_data_logic_getgamerule\"><field name=\"gamerulesboolean\">CUSTOM:ShrinkGunMobUse</field></block></value></block></value></block></value><value name=\"B\"><block type=\"logic_negate\"><value name=\"BOOL\"><block type=\"compare_dimensionids\"><value name=\"a\"><block type=\"entity_dimension_id\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value></block></value><value name=\"b\"><block type=\"get_dimensionid\"><field name=\"dimension\">CUSTOM:Belly</field></block></value></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"call_procedure\"><field name=\"procedure\">GetABelly</field><next><block type=\"world_entity_inrange_foreach\"><value name=\"_placeholder\"><block deletable=\"false\" movable=\"false\" type=\"entity_iterator\"/></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><value name=\"range\"><block type=\"math_number\"><field name=\"NUM\">2</field></block></value><statement name=\"foreach\"><block type=\"controls_if\"><value name=\"IF0\"><block inline=\"false\" type=\"logic_binary_ops\"><field name=\"OP\">AND</field><value name=\"A\"><block inline=\"false\" type=\"logic_binary_ops\"><field name=\"OP\">AND</field><value name=\"A\"><block type=\"logic_negate\"><value name=\"BOOL\"><block inline=\"false\" type=\"compare_entities\"><value name=\"a\"><block type=\"entity_from_deps\"/></value><value name=\"b\"><block type=\"entity_iterator\"/></value></block></value></block></value><value name=\"B\"><block inline=\"false\" type=\"logic_binary_ops\"><field name=\"OP\">AND</field><value name=\"A\"><block type=\"logic_negate\"><value name=\"BOOL\"><block type=\"compare_mcitems\"><value name=\"a\"><block type=\"entity_iteminhand\"><value name=\"entity\"><block type=\"entity_iterator\"/></value></block></value><value name=\"b\"><block type=\"mcitem_all\"><field name=\"value\">CUSTOM:ShrinkGun</field></block></value></block></value></block></value><value name=\"B\"><block type=\"logic_entity_compare\"><field name=\"entity\">EntityLiving</field><value name=\"compareTo\"><block type=\"entity_iterator\"/></value></block></value></block></value></block></value><value name=\"B\"><block type=\"math_binary_ops\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"entity_nbt_num_get\"><value name=\"entity\"><block type=\"entity_iterator\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">eatCoolDown</field></block></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"entity_nbt_num_set\"><value name=\"entity\"><block type=\"entity_iterator\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">eatCoolDown</field></block></value><value name=\"tagValue\"><block type=\"math_number\"><field name=\"NUM\">60</field></block></value><next><block type=\"item_damage\"><value name=\"amount\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><value name=\"item\"><block type=\"entity_iteminhand\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value></block></value><next><block type=\"entity_nbt_text_set\"><comment h=\"107\" pinned=\"false\" w=\"252\">this is the start of the eat code that sets all the proper nbt and takes the entity to the stomach location</comment><value name=\"entity\"><block type=\"entity_iterator\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">bellyDest</field></block></value><value name=\"tagValue\"><block type=\"entity_nbt_text_get\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">bellyType</field></block></value></block></value><next><block type=\"entity_nbt_text_set\"><comment h=\"107\" pinned=\"false\" w=\"252\">new in 2.0.0 copy the exit command from the pred</comment><value name=\"entity\"><block type=\"entity_iterator\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">preyExitCMD</field></block></value><value name=\"tagValue\"><block type=\"entity_nbt_text_get\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">predExitCMD</field></block></value></block></value><next><block type=\"entity_nbt_text_set\"><value name=\"entity\"><block type=\"entity_iterator\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">eatenBy</field></block></value><value name=\"tagValue\"><block type=\"entity_name\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value></block></value><next><block type=\"entity_nbt_num_set\"><value name=\"entity\"><block type=\"entity_iterator\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">eatenByID</field></block></value><value name=\"tagValue\"><block type=\"entity_nbt_num_get\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">voreID</field></block></value></block></value><next><block type=\"entity_nbt_num_set\"><value name=\"entity\"><block type=\"entity_iterator\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">exitX</field></block></value><value name=\"tagValue\"><block type=\"coord_x\"/></value><next><block type=\"entity_nbt_num_set\"><value name=\"entity\"><block type=\"entity_iterator\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">exitY</field></block></value><value name=\"tagValue\"><block type=\"coord_y\"/></value><next><block type=\"entity_nbt_num_set\"><value name=\"entity\"><block type=\"entity_iterator\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">exitZ</field></block></value><value name=\"tagValue\"><block type=\"coord_z\"/></value><next><block type=\"entity_nbt_text_set\"><value name=\"entity\"><block type=\"entity_iterator\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">exitDIM</field></block></value><value name=\"tagValue\"><block inline=\"false\" type=\"text_replace\"><comment h=\"80\" pinned=\"false\" w=\"160\">workaround to get if od 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=\"world_data_dimensionid\"/></value></block></value></block></value></block></value><next><block type=\"controls_if\"><mutation else=\"1\"/><comment h=\"80\" pinned=\"false\" w=\"160\">play eat noise or fox eat noise if its a fox.</comment><value name=\"IF0\"><block type=\"logic_entity_compare\"><field name=\"entity\">EntityFox</field><value name=\"compareTo\"><block type=\"entity_from_deps\"/></value></block></value><statement name=\"DO0\"><block type=\"play_sound\"><field name=\"sound\">entity.fox.eat</field><field name=\"soundcategory\">neutral</field><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value><value name=\"level\"><block type=\"math_number\"><field name=\"NUM\">2</field></block></value><value name=\"pitch\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value></block></statement><statement name=\"ELSE\"><block type=\"play_sound\"><field name=\"sound\">entity.generic.eat</field><field name=\"soundcategory\">neutral</field><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value><value name=\"level\"><block type=\"math_number\"><field name=\"NUM\">2</field></block></value><value name=\"pitch\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value></block></statement><next><block type=\"controls_if\"><comment h=\"80\" pinned=\"false\" w=\"160\">another test i will try which is to run this 1 tick later</comment><value name=\"IF0\"><block type=\"logic_boolean\"><field name=\"BOOL\">TRUE</field></block></value><statement name=\"DO0\"><block type=\"wait\"><value name=\"ticks\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><statement name=\"do\"><block inline=\"false\" type=\"entity_execute_command\"><value name=\"command\"><block type=\"text_join\"><mutation items=\"6\"/><value name=\"ADD0\"><block type=\"text\"><field name=\"TEXT\">execute in vore_mod:belly run tp @s </field></block></value><value name=\"ADD1\"><block inline=\"false\" type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"entity_nbt_num_get\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">bellyOriginX</field></block></value></block></value><value name=\"B\"><block type=\"entity_nbt_num_get\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">bellyOffsetX</field></block></value></block></value></block></value><value name=\"ADD2\"><block type=\"text\"><field name=\"TEXT\"> </field></block></value><value name=\"ADD3\"><block type=\"entity_nbt_num_get\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">bellyOffsetY</field></block></value></block></value><value name=\"ADD4\"><block type=\"text\"><field name=\"TEXT\"> </field></block></value><value name=\"ADD5\"><block inline=\"false\" type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"entity_nbt_num_get\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">bellyOriginZ</field></block></value></block></value><value name=\"B\"><block type=\"entity_nbt_num_get\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">bellyOffsetZ</field></block></value></block></value></block></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=\"text_binary_ops\"><value name=\"A\"><block type=\"entity_nbt_text_get\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">eatText</field></block></value></block></value><value name=\"B\"><block type=\"text\"><field name=\"TEXT\"/></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set_string\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:anothershitworkaroundbullshit</field><value name=\"VAL\"><block type=\"entity_nbt_text_get\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">eatText</field></block></value></block></value><next><block type=\"variables_set_string\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:anothershitworkaroundbullshit</field><value name=\"VAL\"><block inline=\"false\" type=\"text_replace\"><value name=\"what\"><block type=\"text\"><field name=\"TEXT\">[pred]</field></block></value><value name=\"with\"><block type=\"entity_name\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value></block></value><value name=\"text\"><block type=\"variables_get_string\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:anothershitworkaroundbullshit</field></block></value></block></value><next><block type=\"variables_set_string\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:anothershitworkaroundbullshit</field><value name=\"VAL\"><block inline=\"false\" type=\"text_replace\"><value name=\"what\"><block type=\"text\"><field name=\"TEXT\">[prey]</field></block></value><value name=\"with\"><block type=\"entity_name\"><value name=\"entity\"><block type=\"entity_iterator\"/></value></block></value><value name=\"text\"><block type=\"variables_get_string\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:anothershitworkaroundbullshit</field></block></value></block></value><next><block type=\"variables_set_string\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:anothershitworkaroundbullshit</field><value name=\"VAL\"><block inline=\"false\" type=\"text_replace\"><value name=\"what\"><block type=\"text\"><field name=\"TEXT\">[eater]</field></block></value><value name=\"with\"><block type=\"entity_name\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value></block></value><value name=\"text\"><block type=\"variables_get_string\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:anothershitworkaroundbullshit</field></block></value></block></value><next><block type=\"variables_set_string\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:anothershitworkaroundbullshit</field><value name=\"VAL\"><block inline=\"false\" type=\"text_replace\"><value name=\"what\"><block type=\"text\"><field name=\"TEXT\">[eatee]</field></block></value><value name=\"with\"><block type=\"entity_name\"><value name=\"entity\"><block type=\"entity_iterator\"/></value></block></value><value name=\"text\"><block type=\"variables_get_string\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:anothershitworkaroundbullshit</field></block></value></block></value><next><block type=\"controls_if\"><mutation else=\"1\"/><comment h=\"143\" pinned=\"false\" w=\"290\">if one of the eaten things is player, announce the eating to all people\notherwise just announce it to players within 10 blocks or so. that way people are not spammed with messages of zombies eating each other</comment><value name=\"IF0\"><block inline=\"false\" type=\"logic_binary_ops\"><field name=\"OP\">AND</field><value name=\"A\"><block inline=\"false\" type=\"logic_binary_ops\"><field name=\"OP\">OR</field><value name=\"A\"><block type=\"logic_entity_compare\"><field name=\"entity\">EntityPlayer</field><value name=\"compareTo\"><block type=\"entity_iterator\"/></value></block></value><value name=\"B\"><block type=\"logic_entity_compare\"><field name=\"entity\">EntityPlayer</field><value name=\"compareTo\"><block type=\"entity_from_deps\"/></value></block></value></block></value><value name=\"B\"><block type=\"logic_negate\"><value name=\"BOOL\"><block type=\"world_data_logic_getgamerule\"><field name=\"gamerulesboolean\">CUSTOM:RuleNoChat</field></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"world_send_chat\"><value name=\"text\"><block type=\"variables_get_string\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:anothershitworkaroundbullshit</field></block></value></block></statement><statement name=\"ELSE\"><block type=\"variables_set_logic\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:whatthefuckwhywontthissave</field><value name=\"VAL\"><block type=\"logic_boolean\"><field name=\"BOOL\">TRUE</field></block></value></block></statement></block></next></block></next></block></next></block></next></block></next></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\"><comment h=\"93\" pinned=\"false\" w=\"292\">end of the eat code. this is supposed to depspawn the entity after it was eaten to deal with an annoying cross dimension duplication glitch in minecraft</comment><value name=\"entity\"><block type=\"entity_iterator\"/></value></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></statement></block></next></block></statement><next><block type=\"controls_if\"><comment h=\"80\" pinned=\"false\" w=\"160\">shitty workaround for lack of capability of nested for each entitiy</comment><value name=\"IF0\"><block inline=\"false\" type=\"logic_binary_ops\"><field name=\"OP\">AND</field><value name=\"A\"><block type=\"variables_get_logic\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:whatthefuckwhywontthissave</field></block></value><value name=\"B\"><block type=\"logic_negate\"><value name=\"BOOL\"><block type=\"world_data_logic_getgamerule\"><field name=\"gamerulesboolean\">CUSTOM:RuleNoChat</field></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"world_entity_inrange_foreach\"><value name=\"_placeholder\"><block type=\"entity_iterator\"/></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><value name=\"range\"><block type=\"math_number\"><field name=\"NUM\">16</field></block></value><statement name=\"foreach\"><block type=\"entity_send_chat\"><value name=\"text\"><block type=\"variables_get_string\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:anothershitworkaroundbullshit</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></block></statement></block></statement><next><block type=\"controls_if\"><comment h=\"80\" pinned=\"false\" w=\"160\">eat immunity cooldown</comment><value name=\"IF0\"><block type=\"math_binary_ops\"><field name=\"OP\">GT</field><value name=\"A\"><block type=\"entity_nbt_num_get\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">eatCoolDown</field></block></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value></block></value><statement name=\"DO0\"><block type=\"entity_nbt_num_set\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">eatCoolDown</field></block></value><value name=\"tagValue\"><block type=\"math_dual_ops\"><field name=\"OP\">MINUS</field><value name=\"A\"><block type=\"entity_nbt_num_get\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">eatCoolDown</field></block></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value></block></value></block></statement><next><block type=\"controls_if\"><comment h=\"80\" pinned=\"false\" w=\"160\">update position of eaten mobs</comment><value name=\"IF0\"><block type=\"math_binary_ops\"><field name=\"OP\">NEQ</field><value name=\"A\"><block type=\"entity_nbt_num_get\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">voreID</field></block></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value></block></value><statement name=\"DO0\"><block type=\"world_switch_world\"><field name=\"dimension\">CUSTOM:Belly</field><statement name=\"worldstatements\"><block type=\"world_entity_player_foreach\"><value name=\"_placeholder\"><block deletable=\"false\" movable=\"false\" type=\"entity_iterator\"/></value><statement name=\"foreach\"><block type=\"controls_if\"><value name=\"IF0\"><block inline=\"false\" type=\"logic_binary_ops\"><field name=\"OP\">AND</field><comment h=\"137\" pinned=\"false\" w=\"363\">i would like to add voreception but i dont see a way to pull it off. this actually should fully prevent it. Say a mob ate you and then something else ate that mob, most likey they wont be loaded but if they did get loaded, your exit position would be that other stomach, however once you try to exit that stomach, it wont work.</comment><value name=\"A\"><block type=\"math_binary_ops\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"entity_nbt_num_get\"><value name=\"entity\"><block type=\"entity_iterator\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">eatenByID</field></block></value></block></value><value name=\"B\"><block type=\"entity_nbt_num_get\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">voreID</field></block></value></block></value></block></value><value name=\"B\"><block type=\"logic_negate\"><value name=\"BOOL\"><block type=\"compare_dimensionids\"><value name=\"a\"><block type=\"entity_dimension_id\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value></block></value><value name=\"b\"><block type=\"get_dimensionid\"><field name=\"dimension\">CUSTOM:Belly</field></block></value></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"entity_nbt_num_set\"><value name=\"entity\"><block type=\"entity_iterator\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">exitX</field></block></value><value name=\"tagValue\"><block type=\"coord_x\"/></value><next><block type=\"entity_nbt_num_set\"><value name=\"entity\"><block type=\"entity_iterator\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">exitY</field></block></value><value name=\"tagValue\"><block type=\"coord_y\"/></value><next><block type=\"entity_nbt_num_set\"><value name=\"entity\"><block type=\"entity_iterator\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">exitZ</field></block></value><value name=\"tagValue\"><block type=\"coord_z\"/></value><next><block type=\"entity_nbt_text_set\"><value name=\"entity\"><block type=\"entity_iterator\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">exitDIM</field></block></value><value name=\"tagValue\"><block inline=\"false\" type=\"text_replace\"><comment h=\"80\" pinned=\"false\" w=\"160\">workaround to get if od 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></block></next></block></next></block></next></block></statement></block></statement></block></statement></block></statement></block></next></block></next></block></next></block></next></block></next></block><block type=\"entity_nbt_text_set\" x=\"1025\" y=\"-294\"><value name=\"entity\"><block type=\"entity_iterator\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">exitCMD</field></block></value><value name=\"tagValue\"><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 type=\"procedure_retval_string\"><field name=\"procedure\">GetDimensionTPID</field></block></value><value name=\"ADD2\"><block type=\"text\"><field name=\"TEXT\"> run tp @s </field></block></value><value name=\"ADD3\"><block type=\"coord_x\"/></value><value name=\"ADD4\"><block type=\"text\"><field name=\"TEXT\"> </field></block></value><value name=\"ADD5\"><block type=\"coord_y\"/></value><value name=\"ADD6\"><block type=\"text\"><field name=\"TEXT\"> </field></block></value><value name=\"ADD7\"><block type=\"coord_z\"/></value></block></value></block></xml>"
}
}