7 lines
No EOL
3 KiB
JSON
7 lines
No EOL
3 KiB
JSON
{
|
|
"_fv": 47,
|
|
"_type": "procedure",
|
|
"definition": {
|
|
"procedurexml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"event_trigger\" deletable=\"false\" x=\"65\" y=\"68\"><field name=\"trigger\">no_ext_trigger</field><next><block type=\"controls_if\"><mutation else=\"1\"></mutation><value name=\"IF0\"><block type=\"get_command_parameter_logic\"><field name=\"param\">enabled</field></block></value><statement name=\"DO0\"><block type=\"world_data_logic_setgamerule\"><field name=\"gamerulesboolean\">KEEP_INVENTORY</field><value name=\"gameruleValue\"><block type=\"logic_boolean\"><field name=\"BOOL\">TRUE</field></block></value><next><block type=\"world_data_logic_setgamerule\"><field name=\"gamerulesboolean\">DO_MOB_SPAWNING</field><value name=\"gameruleValue\"><block type=\"logic_boolean\"><field name=\"BOOL\">FALSE</field></block></value><next><block type=\"world_data_logic_setgamerule\"><field name=\"gamerulesboolean\">DO_DAYLIGHT_CYCLE</field><value name=\"gameruleValue\"><block type=\"logic_boolean\"><field name=\"BOOL\">FALSE</field></block></value><next><block type=\"world_data_logic_setgamerule\"><field name=\"gamerulesboolean\">DO_WEATHER_CYCLE</field><value name=\"gameruleValue\"><block type=\"logic_boolean\"><field name=\"BOOL\">FALSE</field></block></value><next><block type=\"entity_send_chat\"><value name=\"text\"><block type=\"text\"><field name=\"TEXT\">Test rules enabled!</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value><value name=\"actbar\"><block type=\"logic_boolean\"><field name=\"BOOL\">FALSE</field></block></value></block></next></block></next></block></next></block></next></block></statement><statement name=\"ELSE\"><block type=\"world_data_logic_setgamerule\"><field name=\"gamerulesboolean\">KEEP_INVENTORY</field><value name=\"gameruleValue\"><block type=\"logic_boolean\"><field name=\"BOOL\">FALSE</field></block></value><next><block type=\"world_data_logic_setgamerule\"><field name=\"gamerulesboolean\">DO_MOB_SPAWNING</field><value name=\"gameruleValue\"><block type=\"logic_boolean\"><field name=\"BOOL\">TRUE</field></block></value><next><block type=\"world_data_logic_setgamerule\"><field name=\"gamerulesboolean\">DO_DAYLIGHT_CYCLE</field><value name=\"gameruleValue\"><block type=\"logic_boolean\"><field name=\"BOOL\">TRUE</field></block></value><next><block type=\"world_data_logic_setgamerule\"><field name=\"gamerulesboolean\">DO_WEATHER_CYCLE</field><value name=\"gameruleValue\"><block type=\"logic_boolean\"><field name=\"BOOL\">TRUE</field></block></value><next><block type=\"entity_send_chat\"><value name=\"text\"><block type=\"text\"><field name=\"TEXT\">Test rules disabled!</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value><value name=\"actbar\"><block type=\"logic_boolean\"><field name=\"BOOL\">FALSE</field></block></value></block></next></block></next></block></next></block></next></block></statement></block></next></block></xml>"
|
|
}
|
|
} |