mirror of
https://github.com/JasonTable/vore-mod.git
synced 2024-11-26 23:23:59 -05:00
7 lines
No EOL
2.7 KiB
JSON
7 lines
No EOL
2.7 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=\"variables_get_logic\" x=\"269\" y=\"-28\"><field name=\"VAR\">global:replaceron</field></block><block deletable=\"false\" type=\"event_trigger\" x=\"40\" y=\"40\"><field name=\"trigger\">no_ext_trigger</field><comment h=\"113\" pinned=\"false\" w=\"502\">this is pretty much for just incase the mod act glitchy and the shrink gun breaks in servers. server OPs can choose to disable the shrink gun on the server. when they do, this will take the gun away from anyone who tries to use it and give them back the resources that they used to craft it.</comment><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"logic_negate\"><value name=\"BOOL\"><block type=\"world_data_logic_getgamerule\"><field name=\"gamerulesboolean\">CUSTOM:ShrinkGunAllowed</field></block></value></block></value><statement name=\"DO0\"><block type=\"itemstack_set_count\"><value name=\"item\"><block type=\"itemstack_to_mcitem\"/></value><value name=\"amount\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value><next><block type=\"controls_repeat_ext\"><value name=\"TIMES\"><block type=\"math_number\"><field name=\"NUM\">6</field></block></value><statement name=\"DO\"><block type=\"spawn_gem\"><field name=\"despawn\">TRUE</field><value name=\"block\"><block type=\"mcitem_all\"><field name=\"value\">Items.IRON_INGOT</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><value name=\"pickUpDelay\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value></block></statement><next><block type=\"spawn_gem\"><field name=\"despawn\">TRUE</field><value name=\"block\"><block type=\"mcitem_all\"><field name=\"value\">Items.NETHER_STAR</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><value name=\"pickUpDelay\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><next><block type=\"entity_send_chat\"><value name=\"text\"><block type=\"text\"><field name=\"TEXT\">Shrink guns are disabled on this server. Here are the items back.</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"actbar\"><block type=\"logic_boolean\"><field name=\"BOOL\">FALSE</field></block></value></block></next></block></next></block></next></block></statement></block></next></block></xml>"
|
|
}
|
|
} |