cawezs_expanded_world/elements/SetNetherHeightGlobal.mod.json
2024-04-28 11:00:35 -04:00

7 lines
5.1 KiB
JSON
Executable File

{
"_fv": 47,
"_type": "procedure",
"definition": {
"procedurexml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"event_trigger\" deletable=\"false\" x=\"-39\" y=\"76\"><field name=\"trigger\">no_ext_trigger</field><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"text_binary_ops\"><value name=\"A\"><block type=\"text\"><field name=\"TEXT\">height</field></block></value><value name=\"B\"><block type=\"get_command_parameter_string\"><field name=\"param\">bound_height_depth</field></block></value></block></value><statement name=\"DO0\"><block type=\"controls_if\"><value name=\"IF0\"><block type=\"text_binary_ops\"><value name=\"A\"><block type=\"text\"><field name=\"TEXT\">overworld</field></block></value><value name=\"B\"><block type=\"get_command_parameter_string\"><field name=\"param\">dimensionName_overworld_nether_end</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set_number\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" is_player_var=\"false\" has_entity=\"false\"></mutation><field name=\"VAR\">global:overworldHeight</field><value name=\"VAL\"><block type=\"get_command_parameter_number\"><field name=\"param\">value</field></block></value></block></statement><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"text_binary_ops\"><value name=\"A\"><block type=\"text\"><field name=\"TEXT\">nether</field></block></value><value name=\"B\"><block type=\"get_command_parameter_string\"><field name=\"param\">dimensionName_overworld_nether_end</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set_number\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" is_player_var=\"false\" has_entity=\"false\"></mutation><field name=\"VAR\">global:netherHeight</field><value name=\"VAL\"><block type=\"get_command_parameter_number\"><field name=\"param\">value</field></block></value></block></statement><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"text_binary_ops\"><value name=\"A\"><block type=\"text\"><field name=\"TEXT\">end</field></block></value><value name=\"B\"><block type=\"get_command_parameter_string\"><field name=\"param\">dimensionName_overworld_nether_end</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set_number\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" is_player_var=\"false\" has_entity=\"false\"></mutation><field name=\"VAR\">global:endHeight</field><value name=\"VAL\"><block type=\"get_command_parameter_number\"><field name=\"param\">value</field></block></value></block></statement></block></next></block></next></block></statement><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"text_binary_ops\"><value name=\"A\"><block type=\"text\"><field name=\"TEXT\">depth</field></block></value><value name=\"B\"><block type=\"get_command_parameter_string\"><field name=\"param\">bound_height_depth</field></block></value></block></value><statement name=\"DO0\"><block type=\"controls_if\"><value name=\"IF0\"><block type=\"text_binary_ops\"><value name=\"A\"><block type=\"text\"><field name=\"TEXT\">overworld</field></block></value><value name=\"B\"><block type=\"get_command_parameter_string\"><field name=\"param\">dimensionName_overworld_nether_end</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set_number\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" is_player_var=\"false\" has_entity=\"false\"></mutation><field name=\"VAR\">global:overworldDepth</field><value name=\"VAL\"><block type=\"get_command_parameter_number\"><field name=\"param\">value</field></block></value></block></statement><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"text_binary_ops\"><value name=\"A\"><block type=\"text\"><field name=\"TEXT\">nether</field></block></value><value name=\"B\"><block type=\"get_command_parameter_string\"><field name=\"param\">dimensionName_overworld_nether_end</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set_number\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" is_player_var=\"false\" has_entity=\"false\"></mutation><field name=\"VAR\">global:netherDepth</field><value name=\"VAL\"><block type=\"get_command_parameter_number\"><field name=\"param\">value</field></block></value></block></statement><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"text_binary_ops\"><value name=\"A\"><block type=\"text\"><field name=\"TEXT\">end</field></block></value><value name=\"B\"><block type=\"get_command_parameter_string\"><field name=\"param\">dimensionName_overworld_nether_end</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set_number\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" is_player_var=\"false\" has_entity=\"false\"></mutation><field name=\"VAR\">global:endDepth</field><value name=\"VAL\"><block type=\"get_command_parameter_number\"><field name=\"param\">value</field></block></value></block></statement></block></next></block></next></block></statement></block></next></block></next></block></xml>"
}
}