From 1171d4566ac871988b5d7517dff309d68e8e979d Mon Sep 17 00:00:00 2001 From: Matteo Morena <8678043+xmamo@users.noreply.github.com> Date: Thu, 3 Aug 2017 00:53:02 +0200 Subject: [PATCH 1/9] Initial commit --- .gitignore | 9 + advancements/b7s/_biome_any.json | 11 + advancements/b7s/_biome_beaches.json | 14 + advancements/b7s/_biome_birch_forest.json | 14 + .../b7s/_biome_birch_forest_hills.json | 14 + advancements/b7s/_biome_cold_beach.json | 14 + advancements/b7s/_biome_deep_ocean.json | 14 + advancements/b7s/_biome_desert.json | 14 + advancements/b7s/_biome_desert_hills.json | 14 + advancements/b7s/_biome_extreme_hills.json | 14 + .../b7s/_biome_extreme_hills_with_trees.json | 14 + advancements/b7s/_biome_forest.json | 14 + advancements/b7s/_biome_forest_hills.json | 14 + advancements/b7s/_biome_frozen_ocean.json | 14 + advancements/b7s/_biome_frozen_river.json | 14 + advancements/b7s/_biome_hell.json | 14 + advancements/b7s/_biome_ice_flats.json | 14 + advancements/b7s/_biome_ice_mountains.json | 14 + advancements/b7s/_biome_jungle.json | 14 + advancements/b7s/_biome_jungle_edge.json | 14 + advancements/b7s/_biome_jungle_hills.json | 14 + advancements/b7s/_biome_mesa.json | 14 + advancements/b7s/_biome_mesa_clear_rock.json | 14 + advancements/b7s/_biome_mesa_rock.json | 14 + advancements/b7s/_biome_mushroom_island.json | 14 + .../b7s/_biome_mushroom_island_shore.json | 14 + .../b7s/_biome_mutated_birch_forest.json | 14 + .../_biome_mutated_birch_forest_hills.json | 14 + advancements/b7s/_biome_mutated_desert.json | 14 + .../b7s/_biome_mutated_extreme_hills.json | 14 + ...iome_mutated_extreme_hills_with_trees.json | 14 + advancements/b7s/_biome_mutated_forest.json | 14 + .../b7s/_biome_mutated_ice_flats.json | 14 + advancements/b7s/_biome_mutated_jungle.json | 14 + .../b7s/_biome_mutated_jungle_edge.json | 14 + advancements/b7s/_biome_mutated_mesa.json | 14 + .../b7s/_biome_mutated_mesa_clear_rock.json | 14 + .../b7s/_biome_mutated_mesa_rock.json | 14 + advancements/b7s/_biome_mutated_plains.json | 14 + .../b7s/_biome_mutated_redwood_taiga.json | 14 + .../_biome_mutated_redwood_taiga_hills.json | 14 + .../b7s/_biome_mutated_roofed_forest.json | 14 + advancements/b7s/_biome_mutated_savanna.json | 14 + .../b7s/_biome_mutated_savanna_rock.json | 14 + .../b7s/_biome_mutated_swampland.json | 14 + advancements/b7s/_biome_mutated_taiga.json | 14 + .../b7s/_biome_mutated_taiga_cold.json | 14 + advancements/b7s/_biome_ocean.json | 14 + advancements/b7s/_biome_plains.json | 14 + advancements/b7s/_biome_redwood_taiga.json | 14 + .../b7s/_biome_redwood_taiga_hills.json | 14 + advancements/b7s/_biome_river.json | 14 + advancements/b7s/_biome_roofed_forest.json | 14 + advancements/b7s/_biome_savanna.json | 14 + advancements/b7s/_biome_savanna_rock.json | 14 + advancements/b7s/_biome_sky.json | 14 + .../b7s/_biome_smaller_extreme_hills.json | 14 + advancements/b7s/_biome_stone_beach.json | 14 + advancements/b7s/_biome_swampland.json | 14 + advancements/b7s/_biome_taiga.json | 14 + advancements/b7s/_biome_taiga_cold.json | 14 + advancements/b7s/_biome_taiga_cold_hills.json | 14 + advancements/b7s/_biome_taiga_hills.json | 14 + advancements/b7s/_biome_the_void.json | 14 + advancements/b7s/root.json | 7 + .../b7s/advancement/_biome_any.mcfunction | 2 + .../b7s/advancement/_biome_beaches.mcfunction | 2 + .../_biome_birch_forest.mcfunction | 2 + .../_biome_birch_forest_hills.mcfunction | 2 + .../advancement/_biome_cold_beach.mcfunction | 2 + .../advancement/_biome_deep_ocean.mcfunction | 2 + .../b7s/advancement/_biome_desert.mcfunction | 2 + .../_biome_desert_hills.mcfunction | 2 + .../_biome_extreme_hills.mcfunction | 2 + ..._biome_extreme_hills_with_trees.mcfunction | 2 + .../b7s/advancement/_biome_forest.mcfunction | 2 + .../_biome_forest_hills.mcfunction | 2 + .../_biome_frozen_ocean.mcfunction | 2 + .../_biome_frozen_river.mcfunction | 2 + .../b7s/advancement/_biome_hell.mcfunction | 2 + .../advancement/_biome_ice_flats.mcfunction | 2 + .../_biome_ice_mountains.mcfunction | 2 + .../b7s/advancement/_biome_jungle.mcfunction | 2 + .../advancement/_biome_jungle_edge.mcfunction | 2 + .../_biome_jungle_hills.mcfunction | 2 + .../b7s/advancement/_biome_mesa.mcfunction | 2 + .../_biome_mesa_clear_rock.mcfunction | 2 + .../advancement/_biome_mesa_rock.mcfunction | 2 + .../_biome_mushroom_island.mcfunction | 2 + .../_biome_mushroom_island_shore.mcfunction | 2 + .../_biome_mutated_birch_forest.mcfunction | 2 + ...iome_mutated_birch_forest_hills.mcfunction | 2 + .../_biome_mutated_desert.mcfunction | 2 + .../_biome_mutated_extreme_hills.mcfunction | 2 + ...utated_extreme_hills_with_trees.mcfunction | 2 + .../_biome_mutated_forest.mcfunction | 2 + .../_biome_mutated_ice_flats.mcfunction | 2 + .../_biome_mutated_jungle.mcfunction | 2 + .../_biome_mutated_jungle_edge.mcfunction | 2 + .../_biome_mutated_mesa.mcfunction | 2 + .../_biome_mutated_mesa_clear_rock.mcfunction | 2 + .../_biome_mutated_mesa_rock.mcfunction | 2 + .../_biome_mutated_plains.mcfunction | 2 + .../_biome_mutated_redwood_taiga.mcfunction | 2 + ...ome_mutated_redwood_taiga_hills.mcfunction | 2 + .../_biome_mutated_roofed_forest.mcfunction | 2 + .../_biome_mutated_savanna.mcfunction | 2 + .../_biome_mutated_savanna_rock.mcfunction | 2 + .../_biome_mutated_swampland.mcfunction | 2 + .../_biome_mutated_taiga.mcfunction | 2 + .../_biome_mutated_taiga_cold.mcfunction | 2 + .../b7s/advancement/_biome_ocean.mcfunction | 2 + .../b7s/advancement/_biome_plains.mcfunction | 2 + .../_biome_redwood_taiga.mcfunction | 2 + .../_biome_redwood_taiga_hills.mcfunction | 2 + .../b7s/advancement/_biome_river.mcfunction | 2 + .../_biome_roofed_forest.mcfunction | 2 + .../b7s/advancement/_biome_savanna.mcfunction | 2 + .../_biome_savanna_rock.mcfunction | 2 + .../b7s/advancement/_biome_sky.mcfunction | 2 + .../_biome_smaller_extreme_hills.mcfunction | 2 + .../advancement/_biome_stone_beach.mcfunction | 2 + .../advancement/_biome_swampland.mcfunction | 2 + .../b7s/advancement/_biome_taiga.mcfunction | 2 + .../advancement/_biome_taiga_cold.mcfunction | 2 + .../_biome_taiga_cold_hills.mcfunction | 2 + .../advancement/_biome_taiga_hills.mcfunction | 2 + .../advancement/_biome_the_void.mcfunction | 2 + functions/b7s/command/sethome.mcfunction | 5 + functions/b7s/command/tpaccept.mcfunction | 2 + .../b7s/command/tpaccept/_if_req.mcfunction | 11 + .../tpaccept/_if_req_if_other.mcfunction | 6 + .../_if_req_if_other_if_same_dim.mcfunction | 8 + .../command/tpaccept/_unless_req.mcfunction | 1 + functions/b7s/command/tpback.mcfunction | 2 + .../command/tpback/_if_back_set.mcfunction | 6 + .../_if_back_set_if_same_dim.mcfunction | 11 + functions/b7s/command/tphome.mcfunction | 2 + .../command/tphome/_if_home_set.mcfunction | 6 + .../_if_home_set_if_same_dim.mcfunction | 13 + functions/b7s/command/tpreq.mcfunction | 11 + .../b7s/command/tpreq/_if_other.mcfunction | 2 + .../_if_other_if_different_players.mcfunction | 6 + ...f_different_players_if_same_dim.mcfunction | 3 + .../command/tpreq/_unless_other.mcfunction | 1 + functions/b7s/entity/back/get_dim.mcfunction | 7 + functions/b7s/entity/back/get_loc.mcfunction | 3 + functions/b7s/entity/back/get_pos.mcfunction | 135 +++++ functions/b7s/entity/back/get_pos.py | 22 + functions/b7s/entity/back/get_rot.mcfunction | 37 ++ functions/b7s/entity/back/get_rot.py | 14 + functions/b7s/entity/back/set_dim.mcfunction | 7 + functions/b7s/entity/back/set_loc.mcfunction | 4 + functions/b7s/entity/back/set_pos.mcfunction | 135 +++++ functions/b7s/entity/back/set_pos.py | 22 + functions/b7s/entity/back/set_rot.mcfunction | 37 ++ functions/b7s/entity/back/set_rot.py | 14 + .../b7s/entity/check_same_dim.mcfunction | 19 + functions/b7s/entity/get_dim.mcfunction | 11 + functions/b7s/entity/get_loc.mcfunction | 16 + functions/b7s/entity/get_pos.mcfunction | 220 +++++++ functions/b7s/entity/get_pos.py | 43 ++ functions/b7s/entity/get_rot.mcfunction | 551 +++++++++++++++++ functions/b7s/entity/get_rot.py | 16 + functions/b7s/entity/home/get_dim.mcfunction | 7 + functions/b7s/entity/home/get_loc.mcfunction | 3 + functions/b7s/entity/home/get_pos.mcfunction | 135 +++++ functions/b7s/entity/home/get_pos.py | 22 + functions/b7s/entity/home/get_rot.mcfunction | 37 ++ functions/b7s/entity/home/get_rot.py | 14 + functions/b7s/entity/home/set_dim.mcfunction | 7 + functions/b7s/entity/home/set_loc.mcfunction | 4 + functions/b7s/entity/home/set_pos.mcfunction | 135 +++++ functions/b7s/entity/home/set_pos.py | 22 + functions/b7s/entity/home/set_rot.mcfunction | 37 ++ functions/b7s/entity/home/set_rot.py | 14 + .../b7s/entity/player/check_armor.mcfunction | 29 + functions/b7s/entity/player/update.mcfunction | 40 ++ functions/b7s/entity/pulse.mcfunction | 8 + functions/b7s/entity/tagify_dim.mcfunction | 21 + functions/b7s/entity/tagify_loc.mcfunction | 42 ++ functions/b7s/entity/tagify_pos.mcfunction | 227 +++++++ functions/b7s/entity/tagify_pos.py | 59 ++ functions/b7s/entity/tagify_rot.mcfunction | 75 +++ functions/b7s/entity/tagify_rot.py | 42 ++ functions/b7s/entity/tp_loc.mcfunction | 27 + functions/b7s/entity/tp_pos.mcfunction | 158 +++++ functions/b7s/entity/tp_pos.py | 45 ++ functions/b7s/entity/tp_rot.mcfunction | 553 ++++++++++++++++++ functions/b7s/entity/tp_rot.py | 18 + functions/b7s/entity/untagify_dim.mcfunction | 17 + functions/b7s/entity/untagify_loc.mcfunction | 49 ++ functions/b7s/entity/untagify_pos.mcfunction | 99 ++++ functions/b7s/entity/untagify_pos.py | 43 ++ functions/b7s/entity/untagify_rot.mcfunction | 43 ++ functions/b7s/entity/untagify_rot.py | 32 + functions/b7s/install.mcfunction | 32 + 197 files changed, 4526 insertions(+) create mode 100644 .gitignore create mode 100644 advancements/b7s/_biome_any.json create mode 100644 advancements/b7s/_biome_beaches.json create mode 100644 advancements/b7s/_biome_birch_forest.json create mode 100644 advancements/b7s/_biome_birch_forest_hills.json create mode 100644 advancements/b7s/_biome_cold_beach.json create mode 100644 advancements/b7s/_biome_deep_ocean.json create mode 100644 advancements/b7s/_biome_desert.json create mode 100644 advancements/b7s/_biome_desert_hills.json create mode 100644 advancements/b7s/_biome_extreme_hills.json create mode 100644 advancements/b7s/_biome_extreme_hills_with_trees.json create mode 100644 advancements/b7s/_biome_forest.json create mode 100644 advancements/b7s/_biome_forest_hills.json create mode 100644 advancements/b7s/_biome_frozen_ocean.json create mode 100644 advancements/b7s/_biome_frozen_river.json create mode 100644 advancements/b7s/_biome_hell.json create mode 100644 advancements/b7s/_biome_ice_flats.json create mode 100644 advancements/b7s/_biome_ice_mountains.json create mode 100644 advancements/b7s/_biome_jungle.json create mode 100644 advancements/b7s/_biome_jungle_edge.json create mode 100644 advancements/b7s/_biome_jungle_hills.json create mode 100644 advancements/b7s/_biome_mesa.json create mode 100644 advancements/b7s/_biome_mesa_clear_rock.json create mode 100644 advancements/b7s/_biome_mesa_rock.json create mode 100644 advancements/b7s/_biome_mushroom_island.json create mode 100644 advancements/b7s/_biome_mushroom_island_shore.json create mode 100644 advancements/b7s/_biome_mutated_birch_forest.json create mode 100644 advancements/b7s/_biome_mutated_birch_forest_hills.json create mode 100644 advancements/b7s/_biome_mutated_desert.json create mode 100644 advancements/b7s/_biome_mutated_extreme_hills.json create mode 100644 advancements/b7s/_biome_mutated_extreme_hills_with_trees.json create mode 100644 advancements/b7s/_biome_mutated_forest.json create mode 100644 advancements/b7s/_biome_mutated_ice_flats.json create mode 100644 advancements/b7s/_biome_mutated_jungle.json create mode 100644 advancements/b7s/_biome_mutated_jungle_edge.json create mode 100644 advancements/b7s/_biome_mutated_mesa.json create mode 100644 advancements/b7s/_biome_mutated_mesa_clear_rock.json create mode 100644 advancements/b7s/_biome_mutated_mesa_rock.json create mode 100644 advancements/b7s/_biome_mutated_plains.json create mode 100644 advancements/b7s/_biome_mutated_redwood_taiga.json create mode 100644 advancements/b7s/_biome_mutated_redwood_taiga_hills.json create mode 100644 advancements/b7s/_biome_mutated_roofed_forest.json create mode 100644 advancements/b7s/_biome_mutated_savanna.json create mode 100644 advancements/b7s/_biome_mutated_savanna_rock.json create mode 100644 advancements/b7s/_biome_mutated_swampland.json create mode 100644 advancements/b7s/_biome_mutated_taiga.json create mode 100644 advancements/b7s/_biome_mutated_taiga_cold.json create mode 100644 advancements/b7s/_biome_ocean.json create mode 100644 advancements/b7s/_biome_plains.json create mode 100644 advancements/b7s/_biome_redwood_taiga.json create mode 100644 advancements/b7s/_biome_redwood_taiga_hills.json create mode 100644 advancements/b7s/_biome_river.json create mode 100644 advancements/b7s/_biome_roofed_forest.json create mode 100644 advancements/b7s/_biome_savanna.json create mode 100644 advancements/b7s/_biome_savanna_rock.json create mode 100644 advancements/b7s/_biome_sky.json create mode 100644 advancements/b7s/_biome_smaller_extreme_hills.json create mode 100644 advancements/b7s/_biome_stone_beach.json create mode 100644 advancements/b7s/_biome_swampland.json create mode 100644 advancements/b7s/_biome_taiga.json create mode 100644 advancements/b7s/_biome_taiga_cold.json create mode 100644 advancements/b7s/_biome_taiga_cold_hills.json create mode 100644 advancements/b7s/_biome_taiga_hills.json create mode 100644 advancements/b7s/_biome_the_void.json create mode 100644 advancements/b7s/root.json create mode 100644 functions/b7s/advancement/_biome_any.mcfunction create mode 100644 functions/b7s/advancement/_biome_beaches.mcfunction create mode 100644 functions/b7s/advancement/_biome_birch_forest.mcfunction create mode 100644 functions/b7s/advancement/_biome_birch_forest_hills.mcfunction create mode 100644 functions/b7s/advancement/_biome_cold_beach.mcfunction create mode 100644 functions/b7s/advancement/_biome_deep_ocean.mcfunction create mode 100644 functions/b7s/advancement/_biome_desert.mcfunction create mode 100644 functions/b7s/advancement/_biome_desert_hills.mcfunction create mode 100644 functions/b7s/advancement/_biome_extreme_hills.mcfunction create mode 100644 functions/b7s/advancement/_biome_extreme_hills_with_trees.mcfunction create mode 100644 functions/b7s/advancement/_biome_forest.mcfunction create mode 100644 functions/b7s/advancement/_biome_forest_hills.mcfunction create mode 100644 functions/b7s/advancement/_biome_frozen_ocean.mcfunction create mode 100644 functions/b7s/advancement/_biome_frozen_river.mcfunction create mode 100644 functions/b7s/advancement/_biome_hell.mcfunction create mode 100644 functions/b7s/advancement/_biome_ice_flats.mcfunction create mode 100644 functions/b7s/advancement/_biome_ice_mountains.mcfunction create mode 100644 functions/b7s/advancement/_biome_jungle.mcfunction create mode 100644 functions/b7s/advancement/_biome_jungle_edge.mcfunction create mode 100644 functions/b7s/advancement/_biome_jungle_hills.mcfunction create mode 100644 functions/b7s/advancement/_biome_mesa.mcfunction create mode 100644 functions/b7s/advancement/_biome_mesa_clear_rock.mcfunction create mode 100644 functions/b7s/advancement/_biome_mesa_rock.mcfunction create mode 100644 functions/b7s/advancement/_biome_mushroom_island.mcfunction create mode 100644 functions/b7s/advancement/_biome_mushroom_island_shore.mcfunction create mode 100644 functions/b7s/advancement/_biome_mutated_birch_forest.mcfunction create mode 100644 functions/b7s/advancement/_biome_mutated_birch_forest_hills.mcfunction create mode 100644 functions/b7s/advancement/_biome_mutated_desert.mcfunction create mode 100644 functions/b7s/advancement/_biome_mutated_extreme_hills.mcfunction create mode 100644 functions/b7s/advancement/_biome_mutated_extreme_hills_with_trees.mcfunction create mode 100644 functions/b7s/advancement/_biome_mutated_forest.mcfunction create mode 100644 functions/b7s/advancement/_biome_mutated_ice_flats.mcfunction create mode 100644 functions/b7s/advancement/_biome_mutated_jungle.mcfunction create mode 100644 functions/b7s/advancement/_biome_mutated_jungle_edge.mcfunction create mode 100644 functions/b7s/advancement/_biome_mutated_mesa.mcfunction create mode 100644 functions/b7s/advancement/_biome_mutated_mesa_clear_rock.mcfunction create mode 100644 functions/b7s/advancement/_biome_mutated_mesa_rock.mcfunction create mode 100644 functions/b7s/advancement/_biome_mutated_plains.mcfunction create mode 100644 functions/b7s/advancement/_biome_mutated_redwood_taiga.mcfunction create mode 100644 functions/b7s/advancement/_biome_mutated_redwood_taiga_hills.mcfunction create mode 100644 functions/b7s/advancement/_biome_mutated_roofed_forest.mcfunction create mode 100644 functions/b7s/advancement/_biome_mutated_savanna.mcfunction create mode 100644 functions/b7s/advancement/_biome_mutated_savanna_rock.mcfunction create mode 100644 functions/b7s/advancement/_biome_mutated_swampland.mcfunction create mode 100644 functions/b7s/advancement/_biome_mutated_taiga.mcfunction create mode 100644 functions/b7s/advancement/_biome_mutated_taiga_cold.mcfunction create mode 100644 functions/b7s/advancement/_biome_ocean.mcfunction create mode 100644 functions/b7s/advancement/_biome_plains.mcfunction create mode 100644 functions/b7s/advancement/_biome_redwood_taiga.mcfunction create mode 100644 functions/b7s/advancement/_biome_redwood_taiga_hills.mcfunction create mode 100644 functions/b7s/advancement/_biome_river.mcfunction create mode 100644 functions/b7s/advancement/_biome_roofed_forest.mcfunction create mode 100644 functions/b7s/advancement/_biome_savanna.mcfunction create mode 100644 functions/b7s/advancement/_biome_savanna_rock.mcfunction create mode 100644 functions/b7s/advancement/_biome_sky.mcfunction create mode 100644 functions/b7s/advancement/_biome_smaller_extreme_hills.mcfunction create mode 100644 functions/b7s/advancement/_biome_stone_beach.mcfunction create mode 100644 functions/b7s/advancement/_biome_swampland.mcfunction create mode 100644 functions/b7s/advancement/_biome_taiga.mcfunction create mode 100644 functions/b7s/advancement/_biome_taiga_cold.mcfunction create mode 100644 functions/b7s/advancement/_biome_taiga_cold_hills.mcfunction create mode 100644 functions/b7s/advancement/_biome_taiga_hills.mcfunction create mode 100644 functions/b7s/advancement/_biome_the_void.mcfunction create mode 100644 functions/b7s/command/sethome.mcfunction create mode 100644 functions/b7s/command/tpaccept.mcfunction create mode 100644 functions/b7s/command/tpaccept/_if_req.mcfunction create mode 100644 functions/b7s/command/tpaccept/_if_req_if_other.mcfunction create mode 100644 functions/b7s/command/tpaccept/_if_req_if_other_if_same_dim.mcfunction create mode 100644 functions/b7s/command/tpaccept/_unless_req.mcfunction create mode 100644 functions/b7s/command/tpback.mcfunction create mode 100644 functions/b7s/command/tpback/_if_back_set.mcfunction create mode 100644 functions/b7s/command/tpback/_if_back_set_if_same_dim.mcfunction create mode 100644 functions/b7s/command/tphome.mcfunction create mode 100644 functions/b7s/command/tphome/_if_home_set.mcfunction create mode 100644 functions/b7s/command/tphome/_if_home_set_if_same_dim.mcfunction create mode 100644 functions/b7s/command/tpreq.mcfunction create mode 100644 functions/b7s/command/tpreq/_if_other.mcfunction create mode 100644 functions/b7s/command/tpreq/_if_other_if_different_players.mcfunction create mode 100644 functions/b7s/command/tpreq/_if_other_if_different_players_if_same_dim.mcfunction create mode 100644 functions/b7s/command/tpreq/_unless_other.mcfunction create mode 100644 functions/b7s/entity/back/get_dim.mcfunction create mode 100644 functions/b7s/entity/back/get_loc.mcfunction create mode 100644 functions/b7s/entity/back/get_pos.mcfunction create mode 100644 functions/b7s/entity/back/get_pos.py create mode 100644 functions/b7s/entity/back/get_rot.mcfunction create mode 100644 functions/b7s/entity/back/get_rot.py create mode 100644 functions/b7s/entity/back/set_dim.mcfunction create mode 100644 functions/b7s/entity/back/set_loc.mcfunction create mode 100644 functions/b7s/entity/back/set_pos.mcfunction create mode 100644 functions/b7s/entity/back/set_pos.py create mode 100644 functions/b7s/entity/back/set_rot.mcfunction create mode 100644 functions/b7s/entity/back/set_rot.py create mode 100644 functions/b7s/entity/check_same_dim.mcfunction create mode 100644 functions/b7s/entity/get_dim.mcfunction create mode 100644 functions/b7s/entity/get_loc.mcfunction create mode 100644 functions/b7s/entity/get_pos.mcfunction create mode 100644 functions/b7s/entity/get_pos.py create mode 100644 functions/b7s/entity/get_rot.mcfunction create mode 100644 functions/b7s/entity/get_rot.py create mode 100644 functions/b7s/entity/home/get_dim.mcfunction create mode 100644 functions/b7s/entity/home/get_loc.mcfunction create mode 100644 functions/b7s/entity/home/get_pos.mcfunction create mode 100644 functions/b7s/entity/home/get_pos.py create mode 100644 functions/b7s/entity/home/get_rot.mcfunction create mode 100644 functions/b7s/entity/home/get_rot.py create mode 100644 functions/b7s/entity/home/set_dim.mcfunction create mode 100644 functions/b7s/entity/home/set_loc.mcfunction create mode 100644 functions/b7s/entity/home/set_pos.mcfunction create mode 100644 functions/b7s/entity/home/set_pos.py create mode 100644 functions/b7s/entity/home/set_rot.mcfunction create mode 100644 functions/b7s/entity/home/set_rot.py create mode 100644 functions/b7s/entity/player/check_armor.mcfunction create mode 100644 functions/b7s/entity/player/update.mcfunction create mode 100644 functions/b7s/entity/pulse.mcfunction create mode 100644 functions/b7s/entity/tagify_dim.mcfunction create mode 100644 functions/b7s/entity/tagify_loc.mcfunction create mode 100644 functions/b7s/entity/tagify_pos.mcfunction create mode 100644 functions/b7s/entity/tagify_pos.py create mode 100644 functions/b7s/entity/tagify_rot.mcfunction create mode 100644 functions/b7s/entity/tagify_rot.py create mode 100644 functions/b7s/entity/tp_loc.mcfunction create mode 100644 functions/b7s/entity/tp_pos.mcfunction create mode 100644 functions/b7s/entity/tp_pos.py create mode 100644 functions/b7s/entity/tp_rot.mcfunction create mode 100644 functions/b7s/entity/tp_rot.py create mode 100644 functions/b7s/entity/untagify_dim.mcfunction create mode 100644 functions/b7s/entity/untagify_loc.mcfunction create mode 100644 functions/b7s/entity/untagify_pos.mcfunction create mode 100644 functions/b7s/entity/untagify_pos.py create mode 100644 functions/b7s/entity/untagify_rot.mcfunction create mode 100644 functions/b7s/entity/untagify_rot.py create mode 100644 functions/b7s/install.mcfunction diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f2233cb --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +/.idea/ +/Fortress.dat +/Mineshaft.dat +/scoreboard.dat +/villages.dat +/villages_end.dat +/villages_nether.dat + +__pycache__/ diff --git a/advancements/b7s/_biome_any.json b/advancements/b7s/_biome_any.json new file mode 100644 index 0000000..622598b --- /dev/null +++ b/advancements/b7s/_biome_any.json @@ -0,0 +1,11 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_any": { + "trigger": "minecraft:location" + } + }, + "rewards": { + "function": "b7s:advancement/_biome_any" + } +} diff --git a/advancements/b7s/_biome_beaches.json b/advancements/b7s/_biome_beaches.json new file mode 100644 index 0000000..8ea7050 --- /dev/null +++ b/advancements/b7s/_biome_beaches.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_beaches": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:beaches" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_beaches" + } +} diff --git a/advancements/b7s/_biome_birch_forest.json b/advancements/b7s/_biome_birch_forest.json new file mode 100644 index 0000000..22c0407 --- /dev/null +++ b/advancements/b7s/_biome_birch_forest.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_birch_forest": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:birch_forest" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_birch_forest" + } +} diff --git a/advancements/b7s/_biome_birch_forest_hills.json b/advancements/b7s/_biome_birch_forest_hills.json new file mode 100644 index 0000000..58ef86c --- /dev/null +++ b/advancements/b7s/_biome_birch_forest_hills.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_birch_forest_hills": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:birch_forest_hills" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_birch_forest_hills" + } +} diff --git a/advancements/b7s/_biome_cold_beach.json b/advancements/b7s/_biome_cold_beach.json new file mode 100644 index 0000000..5313977 --- /dev/null +++ b/advancements/b7s/_biome_cold_beach.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_cold_beach": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:cold_beach" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_cold_beach" + } +} diff --git a/advancements/b7s/_biome_deep_ocean.json b/advancements/b7s/_biome_deep_ocean.json new file mode 100644 index 0000000..482b5d2 --- /dev/null +++ b/advancements/b7s/_biome_deep_ocean.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_deep_ocean": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:deep_ocean" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_deep_ocean" + } +} diff --git a/advancements/b7s/_biome_desert.json b/advancements/b7s/_biome_desert.json new file mode 100644 index 0000000..618a46e --- /dev/null +++ b/advancements/b7s/_biome_desert.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_desert": { + "trigger": "minecraft:desert", + "conditions": { + "biome": "minecraft:desert" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_desert" + } +} diff --git a/advancements/b7s/_biome_desert_hills.json b/advancements/b7s/_biome_desert_hills.json new file mode 100644 index 0000000..321de86 --- /dev/null +++ b/advancements/b7s/_biome_desert_hills.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_desert_hills": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:desert_hills" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_desert_hills" + } +} diff --git a/advancements/b7s/_biome_extreme_hills.json b/advancements/b7s/_biome_extreme_hills.json new file mode 100644 index 0000000..b70b620 --- /dev/null +++ b/advancements/b7s/_biome_extreme_hills.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_extreme_hills": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:extreme_hills" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_extreme_hills" + } +} diff --git a/advancements/b7s/_biome_extreme_hills_with_trees.json b/advancements/b7s/_biome_extreme_hills_with_trees.json new file mode 100644 index 0000000..5836ece --- /dev/null +++ b/advancements/b7s/_biome_extreme_hills_with_trees.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_extreme_hills_with_trees": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:extreme_hills_with_trees" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_extreme_hills_with_trees" + } +} diff --git a/advancements/b7s/_biome_forest.json b/advancements/b7s/_biome_forest.json new file mode 100644 index 0000000..368c3a7 --- /dev/null +++ b/advancements/b7s/_biome_forest.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_forest": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:forest" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_forest" + } +} diff --git a/advancements/b7s/_biome_forest_hills.json b/advancements/b7s/_biome_forest_hills.json new file mode 100644 index 0000000..1ec476f --- /dev/null +++ b/advancements/b7s/_biome_forest_hills.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_forest_hills": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:forest_hills" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_forest_hills" + } +} diff --git a/advancements/b7s/_biome_frozen_ocean.json b/advancements/b7s/_biome_frozen_ocean.json new file mode 100644 index 0000000..ab509d9 --- /dev/null +++ b/advancements/b7s/_biome_frozen_ocean.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_frozen_ocean": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:frozen_ocean" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_frozen_ocean" + } +} diff --git a/advancements/b7s/_biome_frozen_river.json b/advancements/b7s/_biome_frozen_river.json new file mode 100644 index 0000000..9b5841c --- /dev/null +++ b/advancements/b7s/_biome_frozen_river.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_frozen_river": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:frozen_river" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_frozen_river" + } +} diff --git a/advancements/b7s/_biome_hell.json b/advancements/b7s/_biome_hell.json new file mode 100644 index 0000000..1966312 --- /dev/null +++ b/advancements/b7s/_biome_hell.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_hell": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:hell" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_hell" + } +} diff --git a/advancements/b7s/_biome_ice_flats.json b/advancements/b7s/_biome_ice_flats.json new file mode 100644 index 0000000..966dd04 --- /dev/null +++ b/advancements/b7s/_biome_ice_flats.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_ice_flats": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:ice_flats" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_ice_flats" + } +} diff --git a/advancements/b7s/_biome_ice_mountains.json b/advancements/b7s/_biome_ice_mountains.json new file mode 100644 index 0000000..2726816 --- /dev/null +++ b/advancements/b7s/_biome_ice_mountains.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_ice_mountains": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:ice_mountains" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_ice_mountains" + } +} diff --git a/advancements/b7s/_biome_jungle.json b/advancements/b7s/_biome_jungle.json new file mode 100644 index 0000000..1c09e62 --- /dev/null +++ b/advancements/b7s/_biome_jungle.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_jungle": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:jungle" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_jungle" + } +} diff --git a/advancements/b7s/_biome_jungle_edge.json b/advancements/b7s/_biome_jungle_edge.json new file mode 100644 index 0000000..df56a1f --- /dev/null +++ b/advancements/b7s/_biome_jungle_edge.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_jungle_edge": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:jungle_edge" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_jungle_edge" + } +} diff --git a/advancements/b7s/_biome_jungle_hills.json b/advancements/b7s/_biome_jungle_hills.json new file mode 100644 index 0000000..221ff2d --- /dev/null +++ b/advancements/b7s/_biome_jungle_hills.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_jungle_hills": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:jungle_hills" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_jungle_hills" + } +} diff --git a/advancements/b7s/_biome_mesa.json b/advancements/b7s/_biome_mesa.json new file mode 100644 index 0000000..e768933 --- /dev/null +++ b/advancements/b7s/_biome_mesa.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_mesa": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:mesa" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_mesa" + } +} diff --git a/advancements/b7s/_biome_mesa_clear_rock.json b/advancements/b7s/_biome_mesa_clear_rock.json new file mode 100644 index 0000000..7a96dff --- /dev/null +++ b/advancements/b7s/_biome_mesa_clear_rock.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_mesa_clear_rock": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:mesa_clear_rock" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_mesa_clear_rock" + } +} diff --git a/advancements/b7s/_biome_mesa_rock.json b/advancements/b7s/_biome_mesa_rock.json new file mode 100644 index 0000000..ce5930b --- /dev/null +++ b/advancements/b7s/_biome_mesa_rock.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_mesa_rock": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:mesa_rock" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_mesa_rock" + } +} diff --git a/advancements/b7s/_biome_mushroom_island.json b/advancements/b7s/_biome_mushroom_island.json new file mode 100644 index 0000000..c5d5e18 --- /dev/null +++ b/advancements/b7s/_biome_mushroom_island.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_mushroom_island": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:mushroom_island" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_mushroom_island" + } +} diff --git a/advancements/b7s/_biome_mushroom_island_shore.json b/advancements/b7s/_biome_mushroom_island_shore.json new file mode 100644 index 0000000..cf80209 --- /dev/null +++ b/advancements/b7s/_biome_mushroom_island_shore.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_mushroom_island_shore": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:mushroom_island_shore" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_mushroom_island_shore" + } +} diff --git a/advancements/b7s/_biome_mutated_birch_forest.json b/advancements/b7s/_biome_mutated_birch_forest.json new file mode 100644 index 0000000..d4c9a31 --- /dev/null +++ b/advancements/b7s/_biome_mutated_birch_forest.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_mutated_birch_forest": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:mutated_birch_forest" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_mutated_birch_forest" + } +} diff --git a/advancements/b7s/_biome_mutated_birch_forest_hills.json b/advancements/b7s/_biome_mutated_birch_forest_hills.json new file mode 100644 index 0000000..755db4d --- /dev/null +++ b/advancements/b7s/_biome_mutated_birch_forest_hills.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_mutated_birch_forest_hills": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:mutated_birch_forest_hills" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_mutated_birch_forest_hills" + } +} diff --git a/advancements/b7s/_biome_mutated_desert.json b/advancements/b7s/_biome_mutated_desert.json new file mode 100644 index 0000000..89a7d1b --- /dev/null +++ b/advancements/b7s/_biome_mutated_desert.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_mutated_desert": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:mutated_desert" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_mutated_desert" + } +} diff --git a/advancements/b7s/_biome_mutated_extreme_hills.json b/advancements/b7s/_biome_mutated_extreme_hills.json new file mode 100644 index 0000000..6a0c828 --- /dev/null +++ b/advancements/b7s/_biome_mutated_extreme_hills.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_mutated_extreme_hills": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:mutated_extreme_hills" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_mutated_extreme_hills" + } +} diff --git a/advancements/b7s/_biome_mutated_extreme_hills_with_trees.json b/advancements/b7s/_biome_mutated_extreme_hills_with_trees.json new file mode 100644 index 0000000..4880e83 --- /dev/null +++ b/advancements/b7s/_biome_mutated_extreme_hills_with_trees.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_mutated_extreme_hills_with_trees": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:mutated_extreme_hills_with_trees" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_mutated_extreme_hills_with_trees" + } +} diff --git a/advancements/b7s/_biome_mutated_forest.json b/advancements/b7s/_biome_mutated_forest.json new file mode 100644 index 0000000..3f6c959 --- /dev/null +++ b/advancements/b7s/_biome_mutated_forest.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_mutated_forest": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:mutated_forest" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_mutated_forest" + } +} diff --git a/advancements/b7s/_biome_mutated_ice_flats.json b/advancements/b7s/_biome_mutated_ice_flats.json new file mode 100644 index 0000000..a8600fc --- /dev/null +++ b/advancements/b7s/_biome_mutated_ice_flats.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_mutated_ice_flats": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:mutated_ice_flats" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_mutated_ice_flats" + } +} diff --git a/advancements/b7s/_biome_mutated_jungle.json b/advancements/b7s/_biome_mutated_jungle.json new file mode 100644 index 0000000..644461b --- /dev/null +++ b/advancements/b7s/_biome_mutated_jungle.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_mutated_jungle": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:mutated_jungle" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_mutated_jungle" + } +} diff --git a/advancements/b7s/_biome_mutated_jungle_edge.json b/advancements/b7s/_biome_mutated_jungle_edge.json new file mode 100644 index 0000000..512bcfa --- /dev/null +++ b/advancements/b7s/_biome_mutated_jungle_edge.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_mutated_jungle_edge": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:mutated_jungle_edge" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_mutated_jungle_edge" + } +} diff --git a/advancements/b7s/_biome_mutated_mesa.json b/advancements/b7s/_biome_mutated_mesa.json new file mode 100644 index 0000000..d2cdf85 --- /dev/null +++ b/advancements/b7s/_biome_mutated_mesa.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_mutated_mesa": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:mutated_mesa" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_mutated_mesa" + } +} diff --git a/advancements/b7s/_biome_mutated_mesa_clear_rock.json b/advancements/b7s/_biome_mutated_mesa_clear_rock.json new file mode 100644 index 0000000..3c9a7f5 --- /dev/null +++ b/advancements/b7s/_biome_mutated_mesa_clear_rock.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_mutated_mesa_clear_rock": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:mutated_mesa_clear_rock" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_mutated_mesa_clear_rock" + } +} diff --git a/advancements/b7s/_biome_mutated_mesa_rock.json b/advancements/b7s/_biome_mutated_mesa_rock.json new file mode 100644 index 0000000..02d3524 --- /dev/null +++ b/advancements/b7s/_biome_mutated_mesa_rock.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_mutated_mesa_rock": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:mutated_mesa_rock" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_mutated_mesa_rock" + } +} diff --git a/advancements/b7s/_biome_mutated_plains.json b/advancements/b7s/_biome_mutated_plains.json new file mode 100644 index 0000000..8c3b6f7 --- /dev/null +++ b/advancements/b7s/_biome_mutated_plains.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_mutated_plains": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:mutated_plains" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_mutated_plains" + } +} diff --git a/advancements/b7s/_biome_mutated_redwood_taiga.json b/advancements/b7s/_biome_mutated_redwood_taiga.json new file mode 100644 index 0000000..18ae716 --- /dev/null +++ b/advancements/b7s/_biome_mutated_redwood_taiga.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_mutated_redwood_taiga": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:mutated_redwood_taiga" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_mutated_redwood_taiga" + } +} diff --git a/advancements/b7s/_biome_mutated_redwood_taiga_hills.json b/advancements/b7s/_biome_mutated_redwood_taiga_hills.json new file mode 100644 index 0000000..361da51 --- /dev/null +++ b/advancements/b7s/_biome_mutated_redwood_taiga_hills.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_mutated_redwood_taiga_hills": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:mutated_redwood_taiga_hills" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_mutated_redwood_taiga_hills" + } +} diff --git a/advancements/b7s/_biome_mutated_roofed_forest.json b/advancements/b7s/_biome_mutated_roofed_forest.json new file mode 100644 index 0000000..3063918 --- /dev/null +++ b/advancements/b7s/_biome_mutated_roofed_forest.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_mutated_roofed_forest": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:mutated_roofed_forest" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_mutated_roofed_forest" + } +} diff --git a/advancements/b7s/_biome_mutated_savanna.json b/advancements/b7s/_biome_mutated_savanna.json new file mode 100644 index 0000000..dc04577 --- /dev/null +++ b/advancements/b7s/_biome_mutated_savanna.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_mutated_savanna": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:mutated_savanna" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_mutated_savanna" + } +} diff --git a/advancements/b7s/_biome_mutated_savanna_rock.json b/advancements/b7s/_biome_mutated_savanna_rock.json new file mode 100644 index 0000000..54535de --- /dev/null +++ b/advancements/b7s/_biome_mutated_savanna_rock.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_mutated_savanna_rock": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:mutated_savanna_rock" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_mutated_savanna_rock" + } +} diff --git a/advancements/b7s/_biome_mutated_swampland.json b/advancements/b7s/_biome_mutated_swampland.json new file mode 100644 index 0000000..12cf579 --- /dev/null +++ b/advancements/b7s/_biome_mutated_swampland.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_mutated_swampland": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:mutated_swampland" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_mutated_swampland" + } +} diff --git a/advancements/b7s/_biome_mutated_taiga.json b/advancements/b7s/_biome_mutated_taiga.json new file mode 100644 index 0000000..b4fdcb6 --- /dev/null +++ b/advancements/b7s/_biome_mutated_taiga.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_mutated_taiga": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:mutated_taiga" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_mutated_taiga" + } +} diff --git a/advancements/b7s/_biome_mutated_taiga_cold.json b/advancements/b7s/_biome_mutated_taiga_cold.json new file mode 100644 index 0000000..f447fdd --- /dev/null +++ b/advancements/b7s/_biome_mutated_taiga_cold.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_mutated_taiga_cold": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:mutated_taiga_cold" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_mutated_taiga_cold" + } +} diff --git a/advancements/b7s/_biome_ocean.json b/advancements/b7s/_biome_ocean.json new file mode 100644 index 0000000..726de22 --- /dev/null +++ b/advancements/b7s/_biome_ocean.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_ocean": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:ocean" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_ocean" + } +} diff --git a/advancements/b7s/_biome_plains.json b/advancements/b7s/_biome_plains.json new file mode 100644 index 0000000..4bcd76c --- /dev/null +++ b/advancements/b7s/_biome_plains.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_plains": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:plains" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_plains" + } +} diff --git a/advancements/b7s/_biome_redwood_taiga.json b/advancements/b7s/_biome_redwood_taiga.json new file mode 100644 index 0000000..dda1ad0 --- /dev/null +++ b/advancements/b7s/_biome_redwood_taiga.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_redwood_taiga": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:redwood_taiga" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_redwood_taiga" + } +} diff --git a/advancements/b7s/_biome_redwood_taiga_hills.json b/advancements/b7s/_biome_redwood_taiga_hills.json new file mode 100644 index 0000000..1cfa95e --- /dev/null +++ b/advancements/b7s/_biome_redwood_taiga_hills.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_redwood_taiga_hills": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:redwood_taiga_hills" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_redwood_taiga_hills" + } +} diff --git a/advancements/b7s/_biome_river.json b/advancements/b7s/_biome_river.json new file mode 100644 index 0000000..518e300 --- /dev/null +++ b/advancements/b7s/_biome_river.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_river": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:river" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_river" + } +} diff --git a/advancements/b7s/_biome_roofed_forest.json b/advancements/b7s/_biome_roofed_forest.json new file mode 100644 index 0000000..4e7528e --- /dev/null +++ b/advancements/b7s/_biome_roofed_forest.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_roofed_forest": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:roofed_forest" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_roofed_forest" + } +} diff --git a/advancements/b7s/_biome_savanna.json b/advancements/b7s/_biome_savanna.json new file mode 100644 index 0000000..2c62b78 --- /dev/null +++ b/advancements/b7s/_biome_savanna.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_savanna": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:savanna" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_savanna" + } +} diff --git a/advancements/b7s/_biome_savanna_rock.json b/advancements/b7s/_biome_savanna_rock.json new file mode 100644 index 0000000..2e59c66 --- /dev/null +++ b/advancements/b7s/_biome_savanna_rock.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_savanna_rock": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:savanna_rock" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_savanna_rock" + } +} diff --git a/advancements/b7s/_biome_sky.json b/advancements/b7s/_biome_sky.json new file mode 100644 index 0000000..ed99ac3 --- /dev/null +++ b/advancements/b7s/_biome_sky.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_sky": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:sky" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_sky" + } +} diff --git a/advancements/b7s/_biome_smaller_extreme_hills.json b/advancements/b7s/_biome_smaller_extreme_hills.json new file mode 100644 index 0000000..60c2e8a --- /dev/null +++ b/advancements/b7s/_biome_smaller_extreme_hills.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_smaller_extreme_hills": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:smaller_extreme_hills" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_smaller_extreme_hills" + } +} diff --git a/advancements/b7s/_biome_stone_beach.json b/advancements/b7s/_biome_stone_beach.json new file mode 100644 index 0000000..19f0500 --- /dev/null +++ b/advancements/b7s/_biome_stone_beach.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_stone_beach": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:stone_beach" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_stone_beach" + } +} diff --git a/advancements/b7s/_biome_swampland.json b/advancements/b7s/_biome_swampland.json new file mode 100644 index 0000000..05ac028 --- /dev/null +++ b/advancements/b7s/_biome_swampland.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_swampland": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:swampland" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_swampland" + } +} diff --git a/advancements/b7s/_biome_taiga.json b/advancements/b7s/_biome_taiga.json new file mode 100644 index 0000000..d7f3d98 --- /dev/null +++ b/advancements/b7s/_biome_taiga.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_taiga": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:taiga" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_taiga" + } +} diff --git a/advancements/b7s/_biome_taiga_cold.json b/advancements/b7s/_biome_taiga_cold.json new file mode 100644 index 0000000..373545d --- /dev/null +++ b/advancements/b7s/_biome_taiga_cold.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_taiga_cold": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:taiga_cold" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_taiga_cold" + } +} diff --git a/advancements/b7s/_biome_taiga_cold_hills.json b/advancements/b7s/_biome_taiga_cold_hills.json new file mode 100644 index 0000000..3c9fee5 --- /dev/null +++ b/advancements/b7s/_biome_taiga_cold_hills.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_taiga_cold_hills": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:taiga_cold_hills" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_taiga_cold_hills" + } +} diff --git a/advancements/b7s/_biome_taiga_hills.json b/advancements/b7s/_biome_taiga_hills.json new file mode 100644 index 0000000..90e6813 --- /dev/null +++ b/advancements/b7s/_biome_taiga_hills.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_taiga_hills": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:taiga_hills" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_taiga_hills" + } +} diff --git a/advancements/b7s/_biome_the_void.json b/advancements/b7s/_biome_the_void.json new file mode 100644 index 0000000..052f4a5 --- /dev/null +++ b/advancements/b7s/_biome_the_void.json @@ -0,0 +1,14 @@ +{ + "parent": "b7s:root", + "criteria": { + "b7s:_biome_the_void": { + "trigger": "minecraft:location", + "conditions": { + "biome": "minecraft:the_void" + } + } + }, + "rewards": { + "function": "b7s:advancement/_biome_the_void" + } +} diff --git a/advancements/b7s/root.json b/advancements/b7s/root.json new file mode 100644 index 0000000..9ea6435 --- /dev/null +++ b/advancements/b7s/root.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "b7s:impossible": { + "trigger": "minecraft:impossible" + } + } +} diff --git a/functions/b7s/advancement/_biome_any.mcfunction b/functions/b7s/advancement/_biome_any.mcfunction new file mode 100644 index 0000000..0dfb98d --- /dev/null +++ b/functions/b7s/advancement/_biome_any.mcfunction @@ -0,0 +1,2 @@ +function b7s:entity/player/update +advancement revoke @s only b7s:_biome_any diff --git a/functions/b7s/advancement/_biome_beaches.mcfunction b/functions/b7s/advancement/_biome_beaches.mcfunction new file mode 100644 index 0000000..37fb1c6 --- /dev/null +++ b/functions/b7s/advancement/_biome_beaches.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 16 +advancement revoke @s only b7s:_biome_beaches diff --git a/functions/b7s/advancement/_biome_birch_forest.mcfunction b/functions/b7s/advancement/_biome_birch_forest.mcfunction new file mode 100644 index 0000000..a84dd2f --- /dev/null +++ b/functions/b7s/advancement/_biome_birch_forest.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 27 +advancement revoke @s only b7s:_biome_forest diff --git a/functions/b7s/advancement/_biome_birch_forest_hills.mcfunction b/functions/b7s/advancement/_biome_birch_forest_hills.mcfunction new file mode 100644 index 0000000..546bbb3 --- /dev/null +++ b/functions/b7s/advancement/_biome_birch_forest_hills.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 28 +advancement revoke @s only b7s:_biome_forest_hills diff --git a/functions/b7s/advancement/_biome_cold_beach.mcfunction b/functions/b7s/advancement/_biome_cold_beach.mcfunction new file mode 100644 index 0000000..4b369d8 --- /dev/null +++ b/functions/b7s/advancement/_biome_cold_beach.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 26 +advancement revoke @s only b7s:_biome_cold_beach diff --git a/functions/b7s/advancement/_biome_deep_ocean.mcfunction b/functions/b7s/advancement/_biome_deep_ocean.mcfunction new file mode 100644 index 0000000..ed89250 --- /dev/null +++ b/functions/b7s/advancement/_biome_deep_ocean.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 24 +advancement revoke @s only b7s:_biome_deep_ocean diff --git a/functions/b7s/advancement/_biome_desert.mcfunction b/functions/b7s/advancement/_biome_desert.mcfunction new file mode 100644 index 0000000..d00333b --- /dev/null +++ b/functions/b7s/advancement/_biome_desert.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 2 +advancement revoke @s only b7s:_biome_desert diff --git a/functions/b7s/advancement/_biome_desert_hills.mcfunction b/functions/b7s/advancement/_biome_desert_hills.mcfunction new file mode 100644 index 0000000..7a21050 --- /dev/null +++ b/functions/b7s/advancement/_biome_desert_hills.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 17 +advancement revoke @s only b7s:_biome_desert_hills diff --git a/functions/b7s/advancement/_biome_extreme_hills.mcfunction b/functions/b7s/advancement/_biome_extreme_hills.mcfunction new file mode 100644 index 0000000..1d6d623 --- /dev/null +++ b/functions/b7s/advancement/_biome_extreme_hills.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 3 +advancement revoke @s only b7s:_biome_extreme_hills diff --git a/functions/b7s/advancement/_biome_extreme_hills_with_trees.mcfunction b/functions/b7s/advancement/_biome_extreme_hills_with_trees.mcfunction new file mode 100644 index 0000000..18eafb3 --- /dev/null +++ b/functions/b7s/advancement/_biome_extreme_hills_with_trees.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 34 +advancement revoke @s only b7s:_biome_extreme_hills_with_trees diff --git a/functions/b7s/advancement/_biome_forest.mcfunction b/functions/b7s/advancement/_biome_forest.mcfunction new file mode 100644 index 0000000..25637b9 --- /dev/null +++ b/functions/b7s/advancement/_biome_forest.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 4 +advancement revoke @s only b7s:_biome_forest diff --git a/functions/b7s/advancement/_biome_forest_hills.mcfunction b/functions/b7s/advancement/_biome_forest_hills.mcfunction new file mode 100644 index 0000000..a8dcad0 --- /dev/null +++ b/functions/b7s/advancement/_biome_forest_hills.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 18 +advancement revoke @s only b7s:_biome_forest_hills diff --git a/functions/b7s/advancement/_biome_frozen_ocean.mcfunction b/functions/b7s/advancement/_biome_frozen_ocean.mcfunction new file mode 100644 index 0000000..1f33dbc --- /dev/null +++ b/functions/b7s/advancement/_biome_frozen_ocean.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 10 +advancement revoke @s only b7s:_biome_frozen_ocean diff --git a/functions/b7s/advancement/_biome_frozen_river.mcfunction b/functions/b7s/advancement/_biome_frozen_river.mcfunction new file mode 100644 index 0000000..80ad0de --- /dev/null +++ b/functions/b7s/advancement/_biome_frozen_river.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 11 +advancement revoke @s only b7s:_biome_frozen_river diff --git a/functions/b7s/advancement/_biome_hell.mcfunction b/functions/b7s/advancement/_biome_hell.mcfunction new file mode 100644 index 0000000..e561bf0 --- /dev/null +++ b/functions/b7s/advancement/_biome_hell.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 8 +advancement revoke @s only b7s:_biome_hell diff --git a/functions/b7s/advancement/_biome_ice_flats.mcfunction b/functions/b7s/advancement/_biome_ice_flats.mcfunction new file mode 100644 index 0000000..9156ead --- /dev/null +++ b/functions/b7s/advancement/_biome_ice_flats.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 12 +advancement revoke @s only b7s:_biome_ice_flats diff --git a/functions/b7s/advancement/_biome_ice_mountains.mcfunction b/functions/b7s/advancement/_biome_ice_mountains.mcfunction new file mode 100644 index 0000000..bc188a7 --- /dev/null +++ b/functions/b7s/advancement/_biome_ice_mountains.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 13 +advancement revoke @s only b7s:_biome_ice_mountains diff --git a/functions/b7s/advancement/_biome_jungle.mcfunction b/functions/b7s/advancement/_biome_jungle.mcfunction new file mode 100644 index 0000000..7387ff8 --- /dev/null +++ b/functions/b7s/advancement/_biome_jungle.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 21 +advancement revoke @s only b7s:_biome_jungle diff --git a/functions/b7s/advancement/_biome_jungle_edge.mcfunction b/functions/b7s/advancement/_biome_jungle_edge.mcfunction new file mode 100644 index 0000000..9a0e4ae --- /dev/null +++ b/functions/b7s/advancement/_biome_jungle_edge.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 23 +advancement revoke @s only b7s:_biome_jungle_edge diff --git a/functions/b7s/advancement/_biome_jungle_hills.mcfunction b/functions/b7s/advancement/_biome_jungle_hills.mcfunction new file mode 100644 index 0000000..c6e7c88 --- /dev/null +++ b/functions/b7s/advancement/_biome_jungle_hills.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 22 +advancement revoke @s only b7s:_biome_jungle_hills diff --git a/functions/b7s/advancement/_biome_mesa.mcfunction b/functions/b7s/advancement/_biome_mesa.mcfunction new file mode 100644 index 0000000..0911b28 --- /dev/null +++ b/functions/b7s/advancement/_biome_mesa.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 37 +advancement revoke @s only b7s:_biome_mesa diff --git a/functions/b7s/advancement/_biome_mesa_clear_rock.mcfunction b/functions/b7s/advancement/_biome_mesa_clear_rock.mcfunction new file mode 100644 index 0000000..4a13d55 --- /dev/null +++ b/functions/b7s/advancement/_biome_mesa_clear_rock.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 39 +advancement revoke @s only b7s:_biome_mesa_clear_rock diff --git a/functions/b7s/advancement/_biome_mesa_rock.mcfunction b/functions/b7s/advancement/_biome_mesa_rock.mcfunction new file mode 100644 index 0000000..7a0e975 --- /dev/null +++ b/functions/b7s/advancement/_biome_mesa_rock.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 38 +advancement revoke @s only b7s:_biome_mesa_rock diff --git a/functions/b7s/advancement/_biome_mushroom_island.mcfunction b/functions/b7s/advancement/_biome_mushroom_island.mcfunction new file mode 100644 index 0000000..59fa439 --- /dev/null +++ b/functions/b7s/advancement/_biome_mushroom_island.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 14 +advancement revoke @s only b7s:_biome_mushroom_island diff --git a/functions/b7s/advancement/_biome_mushroom_island_shore.mcfunction b/functions/b7s/advancement/_biome_mushroom_island_shore.mcfunction new file mode 100644 index 0000000..4b86269 --- /dev/null +++ b/functions/b7s/advancement/_biome_mushroom_island_shore.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 15 +advancement revoke @s only b7s:_biome_mushroom_island_shore diff --git a/functions/b7s/advancement/_biome_mutated_birch_forest.mcfunction b/functions/b7s/advancement/_biome_mutated_birch_forest.mcfunction new file mode 100644 index 0000000..90b0f7c --- /dev/null +++ b/functions/b7s/advancement/_biome_mutated_birch_forest.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 155 +advancement revoke @s only b7s:_biome_mutated_birch_forest diff --git a/functions/b7s/advancement/_biome_mutated_birch_forest_hills.mcfunction b/functions/b7s/advancement/_biome_mutated_birch_forest_hills.mcfunction new file mode 100644 index 0000000..a174fe6 --- /dev/null +++ b/functions/b7s/advancement/_biome_mutated_birch_forest_hills.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 156 +advancement revoke @s only b7s:_biome_mutated_birch_forest_hills diff --git a/functions/b7s/advancement/_biome_mutated_desert.mcfunction b/functions/b7s/advancement/_biome_mutated_desert.mcfunction new file mode 100644 index 0000000..bd66d85 --- /dev/null +++ b/functions/b7s/advancement/_biome_mutated_desert.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 130 +advancement revoke @s only b7s:_biome_mutated_desert diff --git a/functions/b7s/advancement/_biome_mutated_extreme_hills.mcfunction b/functions/b7s/advancement/_biome_mutated_extreme_hills.mcfunction new file mode 100644 index 0000000..baaaef9 --- /dev/null +++ b/functions/b7s/advancement/_biome_mutated_extreme_hills.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 131 +advancement revoke @s only b7s:_biome_mutated_extreme_hills diff --git a/functions/b7s/advancement/_biome_mutated_extreme_hills_with_trees.mcfunction b/functions/b7s/advancement/_biome_mutated_extreme_hills_with_trees.mcfunction new file mode 100644 index 0000000..8228061 --- /dev/null +++ b/functions/b7s/advancement/_biome_mutated_extreme_hills_with_trees.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 162 +advancement revoke @s only b7s:_biome_mutated_extreme_hills_with_trees diff --git a/functions/b7s/advancement/_biome_mutated_forest.mcfunction b/functions/b7s/advancement/_biome_mutated_forest.mcfunction new file mode 100644 index 0000000..ebd9b51 --- /dev/null +++ b/functions/b7s/advancement/_biome_mutated_forest.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 132 +advancement revoke @s only b7s:_biome_mutated_forest diff --git a/functions/b7s/advancement/_biome_mutated_ice_flats.mcfunction b/functions/b7s/advancement/_biome_mutated_ice_flats.mcfunction new file mode 100644 index 0000000..eb04eb3 --- /dev/null +++ b/functions/b7s/advancement/_biome_mutated_ice_flats.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 140 +advancement revoke @s only b7s:_biome_mutated_ice_flats diff --git a/functions/b7s/advancement/_biome_mutated_jungle.mcfunction b/functions/b7s/advancement/_biome_mutated_jungle.mcfunction new file mode 100644 index 0000000..3196d04 --- /dev/null +++ b/functions/b7s/advancement/_biome_mutated_jungle.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 149 +advancement revoke @s only b7s:_biome_mutated_jungle diff --git a/functions/b7s/advancement/_biome_mutated_jungle_edge.mcfunction b/functions/b7s/advancement/_biome_mutated_jungle_edge.mcfunction new file mode 100644 index 0000000..946ae1b --- /dev/null +++ b/functions/b7s/advancement/_biome_mutated_jungle_edge.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 151 +advancement revoke @s only b7s:_biome_mutated_jungle_edge diff --git a/functions/b7s/advancement/_biome_mutated_mesa.mcfunction b/functions/b7s/advancement/_biome_mutated_mesa.mcfunction new file mode 100644 index 0000000..81c347f --- /dev/null +++ b/functions/b7s/advancement/_biome_mutated_mesa.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 165 +advancement revoke @s only b7s:_biome_mutated_mesa diff --git a/functions/b7s/advancement/_biome_mutated_mesa_clear_rock.mcfunction b/functions/b7s/advancement/_biome_mutated_mesa_clear_rock.mcfunction new file mode 100644 index 0000000..5a44ddf --- /dev/null +++ b/functions/b7s/advancement/_biome_mutated_mesa_clear_rock.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 167 +advancement revoke @s only b7s:_biome_mutated_mesa_clear_rock diff --git a/functions/b7s/advancement/_biome_mutated_mesa_rock.mcfunction b/functions/b7s/advancement/_biome_mutated_mesa_rock.mcfunction new file mode 100644 index 0000000..8e7d393 --- /dev/null +++ b/functions/b7s/advancement/_biome_mutated_mesa_rock.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 166 +advancement revoke @s only b7s:_biome_mutated_mesa_rock diff --git a/functions/b7s/advancement/_biome_mutated_plains.mcfunction b/functions/b7s/advancement/_biome_mutated_plains.mcfunction new file mode 100644 index 0000000..7e38668 --- /dev/null +++ b/functions/b7s/advancement/_biome_mutated_plains.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 129 +advancement revoke @s only b7s:_biome_mutated_plains diff --git a/functions/b7s/advancement/_biome_mutated_redwood_taiga.mcfunction b/functions/b7s/advancement/_biome_mutated_redwood_taiga.mcfunction new file mode 100644 index 0000000..011fd4d --- /dev/null +++ b/functions/b7s/advancement/_biome_mutated_redwood_taiga.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 160 +advancement revoke @s only b7s:_biome_mutated_redwood_taiga diff --git a/functions/b7s/advancement/_biome_mutated_redwood_taiga_hills.mcfunction b/functions/b7s/advancement/_biome_mutated_redwood_taiga_hills.mcfunction new file mode 100644 index 0000000..dda8c71 --- /dev/null +++ b/functions/b7s/advancement/_biome_mutated_redwood_taiga_hills.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 161 +advancement revoke @s only b7s:_biome_mutated_redwood_taiga_hills diff --git a/functions/b7s/advancement/_biome_mutated_roofed_forest.mcfunction b/functions/b7s/advancement/_biome_mutated_roofed_forest.mcfunction new file mode 100644 index 0000000..e2267ff --- /dev/null +++ b/functions/b7s/advancement/_biome_mutated_roofed_forest.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 157 +advancement revoke @s only b7s:_biome_mutated_roofed_forest diff --git a/functions/b7s/advancement/_biome_mutated_savanna.mcfunction b/functions/b7s/advancement/_biome_mutated_savanna.mcfunction new file mode 100644 index 0000000..526a589 --- /dev/null +++ b/functions/b7s/advancement/_biome_mutated_savanna.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 163 +advancement revoke @s only b7s:_biome_mutated_savanna diff --git a/functions/b7s/advancement/_biome_mutated_savanna_rock.mcfunction b/functions/b7s/advancement/_biome_mutated_savanna_rock.mcfunction new file mode 100644 index 0000000..96986b8 --- /dev/null +++ b/functions/b7s/advancement/_biome_mutated_savanna_rock.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 164 +advancement revoke @s only b7s:_biome_mutated_savanna_rock diff --git a/functions/b7s/advancement/_biome_mutated_swampland.mcfunction b/functions/b7s/advancement/_biome_mutated_swampland.mcfunction new file mode 100644 index 0000000..ca46c1e --- /dev/null +++ b/functions/b7s/advancement/_biome_mutated_swampland.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 134 +advancement revoke @s only b7s:_biome_mutated_swampland diff --git a/functions/b7s/advancement/_biome_mutated_taiga.mcfunction b/functions/b7s/advancement/_biome_mutated_taiga.mcfunction new file mode 100644 index 0000000..9402463 --- /dev/null +++ b/functions/b7s/advancement/_biome_mutated_taiga.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 133 +advancement revoke @s only b7s:_biome_mutated_taiga diff --git a/functions/b7s/advancement/_biome_mutated_taiga_cold.mcfunction b/functions/b7s/advancement/_biome_mutated_taiga_cold.mcfunction new file mode 100644 index 0000000..47f3f66 --- /dev/null +++ b/functions/b7s/advancement/_biome_mutated_taiga_cold.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 158 +advancement revoke @s only b7s:_biome_mutated_taiga_cold diff --git a/functions/b7s/advancement/_biome_ocean.mcfunction b/functions/b7s/advancement/_biome_ocean.mcfunction new file mode 100644 index 0000000..6c0e318 --- /dev/null +++ b/functions/b7s/advancement/_biome_ocean.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 0 +advancement revoke @s only b7s:_biome_ocean diff --git a/functions/b7s/advancement/_biome_plains.mcfunction b/functions/b7s/advancement/_biome_plains.mcfunction new file mode 100644 index 0000000..100b4a6 --- /dev/null +++ b/functions/b7s/advancement/_biome_plains.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 1 +advancement revoke @s only b7s:_biome_plains diff --git a/functions/b7s/advancement/_biome_redwood_taiga.mcfunction b/functions/b7s/advancement/_biome_redwood_taiga.mcfunction new file mode 100644 index 0000000..19cf090 --- /dev/null +++ b/functions/b7s/advancement/_biome_redwood_taiga.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 32 +advancement revoke @s only b7s:_biome_redwood_taiga diff --git a/functions/b7s/advancement/_biome_redwood_taiga_hills.mcfunction b/functions/b7s/advancement/_biome_redwood_taiga_hills.mcfunction new file mode 100644 index 0000000..ce51144 --- /dev/null +++ b/functions/b7s/advancement/_biome_redwood_taiga_hills.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 33 +advancement revoke @s only b7s:_biome_redwood_taiga_hills diff --git a/functions/b7s/advancement/_biome_river.mcfunction b/functions/b7s/advancement/_biome_river.mcfunction new file mode 100644 index 0000000..77ab8d7 --- /dev/null +++ b/functions/b7s/advancement/_biome_river.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 7 +advancement revoke @s only b7s:_biome_river diff --git a/functions/b7s/advancement/_biome_roofed_forest.mcfunction b/functions/b7s/advancement/_biome_roofed_forest.mcfunction new file mode 100644 index 0000000..edc436b --- /dev/null +++ b/functions/b7s/advancement/_biome_roofed_forest.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 29 +advancement revoke @s only b7s:_biome_roofed_forest diff --git a/functions/b7s/advancement/_biome_savanna.mcfunction b/functions/b7s/advancement/_biome_savanna.mcfunction new file mode 100644 index 0000000..182a70b --- /dev/null +++ b/functions/b7s/advancement/_biome_savanna.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 35 +advancement revoke @s only b7s:_biome_savanna diff --git a/functions/b7s/advancement/_biome_savanna_rock.mcfunction b/functions/b7s/advancement/_biome_savanna_rock.mcfunction new file mode 100644 index 0000000..227be11 --- /dev/null +++ b/functions/b7s/advancement/_biome_savanna_rock.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 36 +advancement revoke @s only b7s:_biome_savanna_rock diff --git a/functions/b7s/advancement/_biome_sky.mcfunction b/functions/b7s/advancement/_biome_sky.mcfunction new file mode 100644 index 0000000..f0e5430 --- /dev/null +++ b/functions/b7s/advancement/_biome_sky.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 9 +advancement revoke @s only b7s:_biome_sky diff --git a/functions/b7s/advancement/_biome_smaller_extreme_hills.mcfunction b/functions/b7s/advancement/_biome_smaller_extreme_hills.mcfunction new file mode 100644 index 0000000..099b0ba --- /dev/null +++ b/functions/b7s/advancement/_biome_smaller_extreme_hills.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 20 +advancement revoke @s only b7s:_biome_smaller_extreme_hills diff --git a/functions/b7s/advancement/_biome_stone_beach.mcfunction b/functions/b7s/advancement/_biome_stone_beach.mcfunction new file mode 100644 index 0000000..4b42d5d --- /dev/null +++ b/functions/b7s/advancement/_biome_stone_beach.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 25 +advancement revoke @s only b7s:_biome_stone_beach diff --git a/functions/b7s/advancement/_biome_swampland.mcfunction b/functions/b7s/advancement/_biome_swampland.mcfunction new file mode 100644 index 0000000..146294e --- /dev/null +++ b/functions/b7s/advancement/_biome_swampland.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 6 +advancement revoke @s only b7s:_biome_swampland diff --git a/functions/b7s/advancement/_biome_taiga.mcfunction b/functions/b7s/advancement/_biome_taiga.mcfunction new file mode 100644 index 0000000..f228ed5 --- /dev/null +++ b/functions/b7s/advancement/_biome_taiga.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 5 +advancement revoke @s only b7s:_biome_taiga diff --git a/functions/b7s/advancement/_biome_taiga_cold.mcfunction b/functions/b7s/advancement/_biome_taiga_cold.mcfunction new file mode 100644 index 0000000..1b52b85 --- /dev/null +++ b/functions/b7s/advancement/_biome_taiga_cold.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 30 +advancement revoke @s only b7s:_biome_taiga_cold diff --git a/functions/b7s/advancement/_biome_taiga_cold_hills.mcfunction b/functions/b7s/advancement/_biome_taiga_cold_hills.mcfunction new file mode 100644 index 0000000..32c8c47 --- /dev/null +++ b/functions/b7s/advancement/_biome_taiga_cold_hills.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 31 +advancement revoke @s only b7s:taiga_cold_hills diff --git a/functions/b7s/advancement/_biome_taiga_hills.mcfunction b/functions/b7s/advancement/_biome_taiga_hills.mcfunction new file mode 100644 index 0000000..250f04e --- /dev/null +++ b/functions/b7s/advancement/_biome_taiga_hills.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 19 +advancement revoke @s only b7s:_biome_taiga_hills diff --git a/functions/b7s/advancement/_biome_the_void.mcfunction b/functions/b7s/advancement/_biome_the_void.mcfunction new file mode 100644 index 0000000..43ee0f1 --- /dev/null +++ b/functions/b7s/advancement/_biome_the_void.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set @s b7s:biome 137 +advancement revoke @s only b7s:_biome_the_void diff --git a/functions/b7s/command/sethome.mcfunction b/functions/b7s/command/sethome.mcfunction new file mode 100644 index 0000000..c99fd3b --- /dev/null +++ b/functions/b7s/command/sethome.mcfunction @@ -0,0 +1,5 @@ +function b7s:entity/get_loc +function b7s:entity/tagify_loc +function b7s:entity/home/set_loc + +tellraw @s ["[BareBones] ",{"color":"green","text":"Home set"}] diff --git a/functions/b7s/command/tpaccept.mcfunction b/functions/b7s/command/tpaccept.mcfunction new file mode 100644 index 0000000..daaf56b --- /dev/null +++ b/functions/b7s/command/tpaccept.mcfunction @@ -0,0 +1,2 @@ +function b7s:command/tpaccept/_unless_req unless @s[score_b7s:req_from_min=1] +function b7s:command/tpaccept/_if_req if @s[score_b7s:req_from_min=1] diff --git a/functions/b7s/command/tpaccept/_if_req.mcfunction b/functions/b7s/command/tpaccept/_if_req.mcfunction new file mode 100644 index 0000000..8e40cf0 --- /dev/null +++ b/functions/b7s/command/tpaccept/_if_req.mcfunction @@ -0,0 +1,11 @@ +scoreboard players tag @s add b7s:_self + +execute @e[type=minecraft:player] ~ ~ ~ scoreboard players operation @s b7s:_tmp = @s b7s:id +scoreboard players operation @e[type=minecraft:player] b7s:_tmp -= @s b7s:req_from +scoreboard players tag @p[score_b7s:_tmp_min=0,score_b7s:_tmp=0] add b7s:_other + +function b7s:command/tpaccept/_if_req_if_other if @e[tag=b7s:_other] + +scoreboard players reset @s b7s:req_from +scoreboard players tag @s remove b7s:_self +scoreboard players tag @p[tag=b7s:_other] remove b7s:_other diff --git a/functions/b7s/command/tpaccept/_if_req_if_other.mcfunction b/functions/b7s/command/tpaccept/_if_req_if_other.mcfunction new file mode 100644 index 0000000..defb0c1 --- /dev/null +++ b/functions/b7s/command/tpaccept/_if_req_if_other.mcfunction @@ -0,0 +1,6 @@ +execute @p[tag=b7s:_other] ~ ~ ~ function b7s:entity/get_dim +scoreboard players operation @s b7s:dim = @p[tag=b7s:_other] b7s:dim +function b7s:entity/check_same_dim + +tellraw @s[tag=!b7s:same_dim] ["[BareBones] ",{"color":"red","text":"Can't accept teleportation requests from players in other dimensions"}] +function b7s:command/tpaccept/_if_req_if_other_if_same_dim if @s[tag=b7s:same_dim] diff --git a/functions/b7s/command/tpaccept/_if_req_if_other_if_same_dim.mcfunction b/functions/b7s/command/tpaccept/_if_req_if_other_if_same_dim.mcfunction new file mode 100644 index 0000000..0364653 --- /dev/null +++ b/functions/b7s/command/tpaccept/_if_req_if_other_if_same_dim.mcfunction @@ -0,0 +1,8 @@ +execute @p[tag=b7s:_other] ~ ~ ~ function b7s:entity/get_loc +execute @p[tag=b7s:_other] ~ ~ ~ function b7s:entity/tagify_loc +execute @p[tag=b7s:_other] ~ ~ ~ function b7s:entity/back/set_loc + +tp @p[tag=b7s:_other] @s + +tellraw @s ["[BareBones] ",{"color":"green","text":"","extra":[{"selector":"@p[tag=b7s:_other]"}," teleported to you"]}] +tellraw @p[tag=b7s:_other] ["[BareBones] ",{"color":"green","text":"Teleported to ","extra":[{"selector":"@s"}]}] diff --git a/functions/b7s/command/tpaccept/_unless_req.mcfunction b/functions/b7s/command/tpaccept/_unless_req.mcfunction new file mode 100644 index 0000000..acfbc7c --- /dev/null +++ b/functions/b7s/command/tpaccept/_unless_req.mcfunction @@ -0,0 +1 @@ +tellraw @s ["[BareBones] ",{"color":"red","text":"There are no pending teleportation requests"}] diff --git a/functions/b7s/command/tpback.mcfunction b/functions/b7s/command/tpback.mcfunction new file mode 100644 index 0000000..3e31036 --- /dev/null +++ b/functions/b7s/command/tpback.mcfunction @@ -0,0 +1,2 @@ +tellraw @s[tag=!b7s:back_set] ["[BareBones] ",{"color":"red","text":"You have nowhere to teleport back"}] +function b7s:command/tpback/_if_back_set if @s[tag=b7s:back_set] diff --git a/functions/b7s/command/tpback/_if_back_set.mcfunction b/functions/b7s/command/tpback/_if_back_set.mcfunction new file mode 100644 index 0000000..af132c0 --- /dev/null +++ b/functions/b7s/command/tpback/_if_back_set.mcfunction @@ -0,0 +1,6 @@ +function b7s:entity/back/get_dim +function b7s:entity/untagify_dim +function b7s:entity/check_same_dim + +tellraw @s[tag=!b7s:same_dim] ["[BareBones] ",{"color":"red","text":"Can't teleport between dimensions"}] +function b7s:command/tpback/_if_back_set_if_same_dim if @s[tag=b7s:same_dim] diff --git a/functions/b7s/command/tpback/_if_back_set_if_same_dim.mcfunction b/functions/b7s/command/tpback/_if_back_set_if_same_dim.mcfunction new file mode 100644 index 0000000..18f3363 --- /dev/null +++ b/functions/b7s/command/tpback/_if_back_set_if_same_dim.mcfunction @@ -0,0 +1,11 @@ +function b7s:entity/back/get_pos +function b7s:entity/untagify_pos +function b7s:entity/tp_pos + +function b7s:entity/back/get_rot +function b7s:entity/untagify_rot +function b7s:entity/tp_rot + +scoreboard players tag @s remove b7s:back_set + +tellraw @s ["[BareBones] ",{"color":"green","text":"Teleported back"}] diff --git a/functions/b7s/command/tphome.mcfunction b/functions/b7s/command/tphome.mcfunction new file mode 100644 index 0000000..6a5cafd --- /dev/null +++ b/functions/b7s/command/tphome.mcfunction @@ -0,0 +1,2 @@ +tellraw @s[tag=!b7s:home_set] ["[BareBones] ",{"color":"red","text":"Home not set"}] +function b7s:command/tphome/_if_home_set if @s[tag=b7s:home_set] diff --git a/functions/b7s/command/tphome/_if_home_set.mcfunction b/functions/b7s/command/tphome/_if_home_set.mcfunction new file mode 100644 index 0000000..141b447 --- /dev/null +++ b/functions/b7s/command/tphome/_if_home_set.mcfunction @@ -0,0 +1,6 @@ +function b7s:entity/home/get_dim +function b7s:entity/untagify_dim +function b7s:entity/check_same_dim + +tellraw @s[tag=!b7s:same_dim] ["[BareBones] ",{"color":"red","text":"Can't teleport between dimensions"}] +function b7s:command/tphome/_if_home_set_if_same_dim if @s[tag=b7s:same_dim] diff --git a/functions/b7s/command/tphome/_if_home_set_if_same_dim.mcfunction b/functions/b7s/command/tphome/_if_home_set_if_same_dim.mcfunction new file mode 100644 index 0000000..35b47bd --- /dev/null +++ b/functions/b7s/command/tphome/_if_home_set_if_same_dim.mcfunction @@ -0,0 +1,13 @@ +function b7s:entity/get_loc +function b7s:entity/tagify_loc +function b7s:entity/back/set_loc + +function b7s:entity/home/get_pos +function b7s:entity/untagify_pos +function b7s:entity/tp_pos + +function b7s:entity/home/get_rot +function b7s:entity/untagify_rot +function b7s:entity/tp_rot + +tellraw @s ["[BareBones] ",{"color":"green","text":"Teleported home"}] diff --git a/functions/b7s/command/tpreq.mcfunction b/functions/b7s/command/tpreq.mcfunction new file mode 100644 index 0000000..e246255 --- /dev/null +++ b/functions/b7s/command/tpreq.mcfunction @@ -0,0 +1,11 @@ +scoreboard players tag @s add b7s:_self + +execute @e[type=minecraft:player] ~ ~ ~ scoreboard players operation @s b7s:_tmp = @s b7s:id +scoreboard players operation @e[type=minecraft:player] b7s:_tmp -= @s b7s:tpreq +scoreboard players tag @p[score_b7s:_tmp_min=0,score_b7s:_tmp=0] add b7s:_other + +function b7s:command/tpreq/_unless_other unless @p[tag=b7s:_other] +function b7s:command/tpreq/_if_other if @p[tag=b7s:_other] + +scoreboard players tag @s remove b7s:_self +scoreboard players tag @p[tag=b7s:_other] remove b7s:_other diff --git a/functions/b7s/command/tpreq/_if_other.mcfunction b/functions/b7s/command/tpreq/_if_other.mcfunction new file mode 100644 index 0000000..201cd7e --- /dev/null +++ b/functions/b7s/command/tpreq/_if_other.mcfunction @@ -0,0 +1,2 @@ +tellraw @s[tag=b7s:_other] ["[BareBones] ",{"color":"red","text":"You can't send teleportation requests to yourself"}] +function b7s:command/tpreq/_if_other_if_different_players if @s[tag=!b7s:_other] diff --git a/functions/b7s/command/tpreq/_if_other_if_different_players.mcfunction b/functions/b7s/command/tpreq/_if_other_if_different_players.mcfunction new file mode 100644 index 0000000..11a2e26 --- /dev/null +++ b/functions/b7s/command/tpreq/_if_other_if_different_players.mcfunction @@ -0,0 +1,6 @@ +execute @p[tag=b7s:_other] ~ ~ ~ function b7s:entity/get_dim +scoreboard players operation @s b7s:dim = @p[tag=b7s:_other] b7s:dim +function b7s:entity/check_same_dim + +tellraw @s[tag=!b7s:same_dim] ["[BareBones] ",{"color":"red","text":"You can't send teleportation requests to players in other dimensions"}] +function b7s:command/tpreq/_if_other_if_different_players_if_same_dim if @s[tag=b7s:same_dim] diff --git a/functions/b7s/command/tpreq/_if_other_if_different_players_if_same_dim.mcfunction b/functions/b7s/command/tpreq/_if_other_if_different_players_if_same_dim.mcfunction new file mode 100644 index 0000000..d5bf5b8 --- /dev/null +++ b/functions/b7s/command/tpreq/_if_other_if_different_players_if_same_dim.mcfunction @@ -0,0 +1,3 @@ +scoreboard players operation @p[tag=b7s:_other] b7s:req_from = @s b7s:id +tellraw @s ["[BareBones] ",{"color":"green","text":"Teleportation request sent to ","extra":[{"selector":"@p[tag=b7s:_other]"}]}] +tellraw @p[tag=b7s:_other] ["[BareBones] ",{"color":"yellow","text":"","extra":[{"selector":"@s"}," requested to teleport to you. Click ",{"color":"blue","underlined":true,"text":"here","clickEvent":{"action":"run_command","value":"/trigger b7s:tpaccept set 1"},"hoverEvent":{"action":"show_text","value":"Click here to accept the teleportation request"}}," to accept his teleportation request"]}] diff --git a/functions/b7s/command/tpreq/_unless_other.mcfunction b/functions/b7s/command/tpreq/_unless_other.mcfunction new file mode 100644 index 0000000..fc871c3 --- /dev/null +++ b/functions/b7s/command/tpreq/_unless_other.mcfunction @@ -0,0 +1 @@ +tellraw @s ["[BareBones] ",{"color":"red","text":"There is no such player"}] diff --git a/functions/b7s/entity/back/get_dim.mcfunction b/functions/b7s/entity/back/get_dim.mcfunction new file mode 100644 index 0000000..1680bf5 --- /dev/null +++ b/functions/b7s/entity/back/get_dim.mcfunction @@ -0,0 +1,7 @@ +scoreboard players tag @s remove b7s:dim_nether +scoreboard players tag @s remove b7s:dim_overworld +scoreboard players tag @s remove b7s:dim_end + +scoreboard players tag @s[tag=b7s:back_dim_nether] add b7s:dim_nether +scoreboard players tag @s[tag=b7s:back_dim_overworld] add b7s:back_dim_overworld +scoreboard players tag @s[tag=b7s:back_dim_end] add b7s:dim_end diff --git a/functions/b7s/entity/back/get_loc.mcfunction b/functions/b7s/entity/back/get_loc.mcfunction new file mode 100644 index 0000000..884114e --- /dev/null +++ b/functions/b7s/entity/back/get_loc.mcfunction @@ -0,0 +1,3 @@ +function b7s:entity/back/get_dim +function b7s:entity/back/get_pos +function b7s:entity/back/get_rot diff --git a/functions/b7s/entity/back/get_pos.mcfunction b/functions/b7s/entity/back/get_pos.mcfunction new file mode 100644 index 0000000..e41bd0c --- /dev/null +++ b/functions/b7s/entity/back/get_pos.mcfunction @@ -0,0 +1,135 @@ +scoreboard players tag @s remove b7s:x_25 +scoreboard players tag @s remove b7s:x_24 +scoreboard players tag @s remove b7s:x_23 +scoreboard players tag @s remove b7s:x_22 +scoreboard players tag @s remove b7s:x_21 +scoreboard players tag @s remove b7s:x_20 +scoreboard players tag @s remove b7s:x_19 +scoreboard players tag @s remove b7s:x_18 +scoreboard players tag @s remove b7s:x_17 +scoreboard players tag @s remove b7s:x_16 +scoreboard players tag @s remove b7s:x_15 +scoreboard players tag @s remove b7s:x_14 +scoreboard players tag @s remove b7s:x_13 +scoreboard players tag @s remove b7s:x_12 +scoreboard players tag @s remove b7s:x_11 +scoreboard players tag @s remove b7s:x_10 +scoreboard players tag @s remove b7s:x_9 +scoreboard players tag @s remove b7s:x_8 +scoreboard players tag @s remove b7s:x_7 +scoreboard players tag @s remove b7s:x_6 +scoreboard players tag @s remove b7s:x_5 +scoreboard players tag @s remove b7s:x_4 +scoreboard players tag @s remove b7s:x_3 +scoreboard players tag @s remove b7s:x_2 +scoreboard players tag @s remove b7s:x_1 +scoreboard players tag @s remove b7s:x_0 + +scoreboard players tag @s remove b7s:y_12 +scoreboard players tag @s remove b7s:y_11 +scoreboard players tag @s remove b7s:y_10 +scoreboard players tag @s remove b7s:y_9 +scoreboard players tag @s remove b7s:y_8 +scoreboard players tag @s remove b7s:y_7 +scoreboard players tag @s remove b7s:y_6 +scoreboard players tag @s remove b7s:y_5 +scoreboard players tag @s remove b7s:y_4 +scoreboard players tag @s remove b7s:y_3 +scoreboard players tag @s remove b7s:y_2 +scoreboard players tag @s remove b7s:y_1 +scoreboard players tag @s remove b7s:y_0 + +scoreboard players tag @s remove b7s:z_25 +scoreboard players tag @s remove b7s:z_24 +scoreboard players tag @s remove b7s:z_23 +scoreboard players tag @s remove b7s:z_22 +scoreboard players tag @s remove b7s:z_21 +scoreboard players tag @s remove b7s:z_20 +scoreboard players tag @s remove b7s:z_19 +scoreboard players tag @s remove b7s:z_18 +scoreboard players tag @s remove b7s:z_17 +scoreboard players tag @s remove b7s:z_16 +scoreboard players tag @s remove b7s:z_15 +scoreboard players tag @s remove b7s:z_14 +scoreboard players tag @s remove b7s:z_13 +scoreboard players tag @s remove b7s:z_12 +scoreboard players tag @s remove b7s:z_11 +scoreboard players tag @s remove b7s:z_10 +scoreboard players tag @s remove b7s:z_9 +scoreboard players tag @s remove b7s:z_8 +scoreboard players tag @s remove b7s:z_7 +scoreboard players tag @s remove b7s:z_6 +scoreboard players tag @s remove b7s:z_5 +scoreboard players tag @s remove b7s:z_4 +scoreboard players tag @s remove b7s:z_3 +scoreboard players tag @s remove b7s:z_2 +scoreboard players tag @s remove b7s:z_1 +scoreboard players tag @s remove b7s:z_0 + +scoreboard players tag @s[tag=b7s:back_x_25] add b7s:x_25 +scoreboard players tag @s[tag=b7s:back_x_24] add b7s:x_24 +scoreboard players tag @s[tag=b7s:back_x_23] add b7s:x_23 +scoreboard players tag @s[tag=b7s:back_x_22] add b7s:x_22 +scoreboard players tag @s[tag=b7s:back_x_21] add b7s:x_21 +scoreboard players tag @s[tag=b7s:back_x_20] add b7s:x_20 +scoreboard players tag @s[tag=b7s:back_x_19] add b7s:x_19 +scoreboard players tag @s[tag=b7s:back_x_18] add b7s:x_18 +scoreboard players tag @s[tag=b7s:back_x_17] add b7s:x_17 +scoreboard players tag @s[tag=b7s:back_x_16] add b7s:x_16 +scoreboard players tag @s[tag=b7s:back_x_15] add b7s:x_15 +scoreboard players tag @s[tag=b7s:back_x_14] add b7s:x_14 +scoreboard players tag @s[tag=b7s:back_x_13] add b7s:x_13 +scoreboard players tag @s[tag=b7s:back_x_12] add b7s:x_12 +scoreboard players tag @s[tag=b7s:back_x_11] add b7s:x_11 +scoreboard players tag @s[tag=b7s:back_x_10] add b7s:x_10 +scoreboard players tag @s[tag=b7s:back_x_9] add b7s:x_9 +scoreboard players tag @s[tag=b7s:back_x_8] add b7s:x_8 +scoreboard players tag @s[tag=b7s:back_x_7] add b7s:x_7 +scoreboard players tag @s[tag=b7s:back_x_6] add b7s:x_6 +scoreboard players tag @s[tag=b7s:back_x_5] add b7s:x_5 +scoreboard players tag @s[tag=b7s:back_x_4] add b7s:x_4 +scoreboard players tag @s[tag=b7s:back_x_3] add b7s:x_3 +scoreboard players tag @s[tag=b7s:back_x_2] add b7s:x_2 +scoreboard players tag @s[tag=b7s:back_x_1] add b7s:x_1 +scoreboard players tag @s[tag=b7s:back_x_0] add b7s:x_0 + +scoreboard players tag @s[tag=b7s:back_y_12] add b7s:y_12 +scoreboard players tag @s[tag=b7s:back_y_11] add b7s:y_11 +scoreboard players tag @s[tag=b7s:back_y_10] add b7s:y_10 +scoreboard players tag @s[tag=b7s:back_y_9] add b7s:y_9 +scoreboard players tag @s[tag=b7s:back_y_8] add b7s:y_8 +scoreboard players tag @s[tag=b7s:back_y_7] add b7s:y_7 +scoreboard players tag @s[tag=b7s:back_y_6] add b7s:y_6 +scoreboard players tag @s[tag=b7s:back_y_5] add b7s:y_5 +scoreboard players tag @s[tag=b7s:back_y_4] add b7s:y_4 +scoreboard players tag @s[tag=b7s:back_y_3] add b7s:y_3 +scoreboard players tag @s[tag=b7s:back_y_2] add b7s:y_2 +scoreboard players tag @s[tag=b7s:back_y_1] add b7s:y_1 +scoreboard players tag @s[tag=b7s:back_y_0] add b7s:y_0 + +scoreboard players tag @s[tag=b7s:back_z_25] add b7s:z_25 +scoreboard players tag @s[tag=b7s:back_z_24] add b7s:z_24 +scoreboard players tag @s[tag=b7s:back_z_23] add b7s:z_23 +scoreboard players tag @s[tag=b7s:back_z_22] add b7s:z_22 +scoreboard players tag @s[tag=b7s:back_z_21] add b7s:z_21 +scoreboard players tag @s[tag=b7s:back_z_20] add b7s:z_20 +scoreboard players tag @s[tag=b7s:back_z_19] add b7s:z_19 +scoreboard players tag @s[tag=b7s:back_z_18] add b7s:z_18 +scoreboard players tag @s[tag=b7s:back_z_17] add b7s:z_17 +scoreboard players tag @s[tag=b7s:back_z_16] add b7s:z_16 +scoreboard players tag @s[tag=b7s:back_z_15] add b7s:z_15 +scoreboard players tag @s[tag=b7s:back_z_14] add b7s:z_14 +scoreboard players tag @s[tag=b7s:back_z_13] add b7s:z_13 +scoreboard players tag @s[tag=b7s:back_z_12] add b7s:z_12 +scoreboard players tag @s[tag=b7s:back_z_11] add b7s:z_11 +scoreboard players tag @s[tag=b7s:back_z_10] add b7s:z_10 +scoreboard players tag @s[tag=b7s:back_z_9] add b7s:z_9 +scoreboard players tag @s[tag=b7s:back_z_8] add b7s:z_8 +scoreboard players tag @s[tag=b7s:back_z_7] add b7s:z_7 +scoreboard players tag @s[tag=b7s:back_z_6] add b7s:z_6 +scoreboard players tag @s[tag=b7s:back_z_5] add b7s:z_5 +scoreboard players tag @s[tag=b7s:back_z_4] add b7s:z_4 +scoreboard players tag @s[tag=b7s:back_z_3] add b7s:z_3 +scoreboard players tag @s[tag=b7s:back_z_2] add b7s:z_2 +scoreboard players tag @s[tag=b7s:back_z_1] add b7s:z_1 +scoreboard players tag @s[tag=b7s:back_z_0] add b7s:z_0 diff --git a/functions/b7s/entity/back/get_pos.py b/functions/b7s/entity/back/get_pos.py new file mode 100644 index 0000000..be81037 --- /dev/null +++ b/functions/b7s/entity/back/get_pos.py @@ -0,0 +1,22 @@ +for exponent in range(25, -1, -1): + print('scoreboard players tag @s remove b7s:x_{}'.format(exponent)) + +print() +for exponent in range(12, -1, -1): + print('scoreboard players tag @s remove b7s:y_{}'.format(exponent)) + +print() +for exponent in range(25, -1, -1): + print('scoreboard players tag @s remove b7s:z_{}'.format(exponent)) + +print() +for exponent in range(25, -1, -1): + print('scoreboard players tag @s[tag=b7s:back_x_{0}] add b7s:x_{0}'.format(exponent)) + +print() +for exponent in range(12, -1, -1): + print('scoreboard players tag @s[tag=b7s:back_y_{0}] add b7s:y_{0}'.format(exponent)) + +print() +for exponent in range(25, -1, -1): + print('scoreboard players tag @s[tag=b7s:back_z_{0}] add b7s:z_{0}'.format(exponent)) diff --git a/functions/b7s/entity/back/get_rot.mcfunction b/functions/b7s/entity/back/get_rot.mcfunction new file mode 100644 index 0000000..3c93f62 --- /dev/null +++ b/functions/b7s/entity/back/get_rot.mcfunction @@ -0,0 +1,37 @@ +scoreboard players tag @s remove b7s:rot_x_7 +scoreboard players tag @s remove b7s:rot_x_6 +scoreboard players tag @s remove b7s:rot_x_5 +scoreboard players tag @s remove b7s:rot_x_4 +scoreboard players tag @s remove b7s:rot_x_3 +scoreboard players tag @s remove b7s:rot_x_2 +scoreboard players tag @s remove b7s:rot_x_1 +scoreboard players tag @s remove b7s:rot_x_0 + +scoreboard players tag @s remove b7s:rot_y_8 +scoreboard players tag @s remove b7s:rot_y_7 +scoreboard players tag @s remove b7s:rot_y_6 +scoreboard players tag @s remove b7s:rot_y_5 +scoreboard players tag @s remove b7s:rot_y_4 +scoreboard players tag @s remove b7s:rot_y_3 +scoreboard players tag @s remove b7s:rot_y_2 +scoreboard players tag @s remove b7s:rot_y_1 +scoreboard players tag @s remove b7s:rot_y_0 + +scoreboard players tag @s[tag=b7s:back_rot_x_7] add b7s:rot_x_7 +scoreboard players tag @s[tag=b7s:back_rot_x_6] add b7s:rot_x_6 +scoreboard players tag @s[tag=b7s:back_rot_x_5] add b7s:rot_x_5 +scoreboard players tag @s[tag=b7s:back_rot_x_4] add b7s:rot_x_4 +scoreboard players tag @s[tag=b7s:back_rot_x_3] add b7s:rot_x_3 +scoreboard players tag @s[tag=b7s:back_rot_x_2] add b7s:rot_x_2 +scoreboard players tag @s[tag=b7s:back_rot_x_1] add b7s:rot_x_1 +scoreboard players tag @s[tag=b7s:back_rot_x_0] add b7s:rot_x_0 + +scoreboard players tag @s[tag=b7s:back_rot_y_8] add b7s:rot_y_8 +scoreboard players tag @s[tag=b7s:back_rot_y_7] add b7s:rot_y_7 +scoreboard players tag @s[tag=b7s:back_rot_y_6] add b7s:rot_y_6 +scoreboard players tag @s[tag=b7s:back_rot_y_5] add b7s:rot_y_5 +scoreboard players tag @s[tag=b7s:back_rot_y_4] add b7s:rot_y_4 +scoreboard players tag @s[tag=b7s:back_rot_y_3] add b7s:rot_y_3 +scoreboard players tag @s[tag=b7s:back_rot_y_2] add b7s:rot_y_2 +scoreboard players tag @s[tag=b7s:back_rot_y_1] add b7s:rot_y_1 +scoreboard players tag @s[tag=b7s:back_rot_y_0] add b7s:rot_y_0 diff --git a/functions/b7s/entity/back/get_rot.py b/functions/b7s/entity/back/get_rot.py new file mode 100644 index 0000000..5c8d29f --- /dev/null +++ b/functions/b7s/entity/back/get_rot.py @@ -0,0 +1,14 @@ +for exponent in range(7, -1, -1): + print('scoreboard players tag @s remove b7s:rot_x_{}'.format(exponent)) + +print() +for exponent in range(8, -1, -1): + print('scoreboard players tag @s remove b7s:rot_y_{}'.format(exponent)) + +print() +for exponent in range(7, -1, -1): + print('scoreboard players tag @s[tag=b7s:back_rot_x_{0}] add b7s:rot_x_{0}'.format(exponent)) + +print() +for exponent in range(8, -1, -1): + print('scoreboard players tag @s[tag=b7s:back_rot_y_{0}] add b7s:rot_y_{0}'.format(exponent)) diff --git a/functions/b7s/entity/back/set_dim.mcfunction b/functions/b7s/entity/back/set_dim.mcfunction new file mode 100644 index 0000000..032cbd1 --- /dev/null +++ b/functions/b7s/entity/back/set_dim.mcfunction @@ -0,0 +1,7 @@ +scoreboard players tag @s remove b7s:back_dim_nether +scoreboard players tag @s remove b7s:back_dim_overworld +scoreboard players tag @s remove b7s:back_dim_end + +scoreboard players tag @s[tag=b7s:dim_nether] add b7s:back_dim_nether +scoreboard players tag @s[tag=b7s:dim_overworld] add b7s:back_dim_overworld +scoreboard players tag @s[tag=b7s:dim_end] add b7s:back_dim_end diff --git a/functions/b7s/entity/back/set_loc.mcfunction b/functions/b7s/entity/back/set_loc.mcfunction new file mode 100644 index 0000000..e4fd599 --- /dev/null +++ b/functions/b7s/entity/back/set_loc.mcfunction @@ -0,0 +1,4 @@ +function b7s:entity/back/set_dim +function b7s:entity/back/set_pos +function b7s:entity/back/set_rot +scoreboard players tag @s add b7s:back_set diff --git a/functions/b7s/entity/back/set_pos.mcfunction b/functions/b7s/entity/back/set_pos.mcfunction new file mode 100644 index 0000000..58db272 --- /dev/null +++ b/functions/b7s/entity/back/set_pos.mcfunction @@ -0,0 +1,135 @@ +scoreboard players tag @s remove b7s:back_x_25 +scoreboard players tag @s remove b7s:back_x_24 +scoreboard players tag @s remove b7s:back_x_23 +scoreboard players tag @s remove b7s:back_x_22 +scoreboard players tag @s remove b7s:back_x_21 +scoreboard players tag @s remove b7s:back_x_20 +scoreboard players tag @s remove b7s:back_x_19 +scoreboard players tag @s remove b7s:back_x_18 +scoreboard players tag @s remove b7s:back_x_17 +scoreboard players tag @s remove b7s:back_x_16 +scoreboard players tag @s remove b7s:back_x_15 +scoreboard players tag @s remove b7s:back_x_14 +scoreboard players tag @s remove b7s:back_x_13 +scoreboard players tag @s remove b7s:back_x_12 +scoreboard players tag @s remove b7s:back_x_11 +scoreboard players tag @s remove b7s:back_x_10 +scoreboard players tag @s remove b7s:back_x_9 +scoreboard players tag @s remove b7s:back_x_8 +scoreboard players tag @s remove b7s:back_x_7 +scoreboard players tag @s remove b7s:back_x_6 +scoreboard players tag @s remove b7s:back_x_5 +scoreboard players tag @s remove b7s:back_x_4 +scoreboard players tag @s remove b7s:back_x_3 +scoreboard players tag @s remove b7s:back_x_2 +scoreboard players tag @s remove b7s:back_x_1 +scoreboard players tag @s remove b7s:back_x_0 + +scoreboard players tag @s remove b7s:back_y_12 +scoreboard players tag @s remove b7s:back_y_11 +scoreboard players tag @s remove b7s:back_y_10 +scoreboard players tag @s remove b7s:back_y_9 +scoreboard players tag @s remove b7s:back_y_8 +scoreboard players tag @s remove b7s:back_y_7 +scoreboard players tag @s remove b7s:back_y_6 +scoreboard players tag @s remove b7s:back_y_5 +scoreboard players tag @s remove b7s:back_y_4 +scoreboard players tag @s remove b7s:back_y_3 +scoreboard players tag @s remove b7s:back_y_2 +scoreboard players tag @s remove b7s:back_y_1 +scoreboard players tag @s remove b7s:back_y_0 + +scoreboard players tag @s remove b7s:back_z_25 +scoreboard players tag @s remove b7s:back_z_24 +scoreboard players tag @s remove b7s:back_z_23 +scoreboard players tag @s remove b7s:back_z_22 +scoreboard players tag @s remove b7s:back_z_21 +scoreboard players tag @s remove b7s:back_z_20 +scoreboard players tag @s remove b7s:back_z_19 +scoreboard players tag @s remove b7s:back_z_18 +scoreboard players tag @s remove b7s:back_z_17 +scoreboard players tag @s remove b7s:back_z_16 +scoreboard players tag @s remove b7s:back_z_15 +scoreboard players tag @s remove b7s:back_z_14 +scoreboard players tag @s remove b7s:back_z_13 +scoreboard players tag @s remove b7s:back_z_12 +scoreboard players tag @s remove b7s:back_z_11 +scoreboard players tag @s remove b7s:back_z_10 +scoreboard players tag @s remove b7s:back_z_9 +scoreboard players tag @s remove b7s:back_z_8 +scoreboard players tag @s remove b7s:back_z_7 +scoreboard players tag @s remove b7s:back_z_6 +scoreboard players tag @s remove b7s:back_z_5 +scoreboard players tag @s remove b7s:back_z_4 +scoreboard players tag @s remove b7s:back_z_3 +scoreboard players tag @s remove b7s:back_z_2 +scoreboard players tag @s remove b7s:back_z_1 +scoreboard players tag @s remove b7s:back_z_0 + +scoreboard players tag @s[tag=b7s:x_25] add b7s:back_x_25 +scoreboard players tag @s[tag=b7s:x_24] add b7s:back_x_24 +scoreboard players tag @s[tag=b7s:x_23] add b7s:back_x_23 +scoreboard players tag @s[tag=b7s:x_22] add b7s:back_x_22 +scoreboard players tag @s[tag=b7s:x_21] add b7s:back_x_21 +scoreboard players tag @s[tag=b7s:x_20] add b7s:back_x_20 +scoreboard players tag @s[tag=b7s:x_19] add b7s:back_x_19 +scoreboard players tag @s[tag=b7s:x_18] add b7s:back_x_18 +scoreboard players tag @s[tag=b7s:x_17] add b7s:back_x_17 +scoreboard players tag @s[tag=b7s:x_16] add b7s:back_x_16 +scoreboard players tag @s[tag=b7s:x_15] add b7s:back_x_15 +scoreboard players tag @s[tag=b7s:x_14] add b7s:back_x_14 +scoreboard players tag @s[tag=b7s:x_13] add b7s:back_x_13 +scoreboard players tag @s[tag=b7s:x_12] add b7s:back_x_12 +scoreboard players tag @s[tag=b7s:x_11] add b7s:back_x_11 +scoreboard players tag @s[tag=b7s:x_10] add b7s:back_x_10 +scoreboard players tag @s[tag=b7s:x_9] add b7s:back_x_9 +scoreboard players tag @s[tag=b7s:x_8] add b7s:back_x_8 +scoreboard players tag @s[tag=b7s:x_7] add b7s:back_x_7 +scoreboard players tag @s[tag=b7s:x_6] add b7s:back_x_6 +scoreboard players tag @s[tag=b7s:x_5] add b7s:back_x_5 +scoreboard players tag @s[tag=b7s:x_4] add b7s:back_x_4 +scoreboard players tag @s[tag=b7s:x_3] add b7s:back_x_3 +scoreboard players tag @s[tag=b7s:x_2] add b7s:back_x_2 +scoreboard players tag @s[tag=b7s:x_1] add b7s:back_x_1 +scoreboard players tag @s[tag=b7s:x_0] add b7s:back_x_0 + +scoreboard players tag @s[tag=b7s:y_12] add b7s:back_y_12 +scoreboard players tag @s[tag=b7s:y_11] add b7s:back_y_11 +scoreboard players tag @s[tag=b7s:y_10] add b7s:back_y_10 +scoreboard players tag @s[tag=b7s:y_9] add b7s:back_y_9 +scoreboard players tag @s[tag=b7s:y_8] add b7s:back_y_8 +scoreboard players tag @s[tag=b7s:y_7] add b7s:back_y_7 +scoreboard players tag @s[tag=b7s:y_6] add b7s:back_y_6 +scoreboard players tag @s[tag=b7s:y_5] add b7s:back_y_5 +scoreboard players tag @s[tag=b7s:y_4] add b7s:back_y_4 +scoreboard players tag @s[tag=b7s:y_3] add b7s:back_y_3 +scoreboard players tag @s[tag=b7s:y_2] add b7s:back_y_2 +scoreboard players tag @s[tag=b7s:y_1] add b7s:back_y_1 +scoreboard players tag @s[tag=b7s:y_0] add b7s:back_y_0 + +scoreboard players tag @s[tag=b7s:z_25] add b7s:back_z_25 +scoreboard players tag @s[tag=b7s:z_24] add b7s:back_z_24 +scoreboard players tag @s[tag=b7s:z_23] add b7s:back_z_23 +scoreboard players tag @s[tag=b7s:z_22] add b7s:back_z_22 +scoreboard players tag @s[tag=b7s:z_21] add b7s:back_z_21 +scoreboard players tag @s[tag=b7s:z_20] add b7s:back_z_20 +scoreboard players tag @s[tag=b7s:z_19] add b7s:back_z_19 +scoreboard players tag @s[tag=b7s:z_18] add b7s:back_z_18 +scoreboard players tag @s[tag=b7s:z_17] add b7s:back_z_17 +scoreboard players tag @s[tag=b7s:z_16] add b7s:back_z_16 +scoreboard players tag @s[tag=b7s:z_15] add b7s:back_z_15 +scoreboard players tag @s[tag=b7s:z_14] add b7s:back_z_14 +scoreboard players tag @s[tag=b7s:z_13] add b7s:back_z_13 +scoreboard players tag @s[tag=b7s:z_12] add b7s:back_z_12 +scoreboard players tag @s[tag=b7s:z_11] add b7s:back_z_11 +scoreboard players tag @s[tag=b7s:z_10] add b7s:back_z_10 +scoreboard players tag @s[tag=b7s:z_9] add b7s:back_z_9 +scoreboard players tag @s[tag=b7s:z_8] add b7s:back_z_8 +scoreboard players tag @s[tag=b7s:z_7] add b7s:back_z_7 +scoreboard players tag @s[tag=b7s:z_6] add b7s:back_z_6 +scoreboard players tag @s[tag=b7s:z_5] add b7s:back_z_5 +scoreboard players tag @s[tag=b7s:z_4] add b7s:back_z_4 +scoreboard players tag @s[tag=b7s:z_3] add b7s:back_z_3 +scoreboard players tag @s[tag=b7s:z_2] add b7s:back_z_2 +scoreboard players tag @s[tag=b7s:z_1] add b7s:back_z_1 +scoreboard players tag @s[tag=b7s:z_0] add b7s:back_z_0 diff --git a/functions/b7s/entity/back/set_pos.py b/functions/b7s/entity/back/set_pos.py new file mode 100644 index 0000000..b7a40fb --- /dev/null +++ b/functions/b7s/entity/back/set_pos.py @@ -0,0 +1,22 @@ +for exponent in range(25, -1, -1): + print('scoreboard players tag @s remove b7s:back_x_{}'.format(exponent)) + +print() +for exponent in range(12, -1, -1): + print('scoreboard players tag @s remove b7s:back_y_{}'.format(exponent)) + +print() +for exponent in range(25, -1, -1): + print('scoreboard players tag @s remove b7s:back_z_{}'.format(exponent)) + +print() +for exponent in range(25, -1, -1): + print('scoreboard players tag @s[tag=b7s:x_{0}] add b7s:back_x_{0}'.format(exponent)) + +print() +for exponent in range(12, -1, -1): + print('scoreboard players tag @s[tag=b7s:y_{0}] add b7s:back_y_{0}'.format(exponent)) + +print() +for exponent in range(25, -1, -1): + print('scoreboard players tag @s[tag=b7s:z_{0}] add b7s:back_z_{0}'.format(exponent)) diff --git a/functions/b7s/entity/back/set_rot.mcfunction b/functions/b7s/entity/back/set_rot.mcfunction new file mode 100644 index 0000000..844a5f5 --- /dev/null +++ b/functions/b7s/entity/back/set_rot.mcfunction @@ -0,0 +1,37 @@ +scoreboard players tag @s remove b7s:back_rot_x_7 +scoreboard players tag @s remove b7s:back_rot_x_6 +scoreboard players tag @s remove b7s:back_rot_x_5 +scoreboard players tag @s remove b7s:back_rot_x_4 +scoreboard players tag @s remove b7s:back_rot_x_3 +scoreboard players tag @s remove b7s:back_rot_x_2 +scoreboard players tag @s remove b7s:back_rot_x_1 +scoreboard players tag @s remove b7s:back_rot_x_0 + +scoreboard players tag @s remove b7s:back_rot_y_8 +scoreboard players tag @s remove b7s:back_rot_y_7 +scoreboard players tag @s remove b7s:back_rot_y_6 +scoreboard players tag @s remove b7s:back_rot_y_5 +scoreboard players tag @s remove b7s:back_rot_y_4 +scoreboard players tag @s remove b7s:back_rot_y_3 +scoreboard players tag @s remove b7s:back_rot_y_2 +scoreboard players tag @s remove b7s:back_rot_y_1 +scoreboard players tag @s remove b7s:back_rot_y_0 + +scoreboard players tag @s[tag=b7s:rot_x_7] add b7s:back_rot_x_7 +scoreboard players tag @s[tag=b7s:rot_x_6] add b7s:back_rot_x_6 +scoreboard players tag @s[tag=b7s:rot_x_5] add b7s:back_rot_x_5 +scoreboard players tag @s[tag=b7s:rot_x_4] add b7s:back_rot_x_4 +scoreboard players tag @s[tag=b7s:rot_x_3] add b7s:back_rot_x_3 +scoreboard players tag @s[tag=b7s:rot_x_2] add b7s:back_rot_x_2 +scoreboard players tag @s[tag=b7s:rot_x_1] add b7s:back_rot_x_1 +scoreboard players tag @s[tag=b7s:rot_x_0] add b7s:back_rot_x_0 + +scoreboard players tag @s[tag=b7s:rot_y_8] add b7s:back_rot_y_8 +scoreboard players tag @s[tag=b7s:rot_y_7] add b7s:back_rot_y_7 +scoreboard players tag @s[tag=b7s:rot_y_6] add b7s:back_rot_y_6 +scoreboard players tag @s[tag=b7s:rot_y_5] add b7s:back_rot_y_5 +scoreboard players tag @s[tag=b7s:rot_y_4] add b7s:back_rot_y_4 +scoreboard players tag @s[tag=b7s:rot_y_3] add b7s:back_rot_y_3 +scoreboard players tag @s[tag=b7s:rot_y_2] add b7s:back_rot_y_2 +scoreboard players tag @s[tag=b7s:rot_y_1] add b7s:back_rot_y_1 +scoreboard players tag @s[tag=b7s:rot_y_0] add b7s:back_rot_y_0 diff --git a/functions/b7s/entity/back/set_rot.py b/functions/b7s/entity/back/set_rot.py new file mode 100644 index 0000000..a60d9f8 --- /dev/null +++ b/functions/b7s/entity/back/set_rot.py @@ -0,0 +1,14 @@ +for exponent in range(7, -1, -1): + print('scoreboard players tag @s remove b7s:back_rot_x_{}'.format(exponent)) + +print() +for exponent in range(8, -1, -1): + print('scoreboard players tag @s remove b7s:back_rot_y_{}'.format(exponent)) + +print() +for exponent in range(7, -1, -1): + print('scoreboard players tag @s[tag=b7s:rot_x_{0}] add b7s:back_rot_x_{0}'.format(exponent)) + +print() +for exponent in range(8, -1, -1): + print('scoreboard players tag @s[tag=b7s:rot_y_{0}] add b7s:back_rot_y_{0}'.format(exponent)) diff --git a/functions/b7s/entity/check_same_dim.mcfunction b/functions/b7s/entity/check_same_dim.mcfunction new file mode 100644 index 0000000..133b625 --- /dev/null +++ b/functions/b7s/entity/check_same_dim.mcfunction @@ -0,0 +1,19 @@ +# Checks whether a player or entity is in the same dimension as its dimension score. +# +# Scores required: +# b7s:dim — the dimension to check the entity against +# +# Tags set: +# b7s:same_dim — if the entity is in the same dimension as its dimension score +# +# Usage: +# /scoreboard players set b7s:dim +# /execute ~ ~ ~ function b7s:/entity/check_same_dim + +scoreboard players tag @s remove b7s:same_dim +scoreboard players operation @s b7s:_tmp = @s b7s:dim +function b7s:entity/get_dim +scoreboard players operation @s b7s:_tmp -= @s b7s:dim +scoreboard players tag @s[score_b7s:_tmp_min=0,score_b7s:_tmp=0] add b7s:same_dim +scoreboard players operation @s b7s:_tmp += @s b7s:dim +scoreboard players operation @s b7s:dim = @s b7s:_tmp diff --git a/functions/b7s/entity/get_dim.mcfunction b/functions/b7s/entity/get_dim.mcfunction new file mode 100644 index 0000000..0e31902 --- /dev/null +++ b/functions/b7s/entity/get_dim.mcfunction @@ -0,0 +1,11 @@ +# Gets the dimension of a player or entity. +# +# Scores set: +# b7s:dim — the dimension of the entity. Can be -1, 0, 1 (The Nether, The Overworld, The End respectively) +# +# Usage: +# /execute ~ ~ ~ function b7s:entity/get_dim + +scoreboard players set @s b7s:dim -1 {Dimension:-1} +scoreboard players set @s b7s:dim 0 {Dimension:0} +scoreboard players set @s b7s:dim 1 {Dimension:1} diff --git a/functions/b7s/entity/get_loc.mcfunction b/functions/b7s/entity/get_loc.mcfunction new file mode 100644 index 0000000..5fd8e8a --- /dev/null +++ b/functions/b7s/entity/get_loc.mcfunction @@ -0,0 +1,16 @@ +# Gets the dimension, position and rotation of a player or entity. +# +# Scores set: +# b7s:dim — the dimension of the entity. Can be -1, 0, 1 (The Nether, The Overworld, The End respectively) +# b7s:x — the x coordinate of the entity +# b7s:y — the y coordinate of the entity +# b7s:z — the z coordinate of the entity +# b7s:rot_x — the x rotation of the entity +# b7s:rot_y — the y rotation of the entity +# +# Usage: +# /execute ~ ~ ~ function b7s:entity/get_loc + +function b7s:entity/get_dim +function b7s:entity/get_pos +function b7s:entity/get_rot diff --git a/functions/b7s/entity/get_pos.mcfunction b/functions/b7s/entity/get_pos.mcfunction new file mode 100644 index 0000000..e0a3b7c --- /dev/null +++ b/functions/b7s/entity/get_pos.mcfunction @@ -0,0 +1,220 @@ +# Gets the position of a player or entity. +# +# Scores set: +# b7s:x — the x coordinate of the entity +# b7s:y — the y coordinate of the entity +# b7s:z — the z coordinate of the entity +# +# Usage: +# /execute ~ ~ ~ function b7s:entity/get_pos + +scoreboard players tag @s add b7s:_self + +summon minecraft:area_effect_cloud ~ ~ ~ {Tags:["b7s:_marker_1"]} +summon minecraft:area_effect_cloud ~ ~ ~ {Tags:["b7s:_marker_2"]} + +scoreboard players set @s b7s:x -30000000 +scoreboard players set @s b7s:y -4096 +scoreboard players set @s b7s:z -30000000 + +tp @e[tag=b7s:_marker_1] ~-33554432 ~ ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:x 33554432 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~-16777216 ~ ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:x 16777216 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~-8388608 ~ ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:x 8388608 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~-4194304 ~ ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:x 4194304 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~-2097152 ~ ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:x 2097152 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~-1048576 ~ ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:x 1048576 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~-524288 ~ ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:x 524288 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~-262144 ~ ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:x 262144 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~-131072 ~ ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:x 131072 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~-65536 ~ ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:x 65536 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~-32768 ~ ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:x 32768 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~-16384 ~ ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:x 16384 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~-8192 ~ ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:x 8192 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~-4096 ~ ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:x 4096 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~-2048 ~ ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:x 2048 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~-1024 ~ ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:x 1024 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~-512 ~ ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:x 512 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~-256 ~ ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:x 256 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~-128 ~ ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:x 128 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~-64 ~ ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:x 64 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~-32 ~ ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:x 32 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~-16 ~ ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:x 16 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~-8 ~ ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:x 8 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~-4 ~ ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:x 4 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~-2 ~ ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:x 2 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~-1 ~ ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:x 1 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] + +tp @e[tag=b7s:_marker_1] ~ ~-4096 ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:y 4096 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~-2048 ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:y 2048 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~-1024 ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:y 1024 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~-512 ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:y 512 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~-256 ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:y 256 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~-128 ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:y 128 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~-64 ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:y 64 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~-32 ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:y 32 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~-16 ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:y 16 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~-8 ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:y 8 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~-4 ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:y 4 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~-2 ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:y 2 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~-1 ~ +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:y 1 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] + +tp @e[tag=b7s:_marker_1] ~ ~ ~-33554432 +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:z 33554432 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~ ~-16777216 +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:z 16777216 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~ ~-8388608 +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:z 8388608 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~ ~-4194304 +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:z 4194304 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~ ~-2097152 +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:z 2097152 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~ ~-1048576 +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:z 1048576 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~ ~-524288 +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:z 524288 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~ ~-262144 +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:z 262144 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~ ~-131072 +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:z 131072 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~ ~-65536 +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:z 65536 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~ ~-32768 +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:z 32768 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~ ~-16384 +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:z 16384 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~ ~-8192 +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:z 8192 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~ ~-4096 +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:z 4096 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~ ~-2048 +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:z 2048 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~ ~-1024 +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:z 1024 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~ ~-512 +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:z 512 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~ ~-256 +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:z 256 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~ ~-128 +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:z 128 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~ ~-64 +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:z 64 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~ ~-32 +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:z 32 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~ ~-16 +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:z 16 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~ ~-8 +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:z 8 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~ ~-4 +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:z 4 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~ ~-2 +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:z 2 +tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1] +tp @e[tag=b7s:_marker_1] ~ ~ ~-1 +execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:z 1 + +kill @e[tag=b7s:_marker_1] +kill @e[tag=b7s:_marker_2] + +scoreboard players tag @s remove b7s:_self diff --git a/functions/b7s/entity/get_pos.py b/functions/b7s/entity/get_pos.py new file mode 100644 index 0000000..ba9ac8b --- /dev/null +++ b/functions/b7s/entity/get_pos.py @@ -0,0 +1,43 @@ +print('# Gets the position of a player or entity.') +print('#') +print('# Scores set:') +print('# b7s:x — the x coordinate of the entity') +print('# b7s:y — the y coordinate of the entity') +print('# b7s:z — the z coordinate of the entity') +print('#') +print('# Usage:') +print('# /execute ~ ~ ~ function b7s:entity/get_pos') +print() +print('scoreboard players tag @s add b7s:_self') +print() +print('scoreboard players set @s b7s:x -30000000') +print('scoreboard players set @s b7s:y -4096') +print('scoreboard players set @s b7s:z -30000000') +print() +print('summon minecraft:area_effect_cloud ~ ~ ~ {Tags:["b7s:_marker_1"]}') +print('summon minecraft:area_effect_cloud ~ ~ ~ {Tags:["b7s:_marker_2"]}') + +print() +for exponent in range(25, -1, -1): + print('tp @e[tag=b7s:_marker_1] ~{} ~ ~'.format(-2 ** exponent)) + print('execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:x {}'.format(2 ** exponent)) + print('tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1]') + +print() +for exponent in range(12, -1, -1): + print('tp @e[tag=b7s:_marker_1] ~ ~{} ~'.format(-2 ** exponent)) + print('execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:y {}'.format(2 ** exponent)) + print('tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1]') + +print() +for exponent in range(25, -1, -1): + print('tp @e[tag=b7s:_marker_1] ~ ~ ~{}'.format(-2 ** exponent)) + print('execute @e[tag=b7s:_marker_1] ~ ~ ~ execute @e[tag=b7s:_marker_2,rm=0] ~ ~ ~ scoreboard players add @e[tag=b7s:_self] b7s:z {}'.format(2 ** exponent)) + if exponent != 0: + print('tp @e[tag=b7s:_marker_2] @e[tag=b7s:_marker_1]') + +print() +print('kill @e[tag=b7s:_marker_1]') +print('kill @e[tag=b7s:_marker_2]') +print() +print('scoreboard players tag @s remove b7s:_self') diff --git a/functions/b7s/entity/get_rot.mcfunction b/functions/b7s/entity/get_rot.mcfunction new file mode 100644 index 0000000..b023670 --- /dev/null +++ b/functions/b7s/entity/get_rot.mcfunction @@ -0,0 +1,551 @@ +# Gets the rotation of a player or entity. +# +# Scores set: +# b7s:rot_x — the x rotation of the entity +# b7s:rot_y — the y rotation of the entity +# +# Usage: +# /execute ~ ~ ~ function b7s:entity/get_rot + +scoreboard players set @s[rxm=-90,rx=-90] b7s:rot_x -90 +scoreboard players set @s[rxm=-89,rx=-89] b7s:rot_x -89 +scoreboard players set @s[rxm=-88,rx=-88] b7s:rot_x -88 +scoreboard players set @s[rxm=-87,rx=-87] b7s:rot_x -87 +scoreboard players set @s[rxm=-86,rx=-86] b7s:rot_x -86 +scoreboard players set @s[rxm=-85,rx=-85] b7s:rot_x -85 +scoreboard players set @s[rxm=-84,rx=-84] b7s:rot_x -84 +scoreboard players set @s[rxm=-83,rx=-83] b7s:rot_x -83 +scoreboard players set @s[rxm=-82,rx=-82] b7s:rot_x -82 +scoreboard players set @s[rxm=-81,rx=-81] b7s:rot_x -81 +scoreboard players set @s[rxm=-80,rx=-80] b7s:rot_x -80 +scoreboard players set @s[rxm=-79,rx=-79] b7s:rot_x -79 +scoreboard players set @s[rxm=-78,rx=-78] b7s:rot_x -78 +scoreboard players set @s[rxm=-77,rx=-77] b7s:rot_x -77 +scoreboard players set @s[rxm=-76,rx=-76] b7s:rot_x -76 +scoreboard players set @s[rxm=-75,rx=-75] b7s:rot_x -75 +scoreboard players set @s[rxm=-74,rx=-74] b7s:rot_x -74 +scoreboard players set @s[rxm=-73,rx=-73] b7s:rot_x -73 +scoreboard players set @s[rxm=-72,rx=-72] b7s:rot_x -72 +scoreboard players set @s[rxm=-71,rx=-71] b7s:rot_x -71 +scoreboard players set @s[rxm=-70,rx=-70] b7s:rot_x -70 +scoreboard players set @s[rxm=-69,rx=-69] b7s:rot_x -69 +scoreboard players set @s[rxm=-68,rx=-68] b7s:rot_x -68 +scoreboard players set @s[rxm=-67,rx=-67] b7s:rot_x -67 +scoreboard players set @s[rxm=-66,rx=-66] b7s:rot_x -66 +scoreboard players set @s[rxm=-65,rx=-65] b7s:rot_x -65 +scoreboard players set @s[rxm=-64,rx=-64] b7s:rot_x -64 +scoreboard players set @s[rxm=-63,rx=-63] b7s:rot_x -63 +scoreboard players set @s[rxm=-62,rx=-62] b7s:rot_x -62 +scoreboard players set @s[rxm=-61,rx=-61] b7s:rot_x -61 +scoreboard players set @s[rxm=-60,rx=-60] b7s:rot_x -60 +scoreboard players set @s[rxm=-59,rx=-59] b7s:rot_x -59 +scoreboard players set @s[rxm=-58,rx=-58] b7s:rot_x -58 +scoreboard players set @s[rxm=-57,rx=-57] b7s:rot_x -57 +scoreboard players set @s[rxm=-56,rx=-56] b7s:rot_x -56 +scoreboard players set @s[rxm=-55,rx=-55] b7s:rot_x -55 +scoreboard players set @s[rxm=-54,rx=-54] b7s:rot_x -54 +scoreboard players set @s[rxm=-53,rx=-53] b7s:rot_x -53 +scoreboard players set @s[rxm=-52,rx=-52] b7s:rot_x -52 +scoreboard players set @s[rxm=-51,rx=-51] b7s:rot_x -51 +scoreboard players set @s[rxm=-50,rx=-50] b7s:rot_x -50 +scoreboard players set @s[rxm=-49,rx=-49] b7s:rot_x -49 +scoreboard players set @s[rxm=-48,rx=-48] b7s:rot_x -48 +scoreboard players set @s[rxm=-47,rx=-47] b7s:rot_x -47 +scoreboard players set @s[rxm=-46,rx=-46] b7s:rot_x -46 +scoreboard players set @s[rxm=-45,rx=-45] b7s:rot_x -45 +scoreboard players set @s[rxm=-44,rx=-44] b7s:rot_x -44 +scoreboard players set @s[rxm=-43,rx=-43] b7s:rot_x -43 +scoreboard players set @s[rxm=-42,rx=-42] b7s:rot_x -42 +scoreboard players set @s[rxm=-41,rx=-41] b7s:rot_x -41 +scoreboard players set @s[rxm=-40,rx=-40] b7s:rot_x -40 +scoreboard players set @s[rxm=-39,rx=-39] b7s:rot_x -39 +scoreboard players set @s[rxm=-38,rx=-38] b7s:rot_x -38 +scoreboard players set @s[rxm=-37,rx=-37] b7s:rot_x -37 +scoreboard players set @s[rxm=-36,rx=-36] b7s:rot_x -36 +scoreboard players set @s[rxm=-35,rx=-35] b7s:rot_x -35 +scoreboard players set @s[rxm=-34,rx=-34] b7s:rot_x -34 +scoreboard players set @s[rxm=-33,rx=-33] b7s:rot_x -33 +scoreboard players set @s[rxm=-32,rx=-32] b7s:rot_x -32 +scoreboard players set @s[rxm=-31,rx=-31] b7s:rot_x -31 +scoreboard players set @s[rxm=-30,rx=-30] b7s:rot_x -30 +scoreboard players set @s[rxm=-29,rx=-29] b7s:rot_x -29 +scoreboard players set @s[rxm=-28,rx=-28] b7s:rot_x -28 +scoreboard players set @s[rxm=-27,rx=-27] b7s:rot_x -27 +scoreboard players set @s[rxm=-26,rx=-26] b7s:rot_x -26 +scoreboard players set @s[rxm=-25,rx=-25] b7s:rot_x -25 +scoreboard players set @s[rxm=-24,rx=-24] b7s:rot_x -24 +scoreboard players set @s[rxm=-23,rx=-23] b7s:rot_x -23 +scoreboard players set @s[rxm=-22,rx=-22] b7s:rot_x -22 +scoreboard players set @s[rxm=-21,rx=-21] b7s:rot_x -21 +scoreboard players set @s[rxm=-20,rx=-20] b7s:rot_x -20 +scoreboard players set @s[rxm=-19,rx=-19] b7s:rot_x -19 +scoreboard players set @s[rxm=-18,rx=-18] b7s:rot_x -18 +scoreboard players set @s[rxm=-17,rx=-17] b7s:rot_x -17 +scoreboard players set @s[rxm=-16,rx=-16] b7s:rot_x -16 +scoreboard players set @s[rxm=-15,rx=-15] b7s:rot_x -15 +scoreboard players set @s[rxm=-14,rx=-14] b7s:rot_x -14 +scoreboard players set @s[rxm=-13,rx=-13] b7s:rot_x -13 +scoreboard players set @s[rxm=-12,rx=-12] b7s:rot_x -12 +scoreboard players set @s[rxm=-11,rx=-11] b7s:rot_x -11 +scoreboard players set @s[rxm=-10,rx=-10] b7s:rot_x -10 +scoreboard players set @s[rxm=-9,rx=-9] b7s:rot_x -9 +scoreboard players set @s[rxm=-8,rx=-8] b7s:rot_x -8 +scoreboard players set @s[rxm=-7,rx=-7] b7s:rot_x -7 +scoreboard players set @s[rxm=-6,rx=-6] b7s:rot_x -6 +scoreboard players set @s[rxm=-5,rx=-5] b7s:rot_x -5 +scoreboard players set @s[rxm=-4,rx=-4] b7s:rot_x -4 +scoreboard players set @s[rxm=-3,rx=-3] b7s:rot_x -3 +scoreboard players set @s[rxm=-2,rx=-2] b7s:rot_x -2 +scoreboard players set @s[rxm=-1,rx=-1] b7s:rot_x -1 +scoreboard players set @s[rxm=0,rx=0] b7s:rot_x 0 +scoreboard players set @s[rxm=1,rx=1] b7s:rot_x 1 +scoreboard players set @s[rxm=2,rx=2] b7s:rot_x 2 +scoreboard players set @s[rxm=3,rx=3] b7s:rot_x 3 +scoreboard players set @s[rxm=4,rx=4] b7s:rot_x 4 +scoreboard players set @s[rxm=5,rx=5] b7s:rot_x 5 +scoreboard players set @s[rxm=6,rx=6] b7s:rot_x 6 +scoreboard players set @s[rxm=7,rx=7] b7s:rot_x 7 +scoreboard players set @s[rxm=8,rx=8] b7s:rot_x 8 +scoreboard players set @s[rxm=9,rx=9] b7s:rot_x 9 +scoreboard players set @s[rxm=10,rx=10] b7s:rot_x 10 +scoreboard players set @s[rxm=11,rx=11] b7s:rot_x 11 +scoreboard players set @s[rxm=12,rx=12] b7s:rot_x 12 +scoreboard players set @s[rxm=13,rx=13] b7s:rot_x 13 +scoreboard players set @s[rxm=14,rx=14] b7s:rot_x 14 +scoreboard players set @s[rxm=15,rx=15] b7s:rot_x 15 +scoreboard players set @s[rxm=16,rx=16] b7s:rot_x 16 +scoreboard players set @s[rxm=17,rx=17] b7s:rot_x 17 +scoreboard players set @s[rxm=18,rx=18] b7s:rot_x 18 +scoreboard players set @s[rxm=19,rx=19] b7s:rot_x 19 +scoreboard players set @s[rxm=20,rx=20] b7s:rot_x 20 +scoreboard players set @s[rxm=21,rx=21] b7s:rot_x 21 +scoreboard players set @s[rxm=22,rx=22] b7s:rot_x 22 +scoreboard players set @s[rxm=23,rx=23] b7s:rot_x 23 +scoreboard players set @s[rxm=24,rx=24] b7s:rot_x 24 +scoreboard players set @s[rxm=25,rx=25] b7s:rot_x 25 +scoreboard players set @s[rxm=26,rx=26] b7s:rot_x 26 +scoreboard players set @s[rxm=27,rx=27] b7s:rot_x 27 +scoreboard players set @s[rxm=28,rx=28] b7s:rot_x 28 +scoreboard players set @s[rxm=29,rx=29] b7s:rot_x 29 +scoreboard players set @s[rxm=30,rx=30] b7s:rot_x 30 +scoreboard players set @s[rxm=31,rx=31] b7s:rot_x 31 +scoreboard players set @s[rxm=32,rx=32] b7s:rot_x 32 +scoreboard players set @s[rxm=33,rx=33] b7s:rot_x 33 +scoreboard players set @s[rxm=34,rx=34] b7s:rot_x 34 +scoreboard players set @s[rxm=35,rx=35] b7s:rot_x 35 +scoreboard players set @s[rxm=36,rx=36] b7s:rot_x 36 +scoreboard players set @s[rxm=37,rx=37] b7s:rot_x 37 +scoreboard players set @s[rxm=38,rx=38] b7s:rot_x 38 +scoreboard players set @s[rxm=39,rx=39] b7s:rot_x 39 +scoreboard players set @s[rxm=40,rx=40] b7s:rot_x 40 +scoreboard players set @s[rxm=41,rx=41] b7s:rot_x 41 +scoreboard players set @s[rxm=42,rx=42] b7s:rot_x 42 +scoreboard players set @s[rxm=43,rx=43] b7s:rot_x 43 +scoreboard players set @s[rxm=44,rx=44] b7s:rot_x 44 +scoreboard players set @s[rxm=45,rx=45] b7s:rot_x 45 +scoreboard players set @s[rxm=46,rx=46] b7s:rot_x 46 +scoreboard players set @s[rxm=47,rx=47] b7s:rot_x 47 +scoreboard players set @s[rxm=48,rx=48] b7s:rot_x 48 +scoreboard players set @s[rxm=49,rx=49] b7s:rot_x 49 +scoreboard players set @s[rxm=50,rx=50] b7s:rot_x 50 +scoreboard players set @s[rxm=51,rx=51] b7s:rot_x 51 +scoreboard players set @s[rxm=52,rx=52] b7s:rot_x 52 +scoreboard players set @s[rxm=53,rx=53] b7s:rot_x 53 +scoreboard players set @s[rxm=54,rx=54] b7s:rot_x 54 +scoreboard players set @s[rxm=55,rx=55] b7s:rot_x 55 +scoreboard players set @s[rxm=56,rx=56] b7s:rot_x 56 +scoreboard players set @s[rxm=57,rx=57] b7s:rot_x 57 +scoreboard players set @s[rxm=58,rx=58] b7s:rot_x 58 +scoreboard players set @s[rxm=59,rx=59] b7s:rot_x 59 +scoreboard players set @s[rxm=60,rx=60] b7s:rot_x 60 +scoreboard players set @s[rxm=61,rx=61] b7s:rot_x 61 +scoreboard players set @s[rxm=62,rx=62] b7s:rot_x 62 +scoreboard players set @s[rxm=63,rx=63] b7s:rot_x 63 +scoreboard players set @s[rxm=64,rx=64] b7s:rot_x 64 +scoreboard players set @s[rxm=65,rx=65] b7s:rot_x 65 +scoreboard players set @s[rxm=66,rx=66] b7s:rot_x 66 +scoreboard players set @s[rxm=67,rx=67] b7s:rot_x 67 +scoreboard players set @s[rxm=68,rx=68] b7s:rot_x 68 +scoreboard players set @s[rxm=69,rx=69] b7s:rot_x 69 +scoreboard players set @s[rxm=70,rx=70] b7s:rot_x 70 +scoreboard players set @s[rxm=71,rx=71] b7s:rot_x 71 +scoreboard players set @s[rxm=72,rx=72] b7s:rot_x 72 +scoreboard players set @s[rxm=73,rx=73] b7s:rot_x 73 +scoreboard players set @s[rxm=74,rx=74] b7s:rot_x 74 +scoreboard players set @s[rxm=75,rx=75] b7s:rot_x 75 +scoreboard players set @s[rxm=76,rx=76] b7s:rot_x 76 +scoreboard players set @s[rxm=77,rx=77] b7s:rot_x 77 +scoreboard players set @s[rxm=78,rx=78] b7s:rot_x 78 +scoreboard players set @s[rxm=79,rx=79] b7s:rot_x 79 +scoreboard players set @s[rxm=80,rx=80] b7s:rot_x 80 +scoreboard players set @s[rxm=81,rx=81] b7s:rot_x 81 +scoreboard players set @s[rxm=82,rx=82] b7s:rot_x 82 +scoreboard players set @s[rxm=83,rx=83] b7s:rot_x 83 +scoreboard players set @s[rxm=84,rx=84] b7s:rot_x 84 +scoreboard players set @s[rxm=85,rx=85] b7s:rot_x 85 +scoreboard players set @s[rxm=86,rx=86] b7s:rot_x 86 +scoreboard players set @s[rxm=87,rx=87] b7s:rot_x 87 +scoreboard players set @s[rxm=88,rx=88] b7s:rot_x 88 +scoreboard players set @s[rxm=89,rx=89] b7s:rot_x 89 +scoreboard players set @s[rxm=90,rx=90] b7s:rot_x 90 + +scoreboard players set @s[rym=-180,ry=-180] b7s:rot_y -180 +scoreboard players set @s[rym=-179,ry=-179] b7s:rot_y -179 +scoreboard players set @s[rym=-178,ry=-178] b7s:rot_y -178 +scoreboard players set @s[rym=-177,ry=-177] b7s:rot_y -177 +scoreboard players set @s[rym=-176,ry=-176] b7s:rot_y -176 +scoreboard players set @s[rym=-175,ry=-175] b7s:rot_y -175 +scoreboard players set @s[rym=-174,ry=-174] b7s:rot_y -174 +scoreboard players set @s[rym=-173,ry=-173] b7s:rot_y -173 +scoreboard players set @s[rym=-172,ry=-172] b7s:rot_y -172 +scoreboard players set @s[rym=-171,ry=-171] b7s:rot_y -171 +scoreboard players set @s[rym=-170,ry=-170] b7s:rot_y -170 +scoreboard players set @s[rym=-169,ry=-169] b7s:rot_y -169 +scoreboard players set @s[rym=-168,ry=-168] b7s:rot_y -168 +scoreboard players set @s[rym=-167,ry=-167] b7s:rot_y -167 +scoreboard players set @s[rym=-166,ry=-166] b7s:rot_y -166 +scoreboard players set @s[rym=-165,ry=-165] b7s:rot_y -165 +scoreboard players set @s[rym=-164,ry=-164] b7s:rot_y -164 +scoreboard players set @s[rym=-163,ry=-163] b7s:rot_y -163 +scoreboard players set @s[rym=-162,ry=-162] b7s:rot_y -162 +scoreboard players set @s[rym=-161,ry=-161] b7s:rot_y -161 +scoreboard players set @s[rym=-160,ry=-160] b7s:rot_y -160 +scoreboard players set @s[rym=-159,ry=-159] b7s:rot_y -159 +scoreboard players set @s[rym=-158,ry=-158] b7s:rot_y -158 +scoreboard players set @s[rym=-157,ry=-157] b7s:rot_y -157 +scoreboard players set @s[rym=-156,ry=-156] b7s:rot_y -156 +scoreboard players set @s[rym=-155,ry=-155] b7s:rot_y -155 +scoreboard players set @s[rym=-154,ry=-154] b7s:rot_y -154 +scoreboard players set @s[rym=-153,ry=-153] b7s:rot_y -153 +scoreboard players set @s[rym=-152,ry=-152] b7s:rot_y -152 +scoreboard players set @s[rym=-151,ry=-151] b7s:rot_y -151 +scoreboard players set @s[rym=-150,ry=-150] b7s:rot_y -150 +scoreboard players set @s[rym=-149,ry=-149] b7s:rot_y -149 +scoreboard players set @s[rym=-148,ry=-148] b7s:rot_y -148 +scoreboard players set @s[rym=-147,ry=-147] b7s:rot_y -147 +scoreboard players set @s[rym=-146,ry=-146] b7s:rot_y -146 +scoreboard players set @s[rym=-145,ry=-145] b7s:rot_y -145 +scoreboard players set @s[rym=-144,ry=-144] b7s:rot_y -144 +scoreboard players set @s[rym=-143,ry=-143] b7s:rot_y -143 +scoreboard players set @s[rym=-142,ry=-142] b7s:rot_y -142 +scoreboard players set @s[rym=-141,ry=-141] b7s:rot_y -141 +scoreboard players set @s[rym=-140,ry=-140] b7s:rot_y -140 +scoreboard players set @s[rym=-139,ry=-139] b7s:rot_y -139 +scoreboard players set @s[rym=-138,ry=-138] b7s:rot_y -138 +scoreboard players set @s[rym=-137,ry=-137] b7s:rot_y -137 +scoreboard players set @s[rym=-136,ry=-136] b7s:rot_y -136 +scoreboard players set @s[rym=-135,ry=-135] b7s:rot_y -135 +scoreboard players set @s[rym=-134,ry=-134] b7s:rot_y -134 +scoreboard players set @s[rym=-133,ry=-133] b7s:rot_y -133 +scoreboard players set @s[rym=-132,ry=-132] b7s:rot_y -132 +scoreboard players set @s[rym=-131,ry=-131] b7s:rot_y -131 +scoreboard players set @s[rym=-130,ry=-130] b7s:rot_y -130 +scoreboard players set @s[rym=-129,ry=-129] b7s:rot_y -129 +scoreboard players set @s[rym=-128,ry=-128] b7s:rot_y -128 +scoreboard players set @s[rym=-127,ry=-127] b7s:rot_y -127 +scoreboard players set @s[rym=-126,ry=-126] b7s:rot_y -126 +scoreboard players set @s[rym=-125,ry=-125] b7s:rot_y -125 +scoreboard players set @s[rym=-124,ry=-124] b7s:rot_y -124 +scoreboard players set @s[rym=-123,ry=-123] b7s:rot_y -123 +scoreboard players set @s[rym=-122,ry=-122] b7s:rot_y -122 +scoreboard players set @s[rym=-121,ry=-121] b7s:rot_y -121 +scoreboard players set @s[rym=-120,ry=-120] b7s:rot_y -120 +scoreboard players set @s[rym=-119,ry=-119] b7s:rot_y -119 +scoreboard players set @s[rym=-118,ry=-118] b7s:rot_y -118 +scoreboard players set @s[rym=-117,ry=-117] b7s:rot_y -117 +scoreboard players set @s[rym=-116,ry=-116] b7s:rot_y -116 +scoreboard players set @s[rym=-115,ry=-115] b7s:rot_y -115 +scoreboard players set @s[rym=-114,ry=-114] b7s:rot_y -114 +scoreboard players set @s[rym=-113,ry=-113] b7s:rot_y -113 +scoreboard players set @s[rym=-112,ry=-112] b7s:rot_y -112 +scoreboard players set @s[rym=-111,ry=-111] b7s:rot_y -111 +scoreboard players set @s[rym=-110,ry=-110] b7s:rot_y -110 +scoreboard players set @s[rym=-109,ry=-109] b7s:rot_y -109 +scoreboard players set @s[rym=-108,ry=-108] b7s:rot_y -108 +scoreboard players set @s[rym=-107,ry=-107] b7s:rot_y -107 +scoreboard players set @s[rym=-106,ry=-106] b7s:rot_y -106 +scoreboard players set @s[rym=-105,ry=-105] b7s:rot_y -105 +scoreboard players set @s[rym=-104,ry=-104] b7s:rot_y -104 +scoreboard players set @s[rym=-103,ry=-103] b7s:rot_y -103 +scoreboard players set @s[rym=-102,ry=-102] b7s:rot_y -102 +scoreboard players set @s[rym=-101,ry=-101] b7s:rot_y -101 +scoreboard players set @s[rym=-100,ry=-100] b7s:rot_y -100 +scoreboard players set @s[rym=-99,ry=-99] b7s:rot_y -99 +scoreboard players set @s[rym=-98,ry=-98] b7s:rot_y -98 +scoreboard players set @s[rym=-97,ry=-97] b7s:rot_y -97 +scoreboard players set @s[rym=-96,ry=-96] b7s:rot_y -96 +scoreboard players set @s[rym=-95,ry=-95] b7s:rot_y -95 +scoreboard players set @s[rym=-94,ry=-94] b7s:rot_y -94 +scoreboard players set @s[rym=-93,ry=-93] b7s:rot_y -93 +scoreboard players set @s[rym=-92,ry=-92] b7s:rot_y -92 +scoreboard players set @s[rym=-91,ry=-91] b7s:rot_y -91 +scoreboard players set @s[rym=-90,ry=-90] b7s:rot_y -90 +scoreboard players set @s[rym=-89,ry=-89] b7s:rot_y -89 +scoreboard players set @s[rym=-88,ry=-88] b7s:rot_y -88 +scoreboard players set @s[rym=-87,ry=-87] b7s:rot_y -87 +scoreboard players set @s[rym=-86,ry=-86] b7s:rot_y -86 +scoreboard players set @s[rym=-85,ry=-85] b7s:rot_y -85 +scoreboard players set @s[rym=-84,ry=-84] b7s:rot_y -84 +scoreboard players set @s[rym=-83,ry=-83] b7s:rot_y -83 +scoreboard players set @s[rym=-82,ry=-82] b7s:rot_y -82 +scoreboard players set @s[rym=-81,ry=-81] b7s:rot_y -81 +scoreboard players set @s[rym=-80,ry=-80] b7s:rot_y -80 +scoreboard players set @s[rym=-79,ry=-79] b7s:rot_y -79 +scoreboard players set @s[rym=-78,ry=-78] b7s:rot_y -78 +scoreboard players set @s[rym=-77,ry=-77] b7s:rot_y -77 +scoreboard players set @s[rym=-76,ry=-76] b7s:rot_y -76 +scoreboard players set @s[rym=-75,ry=-75] b7s:rot_y -75 +scoreboard players set @s[rym=-74,ry=-74] b7s:rot_y -74 +scoreboard players set @s[rym=-73,ry=-73] b7s:rot_y -73 +scoreboard players set @s[rym=-72,ry=-72] b7s:rot_y -72 +scoreboard players set @s[rym=-71,ry=-71] b7s:rot_y -71 +scoreboard players set @s[rym=-70,ry=-70] b7s:rot_y -70 +scoreboard players set @s[rym=-69,ry=-69] b7s:rot_y -69 +scoreboard players set @s[rym=-68,ry=-68] b7s:rot_y -68 +scoreboard players set @s[rym=-67,ry=-67] b7s:rot_y -67 +scoreboard players set @s[rym=-66,ry=-66] b7s:rot_y -66 +scoreboard players set @s[rym=-65,ry=-65] b7s:rot_y -65 +scoreboard players set @s[rym=-64,ry=-64] b7s:rot_y -64 +scoreboard players set @s[rym=-63,ry=-63] b7s:rot_y -63 +scoreboard players set @s[rym=-62,ry=-62] b7s:rot_y -62 +scoreboard players set @s[rym=-61,ry=-61] b7s:rot_y -61 +scoreboard players set @s[rym=-60,ry=-60] b7s:rot_y -60 +scoreboard players set @s[rym=-59,ry=-59] b7s:rot_y -59 +scoreboard players set @s[rym=-58,ry=-58] b7s:rot_y -58 +scoreboard players set @s[rym=-57,ry=-57] b7s:rot_y -57 +scoreboard players set @s[rym=-56,ry=-56] b7s:rot_y -56 +scoreboard players set @s[rym=-55,ry=-55] b7s:rot_y -55 +scoreboard players set @s[rym=-54,ry=-54] b7s:rot_y -54 +scoreboard players set @s[rym=-53,ry=-53] b7s:rot_y -53 +scoreboard players set @s[rym=-52,ry=-52] b7s:rot_y -52 +scoreboard players set @s[rym=-51,ry=-51] b7s:rot_y -51 +scoreboard players set @s[rym=-50,ry=-50] b7s:rot_y -50 +scoreboard players set @s[rym=-49,ry=-49] b7s:rot_y -49 +scoreboard players set @s[rym=-48,ry=-48] b7s:rot_y -48 +scoreboard players set @s[rym=-47,ry=-47] b7s:rot_y -47 +scoreboard players set @s[rym=-46,ry=-46] b7s:rot_y -46 +scoreboard players set @s[rym=-45,ry=-45] b7s:rot_y -45 +scoreboard players set @s[rym=-44,ry=-44] b7s:rot_y -44 +scoreboard players set @s[rym=-43,ry=-43] b7s:rot_y -43 +scoreboard players set @s[rym=-42,ry=-42] b7s:rot_y -42 +scoreboard players set @s[rym=-41,ry=-41] b7s:rot_y -41 +scoreboard players set @s[rym=-40,ry=-40] b7s:rot_y -40 +scoreboard players set @s[rym=-39,ry=-39] b7s:rot_y -39 +scoreboard players set @s[rym=-38,ry=-38] b7s:rot_y -38 +scoreboard players set @s[rym=-37,ry=-37] b7s:rot_y -37 +scoreboard players set @s[rym=-36,ry=-36] b7s:rot_y -36 +scoreboard players set @s[rym=-35,ry=-35] b7s:rot_y -35 +scoreboard players set @s[rym=-34,ry=-34] b7s:rot_y -34 +scoreboard players set @s[rym=-33,ry=-33] b7s:rot_y -33 +scoreboard players set @s[rym=-32,ry=-32] b7s:rot_y -32 +scoreboard players set @s[rym=-31,ry=-31] b7s:rot_y -31 +scoreboard players set @s[rym=-30,ry=-30] b7s:rot_y -30 +scoreboard players set @s[rym=-29,ry=-29] b7s:rot_y -29 +scoreboard players set @s[rym=-28,ry=-28] b7s:rot_y -28 +scoreboard players set @s[rym=-27,ry=-27] b7s:rot_y -27 +scoreboard players set @s[rym=-26,ry=-26] b7s:rot_y -26 +scoreboard players set @s[rym=-25,ry=-25] b7s:rot_y -25 +scoreboard players set @s[rym=-24,ry=-24] b7s:rot_y -24 +scoreboard players set @s[rym=-23,ry=-23] b7s:rot_y -23 +scoreboard players set @s[rym=-22,ry=-22] b7s:rot_y -22 +scoreboard players set @s[rym=-21,ry=-21] b7s:rot_y -21 +scoreboard players set @s[rym=-20,ry=-20] b7s:rot_y -20 +scoreboard players set @s[rym=-19,ry=-19] b7s:rot_y -19 +scoreboard players set @s[rym=-18,ry=-18] b7s:rot_y -18 +scoreboard players set @s[rym=-17,ry=-17] b7s:rot_y -17 +scoreboard players set @s[rym=-16,ry=-16] b7s:rot_y -16 +scoreboard players set @s[rym=-15,ry=-15] b7s:rot_y -15 +scoreboard players set @s[rym=-14,ry=-14] b7s:rot_y -14 +scoreboard players set @s[rym=-13,ry=-13] b7s:rot_y -13 +scoreboard players set @s[rym=-12,ry=-12] b7s:rot_y -12 +scoreboard players set @s[rym=-11,ry=-11] b7s:rot_y -11 +scoreboard players set @s[rym=-10,ry=-10] b7s:rot_y -10 +scoreboard players set @s[rym=-9,ry=-9] b7s:rot_y -9 +scoreboard players set @s[rym=-8,ry=-8] b7s:rot_y -8 +scoreboard players set @s[rym=-7,ry=-7] b7s:rot_y -7 +scoreboard players set @s[rym=-6,ry=-6] b7s:rot_y -6 +scoreboard players set @s[rym=-5,ry=-5] b7s:rot_y -5 +scoreboard players set @s[rym=-4,ry=-4] b7s:rot_y -4 +scoreboard players set @s[rym=-3,ry=-3] b7s:rot_y -3 +scoreboard players set @s[rym=-2,ry=-2] b7s:rot_y -2 +scoreboard players set @s[rym=-1,ry=-1] b7s:rot_y -1 +scoreboard players set @s[rym=0,ry=0] b7s:rot_y 0 +scoreboard players set @s[rym=1,ry=1] b7s:rot_y 1 +scoreboard players set @s[rym=2,ry=2] b7s:rot_y 2 +scoreboard players set @s[rym=3,ry=3] b7s:rot_y 3 +scoreboard players set @s[rym=4,ry=4] b7s:rot_y 4 +scoreboard players set @s[rym=5,ry=5] b7s:rot_y 5 +scoreboard players set @s[rym=6,ry=6] b7s:rot_y 6 +scoreboard players set @s[rym=7,ry=7] b7s:rot_y 7 +scoreboard players set @s[rym=8,ry=8] b7s:rot_y 8 +scoreboard players set @s[rym=9,ry=9] b7s:rot_y 9 +scoreboard players set @s[rym=10,ry=10] b7s:rot_y 10 +scoreboard players set @s[rym=11,ry=11] b7s:rot_y 11 +scoreboard players set @s[rym=12,ry=12] b7s:rot_y 12 +scoreboard players set @s[rym=13,ry=13] b7s:rot_y 13 +scoreboard players set @s[rym=14,ry=14] b7s:rot_y 14 +scoreboard players set @s[rym=15,ry=15] b7s:rot_y 15 +scoreboard players set @s[rym=16,ry=16] b7s:rot_y 16 +scoreboard players set @s[rym=17,ry=17] b7s:rot_y 17 +scoreboard players set @s[rym=18,ry=18] b7s:rot_y 18 +scoreboard players set @s[rym=19,ry=19] b7s:rot_y 19 +scoreboard players set @s[rym=20,ry=20] b7s:rot_y 20 +scoreboard players set @s[rym=21,ry=21] b7s:rot_y 21 +scoreboard players set @s[rym=22,ry=22] b7s:rot_y 22 +scoreboard players set @s[rym=23,ry=23] b7s:rot_y 23 +scoreboard players set @s[rym=24,ry=24] b7s:rot_y 24 +scoreboard players set @s[rym=25,ry=25] b7s:rot_y 25 +scoreboard players set @s[rym=26,ry=26] b7s:rot_y 26 +scoreboard players set @s[rym=27,ry=27] b7s:rot_y 27 +scoreboard players set @s[rym=28,ry=28] b7s:rot_y 28 +scoreboard players set @s[rym=29,ry=29] b7s:rot_y 29 +scoreboard players set @s[rym=30,ry=30] b7s:rot_y 30 +scoreboard players set @s[rym=31,ry=31] b7s:rot_y 31 +scoreboard players set @s[rym=32,ry=32] b7s:rot_y 32 +scoreboard players set @s[rym=33,ry=33] b7s:rot_y 33 +scoreboard players set @s[rym=34,ry=34] b7s:rot_y 34 +scoreboard players set @s[rym=35,ry=35] b7s:rot_y 35 +scoreboard players set @s[rym=36,ry=36] b7s:rot_y 36 +scoreboard players set @s[rym=37,ry=37] b7s:rot_y 37 +scoreboard players set @s[rym=38,ry=38] b7s:rot_y 38 +scoreboard players set @s[rym=39,ry=39] b7s:rot_y 39 +scoreboard players set @s[rym=40,ry=40] b7s:rot_y 40 +scoreboard players set @s[rym=41,ry=41] b7s:rot_y 41 +scoreboard players set @s[rym=42,ry=42] b7s:rot_y 42 +scoreboard players set @s[rym=43,ry=43] b7s:rot_y 43 +scoreboard players set @s[rym=44,ry=44] b7s:rot_y 44 +scoreboard players set @s[rym=45,ry=45] b7s:rot_y 45 +scoreboard players set @s[rym=46,ry=46] b7s:rot_y 46 +scoreboard players set @s[rym=47,ry=47] b7s:rot_y 47 +scoreboard players set @s[rym=48,ry=48] b7s:rot_y 48 +scoreboard players set @s[rym=49,ry=49] b7s:rot_y 49 +scoreboard players set @s[rym=50,ry=50] b7s:rot_y 50 +scoreboard players set @s[rym=51,ry=51] b7s:rot_y 51 +scoreboard players set @s[rym=52,ry=52] b7s:rot_y 52 +scoreboard players set @s[rym=53,ry=53] b7s:rot_y 53 +scoreboard players set @s[rym=54,ry=54] b7s:rot_y 54 +scoreboard players set @s[rym=55,ry=55] b7s:rot_y 55 +scoreboard players set @s[rym=56,ry=56] b7s:rot_y 56 +scoreboard players set @s[rym=57,ry=57] b7s:rot_y 57 +scoreboard players set @s[rym=58,ry=58] b7s:rot_y 58 +scoreboard players set @s[rym=59,ry=59] b7s:rot_y 59 +scoreboard players set @s[rym=60,ry=60] b7s:rot_y 60 +scoreboard players set @s[rym=61,ry=61] b7s:rot_y 61 +scoreboard players set @s[rym=62,ry=62] b7s:rot_y 62 +scoreboard players set @s[rym=63,ry=63] b7s:rot_y 63 +scoreboard players set @s[rym=64,ry=64] b7s:rot_y 64 +scoreboard players set @s[rym=65,ry=65] b7s:rot_y 65 +scoreboard players set @s[rym=66,ry=66] b7s:rot_y 66 +scoreboard players set @s[rym=67,ry=67] b7s:rot_y 67 +scoreboard players set @s[rym=68,ry=68] b7s:rot_y 68 +scoreboard players set @s[rym=69,ry=69] b7s:rot_y 69 +scoreboard players set @s[rym=70,ry=70] b7s:rot_y 70 +scoreboard players set @s[rym=71,ry=71] b7s:rot_y 71 +scoreboard players set @s[rym=72,ry=72] b7s:rot_y 72 +scoreboard players set @s[rym=73,ry=73] b7s:rot_y 73 +scoreboard players set @s[rym=74,ry=74] b7s:rot_y 74 +scoreboard players set @s[rym=75,ry=75] b7s:rot_y 75 +scoreboard players set @s[rym=76,ry=76] b7s:rot_y 76 +scoreboard players set @s[rym=77,ry=77] b7s:rot_y 77 +scoreboard players set @s[rym=78,ry=78] b7s:rot_y 78 +scoreboard players set @s[rym=79,ry=79] b7s:rot_y 79 +scoreboard players set @s[rym=80,ry=80] b7s:rot_y 80 +scoreboard players set @s[rym=81,ry=81] b7s:rot_y 81 +scoreboard players set @s[rym=82,ry=82] b7s:rot_y 82 +scoreboard players set @s[rym=83,ry=83] b7s:rot_y 83 +scoreboard players set @s[rym=84,ry=84] b7s:rot_y 84 +scoreboard players set @s[rym=85,ry=85] b7s:rot_y 85 +scoreboard players set @s[rym=86,ry=86] b7s:rot_y 86 +scoreboard players set @s[rym=87,ry=87] b7s:rot_y 87 +scoreboard players set @s[rym=88,ry=88] b7s:rot_y 88 +scoreboard players set @s[rym=89,ry=89] b7s:rot_y 89 +scoreboard players set @s[rym=90,ry=90] b7s:rot_y 90 +scoreboard players set @s[rym=91,ry=91] b7s:rot_y 91 +scoreboard players set @s[rym=92,ry=92] b7s:rot_y 92 +scoreboard players set @s[rym=93,ry=93] b7s:rot_y 93 +scoreboard players set @s[rym=94,ry=94] b7s:rot_y 94 +scoreboard players set @s[rym=95,ry=95] b7s:rot_y 95 +scoreboard players set @s[rym=96,ry=96] b7s:rot_y 96 +scoreboard players set @s[rym=97,ry=97] b7s:rot_y 97 +scoreboard players set @s[rym=98,ry=98] b7s:rot_y 98 +scoreboard players set @s[rym=99,ry=99] b7s:rot_y 99 +scoreboard players set @s[rym=100,ry=100] b7s:rot_y 100 +scoreboard players set @s[rym=101,ry=101] b7s:rot_y 101 +scoreboard players set @s[rym=102,ry=102] b7s:rot_y 102 +scoreboard players set @s[rym=103,ry=103] b7s:rot_y 103 +scoreboard players set @s[rym=104,ry=104] b7s:rot_y 104 +scoreboard players set @s[rym=105,ry=105] b7s:rot_y 105 +scoreboard players set @s[rym=106,ry=106] b7s:rot_y 106 +scoreboard players set @s[rym=107,ry=107] b7s:rot_y 107 +scoreboard players set @s[rym=108,ry=108] b7s:rot_y 108 +scoreboard players set @s[rym=109,ry=109] b7s:rot_y 109 +scoreboard players set @s[rym=110,ry=110] b7s:rot_y 110 +scoreboard players set @s[rym=111,ry=111] b7s:rot_y 111 +scoreboard players set @s[rym=112,ry=112] b7s:rot_y 112 +scoreboard players set @s[rym=113,ry=113] b7s:rot_y 113 +scoreboard players set @s[rym=114,ry=114] b7s:rot_y 114 +scoreboard players set @s[rym=115,ry=115] b7s:rot_y 115 +scoreboard players set @s[rym=116,ry=116] b7s:rot_y 116 +scoreboard players set @s[rym=117,ry=117] b7s:rot_y 117 +scoreboard players set @s[rym=118,ry=118] b7s:rot_y 118 +scoreboard players set @s[rym=119,ry=119] b7s:rot_y 119 +scoreboard players set @s[rym=120,ry=120] b7s:rot_y 120 +scoreboard players set @s[rym=121,ry=121] b7s:rot_y 121 +scoreboard players set @s[rym=122,ry=122] b7s:rot_y 122 +scoreboard players set @s[rym=123,ry=123] b7s:rot_y 123 +scoreboard players set @s[rym=124,ry=124] b7s:rot_y 124 +scoreboard players set @s[rym=125,ry=125] b7s:rot_y 125 +scoreboard players set @s[rym=126,ry=126] b7s:rot_y 126 +scoreboard players set @s[rym=127,ry=127] b7s:rot_y 127 +scoreboard players set @s[rym=128,ry=128] b7s:rot_y 128 +scoreboard players set @s[rym=129,ry=129] b7s:rot_y 129 +scoreboard players set @s[rym=130,ry=130] b7s:rot_y 130 +scoreboard players set @s[rym=131,ry=131] b7s:rot_y 131 +scoreboard players set @s[rym=132,ry=132] b7s:rot_y 132 +scoreboard players set @s[rym=133,ry=133] b7s:rot_y 133 +scoreboard players set @s[rym=134,ry=134] b7s:rot_y 134 +scoreboard players set @s[rym=135,ry=135] b7s:rot_y 135 +scoreboard players set @s[rym=136,ry=136] b7s:rot_y 136 +scoreboard players set @s[rym=137,ry=137] b7s:rot_y 137 +scoreboard players set @s[rym=138,ry=138] b7s:rot_y 138 +scoreboard players set @s[rym=139,ry=139] b7s:rot_y 139 +scoreboard players set @s[rym=140,ry=140] b7s:rot_y 140 +scoreboard players set @s[rym=141,ry=141] b7s:rot_y 141 +scoreboard players set @s[rym=142,ry=142] b7s:rot_y 142 +scoreboard players set @s[rym=143,ry=143] b7s:rot_y 143 +scoreboard players set @s[rym=144,ry=144] b7s:rot_y 144 +scoreboard players set @s[rym=145,ry=145] b7s:rot_y 145 +scoreboard players set @s[rym=146,ry=146] b7s:rot_y 146 +scoreboard players set @s[rym=147,ry=147] b7s:rot_y 147 +scoreboard players set @s[rym=148,ry=148] b7s:rot_y 148 +scoreboard players set @s[rym=149,ry=149] b7s:rot_y 149 +scoreboard players set @s[rym=150,ry=150] b7s:rot_y 150 +scoreboard players set @s[rym=151,ry=151] b7s:rot_y 151 +scoreboard players set @s[rym=152,ry=152] b7s:rot_y 152 +scoreboard players set @s[rym=153,ry=153] b7s:rot_y 153 +scoreboard players set @s[rym=154,ry=154] b7s:rot_y 154 +scoreboard players set @s[rym=155,ry=155] b7s:rot_y 155 +scoreboard players set @s[rym=156,ry=156] b7s:rot_y 156 +scoreboard players set @s[rym=157,ry=157] b7s:rot_y 157 +scoreboard players set @s[rym=158,ry=158] b7s:rot_y 158 +scoreboard players set @s[rym=159,ry=159] b7s:rot_y 159 +scoreboard players set @s[rym=160,ry=160] b7s:rot_y 160 +scoreboard players set @s[rym=161,ry=161] b7s:rot_y 161 +scoreboard players set @s[rym=162,ry=162] b7s:rot_y 162 +scoreboard players set @s[rym=163,ry=163] b7s:rot_y 163 +scoreboard players set @s[rym=164,ry=164] b7s:rot_y 164 +scoreboard players set @s[rym=165,ry=165] b7s:rot_y 165 +scoreboard players set @s[rym=166,ry=166] b7s:rot_y 166 +scoreboard players set @s[rym=167,ry=167] b7s:rot_y 167 +scoreboard players set @s[rym=168,ry=168] b7s:rot_y 168 +scoreboard players set @s[rym=169,ry=169] b7s:rot_y 169 +scoreboard players set @s[rym=170,ry=170] b7s:rot_y 170 +scoreboard players set @s[rym=171,ry=171] b7s:rot_y 171 +scoreboard players set @s[rym=172,ry=172] b7s:rot_y 172 +scoreboard players set @s[rym=173,ry=173] b7s:rot_y 173 +scoreboard players set @s[rym=174,ry=174] b7s:rot_y 174 +scoreboard players set @s[rym=175,ry=175] b7s:rot_y 175 +scoreboard players set @s[rym=176,ry=176] b7s:rot_y 176 +scoreboard players set @s[rym=177,ry=177] b7s:rot_y 177 +scoreboard players set @s[rym=178,ry=178] b7s:rot_y 178 +scoreboard players set @s[rym=179,ry=179] b7s:rot_y 179 diff --git a/functions/b7s/entity/get_rot.py b/functions/b7s/entity/get_rot.py new file mode 100644 index 0000000..26c4221 --- /dev/null +++ b/functions/b7s/entity/get_rot.py @@ -0,0 +1,16 @@ +print('# Gets the rotation of a player or entity.') +print('#') +print('# Scores set:') +print('# b7s:rot_x — the x rotation of the entity') +print('# b7s:rot_y — the y rotation of the entity') +print('#') +print('# Usage:') +print('# /execute ~ ~ ~ function b7s:entity/get_rot') + +print() +for i in range(-90, 91): + print('scoreboard players set @s[rxm={0},rx={0}] b7s:rot_x {0}'.format(i)) + +print() +for i in range(-180, 180): + print('scoreboard players set @s[rym={0},ry={0}] b7s:rot_y {0}'.format(i)) diff --git a/functions/b7s/entity/home/get_dim.mcfunction b/functions/b7s/entity/home/get_dim.mcfunction new file mode 100644 index 0000000..23dd898 --- /dev/null +++ b/functions/b7s/entity/home/get_dim.mcfunction @@ -0,0 +1,7 @@ +scoreboard players tag @s remove b7s:dim_nether +scoreboard players tag @s remove b7s:dim_overworld +scoreboard players tag @s remove b7s:dim_end + +scoreboard players tag @s[tag=b7s:home_dim_nether] add b7s:dim_nether +scoreboard players tag @s[tag=b7s:home_dim_overworld] add b7s:home_dim_overworld +scoreboard players tag @s[tag=b7s:home_dim_end] add b7s:dim_end diff --git a/functions/b7s/entity/home/get_loc.mcfunction b/functions/b7s/entity/home/get_loc.mcfunction new file mode 100644 index 0000000..0419cfe --- /dev/null +++ b/functions/b7s/entity/home/get_loc.mcfunction @@ -0,0 +1,3 @@ +function b7s:entity/home/get_dim +function b7s:entity/home/get_pos +function b7s:entity/home/get_rot diff --git a/functions/b7s/entity/home/get_pos.mcfunction b/functions/b7s/entity/home/get_pos.mcfunction new file mode 100644 index 0000000..d0bc0e4 --- /dev/null +++ b/functions/b7s/entity/home/get_pos.mcfunction @@ -0,0 +1,135 @@ +scoreboard players tag @s remove b7s:x_25 +scoreboard players tag @s remove b7s:x_24 +scoreboard players tag @s remove b7s:x_23 +scoreboard players tag @s remove b7s:x_22 +scoreboard players tag @s remove b7s:x_21 +scoreboard players tag @s remove b7s:x_20 +scoreboard players tag @s remove b7s:x_19 +scoreboard players tag @s remove b7s:x_18 +scoreboard players tag @s remove b7s:x_17 +scoreboard players tag @s remove b7s:x_16 +scoreboard players tag @s remove b7s:x_15 +scoreboard players tag @s remove b7s:x_14 +scoreboard players tag @s remove b7s:x_13 +scoreboard players tag @s remove b7s:x_12 +scoreboard players tag @s remove b7s:x_11 +scoreboard players tag @s remove b7s:x_10 +scoreboard players tag @s remove b7s:x_9 +scoreboard players tag @s remove b7s:x_8 +scoreboard players tag @s remove b7s:x_7 +scoreboard players tag @s remove b7s:x_6 +scoreboard players tag @s remove b7s:x_5 +scoreboard players tag @s remove b7s:x_4 +scoreboard players tag @s remove b7s:x_3 +scoreboard players tag @s remove b7s:x_2 +scoreboard players tag @s remove b7s:x_1 +scoreboard players tag @s remove b7s:x_0 + +scoreboard players tag @s remove b7s:y_12 +scoreboard players tag @s remove b7s:y_11 +scoreboard players tag @s remove b7s:y_10 +scoreboard players tag @s remove b7s:y_9 +scoreboard players tag @s remove b7s:y_8 +scoreboard players tag @s remove b7s:y_7 +scoreboard players tag @s remove b7s:y_6 +scoreboard players tag @s remove b7s:y_5 +scoreboard players tag @s remove b7s:y_4 +scoreboard players tag @s remove b7s:y_3 +scoreboard players tag @s remove b7s:y_2 +scoreboard players tag @s remove b7s:y_1 +scoreboard players tag @s remove b7s:y_0 + +scoreboard players tag @s remove b7s:z_25 +scoreboard players tag @s remove b7s:z_24 +scoreboard players tag @s remove b7s:z_23 +scoreboard players tag @s remove b7s:z_22 +scoreboard players tag @s remove b7s:z_21 +scoreboard players tag @s remove b7s:z_20 +scoreboard players tag @s remove b7s:z_19 +scoreboard players tag @s remove b7s:z_18 +scoreboard players tag @s remove b7s:z_17 +scoreboard players tag @s remove b7s:z_16 +scoreboard players tag @s remove b7s:z_15 +scoreboard players tag @s remove b7s:z_14 +scoreboard players tag @s remove b7s:z_13 +scoreboard players tag @s remove b7s:z_12 +scoreboard players tag @s remove b7s:z_11 +scoreboard players tag @s remove b7s:z_10 +scoreboard players tag @s remove b7s:z_9 +scoreboard players tag @s remove b7s:z_8 +scoreboard players tag @s remove b7s:z_7 +scoreboard players tag @s remove b7s:z_6 +scoreboard players tag @s remove b7s:z_5 +scoreboard players tag @s remove b7s:z_4 +scoreboard players tag @s remove b7s:z_3 +scoreboard players tag @s remove b7s:z_2 +scoreboard players tag @s remove b7s:z_1 +scoreboard players tag @s remove b7s:z_0 + +scoreboard players tag @s[tag=b7s:home_x_25] add b7s:x_25 +scoreboard players tag @s[tag=b7s:home_x_24] add b7s:x_24 +scoreboard players tag @s[tag=b7s:home_x_23] add b7s:x_23 +scoreboard players tag @s[tag=b7s:home_x_22] add b7s:x_22 +scoreboard players tag @s[tag=b7s:home_x_21] add b7s:x_21 +scoreboard players tag @s[tag=b7s:home_x_20] add b7s:x_20 +scoreboard players tag @s[tag=b7s:home_x_19] add b7s:x_19 +scoreboard players tag @s[tag=b7s:home_x_18] add b7s:x_18 +scoreboard players tag @s[tag=b7s:home_x_17] add b7s:x_17 +scoreboard players tag @s[tag=b7s:home_x_16] add b7s:x_16 +scoreboard players tag @s[tag=b7s:home_x_15] add b7s:x_15 +scoreboard players tag @s[tag=b7s:home_x_14] add b7s:x_14 +scoreboard players tag @s[tag=b7s:home_x_13] add b7s:x_13 +scoreboard players tag @s[tag=b7s:home_x_12] add b7s:x_12 +scoreboard players tag @s[tag=b7s:home_x_11] add b7s:x_11 +scoreboard players tag @s[tag=b7s:home_x_10] add b7s:x_10 +scoreboard players tag @s[tag=b7s:home_x_9] add b7s:x_9 +scoreboard players tag @s[tag=b7s:home_x_8] add b7s:x_8 +scoreboard players tag @s[tag=b7s:home_x_7] add b7s:x_7 +scoreboard players tag @s[tag=b7s:home_x_6] add b7s:x_6 +scoreboard players tag @s[tag=b7s:home_x_5] add b7s:x_5 +scoreboard players tag @s[tag=b7s:home_x_4] add b7s:x_4 +scoreboard players tag @s[tag=b7s:home_x_3] add b7s:x_3 +scoreboard players tag @s[tag=b7s:home_x_2] add b7s:x_2 +scoreboard players tag @s[tag=b7s:home_x_1] add b7s:x_1 +scoreboard players tag @s[tag=b7s:home_x_0] add b7s:x_0 + +scoreboard players tag @s[tag=b7s:home_y_12] add b7s:y_12 +scoreboard players tag @s[tag=b7s:home_y_11] add b7s:y_11 +scoreboard players tag @s[tag=b7s:home_y_10] add b7s:y_10 +scoreboard players tag @s[tag=b7s:home_y_9] add b7s:y_9 +scoreboard players tag @s[tag=b7s:home_y_8] add b7s:y_8 +scoreboard players tag @s[tag=b7s:home_y_7] add b7s:y_7 +scoreboard players tag @s[tag=b7s:home_y_6] add b7s:y_6 +scoreboard players tag @s[tag=b7s:home_y_5] add b7s:y_5 +scoreboard players tag @s[tag=b7s:home_y_4] add b7s:y_4 +scoreboard players tag @s[tag=b7s:home_y_3] add b7s:y_3 +scoreboard players tag @s[tag=b7s:home_y_2] add b7s:y_2 +scoreboard players tag @s[tag=b7s:home_y_1] add b7s:y_1 +scoreboard players tag @s[tag=b7s:home_y_0] add b7s:y_0 + +scoreboard players tag @s[tag=b7s:home_z_25] add b7s:z_25 +scoreboard players tag @s[tag=b7s:home_z_24] add b7s:z_24 +scoreboard players tag @s[tag=b7s:home_z_23] add b7s:z_23 +scoreboard players tag @s[tag=b7s:home_z_22] add b7s:z_22 +scoreboard players tag @s[tag=b7s:home_z_21] add b7s:z_21 +scoreboard players tag @s[tag=b7s:home_z_20] add b7s:z_20 +scoreboard players tag @s[tag=b7s:home_z_19] add b7s:z_19 +scoreboard players tag @s[tag=b7s:home_z_18] add b7s:z_18 +scoreboard players tag @s[tag=b7s:home_z_17] add b7s:z_17 +scoreboard players tag @s[tag=b7s:home_z_16] add b7s:z_16 +scoreboard players tag @s[tag=b7s:home_z_15] add b7s:z_15 +scoreboard players tag @s[tag=b7s:home_z_14] add b7s:z_14 +scoreboard players tag @s[tag=b7s:home_z_13] add b7s:z_13 +scoreboard players tag @s[tag=b7s:home_z_12] add b7s:z_12 +scoreboard players tag @s[tag=b7s:home_z_11] add b7s:z_11 +scoreboard players tag @s[tag=b7s:home_z_10] add b7s:z_10 +scoreboard players tag @s[tag=b7s:home_z_9] add b7s:z_9 +scoreboard players tag @s[tag=b7s:home_z_8] add b7s:z_8 +scoreboard players tag @s[tag=b7s:home_z_7] add b7s:z_7 +scoreboard players tag @s[tag=b7s:home_z_6] add b7s:z_6 +scoreboard players tag @s[tag=b7s:home_z_5] add b7s:z_5 +scoreboard players tag @s[tag=b7s:home_z_4] add b7s:z_4 +scoreboard players tag @s[tag=b7s:home_z_3] add b7s:z_3 +scoreboard players tag @s[tag=b7s:home_z_2] add b7s:z_2 +scoreboard players tag @s[tag=b7s:home_z_1] add b7s:z_1 +scoreboard players tag @s[tag=b7s:home_z_0] add b7s:z_0 diff --git a/functions/b7s/entity/home/get_pos.py b/functions/b7s/entity/home/get_pos.py new file mode 100644 index 0000000..7f7bac1 --- /dev/null +++ b/functions/b7s/entity/home/get_pos.py @@ -0,0 +1,22 @@ +for exponent in range(25, -1, -1): + print('scoreboard players tag @s remove b7s:x_{}'.format(exponent)) + +print() +for exponent in range(12, -1, -1): + print('scoreboard players tag @s remove b7s:y_{}'.format(exponent)) + +print() +for exponent in range(25, -1, -1): + print('scoreboard players tag @s remove b7s:z_{}'.format(exponent)) + +print() +for exponent in range(25, -1, -1): + print('scoreboard players tag @s[tag=b7s:home_x_{0}] add b7s:x_{0}'.format(exponent)) + +print() +for exponent in range(12, -1, -1): + print('scoreboard players tag @s[tag=b7s:home_y_{0}] add b7s:y_{0}'.format(exponent)) + +print() +for exponent in range(25, -1, -1): + print('scoreboard players tag @s[tag=b7s:home_z_{0}] add b7s:z_{0}'.format(exponent)) diff --git a/functions/b7s/entity/home/get_rot.mcfunction b/functions/b7s/entity/home/get_rot.mcfunction new file mode 100644 index 0000000..e188b1e --- /dev/null +++ b/functions/b7s/entity/home/get_rot.mcfunction @@ -0,0 +1,37 @@ +scoreboard players tag @s remove b7s:rot_x_7 +scoreboard players tag @s remove b7s:rot_x_6 +scoreboard players tag @s remove b7s:rot_x_5 +scoreboard players tag @s remove b7s:rot_x_4 +scoreboard players tag @s remove b7s:rot_x_3 +scoreboard players tag @s remove b7s:rot_x_2 +scoreboard players tag @s remove b7s:rot_x_1 +scoreboard players tag @s remove b7s:rot_x_0 + +scoreboard players tag @s remove b7s:rot_y_8 +scoreboard players tag @s remove b7s:rot_y_7 +scoreboard players tag @s remove b7s:rot_y_6 +scoreboard players tag @s remove b7s:rot_y_5 +scoreboard players tag @s remove b7s:rot_y_4 +scoreboard players tag @s remove b7s:rot_y_3 +scoreboard players tag @s remove b7s:rot_y_2 +scoreboard players tag @s remove b7s:rot_y_1 +scoreboard players tag @s remove b7s:rot_y_0 + +scoreboard players tag @s[tag=b7s:home_rot_x_7] add b7s:rot_x_7 +scoreboard players tag @s[tag=b7s:home_rot_x_6] add b7s:rot_x_6 +scoreboard players tag @s[tag=b7s:home_rot_x_5] add b7s:rot_x_5 +scoreboard players tag @s[tag=b7s:home_rot_x_4] add b7s:rot_x_4 +scoreboard players tag @s[tag=b7s:home_rot_x_3] add b7s:rot_x_3 +scoreboard players tag @s[tag=b7s:home_rot_x_2] add b7s:rot_x_2 +scoreboard players tag @s[tag=b7s:home_rot_x_1] add b7s:rot_x_1 +scoreboard players tag @s[tag=b7s:home_rot_x_0] add b7s:rot_x_0 + +scoreboard players tag @s[tag=b7s:home_rot_y_8] add b7s:rot_y_8 +scoreboard players tag @s[tag=b7s:home_rot_y_7] add b7s:rot_y_7 +scoreboard players tag @s[tag=b7s:home_rot_y_6] add b7s:rot_y_6 +scoreboard players tag @s[tag=b7s:home_rot_y_5] add b7s:rot_y_5 +scoreboard players tag @s[tag=b7s:home_rot_y_4] add b7s:rot_y_4 +scoreboard players tag @s[tag=b7s:home_rot_y_3] add b7s:rot_y_3 +scoreboard players tag @s[tag=b7s:home_rot_y_2] add b7s:rot_y_2 +scoreboard players tag @s[tag=b7s:home_rot_y_1] add b7s:rot_y_1 +scoreboard players tag @s[tag=b7s:home_rot_y_0] add b7s:rot_y_0 diff --git a/functions/b7s/entity/home/get_rot.py b/functions/b7s/entity/home/get_rot.py new file mode 100644 index 0000000..5b7640f --- /dev/null +++ b/functions/b7s/entity/home/get_rot.py @@ -0,0 +1,14 @@ +for exponent in range(7, -1, -1): + print('scoreboard players tag @s remove b7s:rot_x_{}'.format(exponent)) + +print() +for exponent in range(8, -1, -1): + print('scoreboard players tag @s remove b7s:rot_y_{}'.format(exponent)) + +print() +for exponent in range(7, -1, -1): + print('scoreboard players tag @s[tag=b7s:home_rot_x_{0}] add b7s:rot_x_{0}'.format(exponent)) + +print() +for exponent in range(8, -1, -1): + print('scoreboard players tag @s[tag=b7s:home_rot_y_{0}] add b7s:rot_y_{0}'.format(exponent)) diff --git a/functions/b7s/entity/home/set_dim.mcfunction b/functions/b7s/entity/home/set_dim.mcfunction new file mode 100644 index 0000000..787d0f2 --- /dev/null +++ b/functions/b7s/entity/home/set_dim.mcfunction @@ -0,0 +1,7 @@ +scoreboard players tag @s remove b7s:home_dim_nether +scoreboard players tag @s remove b7s:home_dim_overworld +scoreboard players tag @s remove b7s:home_dim_end + +scoreboard players tag @s[tag=b7s:dim_nether] add b7s:home_dim_nether +scoreboard players tag @s[tag=b7s:dim_overworld] add b7s:home_dim_overworld +scoreboard players tag @s[tag=b7s:dim_end] add b7s:home_dim_end diff --git a/functions/b7s/entity/home/set_loc.mcfunction b/functions/b7s/entity/home/set_loc.mcfunction new file mode 100644 index 0000000..6e6e129 --- /dev/null +++ b/functions/b7s/entity/home/set_loc.mcfunction @@ -0,0 +1,4 @@ +function b7s:entity/home/set_dim +function b7s:entity/home/set_pos +function b7s:entity/home/set_rot +scoreboard players tag @s add b7s:home_set diff --git a/functions/b7s/entity/home/set_pos.mcfunction b/functions/b7s/entity/home/set_pos.mcfunction new file mode 100644 index 0000000..cd54e61 --- /dev/null +++ b/functions/b7s/entity/home/set_pos.mcfunction @@ -0,0 +1,135 @@ +scoreboard players tag @s remove b7s:home_x_25 +scoreboard players tag @s remove b7s:home_x_24 +scoreboard players tag @s remove b7s:home_x_23 +scoreboard players tag @s remove b7s:home_x_22 +scoreboard players tag @s remove b7s:home_x_21 +scoreboard players tag @s remove b7s:home_x_20 +scoreboard players tag @s remove b7s:home_x_19 +scoreboard players tag @s remove b7s:home_x_18 +scoreboard players tag @s remove b7s:home_x_17 +scoreboard players tag @s remove b7s:home_x_16 +scoreboard players tag @s remove b7s:home_x_15 +scoreboard players tag @s remove b7s:home_x_14 +scoreboard players tag @s remove b7s:home_x_13 +scoreboard players tag @s remove b7s:home_x_12 +scoreboard players tag @s remove b7s:home_x_11 +scoreboard players tag @s remove b7s:home_x_10 +scoreboard players tag @s remove b7s:home_x_9 +scoreboard players tag @s remove b7s:home_x_8 +scoreboard players tag @s remove b7s:home_x_7 +scoreboard players tag @s remove b7s:home_x_6 +scoreboard players tag @s remove b7s:home_x_5 +scoreboard players tag @s remove b7s:home_x_4 +scoreboard players tag @s remove b7s:home_x_3 +scoreboard players tag @s remove b7s:home_x_2 +scoreboard players tag @s remove b7s:home_x_1 +scoreboard players tag @s remove b7s:home_x_0 + +scoreboard players tag @s remove b7s:home_y_12 +scoreboard players tag @s remove b7s:home_y_11 +scoreboard players tag @s remove b7s:home_y_10 +scoreboard players tag @s remove b7s:home_y_9 +scoreboard players tag @s remove b7s:home_y_8 +scoreboard players tag @s remove b7s:home_y_7 +scoreboard players tag @s remove b7s:home_y_6 +scoreboard players tag @s remove b7s:home_y_5 +scoreboard players tag @s remove b7s:home_y_4 +scoreboard players tag @s remove b7s:home_y_3 +scoreboard players tag @s remove b7s:home_y_2 +scoreboard players tag @s remove b7s:home_y_1 +scoreboard players tag @s remove b7s:home_y_0 + +scoreboard players tag @s remove b7s:home_z_25 +scoreboard players tag @s remove b7s:home_z_24 +scoreboard players tag @s remove b7s:home_z_23 +scoreboard players tag @s remove b7s:home_z_22 +scoreboard players tag @s remove b7s:home_z_21 +scoreboard players tag @s remove b7s:home_z_20 +scoreboard players tag @s remove b7s:home_z_19 +scoreboard players tag @s remove b7s:home_z_18 +scoreboard players tag @s remove b7s:home_z_17 +scoreboard players tag @s remove b7s:home_z_16 +scoreboard players tag @s remove b7s:home_z_15 +scoreboard players tag @s remove b7s:home_z_14 +scoreboard players tag @s remove b7s:home_z_13 +scoreboard players tag @s remove b7s:home_z_12 +scoreboard players tag @s remove b7s:home_z_11 +scoreboard players tag @s remove b7s:home_z_10 +scoreboard players tag @s remove b7s:home_z_9 +scoreboard players tag @s remove b7s:home_z_8 +scoreboard players tag @s remove b7s:home_z_7 +scoreboard players tag @s remove b7s:home_z_6 +scoreboard players tag @s remove b7s:home_z_5 +scoreboard players tag @s remove b7s:home_z_4 +scoreboard players tag @s remove b7s:home_z_3 +scoreboard players tag @s remove b7s:home_z_2 +scoreboard players tag @s remove b7s:home_z_1 +scoreboard players tag @s remove b7s:home_z_0 + +scoreboard players tag @s[tag=b7s:x_25] add b7s:home_x_25 +scoreboard players tag @s[tag=b7s:x_24] add b7s:home_x_24 +scoreboard players tag @s[tag=b7s:x_23] add b7s:home_x_23 +scoreboard players tag @s[tag=b7s:x_22] add b7s:home_x_22 +scoreboard players tag @s[tag=b7s:x_21] add b7s:home_x_21 +scoreboard players tag @s[tag=b7s:x_20] add b7s:home_x_20 +scoreboard players tag @s[tag=b7s:x_19] add b7s:home_x_19 +scoreboard players tag @s[tag=b7s:x_18] add b7s:home_x_18 +scoreboard players tag @s[tag=b7s:x_17] add b7s:home_x_17 +scoreboard players tag @s[tag=b7s:x_16] add b7s:home_x_16 +scoreboard players tag @s[tag=b7s:x_15] add b7s:home_x_15 +scoreboard players tag @s[tag=b7s:x_14] add b7s:home_x_14 +scoreboard players tag @s[tag=b7s:x_13] add b7s:home_x_13 +scoreboard players tag @s[tag=b7s:x_12] add b7s:home_x_12 +scoreboard players tag @s[tag=b7s:x_11] add b7s:home_x_11 +scoreboard players tag @s[tag=b7s:x_10] add b7s:home_x_10 +scoreboard players tag @s[tag=b7s:x_9] add b7s:home_x_9 +scoreboard players tag @s[tag=b7s:x_8] add b7s:home_x_8 +scoreboard players tag @s[tag=b7s:x_7] add b7s:home_x_7 +scoreboard players tag @s[tag=b7s:x_6] add b7s:home_x_6 +scoreboard players tag @s[tag=b7s:x_5] add b7s:home_x_5 +scoreboard players tag @s[tag=b7s:x_4] add b7s:home_x_4 +scoreboard players tag @s[tag=b7s:x_3] add b7s:home_x_3 +scoreboard players tag @s[tag=b7s:x_2] add b7s:home_x_2 +scoreboard players tag @s[tag=b7s:x_1] add b7s:home_x_1 +scoreboard players tag @s[tag=b7s:x_0] add b7s:home_x_0 + +scoreboard players tag @s[tag=b7s:y_12] add b7s:home_y_12 +scoreboard players tag @s[tag=b7s:y_11] add b7s:home_y_11 +scoreboard players tag @s[tag=b7s:y_10] add b7s:home_y_10 +scoreboard players tag @s[tag=b7s:y_9] add b7s:home_y_9 +scoreboard players tag @s[tag=b7s:y_8] add b7s:home_y_8 +scoreboard players tag @s[tag=b7s:y_7] add b7s:home_y_7 +scoreboard players tag @s[tag=b7s:y_6] add b7s:home_y_6 +scoreboard players tag @s[tag=b7s:y_5] add b7s:home_y_5 +scoreboard players tag @s[tag=b7s:y_4] add b7s:home_y_4 +scoreboard players tag @s[tag=b7s:y_3] add b7s:home_y_3 +scoreboard players tag @s[tag=b7s:y_2] add b7s:home_y_2 +scoreboard players tag @s[tag=b7s:y_1] add b7s:home_y_1 +scoreboard players tag @s[tag=b7s:y_0] add b7s:home_y_0 + +scoreboard players tag @s[tag=b7s:z_25] add b7s:home_z_25 +scoreboard players tag @s[tag=b7s:z_24] add b7s:home_z_24 +scoreboard players tag @s[tag=b7s:z_23] add b7s:home_z_23 +scoreboard players tag @s[tag=b7s:z_22] add b7s:home_z_22 +scoreboard players tag @s[tag=b7s:z_21] add b7s:home_z_21 +scoreboard players tag @s[tag=b7s:z_20] add b7s:home_z_20 +scoreboard players tag @s[tag=b7s:z_19] add b7s:home_z_19 +scoreboard players tag @s[tag=b7s:z_18] add b7s:home_z_18 +scoreboard players tag @s[tag=b7s:z_17] add b7s:home_z_17 +scoreboard players tag @s[tag=b7s:z_16] add b7s:home_z_16 +scoreboard players tag @s[tag=b7s:z_15] add b7s:home_z_15 +scoreboard players tag @s[tag=b7s:z_14] add b7s:home_z_14 +scoreboard players tag @s[tag=b7s:z_13] add b7s:home_z_13 +scoreboard players tag @s[tag=b7s:z_12] add b7s:home_z_12 +scoreboard players tag @s[tag=b7s:z_11] add b7s:home_z_11 +scoreboard players tag @s[tag=b7s:z_10] add b7s:home_z_10 +scoreboard players tag @s[tag=b7s:z_9] add b7s:home_z_9 +scoreboard players tag @s[tag=b7s:z_8] add b7s:home_z_8 +scoreboard players tag @s[tag=b7s:z_7] add b7s:home_z_7 +scoreboard players tag @s[tag=b7s:z_6] add b7s:home_z_6 +scoreboard players tag @s[tag=b7s:z_5] add b7s:home_z_5 +scoreboard players tag @s[tag=b7s:z_4] add b7s:home_z_4 +scoreboard players tag @s[tag=b7s:z_3] add b7s:home_z_3 +scoreboard players tag @s[tag=b7s:z_2] add b7s:home_z_2 +scoreboard players tag @s[tag=b7s:z_1] add b7s:home_z_1 +scoreboard players tag @s[tag=b7s:z_0] add b7s:home_z_0 diff --git a/functions/b7s/entity/home/set_pos.py b/functions/b7s/entity/home/set_pos.py new file mode 100644 index 0000000..0a8cb8e --- /dev/null +++ b/functions/b7s/entity/home/set_pos.py @@ -0,0 +1,22 @@ +for exponent in range(25, -1, -1): + print('scoreboard players tag @s remove b7s:home_x_{}'.format(exponent)) + +print() +for exponent in range(12, -1, -1): + print('scoreboard players tag @s remove b7s:home_y_{}'.format(exponent)) + +print() +for exponent in range(25, -1, -1): + print('scoreboard players tag @s remove b7s:home_z_{}'.format(exponent)) + +print() +for exponent in range(25, -1, -1): + print('scoreboard players tag @s[tag=b7s:x_{0}] add b7s:home_x_{0}'.format(exponent)) + +print() +for exponent in range(12, -1, -1): + print('scoreboard players tag @s[tag=b7s:y_{0}] add b7s:home_y_{0}'.format(exponent)) + +print() +for exponent in range(25, -1, -1): + print('scoreboard players tag @s[tag=b7s:z_{0}] add b7s:home_z_{0}'.format(exponent)) diff --git a/functions/b7s/entity/home/set_rot.mcfunction b/functions/b7s/entity/home/set_rot.mcfunction new file mode 100644 index 0000000..5fd7c15 --- /dev/null +++ b/functions/b7s/entity/home/set_rot.mcfunction @@ -0,0 +1,37 @@ +scoreboard players tag @s remove b7s:home_rot_x_7 +scoreboard players tag @s remove b7s:home_rot_x_6 +scoreboard players tag @s remove b7s:home_rot_x_5 +scoreboard players tag @s remove b7s:home_rot_x_4 +scoreboard players tag @s remove b7s:home_rot_x_3 +scoreboard players tag @s remove b7s:home_rot_x_2 +scoreboard players tag @s remove b7s:home_rot_x_1 +scoreboard players tag @s remove b7s:home_rot_x_0 + +scoreboard players tag @s remove b7s:home_rot_y_8 +scoreboard players tag @s remove b7s:home_rot_y_7 +scoreboard players tag @s remove b7s:home_rot_y_6 +scoreboard players tag @s remove b7s:home_rot_y_5 +scoreboard players tag @s remove b7s:home_rot_y_4 +scoreboard players tag @s remove b7s:home_rot_y_3 +scoreboard players tag @s remove b7s:home_rot_y_2 +scoreboard players tag @s remove b7s:home_rot_y_1 +scoreboard players tag @s remove b7s:home_rot_y_0 + +scoreboard players tag @s[tag=b7s:rot_x_7] add b7s:home_rot_x_7 +scoreboard players tag @s[tag=b7s:rot_x_6] add b7s:home_rot_x_6 +scoreboard players tag @s[tag=b7s:rot_x_5] add b7s:home_rot_x_5 +scoreboard players tag @s[tag=b7s:rot_x_4] add b7s:home_rot_x_4 +scoreboard players tag @s[tag=b7s:rot_x_3] add b7s:home_rot_x_3 +scoreboard players tag @s[tag=b7s:rot_x_2] add b7s:home_rot_x_2 +scoreboard players tag @s[tag=b7s:rot_x_1] add b7s:home_rot_x_1 +scoreboard players tag @s[tag=b7s:rot_x_0] add b7s:home_rot_x_0 + +scoreboard players tag @s[tag=b7s:rot_y_8] add b7s:home_rot_y_8 +scoreboard players tag @s[tag=b7s:rot_y_7] add b7s:home_rot_y_7 +scoreboard players tag @s[tag=b7s:rot_y_6] add b7s:home_rot_y_6 +scoreboard players tag @s[tag=b7s:rot_y_5] add b7s:home_rot_y_5 +scoreboard players tag @s[tag=b7s:rot_y_4] add b7s:home_rot_y_4 +scoreboard players tag @s[tag=b7s:rot_y_3] add b7s:home_rot_y_3 +scoreboard players tag @s[tag=b7s:rot_y_2] add b7s:home_rot_y_2 +scoreboard players tag @s[tag=b7s:rot_y_1] add b7s:home_rot_y_1 +scoreboard players tag @s[tag=b7s:rot_y_0] add b7s:home_rot_y_0 diff --git a/functions/b7s/entity/home/set_rot.py b/functions/b7s/entity/home/set_rot.py new file mode 100644 index 0000000..fb4903e --- /dev/null +++ b/functions/b7s/entity/home/set_rot.py @@ -0,0 +1,14 @@ +for exponent in range(7, -1, -1): + print('scoreboard players tag @s remove b7s:home_rot_x_{}'.format(exponent)) + +print() +for exponent in range(8, -1, -1): + print('scoreboard players tag @s remove b7s:home_rot_y_{}'.format(exponent)) + +print() +for exponent in range(7, -1, -1): + print('scoreboard players tag @s[tag=b7s:rot_x_{0}] add b7s:home_rot_x_{0}'.format(exponent)) + +print() +for exponent in range(8, -1, -1): + print('scoreboard players tag @s[tag=b7s:rot_y_{0}] add b7s:home_rot_y_{0}'.format(exponent)) diff --git a/functions/b7s/entity/player/check_armor.mcfunction b/functions/b7s/entity/player/check_armor.mcfunction new file mode 100644 index 0000000..58787d9 --- /dev/null +++ b/functions/b7s/entity/player/check_armor.mcfunction @@ -0,0 +1,29 @@ +# Checks whether a player does or doesn't wear pieces of armor. +# +# Tags set: +# b7s:wears_boots — if the player wears boots +# b7s:wears_leggings — if the player wears leggings +# b7s:wears_chestplate — if the player wears a chestplate +# b7s:wears_helmet — if the player wears a helmet +# b7s:wears_armor — if the player wears any of the above +# b7s:wears_all_armor — if the player wears all of the above +# +# Usage: +# /execute ~ ~ ~ function b7s:entity/player/check_armor + +scoreboard players tag @s remove b7s:wears_boots +scoreboard players tag @s remove b7s:wears_leggings +scoreboard players tag @s remove b7s:wears_chestplate +scoreboard players tag @s remove b7s:wears_helmet +scoreboard players tag @s remove b7s:wears_armor +scoreboard players tag @s remove b7s:wears_all_armor + +scoreboard players tag @s add b7s:wears_boots {Inventory:[{Slot:100b}]} +scoreboard players tag @s[tag=b7s:wears_boots] add b7s:wears_armor +scoreboard players tag @s add b7s:wears_leggings {Inventory:[{Slot:101b}]} +scoreboard players tag @s[tag=b7s:wears_leggings] add b7s:wears_armor +scoreboard players tag @s add b7s:wears_chestplate {Inventory:[{Slot:102b}]} +scoreboard players tag @s[tag=b7s:wears_chestplate] add b7s:wears_armor +scoreboard players tag @s add b7s:wears_helmet {Inventory:[{Slot:103b}]} +scoreboard players tag @s[tag=b7s:wears_helmet] add b7s:wears_armor +execute @e[tag=b7s:wears_boots] ~ ~ ~ execute @e[tag=b7s:wears_leggings] ~ ~ ~ execute @e[tag=b7s:wears_chestplate] ~ ~ ~ scoreboard players tag @s[tag=b7s:wears_helmet] add b7s:wears_all_armor diff --git a/functions/b7s/entity/player/update.mcfunction b/functions/b7s/entity/player/update.mcfunction new file mode 100644 index 0000000..e5bba18 --- /dev/null +++ b/functions/b7s/entity/player/update.mcfunction @@ -0,0 +1,40 @@ +# This function is designed to be called automatically by players once every second, using custom advancements provided +# by BareBones. Avoid calling this function by your own. + +function b7sp:entity/player/pre_update + +scoreboard players reset @s[score_b7s:_left_min=1] b7s:req_from +scoreboard players reset @s[score_b7s:_left_min=1] b7s:_left + +scoreboard players add @s b7s:id 0 +execute @s[score_b7s:id=0] ~ ~ ~ scoreboard players add b7s:_dummy b7s:id 1 +scoreboard players operation @s[score_b7s:id=0] b7s:id = b7s:_dummy b7s:id + +execute @s[tag=!b7s:initialized] ~ ~ ~ function b7sp:entity/player/welcome +scoreboard players tag @s[tag=!b7s:initialized] add b7s:initialized + +scoreboard players enable @s[tag=b7s:initialized] b7s:tpspawn +execute @s[tag=b7s:initialized,score_b7s:tpspawn_min=1] ~ ~ ~ function b7s:command/tpspawn +scoreboard players set @s[tag=b7s:initialized,score_b7s:tpspawn_min=1] b7s:tpspawn 0 + +scoreboard players enable @s[tag=b7s:initialized] b7s:sethome +execute @s[tag=b7s:initialized,score_b7s:sethome_min=1] ~ ~ ~ function b7s:command/sethome +scoreboard players set @s[tag=b7s:initialized,score_b7s:sethome_min=1] b7s:sethome 0 + +scoreboard players enable @s[tag=b7s:initialized] b7s:tphome +execute @s[tag=b7s:initialized,score_b7s:tphome_min=1] ~ ~ ~ function b7s:command/tphome +scoreboard players set @s[tag=b7s:initialized,score_b7s:tphome_min=1] b7s:tphome 0 + +scoreboard players enable @s[tag=b7s:initialized] b7s:tpback +execute @s[tag=b7s:initialized,score_b7s:tpback_min=1] ~ ~ ~ function b7s:command/tpback +scoreboard players set @s[tag=b7s:initialized,score_b7s:tpback_min=1] b7s:tpback 0 + +scoreboard players enable @s[tag=b7s:initialized] b7s:tpreq +execute @s[tag=b7s:initialized,score_b7s:tpreq_min=1] ~ ~ ~ function b7s:command/tpreq +scoreboard players set @s[tag=b7s:initialized,score_b7s:tpreq_min=1] b7s:tpreq 0 + +scoreboard players enable @s[tag=b7s:initialized] b7s:tpaccept +execute @s[tag=b7s:initialized,score_b7s:tpaccept_min=1] ~ ~ ~ function b7s:command/tpaccept +scoreboard players set @s[tag=b7s:initialized,score_b7s:tpaccept_min=1] b7s:tpaccept 0 + +function b7sp:entity/player/post_update diff --git a/functions/b7s/entity/pulse.mcfunction b/functions/b7s/entity/pulse.mcfunction new file mode 100644 index 0000000..ca8bcd6 --- /dev/null +++ b/functions/b7s/entity/pulse.mcfunction @@ -0,0 +1,8 @@ +# Places and destroys a block of redstone at the position of the entity executing the command. +# For example, this can be useful to activate structure blocks. +# +# Usage: +# execute ~ ~ ~ function b7s:entity/pulse + +fill ~ ~ ~ ~ ~ ~ minecraft:redstone_block 0 replace minecraft:air +fill ~ ~ ~ ~ ~ ~ minecraft:air 0 replace minecraft:redstone_block diff --git a/functions/b7s/entity/tagify_dim.mcfunction b/functions/b7s/entity/tagify_dim.mcfunction new file mode 100644 index 0000000..9ab77e9 --- /dev/null +++ b/functions/b7s/entity/tagify_dim.mcfunction @@ -0,0 +1,21 @@ +# Sets the entity's dimension tags, based on the its dimension score. +# +# Scores required: +# b7s:dim — the entity's dimension +# +# Tags set: +# b7s:dim_nether — if b7s:dim = -1 +# b7s:dim_overworld — if b7s:dim = 0 +# b7s:dim_end — if b7s:dim = 1 +# +# Usage: +# /scoreboard players set b7s:dim +# /execute ~ ~ ~ function b7s:entity/tagify_dim + +scoreboard players tag @s remove b7s:dim_nether +scoreboard players tag @s remove b7s:dim_overworld +scoreboard players tag @s remove b7s:dim_end + +scoreboard players tag @s[score_b7s:dim_min=-1,score_b7s:dim=-1] add b7s:dim_nether +scoreboard players tag @s[score_b7s:dim_min=0,score_b7s:dim=0] add b7s:dim_overworld +scoreboard players tag @s[score_b7s:dim_min=1,score_b7s:dim=1] add b7s:dim_end diff --git a/functions/b7s/entity/tagify_loc.mcfunction b/functions/b7s/entity/tagify_loc.mcfunction new file mode 100644 index 0000000..5c6c980 --- /dev/null +++ b/functions/b7s/entity/tagify_loc.mcfunction @@ -0,0 +1,42 @@ +# Encodes the location scores of a player or entity in a series of tags. +# +# Scores required: +# b7s:dim — the entity's dimension +# b7s:x — the x coordinate of the entity +# b7s:y — the y coordinate of the entity +# b7s:z — the z coordinate of the entity +# b7s:rot_x — the x rotation of the entity +# b7s:rot_y — the y rotation of the entity +# +# Tags set: +# b7s:dim_nether — if b7s:dim = -1 +# b7s:dim_overworld — if b7s:dim = 0 +# b7s:dim_end — if b7s:dim = 1 +# 25 +# b7s:x_0, …, b7s:x_25 — such that b7s:x = -30000000 + ∑ b7s:x_i × 2^i +# i=0 +# 13 +# b7s:y_0, …, b7s:y_13 — such that b7s:y = -4096 + ∑ b7s:y_i × 2^i +# i=0 +# 25 +# b7s:z_0, …, b7s:z_25 — such that b7s:z = -30000000 + ∑ b7s:z_i × 2^i +# i=0 +# 7 +# b7s:rot_x_0, …, b7s:rot_x_7 — such that b7s:rot_x = -90 + ∑ b7s:rot_x_i × 2^i +# i=1 +# 8 +# b7s:rot_y_0, …, b7s:rot_y_8 — such that b7s:rot_y = -180 + ∑ b7s:rot_y_i × 2^i +# i=0 +# +# Usage: +# /scoreboard players set b7s:dim +# /scoreboard players set b7s:x +# /scoreboard players set b7s:y +# /scoreboard players set b7s:z +# /scoreboard players set b7s:rot_x +# /scoreboard players set b7s:rot_y +# /execute ~ ~ ~ function b7s:entity/tagify_loc + +function b7s:entity/tagify_dim +function b7s:entity/tagify_pos +function b7s:entity/tagify_rot diff --git a/functions/b7s/entity/tagify_pos.mcfunction b/functions/b7s/entity/tagify_pos.mcfunction new file mode 100644 index 0000000..bcd2a38 --- /dev/null +++ b/functions/b7s/entity/tagify_pos.mcfunction @@ -0,0 +1,227 @@ +# Encodes the position scores of a player or entity in a series of tags. +# +# Scores required: +# b7s:x — the x coordinate of the entity +# b7s:y — the y coordinate of the entity +# b7s:z — the z coordinate of the entity +# +# Tags set: +# 25 +# b7s:x_0, …, b7s:x_25 — such that b7s:x = -30000000 + ∑ b7s:x_i × 2^i +# i=0 +# 12 +# b7s:y_0, …, b7s:y_12 — such that b7s:y = -4096 + ∑ b7s:y_i × 2^i +# i=0 +# 25 +# b7s:z_0, …, b7s:z_25 — such that b7s:z = -30000000 + ∑ b7s:z_i × 2^i +# i=0 +# +# Usage: +# /scoreboard players set b7s:x +# /scoreboard players set b7s:y +# /scoreboard players set b7s:z +# /execute ~ ~ ~ function b7s:entity/tagify_pos + +scoreboard players tag @s remove b7s:x_25 +scoreboard players tag @s remove b7s:x_24 +scoreboard players tag @s remove b7s:x_23 +scoreboard players tag @s remove b7s:x_22 +scoreboard players tag @s remove b7s:x_21 +scoreboard players tag @s remove b7s:x_20 +scoreboard players tag @s remove b7s:x_19 +scoreboard players tag @s remove b7s:x_18 +scoreboard players tag @s remove b7s:x_17 +scoreboard players tag @s remove b7s:x_16 +scoreboard players tag @s remove b7s:x_15 +scoreboard players tag @s remove b7s:x_14 +scoreboard players tag @s remove b7s:x_13 +scoreboard players tag @s remove b7s:x_12 +scoreboard players tag @s remove b7s:x_11 +scoreboard players tag @s remove b7s:x_10 +scoreboard players tag @s remove b7s:x_9 +scoreboard players tag @s remove b7s:x_8 +scoreboard players tag @s remove b7s:x_7 +scoreboard players tag @s remove b7s:x_6 +scoreboard players tag @s remove b7s:x_5 +scoreboard players tag @s remove b7s:x_4 +scoreboard players tag @s remove b7s:x_3 +scoreboard players tag @s remove b7s:x_2 +scoreboard players tag @s remove b7s:x_1 +scoreboard players tag @s remove b7s:x_0 + +scoreboard players tag @s remove b7s:y_12 +scoreboard players tag @s remove b7s:y_11 +scoreboard players tag @s remove b7s:y_10 +scoreboard players tag @s remove b7s:y_9 +scoreboard players tag @s remove b7s:y_8 +scoreboard players tag @s remove b7s:y_7 +scoreboard players tag @s remove b7s:y_6 +scoreboard players tag @s remove b7s:y_5 +scoreboard players tag @s remove b7s:y_4 +scoreboard players tag @s remove b7s:y_3 +scoreboard players tag @s remove b7s:y_2 +scoreboard players tag @s remove b7s:y_1 +scoreboard players tag @s remove b7s:y_0 + +scoreboard players tag @s remove b7s:z_25 +scoreboard players tag @s remove b7s:z_24 +scoreboard players tag @s remove b7s:z_23 +scoreboard players tag @s remove b7s:z_22 +scoreboard players tag @s remove b7s:z_21 +scoreboard players tag @s remove b7s:z_20 +scoreboard players tag @s remove b7s:z_19 +scoreboard players tag @s remove b7s:z_18 +scoreboard players tag @s remove b7s:z_17 +scoreboard players tag @s remove b7s:z_16 +scoreboard players tag @s remove b7s:z_15 +scoreboard players tag @s remove b7s:z_14 +scoreboard players tag @s remove b7s:z_13 +scoreboard players tag @s remove b7s:z_12 +scoreboard players tag @s remove b7s:z_11 +scoreboard players tag @s remove b7s:z_10 +scoreboard players tag @s remove b7s:z_9 +scoreboard players tag @s remove b7s:z_8 +scoreboard players tag @s remove b7s:z_7 +scoreboard players tag @s remove b7s:z_6 +scoreboard players tag @s remove b7s:z_5 +scoreboard players tag @s remove b7s:z_4 +scoreboard players tag @s remove b7s:z_3 +scoreboard players tag @s remove b7s:z_2 +scoreboard players tag @s remove b7s:z_1 +scoreboard players tag @s remove b7s:z_0 + +scoreboard players operation @s b7s:_tmp = @s b7s:x +scoreboard players add @s b7s:_tmp 30000000 +scoreboard players tag @s[score_b7s:_tmp_min=33554432] add b7s:x_25 +scoreboard players remove @s[score_b7s:_tmp_min=33554432] b7s:_tmp 33554432 +scoreboard players tag @s[score_b7s:_tmp_min=16777216] add b7s:x_24 +scoreboard players remove @s[score_b7s:_tmp_min=16777216] b7s:_tmp 16777216 +scoreboard players tag @s[score_b7s:_tmp_min=8388608] add b7s:x_23 +scoreboard players remove @s[score_b7s:_tmp_min=8388608] b7s:_tmp 8388608 +scoreboard players tag @s[score_b7s:_tmp_min=4194304] add b7s:x_22 +scoreboard players remove @s[score_b7s:_tmp_min=4194304] b7s:_tmp 4194304 +scoreboard players tag @s[score_b7s:_tmp_min=2097152] add b7s:x_21 +scoreboard players remove @s[score_b7s:_tmp_min=2097152] b7s:_tmp 2097152 +scoreboard players tag @s[score_b7s:_tmp_min=1048576] add b7s:x_20 +scoreboard players remove @s[score_b7s:_tmp_min=1048576] b7s:_tmp 1048576 +scoreboard players tag @s[score_b7s:_tmp_min=524288] add b7s:x_19 +scoreboard players remove @s[score_b7s:_tmp_min=524288] b7s:_tmp 524288 +scoreboard players tag @s[score_b7s:_tmp_min=262144] add b7s:x_18 +scoreboard players remove @s[score_b7s:_tmp_min=262144] b7s:_tmp 262144 +scoreboard players tag @s[score_b7s:_tmp_min=131072] add b7s:x_17 +scoreboard players remove @s[score_b7s:_tmp_min=131072] b7s:_tmp 131072 +scoreboard players tag @s[score_b7s:_tmp_min=65536] add b7s:x_16 +scoreboard players remove @s[score_b7s:_tmp_min=65536] b7s:_tmp 65536 +scoreboard players tag @s[score_b7s:_tmp_min=32768] add b7s:x_15 +scoreboard players remove @s[score_b7s:_tmp_min=32768] b7s:_tmp 32768 +scoreboard players tag @s[score_b7s:_tmp_min=16384] add b7s:x_14 +scoreboard players remove @s[score_b7s:_tmp_min=16384] b7s:_tmp 16384 +scoreboard players tag @s[score_b7s:_tmp_min=8192] add b7s:x_13 +scoreboard players remove @s[score_b7s:_tmp_min=8192] b7s:_tmp 8192 +scoreboard players tag @s[score_b7s:_tmp_min=4096] add b7s:x_12 +scoreboard players remove @s[score_b7s:_tmp_min=4096] b7s:_tmp 4096 +scoreboard players tag @s[score_b7s:_tmp_min=2048] add b7s:x_11 +scoreboard players remove @s[score_b7s:_tmp_min=2048] b7s:_tmp 2048 +scoreboard players tag @s[score_b7s:_tmp_min=1024] add b7s:x_10 +scoreboard players remove @s[score_b7s:_tmp_min=1024] b7s:_tmp 1024 +scoreboard players tag @s[score_b7s:_tmp_min=512] add b7s:x_9 +scoreboard players remove @s[score_b7s:_tmp_min=512] b7s:_tmp 512 +scoreboard players tag @s[score_b7s:_tmp_min=256] add b7s:x_8 +scoreboard players remove @s[score_b7s:_tmp_min=256] b7s:_tmp 256 +scoreboard players tag @s[score_b7s:_tmp_min=128] add b7s:x_7 +scoreboard players remove @s[score_b7s:_tmp_min=128] b7s:_tmp 128 +scoreboard players tag @s[score_b7s:_tmp_min=64] add b7s:x_6 +scoreboard players remove @s[score_b7s:_tmp_min=64] b7s:_tmp 64 +scoreboard players tag @s[score_b7s:_tmp_min=32] add b7s:x_5 +scoreboard players remove @s[score_b7s:_tmp_min=32] b7s:_tmp 32 +scoreboard players tag @s[score_b7s:_tmp_min=16] add b7s:x_4 +scoreboard players remove @s[score_b7s:_tmp_min=16] b7s:_tmp 16 +scoreboard players tag @s[score_b7s:_tmp_min=8] add b7s:x_3 +scoreboard players remove @s[score_b7s:_tmp_min=8] b7s:_tmp 8 +scoreboard players tag @s[score_b7s:_tmp_min=4] add b7s:x_2 +scoreboard players remove @s[score_b7s:_tmp_min=4] b7s:_tmp 4 +scoreboard players tag @s[score_b7s:_tmp_min=2] add b7s:x_1 +scoreboard players remove @s[score_b7s:_tmp_min=2] b7s:_tmp 2 +scoreboard players tag @s[score_b7s:_tmp_min=1] add b7s:x_0 + +scoreboard players operation @s b7s:_tmp = @s b7s:y +scoreboard players add @s b7s:_tmp 4096 +scoreboard players tag @s[score_b7s:_tmp_min=4096] add b7s:y_12 +scoreboard players remove @s[score_b7s:_tmp_min=4096] b7s:_tmp 4096 +scoreboard players tag @s[score_b7s:_tmp_min=2048] add b7s:y_11 +scoreboard players remove @s[score_b7s:_tmp_min=2048] b7s:_tmp 2048 +scoreboard players tag @s[score_b7s:_tmp_min=1024] add b7s:y_10 +scoreboard players remove @s[score_b7s:_tmp_min=1024] b7s:_tmp 1024 +scoreboard players tag @s[score_b7s:_tmp_min=512] add b7s:y_9 +scoreboard players remove @s[score_b7s:_tmp_min=512] b7s:_tmp 512 +scoreboard players tag @s[score_b7s:_tmp_min=256] add b7s:y_8 +scoreboard players remove @s[score_b7s:_tmp_min=256] b7s:_tmp 256 +scoreboard players tag @s[score_b7s:_tmp_min=128] add b7s:y_7 +scoreboard players remove @s[score_b7s:_tmp_min=128] b7s:_tmp 128 +scoreboard players tag @s[score_b7s:_tmp_min=64] add b7s:y_6 +scoreboard players remove @s[score_b7s:_tmp_min=64] b7s:_tmp 64 +scoreboard players tag @s[score_b7s:_tmp_min=32] add b7s:y_5 +scoreboard players remove @s[score_b7s:_tmp_min=32] b7s:_tmp 32 +scoreboard players tag @s[score_b7s:_tmp_min=16] add b7s:y_4 +scoreboard players remove @s[score_b7s:_tmp_min=16] b7s:_tmp 16 +scoreboard players tag @s[score_b7s:_tmp_min=8] add b7s:y_3 +scoreboard players remove @s[score_b7s:_tmp_min=8] b7s:_tmp 8 +scoreboard players tag @s[score_b7s:_tmp_min=4] add b7s:y_2 +scoreboard players remove @s[score_b7s:_tmp_min=4] b7s:_tmp 4 +scoreboard players tag @s[score_b7s:_tmp_min=2] add b7s:y_1 +scoreboard players remove @s[score_b7s:_tmp_min=2] b7s:_tmp 2 +scoreboard players tag @s[score_b7s:_tmp_min=1] add b7s:y_0 + +scoreboard players operation @s b7s:_tmp = @s b7s:z +scoreboard players add @s b7s:_tmp 30000000 +scoreboard players tag @s[score_b7s:_tmp_min=33554432] add b7s:z_25 +scoreboard players remove @s[score_b7s:_tmp_min=33554432] b7s:_tmp 33554432 +scoreboard players tag @s[score_b7s:_tmp_min=16777216] add b7s:z_24 +scoreboard players remove @s[score_b7s:_tmp_min=16777216] b7s:_tmp 16777216 +scoreboard players tag @s[score_b7s:_tmp_min=8388608] add b7s:z_23 +scoreboard players remove @s[score_b7s:_tmp_min=8388608] b7s:_tmp 8388608 +scoreboard players tag @s[score_b7s:_tmp_min=4194304] add b7s:z_22 +scoreboard players remove @s[score_b7s:_tmp_min=4194304] b7s:_tmp 4194304 +scoreboard players tag @s[score_b7s:_tmp_min=2097152] add b7s:z_21 +scoreboard players remove @s[score_b7s:_tmp_min=2097152] b7s:_tmp 2097152 +scoreboard players tag @s[score_b7s:_tmp_min=1048576] add b7s:z_20 +scoreboard players remove @s[score_b7s:_tmp_min=1048576] b7s:_tmp 1048576 +scoreboard players tag @s[score_b7s:_tmp_min=524288] add b7s:z_19 +scoreboard players remove @s[score_b7s:_tmp_min=524288] b7s:_tmp 524288 +scoreboard players tag @s[score_b7s:_tmp_min=262144] add b7s:z_18 +scoreboard players remove @s[score_b7s:_tmp_min=262144] b7s:_tmp 262144 +scoreboard players tag @s[score_b7s:_tmp_min=131072] add b7s:z_17 +scoreboard players remove @s[score_b7s:_tmp_min=131072] b7s:_tmp 131072 +scoreboard players tag @s[score_b7s:_tmp_min=65536] add b7s:z_16 +scoreboard players remove @s[score_b7s:_tmp_min=65536] b7s:_tmp 65536 +scoreboard players tag @s[score_b7s:_tmp_min=32768] add b7s:z_15 +scoreboard players remove @s[score_b7s:_tmp_min=32768] b7s:_tmp 32768 +scoreboard players tag @s[score_b7s:_tmp_min=16384] add b7s:z_14 +scoreboard players remove @s[score_b7s:_tmp_min=16384] b7s:_tmp 16384 +scoreboard players tag @s[score_b7s:_tmp_min=8192] add b7s:z_13 +scoreboard players remove @s[score_b7s:_tmp_min=8192] b7s:_tmp 8192 +scoreboard players tag @s[score_b7s:_tmp_min=4096] add b7s:z_12 +scoreboard players remove @s[score_b7s:_tmp_min=4096] b7s:_tmp 4096 +scoreboard players tag @s[score_b7s:_tmp_min=2048] add b7s:z_11 +scoreboard players remove @s[score_b7s:_tmp_min=2048] b7s:_tmp 2048 +scoreboard players tag @s[score_b7s:_tmp_min=1024] add b7s:z_10 +scoreboard players remove @s[score_b7s:_tmp_min=1024] b7s:_tmp 1024 +scoreboard players tag @s[score_b7s:_tmp_min=512] add b7s:z_9 +scoreboard players remove @s[score_b7s:_tmp_min=512] b7s:_tmp 512 +scoreboard players tag @s[score_b7s:_tmp_min=256] add b7s:z_8 +scoreboard players remove @s[score_b7s:_tmp_min=256] b7s:_tmp 256 +scoreboard players tag @s[score_b7s:_tmp_min=128] add b7s:z_7 +scoreboard players remove @s[score_b7s:_tmp_min=128] b7s:_tmp 128 +scoreboard players tag @s[score_b7s:_tmp_min=64] add b7s:z_6 +scoreboard players remove @s[score_b7s:_tmp_min=64] b7s:_tmp 64 +scoreboard players tag @s[score_b7s:_tmp_min=32] add b7s:z_5 +scoreboard players remove @s[score_b7s:_tmp_min=32] b7s:_tmp 32 +scoreboard players tag @s[score_b7s:_tmp_min=16] add b7s:z_4 +scoreboard players remove @s[score_b7s:_tmp_min=16] b7s:_tmp 16 +scoreboard players tag @s[score_b7s:_tmp_min=8] add b7s:z_3 +scoreboard players remove @s[score_b7s:_tmp_min=8] b7s:_tmp 8 +scoreboard players tag @s[score_b7s:_tmp_min=4] add b7s:z_2 +scoreboard players remove @s[score_b7s:_tmp_min=4] b7s:_tmp 4 +scoreboard players tag @s[score_b7s:_tmp_min=2] add b7s:z_1 +scoreboard players remove @s[score_b7s:_tmp_min=2] b7s:_tmp 2 +scoreboard players tag @s[score_b7s:_tmp_min=1] add b7s:z_0 diff --git a/functions/b7s/entity/tagify_pos.py b/functions/b7s/entity/tagify_pos.py new file mode 100644 index 0000000..849c073 --- /dev/null +++ b/functions/b7s/entity/tagify_pos.py @@ -0,0 +1,59 @@ +print('# Encodes the position scores of a player or entity in a series of tags.') +print('#') +print('# Scores required:') +print('# b7s:x — the x coordinate of the entity') +print('# b7s:y — the y coordinate of the entity') +print('# b7s:z — the z coordinate of the entity') +print('#') +print('# Tags set:') +print('# 25') +print('# b7s:x_0, …, b7s:x_25 — such that b7s:x = -30000000 + ∑ b7s:x_i × 2^i') +print('# i=0') +print('# 12') +print('# b7s:y_0, …, b7s:y_12 — such that b7s:y = -4096 + ∑ b7s:y_i × 2^i') +print('# i=0') +print('# 25') +print('# b7s:z_0, …, b7s:z_25 — such that b7s:z = -30000000 + ∑ b7s:z_i × 2^i') +print('# i=0') +print('#') +print('# Usage:') +print('# /scoreboard players set b7s:x ') +print('# /scoreboard players set b7s:y ') +print('# /scoreboard players set b7s:z ') +print('# /execute ~ ~ ~ function b7s:entity/tagify_pos') + +print() +for exponent in range(25, -1, -1): + print('scoreboard players tag @s remove b7s:x_{}'.format(exponent)) + +print() +for exponent in range(12, -1, -1): + print('scoreboard players tag @s remove b7s:y_{}'.format(exponent)) + +print() +for exponent in range(25, -1, -1): + print('scoreboard players tag @s remove b7s:z_{}'.format(exponent)) + +print() +print('scoreboard players operation @s b7s:_tmp = @s b7s:x') +print('scoreboard players add @s b7s:_tmp 30000000') +for exponent in range(25, -1, -1): + print('scoreboard players tag @s[score_b7s:_tmp_min={}] add b7s:x_{}'.format(2 ** exponent, exponent)) + if exponent != 0: + print('scoreboard players remove @s[score_b7s:_tmp_min={0}] b7s:_tmp {0}'.format(2 ** exponent)) + +print() +print('scoreboard players operation @s b7s:_tmp = @s b7s:y') +print('scoreboard players add @s b7s:_tmp 4096') +for exponent in range(12, -1, -1): + print('scoreboard players tag @s[score_b7s:_tmp_min={}] add b7s:y_{}'.format(2 ** exponent, exponent)) + if exponent != 0: + print('scoreboard players remove @s[score_b7s:_tmp_min={0}] b7s:_tmp {0}'.format(2 ** exponent)) + +print() +print('scoreboard players operation @s b7s:_tmp = @s b7s:z') +print('scoreboard players add @s b7s:_tmp 30000000') +for exponent in range(25, -1, -1): + print('scoreboard players tag @s[score_b7s:_tmp_min={}] add b7s:z_{}'.format(2 ** exponent, exponent)) + if exponent != 0: + print('scoreboard players remove @s[score_b7s:_tmp_min={0}] b7s:_tmp {0}'.format(2 ** exponent)) diff --git a/functions/b7s/entity/tagify_rot.mcfunction b/functions/b7s/entity/tagify_rot.mcfunction new file mode 100644 index 0000000..a71eda4 --- /dev/null +++ b/functions/b7s/entity/tagify_rot.mcfunction @@ -0,0 +1,75 @@ +# Encodes the rotation scores of a player or entity in a series of tags. +# +# Scores required: +# b7s:rot_x — the x rotation of the entity +# b7s:rot_y — the y rotation of the entity +# +# Tags set: +# 7 +# b7s:rot_x_0, …, b7s:rot_x_7 — such that b7s:rot_x = -90 + ∑ b7s:rot_x_i × 2^i +# i=1 +# 8 +# b7s:rot_y_0, …, b7s:rot_y_8 — such that b7s:rot_y = -180 + ∑ b7s:rot_y_i × 2^i +# i=0 +# +# Usage: +# /scoreboard players set b7s:rot_x +# /scoreboard players set b7s:rot_y +# /execute ~ ~ ~ function b7s:entity/tagify_rot + +scoreboard players tag @s remove b7s:rot_x_7 +scoreboard players tag @s remove b7s:rot_x_6 +scoreboard players tag @s remove b7s:rot_x_5 +scoreboard players tag @s remove b7s:rot_x_4 +scoreboard players tag @s remove b7s:rot_x_3 +scoreboard players tag @s remove b7s:rot_x_2 +scoreboard players tag @s remove b7s:rot_x_1 +scoreboard players tag @s remove b7s:rot_x_0 + +scoreboard players tag @s remove b7s:rot_y_8 +scoreboard players tag @s remove b7s:rot_y_7 +scoreboard players tag @s remove b7s:rot_y_6 +scoreboard players tag @s remove b7s:rot_y_5 +scoreboard players tag @s remove b7s:rot_y_4 +scoreboard players tag @s remove b7s:rot_y_3 +scoreboard players tag @s remove b7s:rot_y_2 +scoreboard players tag @s remove b7s:rot_y_1 +scoreboard players tag @s remove b7s:rot_y_0 + +scoreboard players operation @s b7s:_tmp = @s b7s:rot_x +scoreboard players add @s b7s:_tmp 90 +scoreboard players tag @s[score_b7s:_tmp_min=128] add b7s:rot_x_7 +scoreboard players remove @s[score_b7s:_tmp_min=128] b7s:_tmp 128 +scoreboard players tag @s[score_b7s:_tmp_min=64] add b7s:rot_x_6 +scoreboard players remove @s[score_b7s:_tmp_min=64] b7s:_tmp 64 +scoreboard players tag @s[score_b7s:_tmp_min=32] add b7s:rot_x_5 +scoreboard players remove @s[score_b7s:_tmp_min=32] b7s:_tmp 32 +scoreboard players tag @s[score_b7s:_tmp_min=16] add b7s:rot_x_4 +scoreboard players remove @s[score_b7s:_tmp_min=16] b7s:_tmp 16 +scoreboard players tag @s[score_b7s:_tmp_min=8] add b7s:rot_x_3 +scoreboard players remove @s[score_b7s:_tmp_min=8] b7s:_tmp 8 +scoreboard players tag @s[score_b7s:_tmp_min=4] add b7s:rot_x_2 +scoreboard players remove @s[score_b7s:_tmp_min=4] b7s:_tmp 4 +scoreboard players tag @s[score_b7s:_tmp_min=2] add b7s:rot_x_1 +scoreboard players remove @s[score_b7s:_tmp_min=2] b7s:_tmp 2 +scoreboard players tag @s[score_b7s:_tmp_min=1] add b7s:rot_x_0 + +scoreboard players operation @s b7s:_tmp = @s b7s:rot_y +scoreboard players add @s b7s:_tmp 180 +scoreboard players tag @s[score_b7s:_tmp_min=256] add b7s:rot_y_8 +scoreboard players remove @s[score_b7s:_tmp_min=256] b7s:_tmp 256 +scoreboard players tag @s[score_b7s:_tmp_min=128] add b7s:rot_y_7 +scoreboard players remove @s[score_b7s:_tmp_min=128] b7s:_tmp 128 +scoreboard players tag @s[score_b7s:_tmp_min=64] add b7s:rot_y_6 +scoreboard players remove @s[score_b7s:_tmp_min=64] b7s:_tmp 64 +scoreboard players tag @s[score_b7s:_tmp_min=32] add b7s:rot_y_5 +scoreboard players remove @s[score_b7s:_tmp_min=32] b7s:_tmp 32 +scoreboard players tag @s[score_b7s:_tmp_min=16] add b7s:rot_y_4 +scoreboard players remove @s[score_b7s:_tmp_min=16] b7s:_tmp 16 +scoreboard players tag @s[score_b7s:_tmp_min=8] add b7s:rot_y_3 +scoreboard players remove @s[score_b7s:_tmp_min=8] b7s:_tmp 8 +scoreboard players tag @s[score_b7s:_tmp_min=4] add b7s:rot_y_2 +scoreboard players remove @s[score_b7s:_tmp_min=4] b7s:_tmp 4 +scoreboard players tag @s[score_b7s:_tmp_min=2] add b7s:rot_y_1 +scoreboard players remove @s[score_b7s:_tmp_min=2] b7s:_tmp 2 +scoreboard players tag @s[score_b7s:_tmp_min=1] add b7s:rot_y_0 diff --git a/functions/b7s/entity/tagify_rot.py b/functions/b7s/entity/tagify_rot.py new file mode 100644 index 0000000..4766c03 --- /dev/null +++ b/functions/b7s/entity/tagify_rot.py @@ -0,0 +1,42 @@ +print('# Encodes the rotation scores of a player or entity in a series of tags.') +print('#') +print('# Scores required:') +print('# b7s:rot_x — the x rotation of the entity') +print('# b7s:rot_y — the y rotation of the entity') +print('#') +print('# Tags set:') +print('# 7') +print('# b7s:rot_x_0, …, b7s:rot_x_7 — such that b7s:rot_x = -90 + ∑ b7s:rot_x_i × 2^i') +print('# i=1') +print('# 8') +print('# b7s:rot_y_0, …, b7s:rot_y_8 — such that b7s:rot_y = -180 + ∑ b7s:rot_y_i × 2^i') +print('# i=0') +print('#') +print('# Usage:') +print('# /scoreboard players set b7s:rot_x ') +print('# /scoreboard players set b7s:rot_y ') +print('# /execute ~ ~ ~ function b7s:entity/tagify_rot') + +print() +for exponent in range(7, -1, -1): + print('scoreboard players tag @s remove b7s:rot_x_{}'.format(exponent)) + +print() +for exponent in range(8, -1, -1): + print('scoreboard players tag @s remove b7s:rot_y_{}'.format(exponent)) + +print() +print('scoreboard players operation @s b7s:_tmp = @s b7s:rot_x') +print('scoreboard players add @s b7s:_tmp 90') +for exponent in range(7, -1, -1): + print('scoreboard players tag @s[score_b7s:_tmp_min={}] add b7s:rot_x_{}'.format(2 ** exponent, exponent)) + if exponent != 0: + print('scoreboard players remove @s[score_b7s:_tmp_min={0}] b7s:_tmp {0}'.format(2 ** exponent)) + +print() +print('scoreboard players operation @s b7s:_tmp = @s b7s:rot_y') +print('scoreboard players add @s b7s:_tmp 180') +for exponent in range(8, -1, -1): + print('scoreboard players tag @s[score_b7s:_tmp_min={}] add b7s:rot_y_{}'.format(2 ** exponent, exponent)) + if exponent != 0: + print('scoreboard players remove @s[score_b7s:_tmp_min={0}] b7s:_tmp {0}'.format(2 ** exponent)) diff --git a/functions/b7s/entity/tp_loc.mcfunction b/functions/b7s/entity/tp_loc.mcfunction new file mode 100644 index 0000000..5e9d487 --- /dev/null +++ b/functions/b7s/entity/tp_loc.mcfunction @@ -0,0 +1,27 @@ +# Teleports a player or entity to a given location. +# +# This function fails if the entity would have to change dimension. +# +# Scores required: +# b7s:dim — the new dimension for the entity +# b7s:x — the new x coordinate for the entity +# b7s:y — the new y coordinate for the entity +# b7s:z — the new z coordinate for the entity +# b7s:rot_x — the new x rotation for the entity +# b7s:rot_y — the new y rotation for the entity +# +# Tags set: +# b7s:same_dim — if the entity didn't have to change dimension +# +# Usage: +# /scoreboard players set b7s:dim +# /scoreboard players set b7s:x +# /scoreboard players set b7s:y +# /scoreboard players set b7s:z +# /scoreboard players set b7s:rot_x +# /scoreboard players set b7s:rot_y +# /execute ~ ~ ~ function b7s:entity/tp_loc + +function b7s:entity/check_same_dim +function b7s:entity/tp_pos if @s[tag=b7s:same_dim] +function b7s:entity/tp_rot if @s[tag=b7s:same_dim] diff --git a/functions/b7s/entity/tp_pos.mcfunction b/functions/b7s/entity/tp_pos.mcfunction new file mode 100644 index 0000000..4b9bf00 --- /dev/null +++ b/functions/b7s/entity/tp_pos.mcfunction @@ -0,0 +1,158 @@ +# Teleports a player or entity to a given position. +# +# Scores required: +# b7s:x — the new x coordinate for the entity +# b7s:y — the new y coordinate for the entity +# b7s:z — the new z coordinate for the entity +# +# Usage: +# /scoreboard players set b7s:x +# /scoreboard players set b7s:y +# /scoreboard players set b7s:z +# /execute ~ ~ ~ function b7s:entity/tp_pos + +summon minecraft:area_effect_cloud ~ ~ ~ {Tags:["b7s:_marker"]} +tp @e[tag=b7s:_marker] @s +tp @e[tag=b7s:_marker] -30000000 -4096 -30000000 + +scoreboard players operation @e[tag=b7s:_marker] b7s:x = @s b7s:x +scoreboard players add @e[tag=b7s:_marker] b7s:x 30000000 +scoreboard players operation @e[tag=b7s:_marker] b7s:y = @s b7s:y +scoreboard players add @e[tag=b7s:_marker] b7s:y 4096 +scoreboard players operation @e[tag=b7s:_marker] b7s:z = @s b7s:z +scoreboard players add @e[tag=b7s:_marker] b7s:z 30000000 + +tp @e[tag=b7s:_marker,score_b7s:x_min=33554432] ~33554432 ~ ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:x_min=33554432] b7s:x 33554432 +tp @e[tag=b7s:_marker,score_b7s:x_min=16777216] ~16777216 ~ ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:x_min=16777216] b7s:x 16777216 +tp @e[tag=b7s:_marker,score_b7s:x_min=8388608] ~8388608 ~ ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:x_min=8388608] b7s:x 8388608 +tp @e[tag=b7s:_marker,score_b7s:x_min=4194304] ~4194304 ~ ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:x_min=4194304] b7s:x 4194304 +tp @e[tag=b7s:_marker,score_b7s:x_min=2097152] ~2097152 ~ ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:x_min=2097152] b7s:x 2097152 +tp @e[tag=b7s:_marker,score_b7s:x_min=1048576] ~1048576 ~ ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:x_min=1048576] b7s:x 1048576 +tp @e[tag=b7s:_marker,score_b7s:x_min=524288] ~524288 ~ ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:x_min=524288] b7s:x 524288 +tp @e[tag=b7s:_marker,score_b7s:x_min=262144] ~262144 ~ ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:x_min=262144] b7s:x 262144 +tp @e[tag=b7s:_marker,score_b7s:x_min=131072] ~131072 ~ ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:x_min=131072] b7s:x 131072 +tp @e[tag=b7s:_marker,score_b7s:x_min=65536] ~65536 ~ ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:x_min=65536] b7s:x 65536 +tp @e[tag=b7s:_marker,score_b7s:x_min=32768] ~32768 ~ ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:x_min=32768] b7s:x 32768 +tp @e[tag=b7s:_marker,score_b7s:x_min=16384] ~16384 ~ ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:x_min=16384] b7s:x 16384 +tp @e[tag=b7s:_marker,score_b7s:x_min=8192] ~8192 ~ ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:x_min=8192] b7s:x 8192 +tp @e[tag=b7s:_marker,score_b7s:x_min=4096] ~4096 ~ ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:x_min=4096] b7s:x 4096 +tp @e[tag=b7s:_marker,score_b7s:x_min=2048] ~2048 ~ ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:x_min=2048] b7s:x 2048 +tp @e[tag=b7s:_marker,score_b7s:x_min=1024] ~1024 ~ ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:x_min=1024] b7s:x 1024 +tp @e[tag=b7s:_marker,score_b7s:x_min=512] ~512 ~ ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:x_min=512] b7s:x 512 +tp @e[tag=b7s:_marker,score_b7s:x_min=256] ~256 ~ ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:x_min=256] b7s:x 256 +tp @e[tag=b7s:_marker,score_b7s:x_min=128] ~128 ~ ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:x_min=128] b7s:x 128 +tp @e[tag=b7s:_marker,score_b7s:x_min=64] ~64 ~ ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:x_min=64] b7s:x 64 +tp @e[tag=b7s:_marker,score_b7s:x_min=32] ~32 ~ ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:x_min=32] b7s:x 32 +tp @e[tag=b7s:_marker,score_b7s:x_min=16] ~16 ~ ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:x_min=16] b7s:x 16 +tp @e[tag=b7s:_marker,score_b7s:x_min=8] ~8 ~ ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:x_min=8] b7s:x 8 +tp @e[tag=b7s:_marker,score_b7s:x_min=4] ~4 ~ ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:x_min=4] b7s:x 4 +tp @e[tag=b7s:_marker,score_b7s:x_min=2] ~2 ~ ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:x_min=2] b7s:x 2 +tp @e[tag=b7s:_marker,score_b7s:x_min=1] ~1 ~ ~ + +tp @e[tag=b7s:_marker,score_b7s:y_min=8192] ~ ~8192 ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:y_min=8192] b7s:y 8192 +tp @e[tag=b7s:_marker,score_b7s:y_min=4096] ~ ~4096 ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:y_min=4096] b7s:y 4096 +tp @e[tag=b7s:_marker,score_b7s:y_min=2048] ~ ~2048 ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:y_min=2048] b7s:y 2048 +tp @e[tag=b7s:_marker,score_b7s:y_min=1024] ~ ~1024 ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:y_min=1024] b7s:y 1024 +tp @e[tag=b7s:_marker,score_b7s:y_min=512] ~ ~512 ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:y_min=512] b7s:y 512 +tp @e[tag=b7s:_marker,score_b7s:y_min=256] ~ ~256 ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:y_min=256] b7s:y 256 +tp @e[tag=b7s:_marker,score_b7s:y_min=128] ~ ~128 ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:y_min=128] b7s:y 128 +tp @e[tag=b7s:_marker,score_b7s:y_min=64] ~ ~64 ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:y_min=64] b7s:y 64 +tp @e[tag=b7s:_marker,score_b7s:y_min=32] ~ ~32 ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:y_min=32] b7s:y 32 +tp @e[tag=b7s:_marker,score_b7s:y_min=16] ~ ~16 ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:y_min=16] b7s:y 16 +tp @e[tag=b7s:_marker,score_b7s:y_min=8] ~ ~8 ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:y_min=8] b7s:y 8 +tp @e[tag=b7s:_marker,score_b7s:y_min=4] ~ ~4 ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:y_min=4] b7s:y 4 +tp @e[tag=b7s:_marker,score_b7s:y_min=2] ~ ~2 ~ +scoreboard players remove @e[tag=b7s:_marker,score_b7s:y_min=2] b7s:y 2 +tp @e[tag=b7s:_marker,score_b7s:y_min=1] ~ ~1 ~ + +tp @e[tag=b7s:_marker,score_b7s:z_min=33554432] ~ ~ ~33554432 +scoreboard players remove @e[tag=b7s:_marker,score_b7s:z_min=33554432] b7s:z 33554432 +tp @e[tag=b7s:_marker,score_b7s:z_min=16777216] ~ ~ ~16777216 +scoreboard players remove @e[tag=b7s:_marker,score_b7s:z_min=16777216] b7s:z 16777216 +tp @e[tag=b7s:_marker,score_b7s:z_min=8388608] ~ ~ ~8388608 +scoreboard players remove @e[tag=b7s:_marker,score_b7s:z_min=8388608] b7s:z 8388608 +tp @e[tag=b7s:_marker,score_b7s:z_min=4194304] ~ ~ ~4194304 +scoreboard players remove @e[tag=b7s:_marker,score_b7s:z_min=4194304] b7s:z 4194304 +tp @e[tag=b7s:_marker,score_b7s:z_min=2097152] ~ ~ ~2097152 +scoreboard players remove @e[tag=b7s:_marker,score_b7s:z_min=2097152] b7s:z 2097152 +tp @e[tag=b7s:_marker,score_b7s:z_min=1048576] ~ ~ ~1048576 +scoreboard players remove @e[tag=b7s:_marker,score_b7s:z_min=1048576] b7s:z 1048576 +tp @e[tag=b7s:_marker,score_b7s:z_min=524288] ~ ~ ~524288 +scoreboard players remove @e[tag=b7s:_marker,score_b7s:z_min=524288] b7s:z 524288 +tp @e[tag=b7s:_marker,score_b7s:z_min=262144] ~ ~ ~262144 +scoreboard players remove @e[tag=b7s:_marker,score_b7s:z_min=262144] b7s:z 262144 +tp @e[tag=b7s:_marker,score_b7s:z_min=131072] ~ ~ ~131072 +scoreboard players remove @e[tag=b7s:_marker,score_b7s:z_min=131072] b7s:z 131072 +tp @e[tag=b7s:_marker,score_b7s:z_min=65536] ~ ~ ~65536 +scoreboard players remove @e[tag=b7s:_marker,score_b7s:z_min=65536] b7s:z 65536 +tp @e[tag=b7s:_marker,score_b7s:z_min=32768] ~ ~ ~32768 +scoreboard players remove @e[tag=b7s:_marker,score_b7s:z_min=32768] b7s:z 32768 +tp @e[tag=b7s:_marker,score_b7s:z_min=16384] ~ ~ ~16384 +scoreboard players remove @e[tag=b7s:_marker,score_b7s:z_min=16384] b7s:z 16384 +tp @e[tag=b7s:_marker,score_b7s:z_min=8192] ~ ~ ~8192 +scoreboard players remove @e[tag=b7s:_marker,score_b7s:z_min=8192] b7s:z 8192 +tp @e[tag=b7s:_marker,score_b7s:z_min=4096] ~ ~ ~4096 +scoreboard players remove @e[tag=b7s:_marker,score_b7s:z_min=4096] b7s:z 4096 +tp @e[tag=b7s:_marker,score_b7s:z_min=2048] ~ ~ ~2048 +scoreboard players remove @e[tag=b7s:_marker,score_b7s:z_min=2048] b7s:z 2048 +tp @e[tag=b7s:_marker,score_b7s:z_min=1024] ~ ~ ~1024 +scoreboard players remove @e[tag=b7s:_marker,score_b7s:z_min=1024] b7s:z 1024 +tp @e[tag=b7s:_marker,score_b7s:z_min=512] ~ ~ ~512 +scoreboard players remove @e[tag=b7s:_marker,score_b7s:z_min=512] b7s:z 512 +tp @e[tag=b7s:_marker,score_b7s:z_min=256] ~ ~ ~256 +scoreboard players remove @e[tag=b7s:_marker,score_b7s:z_min=256] b7s:z 256 +tp @e[tag=b7s:_marker,score_b7s:z_min=128] ~ ~ ~128 +scoreboard players remove @e[tag=b7s:_marker,score_b7s:z_min=128] b7s:z 128 +tp @e[tag=b7s:_marker,score_b7s:z_min=64] ~ ~ ~64 +scoreboard players remove @e[tag=b7s:_marker,score_b7s:z_min=64] b7s:z 64 +tp @e[tag=b7s:_marker,score_b7s:z_min=32] ~ ~ ~32 +scoreboard players remove @e[tag=b7s:_marker,score_b7s:z_min=32] b7s:z 32 +tp @e[tag=b7s:_marker,score_b7s:z_min=16] ~ ~ ~16 +scoreboard players remove @e[tag=b7s:_marker,score_b7s:z_min=16] b7s:z 16 +tp @e[tag=b7s:_marker,score_b7s:z_min=8] ~ ~ ~8 +scoreboard players remove @e[tag=b7s:_marker,score_b7s:z_min=8] b7s:z 8 +tp @e[tag=b7s:_marker,score_b7s:z_min=4] ~ ~ ~4 +scoreboard players remove @e[tag=b7s:_marker,score_b7s:z_min=4] b7s:z 4 +tp @e[tag=b7s:_marker,score_b7s:z_min=2] ~ ~ ~2 +scoreboard players remove @e[tag=b7s:_marker,score_b7s:z_min=2] b7s:z 2 +tp @e[tag=b7s:_marker,score_b7s:z_min=1] ~ ~ ~1 + +tp @s @e[tag=b7s:_marker] +kill @e[tag=b7s:_marker] diff --git a/functions/b7s/entity/tp_pos.py b/functions/b7s/entity/tp_pos.py new file mode 100644 index 0000000..0bee8c6 --- /dev/null +++ b/functions/b7s/entity/tp_pos.py @@ -0,0 +1,45 @@ +print('# Teleports a player or entity to a given position.') +print('#') +print('# Scores required:') +print('# b7s:x — the new x coordinate for the entity') +print('# b7s:y — the new y coordinate for the entity') +print('# b7s:z — the new z coordinate for the entity') +print('#') +print('# Usage:') +print('# /scoreboard players set b7s:x ') +print('# /scoreboard players set b7s:y ') +print('# /scoreboard players set b7s:z ') +print('# /execute ~ ~ ~ function b7s:entity/tp_pos') +print() +print('summon minecraft:area_effect_cloud ~ ~ ~ {Tags:["b7s:_marker"]}') +print('tp @e[tag=b7s:_marker] @s') +print('tp @e[tag=b7s:_marker] -30000000 -4096 -30000000') +print() +print('scoreboard players operation @e[tag=b7s:_marker] b7s:x = @s b7s:x') +print('scoreboard players add @e[tag=b7s:_marker] b7s:x 30000000') +print('scoreboard players operation @e[tag=b7s:_marker] b7s:y = @s b7s:y') +print('scoreboard players add @e[tag=b7s:_marker] b7s:y 4096') +print('scoreboard players operation @e[tag=b7s:_marker] b7s:z = @s b7s:z') +print('scoreboard players add @e[tag=b7s:_marker] b7s:z 30000000') + +print() +for exponent in range(25, -1, -1): + print('tp @e[tag=b7s:_marker,score_b7s:x_min={0}] ~{0} ~ ~'.format(2 ** exponent)) + if exponent != 0: + print('scoreboard players remove @e[tag=b7s:_marker,score_b7s:x_min={0}] b7s:x {0}'.format(2 ** exponent)) + +print() +for exponent in range(13, -1, -1): + print('tp @e[tag=b7s:_marker,score_b7s:y_min={0}] ~ ~{0} ~'.format(2 ** exponent)) + if exponent != 0: + print('scoreboard players remove @e[tag=b7s:_marker,score_b7s:y_min={0}] b7s:y {0}'.format(2 ** exponent)) + +print() +for exponent in range(25, -1, -1): + print('tp @e[tag=b7s:_marker,score_b7s:z_min={0}] ~ ~ ~{0}'.format(2 ** exponent)) + if exponent != 0: + print('scoreboard players remove @e[tag=b7s:_marker,score_b7s:z_min={0}] b7s:z {0}'.format(2 ** exponent)) + +print() +print('tp @s @e[tag=b7s:_marker]') +print('kill @e[tag=b7s:_marker]') diff --git a/functions/b7s/entity/tp_rot.mcfunction b/functions/b7s/entity/tp_rot.mcfunction new file mode 100644 index 0000000..b998125 --- /dev/null +++ b/functions/b7s/entity/tp_rot.mcfunction @@ -0,0 +1,553 @@ +# Teleports a player or entity to a given rotation. +# +# Scores required: +# b7s:rot_x — the new x rotation for the entity +# b7s:rot_y — the new y rotation for the entity +# +# Usage: +# /scoreboard players set b7s:rot_x +# /scoreboard players set b7s:rot_y +# /execute ~ ~ ~ function b7s:entity/tp_rot + +tp @s[score_b7s:rot_x_min=-90,score_b7s:rot_x=-90] ~ ~ ~ ~ -90 +tp @s[score_b7s:rot_x_min=-89,score_b7s:rot_x=-89] ~ ~ ~ ~ -89 +tp @s[score_b7s:rot_x_min=-88,score_b7s:rot_x=-88] ~ ~ ~ ~ -88 +tp @s[score_b7s:rot_x_min=-87,score_b7s:rot_x=-87] ~ ~ ~ ~ -87 +tp @s[score_b7s:rot_x_min=-86,score_b7s:rot_x=-86] ~ ~ ~ ~ -86 +tp @s[score_b7s:rot_x_min=-85,score_b7s:rot_x=-85] ~ ~ ~ ~ -85 +tp @s[score_b7s:rot_x_min=-84,score_b7s:rot_x=-84] ~ ~ ~ ~ -84 +tp @s[score_b7s:rot_x_min=-83,score_b7s:rot_x=-83] ~ ~ ~ ~ -83 +tp @s[score_b7s:rot_x_min=-82,score_b7s:rot_x=-82] ~ ~ ~ ~ -82 +tp @s[score_b7s:rot_x_min=-81,score_b7s:rot_x=-81] ~ ~ ~ ~ -81 +tp @s[score_b7s:rot_x_min=-80,score_b7s:rot_x=-80] ~ ~ ~ ~ -80 +tp @s[score_b7s:rot_x_min=-79,score_b7s:rot_x=-79] ~ ~ ~ ~ -79 +tp @s[score_b7s:rot_x_min=-78,score_b7s:rot_x=-78] ~ ~ ~ ~ -78 +tp @s[score_b7s:rot_x_min=-77,score_b7s:rot_x=-77] ~ ~ ~ ~ -77 +tp @s[score_b7s:rot_x_min=-76,score_b7s:rot_x=-76] ~ ~ ~ ~ -76 +tp @s[score_b7s:rot_x_min=-75,score_b7s:rot_x=-75] ~ ~ ~ ~ -75 +tp @s[score_b7s:rot_x_min=-74,score_b7s:rot_x=-74] ~ ~ ~ ~ -74 +tp @s[score_b7s:rot_x_min=-73,score_b7s:rot_x=-73] ~ ~ ~ ~ -73 +tp @s[score_b7s:rot_x_min=-72,score_b7s:rot_x=-72] ~ ~ ~ ~ -72 +tp @s[score_b7s:rot_x_min=-71,score_b7s:rot_x=-71] ~ ~ ~ ~ -71 +tp @s[score_b7s:rot_x_min=-70,score_b7s:rot_x=-70] ~ ~ ~ ~ -70 +tp @s[score_b7s:rot_x_min=-69,score_b7s:rot_x=-69] ~ ~ ~ ~ -69 +tp @s[score_b7s:rot_x_min=-68,score_b7s:rot_x=-68] ~ ~ ~ ~ -68 +tp @s[score_b7s:rot_x_min=-67,score_b7s:rot_x=-67] ~ ~ ~ ~ -67 +tp @s[score_b7s:rot_x_min=-66,score_b7s:rot_x=-66] ~ ~ ~ ~ -66 +tp @s[score_b7s:rot_x_min=-65,score_b7s:rot_x=-65] ~ ~ ~ ~ -65 +tp @s[score_b7s:rot_x_min=-64,score_b7s:rot_x=-64] ~ ~ ~ ~ -64 +tp @s[score_b7s:rot_x_min=-63,score_b7s:rot_x=-63] ~ ~ ~ ~ -63 +tp @s[score_b7s:rot_x_min=-62,score_b7s:rot_x=-62] ~ ~ ~ ~ -62 +tp @s[score_b7s:rot_x_min=-61,score_b7s:rot_x=-61] ~ ~ ~ ~ -61 +tp @s[score_b7s:rot_x_min=-60,score_b7s:rot_x=-60] ~ ~ ~ ~ -60 +tp @s[score_b7s:rot_x_min=-59,score_b7s:rot_x=-59] ~ ~ ~ ~ -59 +tp @s[score_b7s:rot_x_min=-58,score_b7s:rot_x=-58] ~ ~ ~ ~ -58 +tp @s[score_b7s:rot_x_min=-57,score_b7s:rot_x=-57] ~ ~ ~ ~ -57 +tp @s[score_b7s:rot_x_min=-56,score_b7s:rot_x=-56] ~ ~ ~ ~ -56 +tp @s[score_b7s:rot_x_min=-55,score_b7s:rot_x=-55] ~ ~ ~ ~ -55 +tp @s[score_b7s:rot_x_min=-54,score_b7s:rot_x=-54] ~ ~ ~ ~ -54 +tp @s[score_b7s:rot_x_min=-53,score_b7s:rot_x=-53] ~ ~ ~ ~ -53 +tp @s[score_b7s:rot_x_min=-52,score_b7s:rot_x=-52] ~ ~ ~ ~ -52 +tp @s[score_b7s:rot_x_min=-51,score_b7s:rot_x=-51] ~ ~ ~ ~ -51 +tp @s[score_b7s:rot_x_min=-50,score_b7s:rot_x=-50] ~ ~ ~ ~ -50 +tp @s[score_b7s:rot_x_min=-49,score_b7s:rot_x=-49] ~ ~ ~ ~ -49 +tp @s[score_b7s:rot_x_min=-48,score_b7s:rot_x=-48] ~ ~ ~ ~ -48 +tp @s[score_b7s:rot_x_min=-47,score_b7s:rot_x=-47] ~ ~ ~ ~ -47 +tp @s[score_b7s:rot_x_min=-46,score_b7s:rot_x=-46] ~ ~ ~ ~ -46 +tp @s[score_b7s:rot_x_min=-45,score_b7s:rot_x=-45] ~ ~ ~ ~ -45 +tp @s[score_b7s:rot_x_min=-44,score_b7s:rot_x=-44] ~ ~ ~ ~ -44 +tp @s[score_b7s:rot_x_min=-43,score_b7s:rot_x=-43] ~ ~ ~ ~ -43 +tp @s[score_b7s:rot_x_min=-42,score_b7s:rot_x=-42] ~ ~ ~ ~ -42 +tp @s[score_b7s:rot_x_min=-41,score_b7s:rot_x=-41] ~ ~ ~ ~ -41 +tp @s[score_b7s:rot_x_min=-40,score_b7s:rot_x=-40] ~ ~ ~ ~ -40 +tp @s[score_b7s:rot_x_min=-39,score_b7s:rot_x=-39] ~ ~ ~ ~ -39 +tp @s[score_b7s:rot_x_min=-38,score_b7s:rot_x=-38] ~ ~ ~ ~ -38 +tp @s[score_b7s:rot_x_min=-37,score_b7s:rot_x=-37] ~ ~ ~ ~ -37 +tp @s[score_b7s:rot_x_min=-36,score_b7s:rot_x=-36] ~ ~ ~ ~ -36 +tp @s[score_b7s:rot_x_min=-35,score_b7s:rot_x=-35] ~ ~ ~ ~ -35 +tp @s[score_b7s:rot_x_min=-34,score_b7s:rot_x=-34] ~ ~ ~ ~ -34 +tp @s[score_b7s:rot_x_min=-33,score_b7s:rot_x=-33] ~ ~ ~ ~ -33 +tp @s[score_b7s:rot_x_min=-32,score_b7s:rot_x=-32] ~ ~ ~ ~ -32 +tp @s[score_b7s:rot_x_min=-31,score_b7s:rot_x=-31] ~ ~ ~ ~ -31 +tp @s[score_b7s:rot_x_min=-30,score_b7s:rot_x=-30] ~ ~ ~ ~ -30 +tp @s[score_b7s:rot_x_min=-29,score_b7s:rot_x=-29] ~ ~ ~ ~ -29 +tp @s[score_b7s:rot_x_min=-28,score_b7s:rot_x=-28] ~ ~ ~ ~ -28 +tp @s[score_b7s:rot_x_min=-27,score_b7s:rot_x=-27] ~ ~ ~ ~ -27 +tp @s[score_b7s:rot_x_min=-26,score_b7s:rot_x=-26] ~ ~ ~ ~ -26 +tp @s[score_b7s:rot_x_min=-25,score_b7s:rot_x=-25] ~ ~ ~ ~ -25 +tp @s[score_b7s:rot_x_min=-24,score_b7s:rot_x=-24] ~ ~ ~ ~ -24 +tp @s[score_b7s:rot_x_min=-23,score_b7s:rot_x=-23] ~ ~ ~ ~ -23 +tp @s[score_b7s:rot_x_min=-22,score_b7s:rot_x=-22] ~ ~ ~ ~ -22 +tp @s[score_b7s:rot_x_min=-21,score_b7s:rot_x=-21] ~ ~ ~ ~ -21 +tp @s[score_b7s:rot_x_min=-20,score_b7s:rot_x=-20] ~ ~ ~ ~ -20 +tp @s[score_b7s:rot_x_min=-19,score_b7s:rot_x=-19] ~ ~ ~ ~ -19 +tp @s[score_b7s:rot_x_min=-18,score_b7s:rot_x=-18] ~ ~ ~ ~ -18 +tp @s[score_b7s:rot_x_min=-17,score_b7s:rot_x=-17] ~ ~ ~ ~ -17 +tp @s[score_b7s:rot_x_min=-16,score_b7s:rot_x=-16] ~ ~ ~ ~ -16 +tp @s[score_b7s:rot_x_min=-15,score_b7s:rot_x=-15] ~ ~ ~ ~ -15 +tp @s[score_b7s:rot_x_min=-14,score_b7s:rot_x=-14] ~ ~ ~ ~ -14 +tp @s[score_b7s:rot_x_min=-13,score_b7s:rot_x=-13] ~ ~ ~ ~ -13 +tp @s[score_b7s:rot_x_min=-12,score_b7s:rot_x=-12] ~ ~ ~ ~ -12 +tp @s[score_b7s:rot_x_min=-11,score_b7s:rot_x=-11] ~ ~ ~ ~ -11 +tp @s[score_b7s:rot_x_min=-10,score_b7s:rot_x=-10] ~ ~ ~ ~ -10 +tp @s[score_b7s:rot_x_min=-9,score_b7s:rot_x=-9] ~ ~ ~ ~ -9 +tp @s[score_b7s:rot_x_min=-8,score_b7s:rot_x=-8] ~ ~ ~ ~ -8 +tp @s[score_b7s:rot_x_min=-7,score_b7s:rot_x=-7] ~ ~ ~ ~ -7 +tp @s[score_b7s:rot_x_min=-6,score_b7s:rot_x=-6] ~ ~ ~ ~ -6 +tp @s[score_b7s:rot_x_min=-5,score_b7s:rot_x=-5] ~ ~ ~ ~ -5 +tp @s[score_b7s:rot_x_min=-4,score_b7s:rot_x=-4] ~ ~ ~ ~ -4 +tp @s[score_b7s:rot_x_min=-3,score_b7s:rot_x=-3] ~ ~ ~ ~ -3 +tp @s[score_b7s:rot_x_min=-2,score_b7s:rot_x=-2] ~ ~ ~ ~ -2 +tp @s[score_b7s:rot_x_min=-1,score_b7s:rot_x=-1] ~ ~ ~ ~ -1 +tp @s[score_b7s:rot_x_min=0,score_b7s:rot_x=0] ~ ~ ~ ~ 0 +tp @s[score_b7s:rot_x_min=1,score_b7s:rot_x=1] ~ ~ ~ ~ 1 +tp @s[score_b7s:rot_x_min=2,score_b7s:rot_x=2] ~ ~ ~ ~ 2 +tp @s[score_b7s:rot_x_min=3,score_b7s:rot_x=3] ~ ~ ~ ~ 3 +tp @s[score_b7s:rot_x_min=4,score_b7s:rot_x=4] ~ ~ ~ ~ 4 +tp @s[score_b7s:rot_x_min=5,score_b7s:rot_x=5] ~ ~ ~ ~ 5 +tp @s[score_b7s:rot_x_min=6,score_b7s:rot_x=6] ~ ~ ~ ~ 6 +tp @s[score_b7s:rot_x_min=7,score_b7s:rot_x=7] ~ ~ ~ ~ 7 +tp @s[score_b7s:rot_x_min=8,score_b7s:rot_x=8] ~ ~ ~ ~ 8 +tp @s[score_b7s:rot_x_min=9,score_b7s:rot_x=9] ~ ~ ~ ~ 9 +tp @s[score_b7s:rot_x_min=10,score_b7s:rot_x=10] ~ ~ ~ ~ 10 +tp @s[score_b7s:rot_x_min=11,score_b7s:rot_x=11] ~ ~ ~ ~ 11 +tp @s[score_b7s:rot_x_min=12,score_b7s:rot_x=12] ~ ~ ~ ~ 12 +tp @s[score_b7s:rot_x_min=13,score_b7s:rot_x=13] ~ ~ ~ ~ 13 +tp @s[score_b7s:rot_x_min=14,score_b7s:rot_x=14] ~ ~ ~ ~ 14 +tp @s[score_b7s:rot_x_min=15,score_b7s:rot_x=15] ~ ~ ~ ~ 15 +tp @s[score_b7s:rot_x_min=16,score_b7s:rot_x=16] ~ ~ ~ ~ 16 +tp @s[score_b7s:rot_x_min=17,score_b7s:rot_x=17] ~ ~ ~ ~ 17 +tp @s[score_b7s:rot_x_min=18,score_b7s:rot_x=18] ~ ~ ~ ~ 18 +tp @s[score_b7s:rot_x_min=19,score_b7s:rot_x=19] ~ ~ ~ ~ 19 +tp @s[score_b7s:rot_x_min=20,score_b7s:rot_x=20] ~ ~ ~ ~ 20 +tp @s[score_b7s:rot_x_min=21,score_b7s:rot_x=21] ~ ~ ~ ~ 21 +tp @s[score_b7s:rot_x_min=22,score_b7s:rot_x=22] ~ ~ ~ ~ 22 +tp @s[score_b7s:rot_x_min=23,score_b7s:rot_x=23] ~ ~ ~ ~ 23 +tp @s[score_b7s:rot_x_min=24,score_b7s:rot_x=24] ~ ~ ~ ~ 24 +tp @s[score_b7s:rot_x_min=25,score_b7s:rot_x=25] ~ ~ ~ ~ 25 +tp @s[score_b7s:rot_x_min=26,score_b7s:rot_x=26] ~ ~ ~ ~ 26 +tp @s[score_b7s:rot_x_min=27,score_b7s:rot_x=27] ~ ~ ~ ~ 27 +tp @s[score_b7s:rot_x_min=28,score_b7s:rot_x=28] ~ ~ ~ ~ 28 +tp @s[score_b7s:rot_x_min=29,score_b7s:rot_x=29] ~ ~ ~ ~ 29 +tp @s[score_b7s:rot_x_min=30,score_b7s:rot_x=30] ~ ~ ~ ~ 30 +tp @s[score_b7s:rot_x_min=31,score_b7s:rot_x=31] ~ ~ ~ ~ 31 +tp @s[score_b7s:rot_x_min=32,score_b7s:rot_x=32] ~ ~ ~ ~ 32 +tp @s[score_b7s:rot_x_min=33,score_b7s:rot_x=33] ~ ~ ~ ~ 33 +tp @s[score_b7s:rot_x_min=34,score_b7s:rot_x=34] ~ ~ ~ ~ 34 +tp @s[score_b7s:rot_x_min=35,score_b7s:rot_x=35] ~ ~ ~ ~ 35 +tp @s[score_b7s:rot_x_min=36,score_b7s:rot_x=36] ~ ~ ~ ~ 36 +tp @s[score_b7s:rot_x_min=37,score_b7s:rot_x=37] ~ ~ ~ ~ 37 +tp @s[score_b7s:rot_x_min=38,score_b7s:rot_x=38] ~ ~ ~ ~ 38 +tp @s[score_b7s:rot_x_min=39,score_b7s:rot_x=39] ~ ~ ~ ~ 39 +tp @s[score_b7s:rot_x_min=40,score_b7s:rot_x=40] ~ ~ ~ ~ 40 +tp @s[score_b7s:rot_x_min=41,score_b7s:rot_x=41] ~ ~ ~ ~ 41 +tp @s[score_b7s:rot_x_min=42,score_b7s:rot_x=42] ~ ~ ~ ~ 42 +tp @s[score_b7s:rot_x_min=43,score_b7s:rot_x=43] ~ ~ ~ ~ 43 +tp @s[score_b7s:rot_x_min=44,score_b7s:rot_x=44] ~ ~ ~ ~ 44 +tp @s[score_b7s:rot_x_min=45,score_b7s:rot_x=45] ~ ~ ~ ~ 45 +tp @s[score_b7s:rot_x_min=46,score_b7s:rot_x=46] ~ ~ ~ ~ 46 +tp @s[score_b7s:rot_x_min=47,score_b7s:rot_x=47] ~ ~ ~ ~ 47 +tp @s[score_b7s:rot_x_min=48,score_b7s:rot_x=48] ~ ~ ~ ~ 48 +tp @s[score_b7s:rot_x_min=49,score_b7s:rot_x=49] ~ ~ ~ ~ 49 +tp @s[score_b7s:rot_x_min=50,score_b7s:rot_x=50] ~ ~ ~ ~ 50 +tp @s[score_b7s:rot_x_min=51,score_b7s:rot_x=51] ~ ~ ~ ~ 51 +tp @s[score_b7s:rot_x_min=52,score_b7s:rot_x=52] ~ ~ ~ ~ 52 +tp @s[score_b7s:rot_x_min=53,score_b7s:rot_x=53] ~ ~ ~ ~ 53 +tp @s[score_b7s:rot_x_min=54,score_b7s:rot_x=54] ~ ~ ~ ~ 54 +tp @s[score_b7s:rot_x_min=55,score_b7s:rot_x=55] ~ ~ ~ ~ 55 +tp @s[score_b7s:rot_x_min=56,score_b7s:rot_x=56] ~ ~ ~ ~ 56 +tp @s[score_b7s:rot_x_min=57,score_b7s:rot_x=57] ~ ~ ~ ~ 57 +tp @s[score_b7s:rot_x_min=58,score_b7s:rot_x=58] ~ ~ ~ ~ 58 +tp @s[score_b7s:rot_x_min=59,score_b7s:rot_x=59] ~ ~ ~ ~ 59 +tp @s[score_b7s:rot_x_min=60,score_b7s:rot_x=60] ~ ~ ~ ~ 60 +tp @s[score_b7s:rot_x_min=61,score_b7s:rot_x=61] ~ ~ ~ ~ 61 +tp @s[score_b7s:rot_x_min=62,score_b7s:rot_x=62] ~ ~ ~ ~ 62 +tp @s[score_b7s:rot_x_min=63,score_b7s:rot_x=63] ~ ~ ~ ~ 63 +tp @s[score_b7s:rot_x_min=64,score_b7s:rot_x=64] ~ ~ ~ ~ 64 +tp @s[score_b7s:rot_x_min=65,score_b7s:rot_x=65] ~ ~ ~ ~ 65 +tp @s[score_b7s:rot_x_min=66,score_b7s:rot_x=66] ~ ~ ~ ~ 66 +tp @s[score_b7s:rot_x_min=67,score_b7s:rot_x=67] ~ ~ ~ ~ 67 +tp @s[score_b7s:rot_x_min=68,score_b7s:rot_x=68] ~ ~ ~ ~ 68 +tp @s[score_b7s:rot_x_min=69,score_b7s:rot_x=69] ~ ~ ~ ~ 69 +tp @s[score_b7s:rot_x_min=70,score_b7s:rot_x=70] ~ ~ ~ ~ 70 +tp @s[score_b7s:rot_x_min=71,score_b7s:rot_x=71] ~ ~ ~ ~ 71 +tp @s[score_b7s:rot_x_min=72,score_b7s:rot_x=72] ~ ~ ~ ~ 72 +tp @s[score_b7s:rot_x_min=73,score_b7s:rot_x=73] ~ ~ ~ ~ 73 +tp @s[score_b7s:rot_x_min=74,score_b7s:rot_x=74] ~ ~ ~ ~ 74 +tp @s[score_b7s:rot_x_min=75,score_b7s:rot_x=75] ~ ~ ~ ~ 75 +tp @s[score_b7s:rot_x_min=76,score_b7s:rot_x=76] ~ ~ ~ ~ 76 +tp @s[score_b7s:rot_x_min=77,score_b7s:rot_x=77] ~ ~ ~ ~ 77 +tp @s[score_b7s:rot_x_min=78,score_b7s:rot_x=78] ~ ~ ~ ~ 78 +tp @s[score_b7s:rot_x_min=79,score_b7s:rot_x=79] ~ ~ ~ ~ 79 +tp @s[score_b7s:rot_x_min=80,score_b7s:rot_x=80] ~ ~ ~ ~ 80 +tp @s[score_b7s:rot_x_min=81,score_b7s:rot_x=81] ~ ~ ~ ~ 81 +tp @s[score_b7s:rot_x_min=82,score_b7s:rot_x=82] ~ ~ ~ ~ 82 +tp @s[score_b7s:rot_x_min=83,score_b7s:rot_x=83] ~ ~ ~ ~ 83 +tp @s[score_b7s:rot_x_min=84,score_b7s:rot_x=84] ~ ~ ~ ~ 84 +tp @s[score_b7s:rot_x_min=85,score_b7s:rot_x=85] ~ ~ ~ ~ 85 +tp @s[score_b7s:rot_x_min=86,score_b7s:rot_x=86] ~ ~ ~ ~ 86 +tp @s[score_b7s:rot_x_min=87,score_b7s:rot_x=87] ~ ~ ~ ~ 87 +tp @s[score_b7s:rot_x_min=88,score_b7s:rot_x=88] ~ ~ ~ ~ 88 +tp @s[score_b7s:rot_x_min=89,score_b7s:rot_x=89] ~ ~ ~ ~ 89 +tp @s[score_b7s:rot_x_min=90,score_b7s:rot_x=90] ~ ~ ~ ~ 90 + +tp @s[score_b7s:rot_y_min=-180,score_b7s:rot_y=-180] ~ ~ ~ -180 ~ +tp @s[score_b7s:rot_y_min=-179,score_b7s:rot_y=-179] ~ ~ ~ -179 ~ +tp @s[score_b7s:rot_y_min=-178,score_b7s:rot_y=-178] ~ ~ ~ -178 ~ +tp @s[score_b7s:rot_y_min=-177,score_b7s:rot_y=-177] ~ ~ ~ -177 ~ +tp @s[score_b7s:rot_y_min=-176,score_b7s:rot_y=-176] ~ ~ ~ -176 ~ +tp @s[score_b7s:rot_y_min=-175,score_b7s:rot_y=-175] ~ ~ ~ -175 ~ +tp @s[score_b7s:rot_y_min=-174,score_b7s:rot_y=-174] ~ ~ ~ -174 ~ +tp @s[score_b7s:rot_y_min=-173,score_b7s:rot_y=-173] ~ ~ ~ -173 ~ +tp @s[score_b7s:rot_y_min=-172,score_b7s:rot_y=-172] ~ ~ ~ -172 ~ +tp @s[score_b7s:rot_y_min=-171,score_b7s:rot_y=-171] ~ ~ ~ -171 ~ +tp @s[score_b7s:rot_y_min=-170,score_b7s:rot_y=-170] ~ ~ ~ -170 ~ +tp @s[score_b7s:rot_y_min=-169,score_b7s:rot_y=-169] ~ ~ ~ -169 ~ +tp @s[score_b7s:rot_y_min=-168,score_b7s:rot_y=-168] ~ ~ ~ -168 ~ +tp @s[score_b7s:rot_y_min=-167,score_b7s:rot_y=-167] ~ ~ ~ -167 ~ +tp @s[score_b7s:rot_y_min=-166,score_b7s:rot_y=-166] ~ ~ ~ -166 ~ +tp @s[score_b7s:rot_y_min=-165,score_b7s:rot_y=-165] ~ ~ ~ -165 ~ +tp @s[score_b7s:rot_y_min=-164,score_b7s:rot_y=-164] ~ ~ ~ -164 ~ +tp @s[score_b7s:rot_y_min=-163,score_b7s:rot_y=-163] ~ ~ ~ -163 ~ +tp @s[score_b7s:rot_y_min=-162,score_b7s:rot_y=-162] ~ ~ ~ -162 ~ +tp @s[score_b7s:rot_y_min=-161,score_b7s:rot_y=-161] ~ ~ ~ -161 ~ +tp @s[score_b7s:rot_y_min=-160,score_b7s:rot_y=-160] ~ ~ ~ -160 ~ +tp @s[score_b7s:rot_y_min=-159,score_b7s:rot_y=-159] ~ ~ ~ -159 ~ +tp @s[score_b7s:rot_y_min=-158,score_b7s:rot_y=-158] ~ ~ ~ -158 ~ +tp @s[score_b7s:rot_y_min=-157,score_b7s:rot_y=-157] ~ ~ ~ -157 ~ +tp @s[score_b7s:rot_y_min=-156,score_b7s:rot_y=-156] ~ ~ ~ -156 ~ +tp @s[score_b7s:rot_y_min=-155,score_b7s:rot_y=-155] ~ ~ ~ -155 ~ +tp @s[score_b7s:rot_y_min=-154,score_b7s:rot_y=-154] ~ ~ ~ -154 ~ +tp @s[score_b7s:rot_y_min=-153,score_b7s:rot_y=-153] ~ ~ ~ -153 ~ +tp @s[score_b7s:rot_y_min=-152,score_b7s:rot_y=-152] ~ ~ ~ -152 ~ +tp @s[score_b7s:rot_y_min=-151,score_b7s:rot_y=-151] ~ ~ ~ -151 ~ +tp @s[score_b7s:rot_y_min=-150,score_b7s:rot_y=-150] ~ ~ ~ -150 ~ +tp @s[score_b7s:rot_y_min=-149,score_b7s:rot_y=-149] ~ ~ ~ -149 ~ +tp @s[score_b7s:rot_y_min=-148,score_b7s:rot_y=-148] ~ ~ ~ -148 ~ +tp @s[score_b7s:rot_y_min=-147,score_b7s:rot_y=-147] ~ ~ ~ -147 ~ +tp @s[score_b7s:rot_y_min=-146,score_b7s:rot_y=-146] ~ ~ ~ -146 ~ +tp @s[score_b7s:rot_y_min=-145,score_b7s:rot_y=-145] ~ ~ ~ -145 ~ +tp @s[score_b7s:rot_y_min=-144,score_b7s:rot_y=-144] ~ ~ ~ -144 ~ +tp @s[score_b7s:rot_y_min=-143,score_b7s:rot_y=-143] ~ ~ ~ -143 ~ +tp @s[score_b7s:rot_y_min=-142,score_b7s:rot_y=-142] ~ ~ ~ -142 ~ +tp @s[score_b7s:rot_y_min=-141,score_b7s:rot_y=-141] ~ ~ ~ -141 ~ +tp @s[score_b7s:rot_y_min=-140,score_b7s:rot_y=-140] ~ ~ ~ -140 ~ +tp @s[score_b7s:rot_y_min=-139,score_b7s:rot_y=-139] ~ ~ ~ -139 ~ +tp @s[score_b7s:rot_y_min=-138,score_b7s:rot_y=-138] ~ ~ ~ -138 ~ +tp @s[score_b7s:rot_y_min=-137,score_b7s:rot_y=-137] ~ ~ ~ -137 ~ +tp @s[score_b7s:rot_y_min=-136,score_b7s:rot_y=-136] ~ ~ ~ -136 ~ +tp @s[score_b7s:rot_y_min=-135,score_b7s:rot_y=-135] ~ ~ ~ -135 ~ +tp @s[score_b7s:rot_y_min=-134,score_b7s:rot_y=-134] ~ ~ ~ -134 ~ +tp @s[score_b7s:rot_y_min=-133,score_b7s:rot_y=-133] ~ ~ ~ -133 ~ +tp @s[score_b7s:rot_y_min=-132,score_b7s:rot_y=-132] ~ ~ ~ -132 ~ +tp @s[score_b7s:rot_y_min=-131,score_b7s:rot_y=-131] ~ ~ ~ -131 ~ +tp @s[score_b7s:rot_y_min=-130,score_b7s:rot_y=-130] ~ ~ ~ -130 ~ +tp @s[score_b7s:rot_y_min=-129,score_b7s:rot_y=-129] ~ ~ ~ -129 ~ +tp @s[score_b7s:rot_y_min=-128,score_b7s:rot_y=-128] ~ ~ ~ -128 ~ +tp @s[score_b7s:rot_y_min=-127,score_b7s:rot_y=-127] ~ ~ ~ -127 ~ +tp @s[score_b7s:rot_y_min=-126,score_b7s:rot_y=-126] ~ ~ ~ -126 ~ +tp @s[score_b7s:rot_y_min=-125,score_b7s:rot_y=-125] ~ ~ ~ -125 ~ +tp @s[score_b7s:rot_y_min=-124,score_b7s:rot_y=-124] ~ ~ ~ -124 ~ +tp @s[score_b7s:rot_y_min=-123,score_b7s:rot_y=-123] ~ ~ ~ -123 ~ +tp @s[score_b7s:rot_y_min=-122,score_b7s:rot_y=-122] ~ ~ ~ -122 ~ +tp @s[score_b7s:rot_y_min=-121,score_b7s:rot_y=-121] ~ ~ ~ -121 ~ +tp @s[score_b7s:rot_y_min=-120,score_b7s:rot_y=-120] ~ ~ ~ -120 ~ +tp @s[score_b7s:rot_y_min=-119,score_b7s:rot_y=-119] ~ ~ ~ -119 ~ +tp @s[score_b7s:rot_y_min=-118,score_b7s:rot_y=-118] ~ ~ ~ -118 ~ +tp @s[score_b7s:rot_y_min=-117,score_b7s:rot_y=-117] ~ ~ ~ -117 ~ +tp @s[score_b7s:rot_y_min=-116,score_b7s:rot_y=-116] ~ ~ ~ -116 ~ +tp @s[score_b7s:rot_y_min=-115,score_b7s:rot_y=-115] ~ ~ ~ -115 ~ +tp @s[score_b7s:rot_y_min=-114,score_b7s:rot_y=-114] ~ ~ ~ -114 ~ +tp @s[score_b7s:rot_y_min=-113,score_b7s:rot_y=-113] ~ ~ ~ -113 ~ +tp @s[score_b7s:rot_y_min=-112,score_b7s:rot_y=-112] ~ ~ ~ -112 ~ +tp @s[score_b7s:rot_y_min=-111,score_b7s:rot_y=-111] ~ ~ ~ -111 ~ +tp @s[score_b7s:rot_y_min=-110,score_b7s:rot_y=-110] ~ ~ ~ -110 ~ +tp @s[score_b7s:rot_y_min=-109,score_b7s:rot_y=-109] ~ ~ ~ -109 ~ +tp @s[score_b7s:rot_y_min=-108,score_b7s:rot_y=-108] ~ ~ ~ -108 ~ +tp @s[score_b7s:rot_y_min=-107,score_b7s:rot_y=-107] ~ ~ ~ -107 ~ +tp @s[score_b7s:rot_y_min=-106,score_b7s:rot_y=-106] ~ ~ ~ -106 ~ +tp @s[score_b7s:rot_y_min=-105,score_b7s:rot_y=-105] ~ ~ ~ -105 ~ +tp @s[score_b7s:rot_y_min=-104,score_b7s:rot_y=-104] ~ ~ ~ -104 ~ +tp @s[score_b7s:rot_y_min=-103,score_b7s:rot_y=-103] ~ ~ ~ -103 ~ +tp @s[score_b7s:rot_y_min=-102,score_b7s:rot_y=-102] ~ ~ ~ -102 ~ +tp @s[score_b7s:rot_y_min=-101,score_b7s:rot_y=-101] ~ ~ ~ -101 ~ +tp @s[score_b7s:rot_y_min=-100,score_b7s:rot_y=-100] ~ ~ ~ -100 ~ +tp @s[score_b7s:rot_y_min=-99,score_b7s:rot_y=-99] ~ ~ ~ -99 ~ +tp @s[score_b7s:rot_y_min=-98,score_b7s:rot_y=-98] ~ ~ ~ -98 ~ +tp @s[score_b7s:rot_y_min=-97,score_b7s:rot_y=-97] ~ ~ ~ -97 ~ +tp @s[score_b7s:rot_y_min=-96,score_b7s:rot_y=-96] ~ ~ ~ -96 ~ +tp @s[score_b7s:rot_y_min=-95,score_b7s:rot_y=-95] ~ ~ ~ -95 ~ +tp @s[score_b7s:rot_y_min=-94,score_b7s:rot_y=-94] ~ ~ ~ -94 ~ +tp @s[score_b7s:rot_y_min=-93,score_b7s:rot_y=-93] ~ ~ ~ -93 ~ +tp @s[score_b7s:rot_y_min=-92,score_b7s:rot_y=-92] ~ ~ ~ -92 ~ +tp @s[score_b7s:rot_y_min=-91,score_b7s:rot_y=-91] ~ ~ ~ -91 ~ +tp @s[score_b7s:rot_y_min=-90,score_b7s:rot_y=-90] ~ ~ ~ -90 ~ +tp @s[score_b7s:rot_y_min=-89,score_b7s:rot_y=-89] ~ ~ ~ -89 ~ +tp @s[score_b7s:rot_y_min=-88,score_b7s:rot_y=-88] ~ ~ ~ -88 ~ +tp @s[score_b7s:rot_y_min=-87,score_b7s:rot_y=-87] ~ ~ ~ -87 ~ +tp @s[score_b7s:rot_y_min=-86,score_b7s:rot_y=-86] ~ ~ ~ -86 ~ +tp @s[score_b7s:rot_y_min=-85,score_b7s:rot_y=-85] ~ ~ ~ -85 ~ +tp @s[score_b7s:rot_y_min=-84,score_b7s:rot_y=-84] ~ ~ ~ -84 ~ +tp @s[score_b7s:rot_y_min=-83,score_b7s:rot_y=-83] ~ ~ ~ -83 ~ +tp @s[score_b7s:rot_y_min=-82,score_b7s:rot_y=-82] ~ ~ ~ -82 ~ +tp @s[score_b7s:rot_y_min=-81,score_b7s:rot_y=-81] ~ ~ ~ -81 ~ +tp @s[score_b7s:rot_y_min=-80,score_b7s:rot_y=-80] ~ ~ ~ -80 ~ +tp @s[score_b7s:rot_y_min=-79,score_b7s:rot_y=-79] ~ ~ ~ -79 ~ +tp @s[score_b7s:rot_y_min=-78,score_b7s:rot_y=-78] ~ ~ ~ -78 ~ +tp @s[score_b7s:rot_y_min=-77,score_b7s:rot_y=-77] ~ ~ ~ -77 ~ +tp @s[score_b7s:rot_y_min=-76,score_b7s:rot_y=-76] ~ ~ ~ -76 ~ +tp @s[score_b7s:rot_y_min=-75,score_b7s:rot_y=-75] ~ ~ ~ -75 ~ +tp @s[score_b7s:rot_y_min=-74,score_b7s:rot_y=-74] ~ ~ ~ -74 ~ +tp @s[score_b7s:rot_y_min=-73,score_b7s:rot_y=-73] ~ ~ ~ -73 ~ +tp @s[score_b7s:rot_y_min=-72,score_b7s:rot_y=-72] ~ ~ ~ -72 ~ +tp @s[score_b7s:rot_y_min=-71,score_b7s:rot_y=-71] ~ ~ ~ -71 ~ +tp @s[score_b7s:rot_y_min=-70,score_b7s:rot_y=-70] ~ ~ ~ -70 ~ +tp @s[score_b7s:rot_y_min=-69,score_b7s:rot_y=-69] ~ ~ ~ -69 ~ +tp @s[score_b7s:rot_y_min=-68,score_b7s:rot_y=-68] ~ ~ ~ -68 ~ +tp @s[score_b7s:rot_y_min=-67,score_b7s:rot_y=-67] ~ ~ ~ -67 ~ +tp @s[score_b7s:rot_y_min=-66,score_b7s:rot_y=-66] ~ ~ ~ -66 ~ +tp @s[score_b7s:rot_y_min=-65,score_b7s:rot_y=-65] ~ ~ ~ -65 ~ +tp @s[score_b7s:rot_y_min=-64,score_b7s:rot_y=-64] ~ ~ ~ -64 ~ +tp @s[score_b7s:rot_y_min=-63,score_b7s:rot_y=-63] ~ ~ ~ -63 ~ +tp @s[score_b7s:rot_y_min=-62,score_b7s:rot_y=-62] ~ ~ ~ -62 ~ +tp @s[score_b7s:rot_y_min=-61,score_b7s:rot_y=-61] ~ ~ ~ -61 ~ +tp @s[score_b7s:rot_y_min=-60,score_b7s:rot_y=-60] ~ ~ ~ -60 ~ +tp @s[score_b7s:rot_y_min=-59,score_b7s:rot_y=-59] ~ ~ ~ -59 ~ +tp @s[score_b7s:rot_y_min=-58,score_b7s:rot_y=-58] ~ ~ ~ -58 ~ +tp @s[score_b7s:rot_y_min=-57,score_b7s:rot_y=-57] ~ ~ ~ -57 ~ +tp @s[score_b7s:rot_y_min=-56,score_b7s:rot_y=-56] ~ ~ ~ -56 ~ +tp @s[score_b7s:rot_y_min=-55,score_b7s:rot_y=-55] ~ ~ ~ -55 ~ +tp @s[score_b7s:rot_y_min=-54,score_b7s:rot_y=-54] ~ ~ ~ -54 ~ +tp @s[score_b7s:rot_y_min=-53,score_b7s:rot_y=-53] ~ ~ ~ -53 ~ +tp @s[score_b7s:rot_y_min=-52,score_b7s:rot_y=-52] ~ ~ ~ -52 ~ +tp @s[score_b7s:rot_y_min=-51,score_b7s:rot_y=-51] ~ ~ ~ -51 ~ +tp @s[score_b7s:rot_y_min=-50,score_b7s:rot_y=-50] ~ ~ ~ -50 ~ +tp @s[score_b7s:rot_y_min=-49,score_b7s:rot_y=-49] ~ ~ ~ -49 ~ +tp @s[score_b7s:rot_y_min=-48,score_b7s:rot_y=-48] ~ ~ ~ -48 ~ +tp @s[score_b7s:rot_y_min=-47,score_b7s:rot_y=-47] ~ ~ ~ -47 ~ +tp @s[score_b7s:rot_y_min=-46,score_b7s:rot_y=-46] ~ ~ ~ -46 ~ +tp @s[score_b7s:rot_y_min=-45,score_b7s:rot_y=-45] ~ ~ ~ -45 ~ +tp @s[score_b7s:rot_y_min=-44,score_b7s:rot_y=-44] ~ ~ ~ -44 ~ +tp @s[score_b7s:rot_y_min=-43,score_b7s:rot_y=-43] ~ ~ ~ -43 ~ +tp @s[score_b7s:rot_y_min=-42,score_b7s:rot_y=-42] ~ ~ ~ -42 ~ +tp @s[score_b7s:rot_y_min=-41,score_b7s:rot_y=-41] ~ ~ ~ -41 ~ +tp @s[score_b7s:rot_y_min=-40,score_b7s:rot_y=-40] ~ ~ ~ -40 ~ +tp @s[score_b7s:rot_y_min=-39,score_b7s:rot_y=-39] ~ ~ ~ -39 ~ +tp @s[score_b7s:rot_y_min=-38,score_b7s:rot_y=-38] ~ ~ ~ -38 ~ +tp @s[score_b7s:rot_y_min=-37,score_b7s:rot_y=-37] ~ ~ ~ -37 ~ +tp @s[score_b7s:rot_y_min=-36,score_b7s:rot_y=-36] ~ ~ ~ -36 ~ +tp @s[score_b7s:rot_y_min=-35,score_b7s:rot_y=-35] ~ ~ ~ -35 ~ +tp @s[score_b7s:rot_y_min=-34,score_b7s:rot_y=-34] ~ ~ ~ -34 ~ +tp @s[score_b7s:rot_y_min=-33,score_b7s:rot_y=-33] ~ ~ ~ -33 ~ +tp @s[score_b7s:rot_y_min=-32,score_b7s:rot_y=-32] ~ ~ ~ -32 ~ +tp @s[score_b7s:rot_y_min=-31,score_b7s:rot_y=-31] ~ ~ ~ -31 ~ +tp @s[score_b7s:rot_y_min=-30,score_b7s:rot_y=-30] ~ ~ ~ -30 ~ +tp @s[score_b7s:rot_y_min=-29,score_b7s:rot_y=-29] ~ ~ ~ -29 ~ +tp @s[score_b7s:rot_y_min=-28,score_b7s:rot_y=-28] ~ ~ ~ -28 ~ +tp @s[score_b7s:rot_y_min=-27,score_b7s:rot_y=-27] ~ ~ ~ -27 ~ +tp @s[score_b7s:rot_y_min=-26,score_b7s:rot_y=-26] ~ ~ ~ -26 ~ +tp @s[score_b7s:rot_y_min=-25,score_b7s:rot_y=-25] ~ ~ ~ -25 ~ +tp @s[score_b7s:rot_y_min=-24,score_b7s:rot_y=-24] ~ ~ ~ -24 ~ +tp @s[score_b7s:rot_y_min=-23,score_b7s:rot_y=-23] ~ ~ ~ -23 ~ +tp @s[score_b7s:rot_y_min=-22,score_b7s:rot_y=-22] ~ ~ ~ -22 ~ +tp @s[score_b7s:rot_y_min=-21,score_b7s:rot_y=-21] ~ ~ ~ -21 ~ +tp @s[score_b7s:rot_y_min=-20,score_b7s:rot_y=-20] ~ ~ ~ -20 ~ +tp @s[score_b7s:rot_y_min=-19,score_b7s:rot_y=-19] ~ ~ ~ -19 ~ +tp @s[score_b7s:rot_y_min=-18,score_b7s:rot_y=-18] ~ ~ ~ -18 ~ +tp @s[score_b7s:rot_y_min=-17,score_b7s:rot_y=-17] ~ ~ ~ -17 ~ +tp @s[score_b7s:rot_y_min=-16,score_b7s:rot_y=-16] ~ ~ ~ -16 ~ +tp @s[score_b7s:rot_y_min=-15,score_b7s:rot_y=-15] ~ ~ ~ -15 ~ +tp @s[score_b7s:rot_y_min=-14,score_b7s:rot_y=-14] ~ ~ ~ -14 ~ +tp @s[score_b7s:rot_y_min=-13,score_b7s:rot_y=-13] ~ ~ ~ -13 ~ +tp @s[score_b7s:rot_y_min=-12,score_b7s:rot_y=-12] ~ ~ ~ -12 ~ +tp @s[score_b7s:rot_y_min=-11,score_b7s:rot_y=-11] ~ ~ ~ -11 ~ +tp @s[score_b7s:rot_y_min=-10,score_b7s:rot_y=-10] ~ ~ ~ -10 ~ +tp @s[score_b7s:rot_y_min=-9,score_b7s:rot_y=-9] ~ ~ ~ -9 ~ +tp @s[score_b7s:rot_y_min=-8,score_b7s:rot_y=-8] ~ ~ ~ -8 ~ +tp @s[score_b7s:rot_y_min=-7,score_b7s:rot_y=-7] ~ ~ ~ -7 ~ +tp @s[score_b7s:rot_y_min=-6,score_b7s:rot_y=-6] ~ ~ ~ -6 ~ +tp @s[score_b7s:rot_y_min=-5,score_b7s:rot_y=-5] ~ ~ ~ -5 ~ +tp @s[score_b7s:rot_y_min=-4,score_b7s:rot_y=-4] ~ ~ ~ -4 ~ +tp @s[score_b7s:rot_y_min=-3,score_b7s:rot_y=-3] ~ ~ ~ -3 ~ +tp @s[score_b7s:rot_y_min=-2,score_b7s:rot_y=-2] ~ ~ ~ -2 ~ +tp @s[score_b7s:rot_y_min=-1,score_b7s:rot_y=-1] ~ ~ ~ -1 ~ +tp @s[score_b7s:rot_y_min=0,score_b7s:rot_y=0] ~ ~ ~ 0 ~ +tp @s[score_b7s:rot_y_min=1,score_b7s:rot_y=1] ~ ~ ~ 1 ~ +tp @s[score_b7s:rot_y_min=2,score_b7s:rot_y=2] ~ ~ ~ 2 ~ +tp @s[score_b7s:rot_y_min=3,score_b7s:rot_y=3] ~ ~ ~ 3 ~ +tp @s[score_b7s:rot_y_min=4,score_b7s:rot_y=4] ~ ~ ~ 4 ~ +tp @s[score_b7s:rot_y_min=5,score_b7s:rot_y=5] ~ ~ ~ 5 ~ +tp @s[score_b7s:rot_y_min=6,score_b7s:rot_y=6] ~ ~ ~ 6 ~ +tp @s[score_b7s:rot_y_min=7,score_b7s:rot_y=7] ~ ~ ~ 7 ~ +tp @s[score_b7s:rot_y_min=8,score_b7s:rot_y=8] ~ ~ ~ 8 ~ +tp @s[score_b7s:rot_y_min=9,score_b7s:rot_y=9] ~ ~ ~ 9 ~ +tp @s[score_b7s:rot_y_min=10,score_b7s:rot_y=10] ~ ~ ~ 10 ~ +tp @s[score_b7s:rot_y_min=11,score_b7s:rot_y=11] ~ ~ ~ 11 ~ +tp @s[score_b7s:rot_y_min=12,score_b7s:rot_y=12] ~ ~ ~ 12 ~ +tp @s[score_b7s:rot_y_min=13,score_b7s:rot_y=13] ~ ~ ~ 13 ~ +tp @s[score_b7s:rot_y_min=14,score_b7s:rot_y=14] ~ ~ ~ 14 ~ +tp @s[score_b7s:rot_y_min=15,score_b7s:rot_y=15] ~ ~ ~ 15 ~ +tp @s[score_b7s:rot_y_min=16,score_b7s:rot_y=16] ~ ~ ~ 16 ~ +tp @s[score_b7s:rot_y_min=17,score_b7s:rot_y=17] ~ ~ ~ 17 ~ +tp @s[score_b7s:rot_y_min=18,score_b7s:rot_y=18] ~ ~ ~ 18 ~ +tp @s[score_b7s:rot_y_min=19,score_b7s:rot_y=19] ~ ~ ~ 19 ~ +tp @s[score_b7s:rot_y_min=20,score_b7s:rot_y=20] ~ ~ ~ 20 ~ +tp @s[score_b7s:rot_y_min=21,score_b7s:rot_y=21] ~ ~ ~ 21 ~ +tp @s[score_b7s:rot_y_min=22,score_b7s:rot_y=22] ~ ~ ~ 22 ~ +tp @s[score_b7s:rot_y_min=23,score_b7s:rot_y=23] ~ ~ ~ 23 ~ +tp @s[score_b7s:rot_y_min=24,score_b7s:rot_y=24] ~ ~ ~ 24 ~ +tp @s[score_b7s:rot_y_min=25,score_b7s:rot_y=25] ~ ~ ~ 25 ~ +tp @s[score_b7s:rot_y_min=26,score_b7s:rot_y=26] ~ ~ ~ 26 ~ +tp @s[score_b7s:rot_y_min=27,score_b7s:rot_y=27] ~ ~ ~ 27 ~ +tp @s[score_b7s:rot_y_min=28,score_b7s:rot_y=28] ~ ~ ~ 28 ~ +tp @s[score_b7s:rot_y_min=29,score_b7s:rot_y=29] ~ ~ ~ 29 ~ +tp @s[score_b7s:rot_y_min=30,score_b7s:rot_y=30] ~ ~ ~ 30 ~ +tp @s[score_b7s:rot_y_min=31,score_b7s:rot_y=31] ~ ~ ~ 31 ~ +tp @s[score_b7s:rot_y_min=32,score_b7s:rot_y=32] ~ ~ ~ 32 ~ +tp @s[score_b7s:rot_y_min=33,score_b7s:rot_y=33] ~ ~ ~ 33 ~ +tp @s[score_b7s:rot_y_min=34,score_b7s:rot_y=34] ~ ~ ~ 34 ~ +tp @s[score_b7s:rot_y_min=35,score_b7s:rot_y=35] ~ ~ ~ 35 ~ +tp @s[score_b7s:rot_y_min=36,score_b7s:rot_y=36] ~ ~ ~ 36 ~ +tp @s[score_b7s:rot_y_min=37,score_b7s:rot_y=37] ~ ~ ~ 37 ~ +tp @s[score_b7s:rot_y_min=38,score_b7s:rot_y=38] ~ ~ ~ 38 ~ +tp @s[score_b7s:rot_y_min=39,score_b7s:rot_y=39] ~ ~ ~ 39 ~ +tp @s[score_b7s:rot_y_min=40,score_b7s:rot_y=40] ~ ~ ~ 40 ~ +tp @s[score_b7s:rot_y_min=41,score_b7s:rot_y=41] ~ ~ ~ 41 ~ +tp @s[score_b7s:rot_y_min=42,score_b7s:rot_y=42] ~ ~ ~ 42 ~ +tp @s[score_b7s:rot_y_min=43,score_b7s:rot_y=43] ~ ~ ~ 43 ~ +tp @s[score_b7s:rot_y_min=44,score_b7s:rot_y=44] ~ ~ ~ 44 ~ +tp @s[score_b7s:rot_y_min=45,score_b7s:rot_y=45] ~ ~ ~ 45 ~ +tp @s[score_b7s:rot_y_min=46,score_b7s:rot_y=46] ~ ~ ~ 46 ~ +tp @s[score_b7s:rot_y_min=47,score_b7s:rot_y=47] ~ ~ ~ 47 ~ +tp @s[score_b7s:rot_y_min=48,score_b7s:rot_y=48] ~ ~ ~ 48 ~ +tp @s[score_b7s:rot_y_min=49,score_b7s:rot_y=49] ~ ~ ~ 49 ~ +tp @s[score_b7s:rot_y_min=50,score_b7s:rot_y=50] ~ ~ ~ 50 ~ +tp @s[score_b7s:rot_y_min=51,score_b7s:rot_y=51] ~ ~ ~ 51 ~ +tp @s[score_b7s:rot_y_min=52,score_b7s:rot_y=52] ~ ~ ~ 52 ~ +tp @s[score_b7s:rot_y_min=53,score_b7s:rot_y=53] ~ ~ ~ 53 ~ +tp @s[score_b7s:rot_y_min=54,score_b7s:rot_y=54] ~ ~ ~ 54 ~ +tp @s[score_b7s:rot_y_min=55,score_b7s:rot_y=55] ~ ~ ~ 55 ~ +tp @s[score_b7s:rot_y_min=56,score_b7s:rot_y=56] ~ ~ ~ 56 ~ +tp @s[score_b7s:rot_y_min=57,score_b7s:rot_y=57] ~ ~ ~ 57 ~ +tp @s[score_b7s:rot_y_min=58,score_b7s:rot_y=58] ~ ~ ~ 58 ~ +tp @s[score_b7s:rot_y_min=59,score_b7s:rot_y=59] ~ ~ ~ 59 ~ +tp @s[score_b7s:rot_y_min=60,score_b7s:rot_y=60] ~ ~ ~ 60 ~ +tp @s[score_b7s:rot_y_min=61,score_b7s:rot_y=61] ~ ~ ~ 61 ~ +tp @s[score_b7s:rot_y_min=62,score_b7s:rot_y=62] ~ ~ ~ 62 ~ +tp @s[score_b7s:rot_y_min=63,score_b7s:rot_y=63] ~ ~ ~ 63 ~ +tp @s[score_b7s:rot_y_min=64,score_b7s:rot_y=64] ~ ~ ~ 64 ~ +tp @s[score_b7s:rot_y_min=65,score_b7s:rot_y=65] ~ ~ ~ 65 ~ +tp @s[score_b7s:rot_y_min=66,score_b7s:rot_y=66] ~ ~ ~ 66 ~ +tp @s[score_b7s:rot_y_min=67,score_b7s:rot_y=67] ~ ~ ~ 67 ~ +tp @s[score_b7s:rot_y_min=68,score_b7s:rot_y=68] ~ ~ ~ 68 ~ +tp @s[score_b7s:rot_y_min=69,score_b7s:rot_y=69] ~ ~ ~ 69 ~ +tp @s[score_b7s:rot_y_min=70,score_b7s:rot_y=70] ~ ~ ~ 70 ~ +tp @s[score_b7s:rot_y_min=71,score_b7s:rot_y=71] ~ ~ ~ 71 ~ +tp @s[score_b7s:rot_y_min=72,score_b7s:rot_y=72] ~ ~ ~ 72 ~ +tp @s[score_b7s:rot_y_min=73,score_b7s:rot_y=73] ~ ~ ~ 73 ~ +tp @s[score_b7s:rot_y_min=74,score_b7s:rot_y=74] ~ ~ ~ 74 ~ +tp @s[score_b7s:rot_y_min=75,score_b7s:rot_y=75] ~ ~ ~ 75 ~ +tp @s[score_b7s:rot_y_min=76,score_b7s:rot_y=76] ~ ~ ~ 76 ~ +tp @s[score_b7s:rot_y_min=77,score_b7s:rot_y=77] ~ ~ ~ 77 ~ +tp @s[score_b7s:rot_y_min=78,score_b7s:rot_y=78] ~ ~ ~ 78 ~ +tp @s[score_b7s:rot_y_min=79,score_b7s:rot_y=79] ~ ~ ~ 79 ~ +tp @s[score_b7s:rot_y_min=80,score_b7s:rot_y=80] ~ ~ ~ 80 ~ +tp @s[score_b7s:rot_y_min=81,score_b7s:rot_y=81] ~ ~ ~ 81 ~ +tp @s[score_b7s:rot_y_min=82,score_b7s:rot_y=82] ~ ~ ~ 82 ~ +tp @s[score_b7s:rot_y_min=83,score_b7s:rot_y=83] ~ ~ ~ 83 ~ +tp @s[score_b7s:rot_y_min=84,score_b7s:rot_y=84] ~ ~ ~ 84 ~ +tp @s[score_b7s:rot_y_min=85,score_b7s:rot_y=85] ~ ~ ~ 85 ~ +tp @s[score_b7s:rot_y_min=86,score_b7s:rot_y=86] ~ ~ ~ 86 ~ +tp @s[score_b7s:rot_y_min=87,score_b7s:rot_y=87] ~ ~ ~ 87 ~ +tp @s[score_b7s:rot_y_min=88,score_b7s:rot_y=88] ~ ~ ~ 88 ~ +tp @s[score_b7s:rot_y_min=89,score_b7s:rot_y=89] ~ ~ ~ 89 ~ +tp @s[score_b7s:rot_y_min=90,score_b7s:rot_y=90] ~ ~ ~ 90 ~ +tp @s[score_b7s:rot_y_min=91,score_b7s:rot_y=91] ~ ~ ~ 91 ~ +tp @s[score_b7s:rot_y_min=92,score_b7s:rot_y=92] ~ ~ ~ 92 ~ +tp @s[score_b7s:rot_y_min=93,score_b7s:rot_y=93] ~ ~ ~ 93 ~ +tp @s[score_b7s:rot_y_min=94,score_b7s:rot_y=94] ~ ~ ~ 94 ~ +tp @s[score_b7s:rot_y_min=95,score_b7s:rot_y=95] ~ ~ ~ 95 ~ +tp @s[score_b7s:rot_y_min=96,score_b7s:rot_y=96] ~ ~ ~ 96 ~ +tp @s[score_b7s:rot_y_min=97,score_b7s:rot_y=97] ~ ~ ~ 97 ~ +tp @s[score_b7s:rot_y_min=98,score_b7s:rot_y=98] ~ ~ ~ 98 ~ +tp @s[score_b7s:rot_y_min=99,score_b7s:rot_y=99] ~ ~ ~ 99 ~ +tp @s[score_b7s:rot_y_min=100,score_b7s:rot_y=100] ~ ~ ~ 100 ~ +tp @s[score_b7s:rot_y_min=101,score_b7s:rot_y=101] ~ ~ ~ 101 ~ +tp @s[score_b7s:rot_y_min=102,score_b7s:rot_y=102] ~ ~ ~ 102 ~ +tp @s[score_b7s:rot_y_min=103,score_b7s:rot_y=103] ~ ~ ~ 103 ~ +tp @s[score_b7s:rot_y_min=104,score_b7s:rot_y=104] ~ ~ ~ 104 ~ +tp @s[score_b7s:rot_y_min=105,score_b7s:rot_y=105] ~ ~ ~ 105 ~ +tp @s[score_b7s:rot_y_min=106,score_b7s:rot_y=106] ~ ~ ~ 106 ~ +tp @s[score_b7s:rot_y_min=107,score_b7s:rot_y=107] ~ ~ ~ 107 ~ +tp @s[score_b7s:rot_y_min=108,score_b7s:rot_y=108] ~ ~ ~ 108 ~ +tp @s[score_b7s:rot_y_min=109,score_b7s:rot_y=109] ~ ~ ~ 109 ~ +tp @s[score_b7s:rot_y_min=110,score_b7s:rot_y=110] ~ ~ ~ 110 ~ +tp @s[score_b7s:rot_y_min=111,score_b7s:rot_y=111] ~ ~ ~ 111 ~ +tp @s[score_b7s:rot_y_min=112,score_b7s:rot_y=112] ~ ~ ~ 112 ~ +tp @s[score_b7s:rot_y_min=113,score_b7s:rot_y=113] ~ ~ ~ 113 ~ +tp @s[score_b7s:rot_y_min=114,score_b7s:rot_y=114] ~ ~ ~ 114 ~ +tp @s[score_b7s:rot_y_min=115,score_b7s:rot_y=115] ~ ~ ~ 115 ~ +tp @s[score_b7s:rot_y_min=116,score_b7s:rot_y=116] ~ ~ ~ 116 ~ +tp @s[score_b7s:rot_y_min=117,score_b7s:rot_y=117] ~ ~ ~ 117 ~ +tp @s[score_b7s:rot_y_min=118,score_b7s:rot_y=118] ~ ~ ~ 118 ~ +tp @s[score_b7s:rot_y_min=119,score_b7s:rot_y=119] ~ ~ ~ 119 ~ +tp @s[score_b7s:rot_y_min=120,score_b7s:rot_y=120] ~ ~ ~ 120 ~ +tp @s[score_b7s:rot_y_min=121,score_b7s:rot_y=121] ~ ~ ~ 121 ~ +tp @s[score_b7s:rot_y_min=122,score_b7s:rot_y=122] ~ ~ ~ 122 ~ +tp @s[score_b7s:rot_y_min=123,score_b7s:rot_y=123] ~ ~ ~ 123 ~ +tp @s[score_b7s:rot_y_min=124,score_b7s:rot_y=124] ~ ~ ~ 124 ~ +tp @s[score_b7s:rot_y_min=125,score_b7s:rot_y=125] ~ ~ ~ 125 ~ +tp @s[score_b7s:rot_y_min=126,score_b7s:rot_y=126] ~ ~ ~ 126 ~ +tp @s[score_b7s:rot_y_min=127,score_b7s:rot_y=127] ~ ~ ~ 127 ~ +tp @s[score_b7s:rot_y_min=128,score_b7s:rot_y=128] ~ ~ ~ 128 ~ +tp @s[score_b7s:rot_y_min=129,score_b7s:rot_y=129] ~ ~ ~ 129 ~ +tp @s[score_b7s:rot_y_min=130,score_b7s:rot_y=130] ~ ~ ~ 130 ~ +tp @s[score_b7s:rot_y_min=131,score_b7s:rot_y=131] ~ ~ ~ 131 ~ +tp @s[score_b7s:rot_y_min=132,score_b7s:rot_y=132] ~ ~ ~ 132 ~ +tp @s[score_b7s:rot_y_min=133,score_b7s:rot_y=133] ~ ~ ~ 133 ~ +tp @s[score_b7s:rot_y_min=134,score_b7s:rot_y=134] ~ ~ ~ 134 ~ +tp @s[score_b7s:rot_y_min=135,score_b7s:rot_y=135] ~ ~ ~ 135 ~ +tp @s[score_b7s:rot_y_min=136,score_b7s:rot_y=136] ~ ~ ~ 136 ~ +tp @s[score_b7s:rot_y_min=137,score_b7s:rot_y=137] ~ ~ ~ 137 ~ +tp @s[score_b7s:rot_y_min=138,score_b7s:rot_y=138] ~ ~ ~ 138 ~ +tp @s[score_b7s:rot_y_min=139,score_b7s:rot_y=139] ~ ~ ~ 139 ~ +tp @s[score_b7s:rot_y_min=140,score_b7s:rot_y=140] ~ ~ ~ 140 ~ +tp @s[score_b7s:rot_y_min=141,score_b7s:rot_y=141] ~ ~ ~ 141 ~ +tp @s[score_b7s:rot_y_min=142,score_b7s:rot_y=142] ~ ~ ~ 142 ~ +tp @s[score_b7s:rot_y_min=143,score_b7s:rot_y=143] ~ ~ ~ 143 ~ +tp @s[score_b7s:rot_y_min=144,score_b7s:rot_y=144] ~ ~ ~ 144 ~ +tp @s[score_b7s:rot_y_min=145,score_b7s:rot_y=145] ~ ~ ~ 145 ~ +tp @s[score_b7s:rot_y_min=146,score_b7s:rot_y=146] ~ ~ ~ 146 ~ +tp @s[score_b7s:rot_y_min=147,score_b7s:rot_y=147] ~ ~ ~ 147 ~ +tp @s[score_b7s:rot_y_min=148,score_b7s:rot_y=148] ~ ~ ~ 148 ~ +tp @s[score_b7s:rot_y_min=149,score_b7s:rot_y=149] ~ ~ ~ 149 ~ +tp @s[score_b7s:rot_y_min=150,score_b7s:rot_y=150] ~ ~ ~ 150 ~ +tp @s[score_b7s:rot_y_min=151,score_b7s:rot_y=151] ~ ~ ~ 151 ~ +tp @s[score_b7s:rot_y_min=152,score_b7s:rot_y=152] ~ ~ ~ 152 ~ +tp @s[score_b7s:rot_y_min=153,score_b7s:rot_y=153] ~ ~ ~ 153 ~ +tp @s[score_b7s:rot_y_min=154,score_b7s:rot_y=154] ~ ~ ~ 154 ~ +tp @s[score_b7s:rot_y_min=155,score_b7s:rot_y=155] ~ ~ ~ 155 ~ +tp @s[score_b7s:rot_y_min=156,score_b7s:rot_y=156] ~ ~ ~ 156 ~ +tp @s[score_b7s:rot_y_min=157,score_b7s:rot_y=157] ~ ~ ~ 157 ~ +tp @s[score_b7s:rot_y_min=158,score_b7s:rot_y=158] ~ ~ ~ 158 ~ +tp @s[score_b7s:rot_y_min=159,score_b7s:rot_y=159] ~ ~ ~ 159 ~ +tp @s[score_b7s:rot_y_min=160,score_b7s:rot_y=160] ~ ~ ~ 160 ~ +tp @s[score_b7s:rot_y_min=161,score_b7s:rot_y=161] ~ ~ ~ 161 ~ +tp @s[score_b7s:rot_y_min=162,score_b7s:rot_y=162] ~ ~ ~ 162 ~ +tp @s[score_b7s:rot_y_min=163,score_b7s:rot_y=163] ~ ~ ~ 163 ~ +tp @s[score_b7s:rot_y_min=164,score_b7s:rot_y=164] ~ ~ ~ 164 ~ +tp @s[score_b7s:rot_y_min=165,score_b7s:rot_y=165] ~ ~ ~ 165 ~ +tp @s[score_b7s:rot_y_min=166,score_b7s:rot_y=166] ~ ~ ~ 166 ~ +tp @s[score_b7s:rot_y_min=167,score_b7s:rot_y=167] ~ ~ ~ 167 ~ +tp @s[score_b7s:rot_y_min=168,score_b7s:rot_y=168] ~ ~ ~ 168 ~ +tp @s[score_b7s:rot_y_min=169,score_b7s:rot_y=169] ~ ~ ~ 169 ~ +tp @s[score_b7s:rot_y_min=170,score_b7s:rot_y=170] ~ ~ ~ 170 ~ +tp @s[score_b7s:rot_y_min=171,score_b7s:rot_y=171] ~ ~ ~ 171 ~ +tp @s[score_b7s:rot_y_min=172,score_b7s:rot_y=172] ~ ~ ~ 172 ~ +tp @s[score_b7s:rot_y_min=173,score_b7s:rot_y=173] ~ ~ ~ 173 ~ +tp @s[score_b7s:rot_y_min=174,score_b7s:rot_y=174] ~ ~ ~ 174 ~ +tp @s[score_b7s:rot_y_min=175,score_b7s:rot_y=175] ~ ~ ~ 175 ~ +tp @s[score_b7s:rot_y_min=176,score_b7s:rot_y=176] ~ ~ ~ 176 ~ +tp @s[score_b7s:rot_y_min=177,score_b7s:rot_y=177] ~ ~ ~ 177 ~ +tp @s[score_b7s:rot_y_min=178,score_b7s:rot_y=178] ~ ~ ~ 178 ~ +tp @s[score_b7s:rot_y_min=179,score_b7s:rot_y=179] ~ ~ ~ 179 ~ diff --git a/functions/b7s/entity/tp_rot.py b/functions/b7s/entity/tp_rot.py new file mode 100644 index 0000000..7c43b74 --- /dev/null +++ b/functions/b7s/entity/tp_rot.py @@ -0,0 +1,18 @@ +print('# Teleports a player or entity to a given rotation.') +print('#') +print('# Scores required:') +print('# b7s:rot_x — the new x rotation for the entity.' +print('# b7s:rot_y — the new y rotation for the entity.' +print('#') +print('# Usage:') +print('# /scoreboard players set b7s:rot_x ') +print('# /scoreboard players set b7s:rot_y ') +print('# /execute ~ ~ ~ function b7s:entity/tp_rot') + +print() +for i in range(-90, 91): + print('tp @s[score_b7s:rot_x_min={0},score_b7s:rot_x={0}] ~ ~ ~ ~ {0}'.format(i)) + +print() +for i in range(-180, 180): + print('tp @s[score_b7s:rot_y_min={0},score_b7s:rot_y={0}] ~ ~ ~ {0} ~'.format(i)) diff --git a/functions/b7s/entity/untagify_dim.mcfunction b/functions/b7s/entity/untagify_dim.mcfunction new file mode 100644 index 0000000..1f3ef12 --- /dev/null +++ b/functions/b7s/entity/untagify_dim.mcfunction @@ -0,0 +1,17 @@ +# Decodes the dimension scores of a player or entity. +# +# Tags required: +# b7s:dim_nether, b7s:dim_overworld, b7s:dim_end — the entity's location, encoded in tags +# +# Scores set: +# b7s:dim — to the dimension matching the entity's dimension tags +# +# Usage: +# scoreboard players tag b7s:dim_nether +# scoreboard players tag b7s:dim_overworld +# scoreboard players tag b7s:dim_end +# execute ~ ~ ~ function b7s:entity/untagify_dim + +scoreboard players set @s[tag=b7s:dim_nether] b7s:dim -1 +scoreboard players set @s[tag=b7s:dim_overworld] b7s:dim 0 +scoreboard players set @s[tag=b7s:dim_end] b7s:dim 1 diff --git a/functions/b7s/entity/untagify_loc.mcfunction b/functions/b7s/entity/untagify_loc.mcfunction new file mode 100644 index 0000000..63ba9ed --- /dev/null +++ b/functions/b7s/entity/untagify_loc.mcfunction @@ -0,0 +1,49 @@ +# Decodes the location scores of a player or entity. +# +# Tags required: +# b7s:dim_nether, b7s:dim_overworld, b7s:dim_end — the entity's location, encoded in tags +# b7s:x_0, …, b7s:x_25, b7s:y_0, …, b7s:y_13, b7s:z_0, …, b7s:z_25 — the entity's position, encoded in tags +# b7s:rot_x_0, …, b7s:rot_x_7, b7s:rot_y_0, …, b7s:rot_y_8 — the entity's rotation, encoded in tags +# +# Scores set: +# b7s:dim — to the dimension matching the entity's dimension tags +# 25 +# b7s:x — to -30000000 + ∑ b7s:x_i × 2^ +# i=0 +# 13 +# b7s:y — to -4096 + ∑ b7s:y_i × 2^i +# i=0 +# 25 +# b7s:z — to -30000000 + ∑ b7s:z_i × 2^i +# i=0 +# 7 +# b7s:rot_x — to -90 + ∑ b7s:rot_x_i × 2^i +# i=1 +# 8 +# b7s:rot_y — to -180 + ∑ b7s:rot_y_i × 2^i +# i=0 +# +# Usage: +# scoreboard players tag b7s:dim_nether +# scoreboard players tag b7s:dim_overworld +# scoreboard players tag b7s:dim_end +# scoreboard players tag b7s:x_0 +# ⋮ +# scoreboard players tag b7s:x_25 +# scoreboard players tag b7s:y_0 +# ⋮ +# scoreboard players tag b7s:y_13 +# scoreboard players tag b7s:z_0 +# ⋮ +# scoreboard players tag b7s:z_25 +# scoreboard players tag b7s:rot_x_0 +# ⋮ +# scoreboard players tag b7s:rot_x_7 +# scoreboard players tag b7s:rot_y_0 +# ⋮ +# scoreboard players tag b7s:rot_y_8 +# execute ~ ~ ~ function b7s:entity/untagify_loc + +function b7s:entity/untagify_dim +function b7s:entity/untagify_pos +function b7s:entity/untagify_rot diff --git a/functions/b7s/entity/untagify_pos.mcfunction b/functions/b7s/entity/untagify_pos.mcfunction new file mode 100644 index 0000000..9490519 --- /dev/null +++ b/functions/b7s/entity/untagify_pos.mcfunction @@ -0,0 +1,99 @@ +# Decodes the position tags of a player or entity. +# +# Tags required: +# b7s:x_0, …, b7s:x_25, b7s:y_0, …, b7s:y_13, b7s:z_0, …, b7s:z_25 — the entity's position, encoded in tags +# +# Scores set: +# 25 +# b7s:x — to -30000000 + ∑ b7s:x_i × 2^ +# i=0 +# 12 +# b7s:y — to -4096 + ∑ b7s:y_i × 2^i +# i=0 +# 25 +# b7s:z — to -30000000 + ∑ b7s:z_i × 2^i +# i=0 +# +# Usage: +# scoreboard players tag b7s:x_0 +# ⋮ +# scoreboard players tag b7s:x_25 +# scoreboard players tag b7s:y_0 +# ⋮ +# scoreboard players tag b7s:y_12 +# scoreboard players tag b7s:z_0 +# ⋮ +# scoreboard players tag b7s:z_25 +# execute ~ ~ ~ function b7s:entity/untagify_pos + +scoreboard players set @s b7s:x -30000000 +scoreboard players set @s b7s:y -4096 +scoreboard players set @s b7s:z -30000000 + +scoreboard players add @s[tag=b7s:x_25] b7s:x 33554432 +scoreboard players add @s[tag=b7s:x_24] b7s:x 16777216 +scoreboard players add @s[tag=b7s:x_23] b7s:x 8388608 +scoreboard players add @s[tag=b7s:x_22] b7s:x 4194304 +scoreboard players add @s[tag=b7s:x_21] b7s:x 2097152 +scoreboard players add @s[tag=b7s:x_20] b7s:x 1048576 +scoreboard players add @s[tag=b7s:x_19] b7s:x 524288 +scoreboard players add @s[tag=b7s:x_18] b7s:x 262144 +scoreboard players add @s[tag=b7s:x_17] b7s:x 131072 +scoreboard players add @s[tag=b7s:x_16] b7s:x 65536 +scoreboard players add @s[tag=b7s:x_15] b7s:x 32768 +scoreboard players add @s[tag=b7s:x_14] b7s:x 16384 +scoreboard players add @s[tag=b7s:x_13] b7s:x 8192 +scoreboard players add @s[tag=b7s:x_12] b7s:x 4096 +scoreboard players add @s[tag=b7s:x_11] b7s:x 2048 +scoreboard players add @s[tag=b7s:x_10] b7s:x 1024 +scoreboard players add @s[tag=b7s:x_9] b7s:x 512 +scoreboard players add @s[tag=b7s:x_8] b7s:x 256 +scoreboard players add @s[tag=b7s:x_7] b7s:x 128 +scoreboard players add @s[tag=b7s:x_6] b7s:x 64 +scoreboard players add @s[tag=b7s:x_5] b7s:x 32 +scoreboard players add @s[tag=b7s:x_4] b7s:x 16 +scoreboard players add @s[tag=b7s:x_3] b7s:x 8 +scoreboard players add @s[tag=b7s:x_2] b7s:x 4 +scoreboard players add @s[tag=b7s:x_1] b7s:x 2 +scoreboard players add @s[tag=b7s:x_0] b7s:x 1 + +scoreboard players add @s[tag=b7s:y_12] b7s:y 4096 +scoreboard players add @s[tag=b7s:y_11] b7s:y 2048 +scoreboard players add @s[tag=b7s:y_10] b7s:y 1024 +scoreboard players add @s[tag=b7s:y_9] b7s:y 512 +scoreboard players add @s[tag=b7s:y_8] b7s:y 256 +scoreboard players add @s[tag=b7s:y_7] b7s:y 128 +scoreboard players add @s[tag=b7s:y_6] b7s:y 64 +scoreboard players add @s[tag=b7s:y_5] b7s:y 32 +scoreboard players add @s[tag=b7s:y_4] b7s:y 16 +scoreboard players add @s[tag=b7s:y_3] b7s:y 8 +scoreboard players add @s[tag=b7s:y_2] b7s:y 4 +scoreboard players add @s[tag=b7s:y_1] b7s:y 2 +scoreboard players add @s[tag=b7s:y_0] b7s:y 1 + +scoreboard players add @s[tag=b7s:z_25] b7s:z 33554432 +scoreboard players add @s[tag=b7s:z_24] b7s:z 16777216 +scoreboard players add @s[tag=b7s:z_23] b7s:z 8388608 +scoreboard players add @s[tag=b7s:z_22] b7s:z 4194304 +scoreboard players add @s[tag=b7s:z_21] b7s:z 2097152 +scoreboard players add @s[tag=b7s:z_20] b7s:z 1048576 +scoreboard players add @s[tag=b7s:z_19] b7s:z 524288 +scoreboard players add @s[tag=b7s:z_18] b7s:z 262144 +scoreboard players add @s[tag=b7s:z_17] b7s:z 131072 +scoreboard players add @s[tag=b7s:z_16] b7s:z 65536 +scoreboard players add @s[tag=b7s:z_15] b7s:z 32768 +scoreboard players add @s[tag=b7s:z_14] b7s:z 16384 +scoreboard players add @s[tag=b7s:z_13] b7s:z 8192 +scoreboard players add @s[tag=b7s:z_12] b7s:z 4096 +scoreboard players add @s[tag=b7s:z_11] b7s:z 2048 +scoreboard players add @s[tag=b7s:z_10] b7s:z 1024 +scoreboard players add @s[tag=b7s:z_9] b7s:z 512 +scoreboard players add @s[tag=b7s:z_8] b7s:z 256 +scoreboard players add @s[tag=b7s:z_7] b7s:z 128 +scoreboard players add @s[tag=b7s:z_6] b7s:z 64 +scoreboard players add @s[tag=b7s:z_5] b7s:z 32 +scoreboard players add @s[tag=b7s:z_4] b7s:z 16 +scoreboard players add @s[tag=b7s:z_3] b7s:z 8 +scoreboard players add @s[tag=b7s:z_2] b7s:z 4 +scoreboard players add @s[tag=b7s:z_1] b7s:z 2 +scoreboard players add @s[tag=b7s:z_0] b7s:z 1 diff --git a/functions/b7s/entity/untagify_pos.py b/functions/b7s/entity/untagify_pos.py new file mode 100644 index 0000000..bd8758d --- /dev/null +++ b/functions/b7s/entity/untagify_pos.py @@ -0,0 +1,43 @@ +print('# Decodes the position tags of a player or entity.') +print('#') +print('# Tags required:') +print("# b7s:x_0, …, b7s:x_25, b7s:y_0, …, b7s:y_13, b7s:z_0, …, b7s:z_25 — the entity's position, encoded in tags") +print('#') +print('# Scores set:') +print('# 25') +print('# b7s:x — to -30000000 + ∑ b7s:x_i × 2^') +print('# i=0') +print('# 12') +print('# b7s:y — to -4096 + ∑ b7s:y_i × 2^i') +print('# i=0') +print('# 25') +print('# b7s:z — to -30000000 + ∑ b7s:z_i × 2^i') +print('# i=0') +print('#') +print('# Usage:') +print('# scoreboard players tag b7s:x_0') +print('# ⋮') +print('# scoreboard players tag b7s:x_25') +print('# scoreboard players tag b7s:y_0') +print('# ⋮') +print('# scoreboard players tag b7s:y_12') +print('# scoreboard players tag b7s:z_0') +print('# ⋮') +print('# scoreboard players tag b7s:z_25') +print('# execute ~ ~ ~ function b7s:entity/untagify_pos') +print() +print('scoreboard players set @s b7s:x -30000000') +print('scoreboard players set @s b7s:y -4096') +print('scoreboard players set @s b7s:z -30000000') + +print() +for exponent in range(25, -1, -1): + print('scoreboard players add @s[tag=b7s:x_{}] b7s:x {}'.format(exponent, 2 ** exponent)) + +print() +for exponent in range(12, -1, -1): + print('scoreboard players add @s[tag=b7s:y_{}] b7s:y {}'.format(exponent, 2 ** exponent)) + +print() +for exponent in range(25, -1, -1): + print('scoreboard players add @s[tag=b7s:z_{}] b7s:z {}'.format(exponent, 2 ** exponent)) diff --git a/functions/b7s/entity/untagify_rot.mcfunction b/functions/b7s/entity/untagify_rot.mcfunction new file mode 100644 index 0000000..69dcb0b --- /dev/null +++ b/functions/b7s/entity/untagify_rot.mcfunction @@ -0,0 +1,43 @@ +# Decodes the rotation tags of a player or entity. +# +# Tags required: +# b7s:rot_x_0, …, b7s:rot_x_7, b7s:rot_y_0, …, b7s:rot_y_8 — the entity's rotation, encoded in tags +# +# Scores set: +# 7 +# b7s:rot_x — to -90 + ∑ b7s:rot_x_i × 2^i +# i=1 +# 8 +# b7s:rot_y — to -180 + ∑ b7s:rot_y_i × 2^i +# i=0 +# +# Usage: +# scoreboard players tag b7s:rot_x_0 +# ⋮ +# scoreboard players tag b7s:rot_x_7 +# scoreboard players tag b7s:rot_y_0 +# ⋮ +# scoreboard players tag b7s:rot_y_8 +# execute ~ ~ ~ function b7s:entity/untagify_rot + +scoreboard players set @s b7s:rot_x -90 +scoreboard players set @s b7s:rot_y -180 + +scoreboard players add @s[tag=b7s:rot_x_7] b7s:rot_x 128 +scoreboard players add @s[tag=b7s:rot_x_6] b7s:rot_x 64 +scoreboard players add @s[tag=b7s:rot_x_5] b7s:rot_x 32 +scoreboard players add @s[tag=b7s:rot_x_4] b7s:rot_x 16 +scoreboard players add @s[tag=b7s:rot_x_3] b7s:rot_x 8 +scoreboard players add @s[tag=b7s:rot_x_2] b7s:rot_x 4 +scoreboard players add @s[tag=b7s:rot_x_1] b7s:rot_x 2 +scoreboard players add @s[tag=b7s:rot_x_0] b7s:rot_x 1 + +scoreboard players add @s[tag=b7s:rot_y_8] b7s:rot_y 256 +scoreboard players add @s[tag=b7s:rot_y_7] b7s:rot_y 128 +scoreboard players add @s[tag=b7s:rot_y_6] b7s:rot_y 64 +scoreboard players add @s[tag=b7s:rot_y_5] b7s:rot_y 32 +scoreboard players add @s[tag=b7s:rot_y_4] b7s:rot_y 16 +scoreboard players add @s[tag=b7s:rot_y_3] b7s:rot_y 8 +scoreboard players add @s[tag=b7s:rot_y_2] b7s:rot_y 4 +scoreboard players add @s[tag=b7s:rot_y_1] b7s:rot_y 2 +scoreboard players add @s[tag=b7s:rot_y_0] b7s:rot_y 1 diff --git a/functions/b7s/entity/untagify_rot.py b/functions/b7s/entity/untagify_rot.py new file mode 100644 index 0000000..1e9d283 --- /dev/null +++ b/functions/b7s/entity/untagify_rot.py @@ -0,0 +1,32 @@ +print('# Decodes the rotation tags of a player or entity.') +print('#') +print('# Tags required:') +print("# b7s:rot_x_0, …, b7s:rot_x_7, b7s:rot_y_0, …, b7s:rot_y_8 — the entity's rotation, encoded in tags") +print('#') +print('# Scores set:') +print('# 7') +print('# b7s:rot_x — to -90 + ∑ b7s:rot_x_i × 2^i') +print('# i=1') +print('# 8') +print('# b7s:rot_y — to -180 + ∑ b7s:rot_y_i × 2^i') +print('# i=0') +print('#') +print('# Usage:') +print('# scoreboard players tag b7s:rot_x_0') +print('# ⋮') +print('# scoreboard players tag b7s:rot_x_7') +print('# scoreboard players tag b7s:rot_y_0') +print('# ⋮') +print('# scoreboard players tag b7s:rot_y_8') +print('# execute ~ ~ ~ function b7s:entity/untagify_rot') +print() +print('scoreboard players set @s b7s:rot_x -90') +print('scoreboard players set @s b7s:rot_y -180') + +print() +for exponent in range(7, -1, -1): + print('scoreboard players add @s[tag=b7s:rot_x_{}] b7s:rot_x {}'.format(exponent, 2 ** exponent)) + +print() +for exponent in range(8, -1, -1): + print('scoreboard players add @s[tag=b7s:rot_y_{}] b7s:rot_y {}'.format(exponent, 2 ** exponent)) diff --git a/functions/b7s/install.mcfunction b/functions/b7s/install.mcfunction new file mode 100644 index 0000000..fc92cf2 --- /dev/null +++ b/functions/b7s/install.mcfunction @@ -0,0 +1,32 @@ +# Installs BareBones. To be used before using any other BareBones function for the first time. +# +# Usage: +# /function b7s:install + +gamerule commandBlockOutput false +gamerule logAdminCommands false + +scoreboard objectives add b7s:_tmp dummy + +scoreboard objectives add b7s:_left stat.leaveGame + +scoreboard objectives add b7s:id dummy + +scoreboard objectives add b7s:biome dummy + +scoreboard objectives add b7s:req_from dummy + +scoreboard objectives add b7s:dim dummy +scoreboard objectives add b7s:x dummy +scoreboard objectives add b7s:y dummy +scoreboard objectives add b7s:z dummy +scoreboard objectives add b7s:rot_x dummy +scoreboard objectives add b7s:rot_y dummy + +scoreboard objectives add b7s:sethome trigger +scoreboard objectives add b7s:tphome trigger +scoreboard objectives add b7s:tpback trigger +scoreboard objectives add b7s:tpreq trigger +scoreboard objectives add b7s:tpaccept trigger + +scoreboard objectives setdisplay list b7s:id From f0eed9e6c3db8e5485250ca28f3bf4576caaf93a Mon Sep 17 00:00:00 2001 From: Matteo Morena <8678043+xmamo@users.noreply.github.com> Date: Thu, 3 Aug 2017 02:48:36 +0200 Subject: [PATCH 2/9] Create basic readme --- readme.md | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 readme.md diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..87c6103 --- /dev/null +++ b/readme.md @@ -0,0 +1,52 @@ +# BareBones +BareBones is a data pack which provides essential functionality for vanilla Minecraft servers. The pack is aimed both +at players and server administrators: it enables players to use additional commands through the use of triggers and +exposes a handy function API which can be used to further extend the server's functionality. + +## Installation +1. Download the BareBones zip folder and extract it somewhere; +2. Move the `functions` folder from the extracted directory into the `data` folder of the world of your server; +3. Log into your server and execute the commands `/reload` and `/function b7s:install`; +4. Move the `advancements` folder from the extracted directory into the `data` folder of the word of your server; +5. Execute a `/reload` once again; +6. Enjoy! + +## Glossary +In order to make the documentation more readable and avoid using convoluted phrases over and over again, I've defined +some terms. Please consider to read or at least skim through this section before reading on. + +### Player ID +BareBones gives each player a unique ID, using the `b7s:id` score. By default, this score is visible in the tab list. +It is the only score regular players might be aware of. + +## Commands +BareBones installs a series of custom commands, accessible through triggers. Below are all commands accessible as of +the current version. + +### `/trigger b7s:sethome set 1` +Sets your home location. You can teleport back to it using `/trigger b7s:tphome set 1` + +### `/trigger b7s:tphome set 1` +Teleports to your home location, if set. + +### `/trigger b7s:tpback set 1` +After teleporting home, it might be useful to teleport back to where you were before. To do that, you can use this +command. + +### `/trigger b7s:tpreq set ` +Sends a teleportation request to player with ID `id`. If the other player accepts the requests, you will be teleported +to that player. + +## Functions +BareBones provides a useful function API which you can use to add further functionality to your server. Just navigate +to the functions folder of your server and open up the function you're interested in. + +By convention, functions, scores, tags and advancements starting with an underscore (`_`) are for internal use only. +Don't rely on such functionality. Most other functions are documented and loosely coupled in order to make their use as +simple as possible. You are free to use them as you wish. + +Please avoid extending BareBones' functionality by simply putting new functions or advancements in the `functions/b7s` +or `advancements/b7s` folders. Instead, create your own separate folder. If you think this might be a kind of +general functionality which other players could use too, please issue a pull request or submit a ticket. +In general, avoid to modify the BareBones data pack by itself or to set/unset/add/remove scores or tags which are +undocumented, as future releases of BareBones might brick your current setup. From fac66e5f98bbbcfb32ecfdbeef535b196950ca25 Mon Sep 17 00:00:00 2001 From: Matteo Morena <8678043+xmamo@users.noreply.github.com> Date: Fri, 4 Aug 2017 01:22:09 +0200 Subject: [PATCH 3/9] Change "brick" to "break" --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 87c6103..f841129 100644 --- a/readme.md +++ b/readme.md @@ -49,4 +49,4 @@ Please avoid extending BareBones' functionality by simply putting new functions or `advancements/b7s` folders. Instead, create your own separate folder. If you think this might be a kind of general functionality which other players could use too, please issue a pull request or submit a ticket. In general, avoid to modify the BareBones data pack by itself or to set/unset/add/remove scores or tags which are -undocumented, as future releases of BareBones might brick your current setup. +undocumented, as future releases of BareBones might break your current setup. From 3dfbcd5455dd15b1b12af2454a0d00334f6ed80c Mon Sep 17 00:00:00 2001 From: Matteo Morena <8678043+xmamo@users.noreply.github.com> Date: Fri, 4 Aug 2017 01:26:14 +0200 Subject: [PATCH 4/9] Remove `glossary` from readme Removed the `glossary` section from the readme. I'll create a separate file for that in the future. --- readme.md | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/readme.md b/readme.md index f841129..51d265b 100644 --- a/readme.md +++ b/readme.md @@ -11,14 +11,6 @@ exposes a handy function API which can be used to further extend the server's fu 5. Execute a `/reload` once again; 6. Enjoy! -## Glossary -In order to make the documentation more readable and avoid using convoluted phrases over and over again, I've defined -some terms. Please consider to read or at least skim through this section before reading on. - -### Player ID -BareBones gives each player a unique ID, using the `b7s:id` score. By default, this score is visible in the tab list. -It is the only score regular players might be aware of. - ## Commands BareBones installs a series of custom commands, accessible through triggers. Below are all commands accessible as of the current version. @@ -34,8 +26,8 @@ After teleporting home, it might be useful to teleport back to where you were be command. ### `/trigger b7s:tpreq set ` -Sends a teleportation request to player with ID `id`. If the other player accepts the requests, you will be teleported -to that player. +Sends a teleportation request to the player with ID `id` (you can view the IDs of players by pressing the Tab key). If +the other player accepts the requests, you will be teleported to that player. ## Functions BareBones provides a useful function API which you can use to add further functionality to your server. Just navigate From 1d01cad90cbc687191d02cba6d4710e26dedb691 Mon Sep 17 00:00:00 2001 From: Matteo Morena <8678043+xmamo@users.noreply.github.com> Date: Fri, 4 Aug 2017 01:40:57 +0200 Subject: [PATCH 5/9] Add download link to `Installation` section of readme --- readme.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 51d265b..6243de5 100644 --- a/readme.md +++ b/readme.md @@ -4,7 +4,8 @@ at players and server administrators: it enables players to use additional comma exposes a handy function API which can be used to further extend the server's functionality. ## Installation -1. Download the BareBones zip folder and extract it somewhere; +1. Download the BareBones zip folder from [here](https://github.com/xMamo/Minecraft-BareBones/releases/latest) and + extract it somewhere; 2. Move the `functions` folder from the extracted directory into the `data` folder of the world of your server; 3. Log into your server and execute the commands `/reload` and `/function b7s:install`; 4. Move the `advancements` folder from the extracted directory into the `data` folder of the word of your server; From ad8d9834595a65553576701cca26bb6b801eca9e Mon Sep 17 00:00:00 2001 From: Matteo Morena <8678043+xmamo@users.noreply.github.com> Date: Fri, 4 Aug 2017 03:02:06 +0200 Subject: [PATCH 6/9] Make readme lines 80 characters long instead of 120 --- readme.md | 65 +++++++++++++++++++++++++++++++++---------------------- 1 file changed, 39 insertions(+), 26 deletions(-) diff --git a/readme.md b/readme.md index 6243de5..2e05df5 100644 --- a/readme.md +++ b/readme.md @@ -1,45 +1,58 @@ # BareBones -BareBones is a data pack which provides essential functionality for vanilla Minecraft servers. The pack is aimed both -at players and server administrators: it enables players to use additional commands through the use of triggers and -exposes a handy function API which can be used to further extend the server's functionality. +BareBones is a data pack which provides essential functionality for vanilla +Minecraft servers. The pack is aimed both at players and server +administrators: it enables players to use additional commands through the use +of triggers and exposes a handy function API which can be used to further +extend the server's functionality. ## Installation -1. Download the BareBones zip folder from [here](https://github.com/xMamo/Minecraft-BareBones/releases/latest) and +1. Download the BareBones zip folder from + [here](https://github.com/xMamo/Minecraft-BareBones/releases/latest) and extract it somewhere; -2. Move the `functions` folder from the extracted directory into the `data` folder of the world of your server; -3. Log into your server and execute the commands `/reload` and `/function b7s:install`; -4. Move the `advancements` folder from the extracted directory into the `data` folder of the word of your server; +2. Move the `functions` folder from the extracted directory into the `data` + folder of the world of your server; +3. Log into your server and execute the commands `/reload` and + `/function b7s:install`; +4. Move the `advancements` folder from the extracted directory into the `data` + folder of the word of your server; 5. Execute a `/reload` once again; 6. Enjoy! ## Commands -BareBones installs a series of custom commands, accessible through triggers. Below are all commands accessible as of -the current version. +BareBones installs a series of custom commands, accessible through triggers. +Below are all commands accessible as of the current version. ### `/trigger b7s:sethome set 1` -Sets your home location. You can teleport back to it using `/trigger b7s:tphome set 1` +Sets your home location. You can teleport back to it using +`/trigger b7s:tphome set 1` ### `/trigger b7s:tphome set 1` Teleports to your home location, if set. ### `/trigger b7s:tpback set 1` -After teleporting home, it might be useful to teleport back to where you were before. To do that, you can use this -command. +After teleporting home, it might be useful to teleport back to where you were +before. To do that, you can use this command. ### `/trigger b7s:tpreq set ` -Sends a teleportation request to the player with ID `id` (you can view the IDs of players by pressing the Tab key). If -the other player accepts the requests, you will be teleported to that player. +Sends a teleportation request to the player with ID `id` (you can view the IDs +of players by pressing the Tab key). If the other player accepts the requests, +you will be teleported to that player. ## Functions -BareBones provides a useful function API which you can use to add further functionality to your server. Just navigate -to the functions folder of your server and open up the function you're interested in. - -By convention, functions, scores, tags and advancements starting with an underscore (`_`) are for internal use only. -Don't rely on such functionality. Most other functions are documented and loosely coupled in order to make their use as -simple as possible. You are free to use them as you wish. - -Please avoid extending BareBones' functionality by simply putting new functions or advancements in the `functions/b7s` -or `advancements/b7s` folders. Instead, create your own separate folder. If you think this might be a kind of -general functionality which other players could use too, please issue a pull request or submit a ticket. -In general, avoid to modify the BareBones data pack by itself or to set/unset/add/remove scores or tags which are -undocumented, as future releases of BareBones might break your current setup. +BareBones provides a useful function API which you can use to add further +functionality to your server. Just navigate to the functions folder of your +server and open up the function you're interested in. + +By convention, functions, scores, tags and advancements starting with an +underscore (`_`) are for internal use only. Don't rely on such functionality. +Most other functions are documented and loosely coupled in order to make their +use as simple as possible. You are free to use them as you wish. + +Please avoid extending BareBones' functionality by simply putting new +functions or advancements in the `functions/b7s` or `advancements/b7s` +folders. Instead, create your own separate folder. If you think this might be +a kind of general functionality which other players could use too, please +issue a pull request or submit a ticket. In general, avoid to modify the +BareBones data pack by itself or to set, unset, add or remove scores or tags +which are undocumented, as future releases of BareBones might break your +current setup. From 8e55b26f6d130ddd71ea07c25ba8f78de661722c Mon Sep 17 00:00:00 2001 From: Matteo Morena <8678043+xmamo@users.noreply.github.com> Date: Fri, 4 Aug 2017 18:40:58 +0200 Subject: [PATCH 7/9] Make documentation comments 80 characters long instead of 120 --- functions/b7s/entity/check_same_dim.mcfunction | 3 ++- functions/b7s/entity/get_dim.mcfunction | 2 +- functions/b7s/entity/get_loc.mcfunction | 2 +- functions/b7s/entity/pulse.mcfunction | 3 ++- functions/b7s/entity/tagify_pos.mcfunction | 18 +++++++++--------- functions/b7s/entity/tagify_pos.py | 18 +++++++++--------- functions/b7s/entity/tagify_rot.mcfunction | 12 ++++++------ functions/b7s/entity/tagify_rot.py | 12 ++++++------ functions/b7s/entity/untagify_dim.mcfunction | 4 ++-- functions/b7s/entity/untagify_loc.mcfunction | 11 +++++++---- functions/b7s/entity/untagify_pos.mcfunction | 4 +++- functions/b7s/entity/untagify_pos.py | 4 +++- functions/b7s/entity/untagify_rot.mcfunction | 3 ++- functions/b7s/entity/untagify_rot.py | 3 ++- functions/b7s/install.mcfunction | 3 ++- 15 files changed, 57 insertions(+), 45 deletions(-) diff --git a/functions/b7s/entity/check_same_dim.mcfunction b/functions/b7s/entity/check_same_dim.mcfunction index 133b625..71e5067 100644 --- a/functions/b7s/entity/check_same_dim.mcfunction +++ b/functions/b7s/entity/check_same_dim.mcfunction @@ -1,4 +1,5 @@ -# Checks whether a player or entity is in the same dimension as its dimension score. +# Checks whether a player or entity is in the same dimension as its dimension +# score. # # Scores required: # b7s:dim — the dimension to check the entity against diff --git a/functions/b7s/entity/get_dim.mcfunction b/functions/b7s/entity/get_dim.mcfunction index 0e31902..75f3eda 100644 --- a/functions/b7s/entity/get_dim.mcfunction +++ b/functions/b7s/entity/get_dim.mcfunction @@ -1,7 +1,7 @@ # Gets the dimension of a player or entity. # # Scores set: -# b7s:dim — the dimension of the entity. Can be -1, 0, 1 (The Nether, The Overworld, The End respectively) +# b7s:dim — the dimension of the entity. Nether = -1, Overworld = 0, End = 1 # # Usage: # /execute ~ ~ ~ function b7s:entity/get_dim diff --git a/functions/b7s/entity/get_loc.mcfunction b/functions/b7s/entity/get_loc.mcfunction index 5fd8e8a..33260ba 100644 --- a/functions/b7s/entity/get_loc.mcfunction +++ b/functions/b7s/entity/get_loc.mcfunction @@ -1,7 +1,7 @@ # Gets the dimension, position and rotation of a player or entity. # # Scores set: -# b7s:dim — the dimension of the entity. Can be -1, 0, 1 (The Nether, The Overworld, The End respectively) +# b7s:dim — the dimension of the entity. Nether = -1, Overworld = 0, End = 1 # b7s:x — the x coordinate of the entity # b7s:y — the y coordinate of the entity # b7s:z — the z coordinate of the entity diff --git a/functions/b7s/entity/pulse.mcfunction b/functions/b7s/entity/pulse.mcfunction index ca8bcd6..d2f8bef 100644 --- a/functions/b7s/entity/pulse.mcfunction +++ b/functions/b7s/entity/pulse.mcfunction @@ -1,4 +1,5 @@ -# Places and destroys a block of redstone at the position of the entity executing the command. +# Places and destroys a block of redstone at the position of the entity +# executing the command. # For example, this can be useful to activate structure blocks. # # Usage: diff --git a/functions/b7s/entity/tagify_pos.mcfunction b/functions/b7s/entity/tagify_pos.mcfunction index bcd2a38..32ae434 100644 --- a/functions/b7s/entity/tagify_pos.mcfunction +++ b/functions/b7s/entity/tagify_pos.mcfunction @@ -6,15 +6,15 @@ # b7s:z — the z coordinate of the entity # # Tags set: -# 25 -# b7s:x_0, …, b7s:x_25 — such that b7s:x = -30000000 + ∑ b7s:x_i × 2^i -# i=0 -# 12 -# b7s:y_0, …, b7s:y_12 — such that b7s:y = -4096 + ∑ b7s:y_i × 2^i -# i=0 -# 25 -# b7s:z_0, …, b7s:z_25 — such that b7s:z = -30000000 + ∑ b7s:z_i × 2^i -# i=0 +# 25 +# b7s:x_0, …, b7s:x_25 — s.t. b7s:x = -30000000 + ∑ b7s:x_i × 2^i +# i=0 +# 12 +# b7s:y_0, …, b7s:y_12 — s.t. b7s:y = -4096 + ∑ b7s:y_i × 2^i +# i=0 +# 25 +# b7s:z_0, …, b7s:z_25 — s.t. b7s:z = -30000000 + ∑ b7s:z_i × 2^i +# i=0 # # Usage: # /scoreboard players set b7s:x diff --git a/functions/b7s/entity/tagify_pos.py b/functions/b7s/entity/tagify_pos.py index 849c073..1a42ff6 100644 --- a/functions/b7s/entity/tagify_pos.py +++ b/functions/b7s/entity/tagify_pos.py @@ -6,15 +6,15 @@ print('# b7s:z — the z coordinate of the entity') print('#') print('# Tags set:') -print('# 25') -print('# b7s:x_0, …, b7s:x_25 — such that b7s:x = -30000000 + ∑ b7s:x_i × 2^i') -print('# i=0') -print('# 12') -print('# b7s:y_0, …, b7s:y_12 — such that b7s:y = -4096 + ∑ b7s:y_i × 2^i') -print('# i=0') -print('# 25') -print('# b7s:z_0, …, b7s:z_25 — such that b7s:z = -30000000 + ∑ b7s:z_i × 2^i') -print('# i=0') +print('# 25') +print('# b7s:x_0, …, b7s:x_25 — s.t. b7s:x = -30000000 + ∑ b7s:x_i × 2^i') +print('# i=0') +print('# 12') +print('# b7s:y_0, …, b7s:y_12 — s.t. b7s:y = -4096 + ∑ b7s:y_i × 2^i') +print('# i=0') +print('# 25') +print('# b7s:z_0, …, b7s:z_25 — s.t. b7s:z = -30000000 + ∑ b7s:z_i × 2^i') +print('# i=0') print('#') print('# Usage:') print('# /scoreboard players set b7s:x ') diff --git a/functions/b7s/entity/tagify_rot.mcfunction b/functions/b7s/entity/tagify_rot.mcfunction index a71eda4..f516e62 100644 --- a/functions/b7s/entity/tagify_rot.mcfunction +++ b/functions/b7s/entity/tagify_rot.mcfunction @@ -5,12 +5,12 @@ # b7s:rot_y — the y rotation of the entity # # Tags set: -# 7 -# b7s:rot_x_0, …, b7s:rot_x_7 — such that b7s:rot_x = -90 + ∑ b7s:rot_x_i × 2^i -# i=1 -# 8 -# b7s:rot_y_0, …, b7s:rot_y_8 — such that b7s:rot_y = -180 + ∑ b7s:rot_y_i × 2^i -# i=0 +# 7 +# b7s:rot_x_0, …, b7s:rot_x_7 — s.t. b7s:rot_x = -90 + ∑ b7s:rot_x_i × 2^i +# i=1 +# 8 +# b7s:rot_y_0, …, b7s:rot_y_8 — s.t. b7s:rot_y = -180 + ∑ b7s:rot_y_i × 2^i +# i=0 # # Usage: # /scoreboard players set b7s:rot_x diff --git a/functions/b7s/entity/tagify_rot.py b/functions/b7s/entity/tagify_rot.py index 4766c03..c394fce 100644 --- a/functions/b7s/entity/tagify_rot.py +++ b/functions/b7s/entity/tagify_rot.py @@ -5,12 +5,12 @@ print('# b7s:rot_y — the y rotation of the entity') print('#') print('# Tags set:') -print('# 7') -print('# b7s:rot_x_0, …, b7s:rot_x_7 — such that b7s:rot_x = -90 + ∑ b7s:rot_x_i × 2^i') -print('# i=1') -print('# 8') -print('# b7s:rot_y_0, …, b7s:rot_y_8 — such that b7s:rot_y = -180 + ∑ b7s:rot_y_i × 2^i') -print('# i=0') +print('# 7') +print('# b7s:rot_x_0, …, b7s:rot_x_7 — s.t. b7s:rot_x = -90 + ∑ b7s:rot_x_i × 2^i') +print('# i=1') +print('# 8') +print('# b7s:rot_y_0, …, b7s:rot_y_8 — s.t. b7s:rot_y = -180 + ∑ b7s:rot_y_i × 2^i') +print('# i=0') print('#') print('# Usage:') print('# /scoreboard players set b7s:rot_x ') diff --git a/functions/b7s/entity/untagify_dim.mcfunction b/functions/b7s/entity/untagify_dim.mcfunction index 1f3ef12..217da03 100644 --- a/functions/b7s/entity/untagify_dim.mcfunction +++ b/functions/b7s/entity/untagify_dim.mcfunction @@ -1,7 +1,7 @@ -# Decodes the dimension scores of a player or entity. +# Decodes the dimension tags of a player or entity. # # Tags required: -# b7s:dim_nether, b7s:dim_overworld, b7s:dim_end — the entity's location, encoded in tags +# b7s:dim_nether, b7s:dim_overworld, b7s:dim_end — the entity's dimension tags # # Scores set: # b7s:dim — to the dimension matching the entity's dimension tags diff --git a/functions/b7s/entity/untagify_loc.mcfunction b/functions/b7s/entity/untagify_loc.mcfunction index 63ba9ed..6fe3925 100644 --- a/functions/b7s/entity/untagify_loc.mcfunction +++ b/functions/b7s/entity/untagify_loc.mcfunction @@ -1,9 +1,12 @@ -# Decodes the location scores of a player or entity. +# Decodes the location tags of a player or entity. # # Tags required: -# b7s:dim_nether, b7s:dim_overworld, b7s:dim_end — the entity's location, encoded in tags -# b7s:x_0, …, b7s:x_25, b7s:y_0, …, b7s:y_13, b7s:z_0, …, b7s:z_25 — the entity's position, encoded in tags -# b7s:rot_x_0, …, b7s:rot_x_7, b7s:rot_y_0, …, b7s:rot_y_8 — the entity's rotation, encoded in tags +# b7s:dim_nether, b7s:dim_overworld, b7s:dim_end — the entity's location tags +# b7s:x_0, …, b7s:x_25 — the entity's x coordinate, encoded in tags +# b7s:y_0, …, b7s:y_12 — the entity's y coordinate, encoded in tags +# b7s:z_0, …, b7s:z_25 — the entity's z coordinate, encoded in tags +# b7s:rot_x_0, …, b7s:rot_x_7 — the entity's x rotation, encoded in tags +# b7s:rot_y_0, …, b7s:rot_y_8 — the entity's y rotation, encoded in tags # # Scores set: # b7s:dim — to the dimension matching the entity's dimension tags diff --git a/functions/b7s/entity/untagify_pos.mcfunction b/functions/b7s/entity/untagify_pos.mcfunction index 9490519..2edad68 100644 --- a/functions/b7s/entity/untagify_pos.mcfunction +++ b/functions/b7s/entity/untagify_pos.mcfunction @@ -1,7 +1,9 @@ # Decodes the position tags of a player or entity. # # Tags required: -# b7s:x_0, …, b7s:x_25, b7s:y_0, …, b7s:y_13, b7s:z_0, …, b7s:z_25 — the entity's position, encoded in tags +# b7s:x_0, …, b7s:x_25 — the entity's x coordinate, encoded in tags +# b7s:y_0, …, b7s:y_12 — the entity's y coordinate, encoded in tags +# b7s:z_0, …, b7s:z_25 — the entity's z coordinate, encoded in tags # # Scores set: # 25 diff --git a/functions/b7s/entity/untagify_pos.py b/functions/b7s/entity/untagify_pos.py index bd8758d..aaca5b8 100644 --- a/functions/b7s/entity/untagify_pos.py +++ b/functions/b7s/entity/untagify_pos.py @@ -1,7 +1,9 @@ print('# Decodes the position tags of a player or entity.') print('#') print('# Tags required:') -print("# b7s:x_0, …, b7s:x_25, b7s:y_0, …, b7s:y_13, b7s:z_0, …, b7s:z_25 — the entity's position, encoded in tags") +print("# b7s:x_0, …, b7s:x_25 — the entity's x coordinate, encoded in tags") +print("# b7s:y_0, …, b7s:y_12 — the entity's y coordinate, encoded in tags") +print("# b7s:z_0, …, b7s:z_25 — the entity's z coordinate, encoded in tags") print('#') print('# Scores set:') print('# 25') diff --git a/functions/b7s/entity/untagify_rot.mcfunction b/functions/b7s/entity/untagify_rot.mcfunction index 69dcb0b..0fe98b8 100644 --- a/functions/b7s/entity/untagify_rot.mcfunction +++ b/functions/b7s/entity/untagify_rot.mcfunction @@ -1,7 +1,8 @@ # Decodes the rotation tags of a player or entity. # # Tags required: -# b7s:rot_x_0, …, b7s:rot_x_7, b7s:rot_y_0, …, b7s:rot_y_8 — the entity's rotation, encoded in tags +# b7s:rot_x_0, …, b7s:rot_x_7 — the entity's x rotation, encoded in tags +# b7s:rot_y_0, …, b7s:rot_y_8 — the entity's y rotation, encoded in tags # # Scores set: # 7 diff --git a/functions/b7s/entity/untagify_rot.py b/functions/b7s/entity/untagify_rot.py index 1e9d283..31be696 100644 --- a/functions/b7s/entity/untagify_rot.py +++ b/functions/b7s/entity/untagify_rot.py @@ -1,7 +1,8 @@ print('# Decodes the rotation tags of a player or entity.') print('#') print('# Tags required:') -print("# b7s:rot_x_0, …, b7s:rot_x_7, b7s:rot_y_0, …, b7s:rot_y_8 — the entity's rotation, encoded in tags") +print("# b7s:rot_x_0, …, b7s:rot_x_7 — the entity's x rotation, encoded in tags") +print("# b7s:rot_y_0, …, b7s:rot_y_8 — the entity's y rotation, encoded in tags") print('#') print('# Scores set:') print('# 7') diff --git a/functions/b7s/install.mcfunction b/functions/b7s/install.mcfunction index fc92cf2..56e78fc 100644 --- a/functions/b7s/install.mcfunction +++ b/functions/b7s/install.mcfunction @@ -1,4 +1,5 @@ -# Installs BareBones. To be used before using any other BareBones function for the first time. +# Installs BareBones. To be used before using any other BareBones function for +# the first time. # # Usage: # /function b7s:install From 71dcd5c8da57c831a1f35f458178d05a6270cb24 Mon Sep 17 00:00:00 2001 From: Matteo Morena <8678043+xmamo@users.noreply.github.com> Date: Fri, 4 Aug 2017 19:21:22 +0200 Subject: [PATCH 8/9] Add license --- advancements/b7s/_biome_any.json | 1 + advancements/b7s/_biome_beaches.json | 1 + advancements/b7s/_biome_birch_forest.json | 1 + .../b7s/_biome_birch_forest_hills.json | 1 + advancements/b7s/_biome_cold_beach.json | 1 + advancements/b7s/_biome_deep_ocean.json | 1 + advancements/b7s/_biome_desert.json | 1 + advancements/b7s/_biome_desert_hills.json | 1 + advancements/b7s/_biome_extreme_hills.json | 1 + .../b7s/_biome_extreme_hills_with_trees.json | 1 + advancements/b7s/_biome_forest.json | 1 + advancements/b7s/_biome_forest_hills.json | 1 + advancements/b7s/_biome_frozen_ocean.json | 1 + advancements/b7s/_biome_frozen_river.json | 1 + advancements/b7s/_biome_hell.json | 1 + advancements/b7s/_biome_ice_flats.json | 1 + advancements/b7s/_biome_ice_mountains.json | 1 + advancements/b7s/_biome_jungle.json | 1 + advancements/b7s/_biome_jungle_edge.json | 1 + advancements/b7s/_biome_jungle_hills.json | 1 + advancements/b7s/_biome_mesa.json | 1 + advancements/b7s/_biome_mesa_clear_rock.json | 1 + advancements/b7s/_biome_mesa_rock.json | 1 + advancements/b7s/_biome_mushroom_island.json | 1 + .../b7s/_biome_mushroom_island_shore.json | 1 + .../b7s/_biome_mutated_birch_forest.json | 1 + .../_biome_mutated_birch_forest_hills.json | 1 + advancements/b7s/_biome_mutated_desert.json | 1 + .../b7s/_biome_mutated_extreme_hills.json | 1 + ...iome_mutated_extreme_hills_with_trees.json | 1 + advancements/b7s/_biome_mutated_forest.json | 1 + .../b7s/_biome_mutated_ice_flats.json | 1 + advancements/b7s/_biome_mutated_jungle.json | 1 + .../b7s/_biome_mutated_jungle_edge.json | 1 + advancements/b7s/_biome_mutated_mesa.json | 1 + .../b7s/_biome_mutated_mesa_clear_rock.json | 1 + .../b7s/_biome_mutated_mesa_rock.json | 1 + advancements/b7s/_biome_mutated_plains.json | 1 + .../b7s/_biome_mutated_redwood_taiga.json | 1 + .../_biome_mutated_redwood_taiga_hills.json | 1 + .../b7s/_biome_mutated_roofed_forest.json | 1 + advancements/b7s/_biome_mutated_savanna.json | 1 + .../b7s/_biome_mutated_savanna_rock.json | 1 + .../b7s/_biome_mutated_swampland.json | 1 + advancements/b7s/_biome_mutated_taiga.json | 1 + .../b7s/_biome_mutated_taiga_cold.json | 1 + advancements/b7s/_biome_ocean.json | 1 + advancements/b7s/_biome_plains.json | 1 + advancements/b7s/_biome_redwood_taiga.json | 1 + .../b7s/_biome_redwood_taiga_hills.json | 1 + advancements/b7s/_biome_river.json | 1 + advancements/b7s/_biome_roofed_forest.json | 1 + advancements/b7s/_biome_savanna.json | 1 + advancements/b7s/_biome_savanna_rock.json | 1 + advancements/b7s/_biome_sky.json | 1 + .../b7s/_biome_smaller_extreme_hills.json | 1 + advancements/b7s/_biome_stone_beach.json | 1 + advancements/b7s/_biome_swampland.json | 1 + advancements/b7s/_biome_taiga.json | 1 + advancements/b7s/_biome_taiga_cold.json | 1 + advancements/b7s/_biome_taiga_cold_hills.json | 1 + advancements/b7s/_biome_taiga_hills.json | 1 + advancements/b7s/_biome_the_void.json | 1 + advancements/b7s/root.json | 1 + .../b7s/advancement/_biome_any.mcfunction | 4 + .../b7s/advancement/_biome_beaches.mcfunction | 4 + .../_biome_birch_forest.mcfunction | 4 + .../_biome_birch_forest_hills.mcfunction | 4 + .../advancement/_biome_cold_beach.mcfunction | 4 + .../advancement/_biome_deep_ocean.mcfunction | 4 + .../b7s/advancement/_biome_desert.mcfunction | 4 + .../_biome_desert_hills.mcfunction | 4 + .../_biome_extreme_hills.mcfunction | 4 + ..._biome_extreme_hills_with_trees.mcfunction | 4 + .../b7s/advancement/_biome_forest.mcfunction | 4 + .../_biome_forest_hills.mcfunction | 4 + .../_biome_frozen_ocean.mcfunction | 4 + .../_biome_frozen_river.mcfunction | 4 + .../b7s/advancement/_biome_hell.mcfunction | 4 + .../advancement/_biome_ice_flats.mcfunction | 4 + .../_biome_ice_mountains.mcfunction | 4 + .../b7s/advancement/_biome_jungle.mcfunction | 4 + .../advancement/_biome_jungle_edge.mcfunction | 4 + .../_biome_jungle_hills.mcfunction | 4 + .../b7s/advancement/_biome_mesa.mcfunction | 4 + .../_biome_mesa_clear_rock.mcfunction | 4 + .../advancement/_biome_mesa_rock.mcfunction | 4 + .../_biome_mushroom_island.mcfunction | 4 + .../_biome_mushroom_island_shore.mcfunction | 4 + .../_biome_mutated_birch_forest.mcfunction | 4 + ...iome_mutated_birch_forest_hills.mcfunction | 4 + .../_biome_mutated_desert.mcfunction | 4 + .../_biome_mutated_extreme_hills.mcfunction | 4 + ...utated_extreme_hills_with_trees.mcfunction | 4 + .../_biome_mutated_forest.mcfunction | 4 + .../_biome_mutated_ice_flats.mcfunction | 4 + .../_biome_mutated_jungle.mcfunction | 4 + .../_biome_mutated_jungle_edge.mcfunction | 4 + .../_biome_mutated_mesa.mcfunction | 4 + .../_biome_mutated_mesa_clear_rock.mcfunction | 4 + .../_biome_mutated_mesa_rock.mcfunction | 4 + .../_biome_mutated_plains.mcfunction | 4 + .../_biome_mutated_redwood_taiga.mcfunction | 4 + ...ome_mutated_redwood_taiga_hills.mcfunction | 4 + .../_biome_mutated_roofed_forest.mcfunction | 4 + .../_biome_mutated_savanna.mcfunction | 4 + .../_biome_mutated_savanna_rock.mcfunction | 4 + .../_biome_mutated_swampland.mcfunction | 4 + .../_biome_mutated_taiga.mcfunction | 4 + .../_biome_mutated_taiga_cold.mcfunction | 4 + .../b7s/advancement/_biome_ocean.mcfunction | 4 + .../b7s/advancement/_biome_plains.mcfunction | 4 + .../_biome_redwood_taiga.mcfunction | 4 + .../_biome_redwood_taiga_hills.mcfunction | 4 + .../b7s/advancement/_biome_river.mcfunction | 4 + .../_biome_roofed_forest.mcfunction | 4 + .../b7s/advancement/_biome_savanna.mcfunction | 4 + .../_biome_savanna_rock.mcfunction | 4 + .../b7s/advancement/_biome_sky.mcfunction | 4 + .../_biome_smaller_extreme_hills.mcfunction | 4 + .../advancement/_biome_stone_beach.mcfunction | 4 + .../advancement/_biome_swampland.mcfunction | 4 + .../b7s/advancement/_biome_taiga.mcfunction | 4 + .../advancement/_biome_taiga_cold.mcfunction | 4 + .../_biome_taiga_cold_hills.mcfunction | 4 + .../advancement/_biome_taiga_hills.mcfunction | 4 + .../advancement/_biome_the_void.mcfunction | 4 + functions/b7s/command/sethome.mcfunction | 4 + functions/b7s/command/tpaccept.mcfunction | 4 + .../b7s/command/tpaccept/_if_req.mcfunction | 4 + .../tpaccept/_if_req_if_other.mcfunction | 4 + .../_if_req_if_other_if_same_dim.mcfunction | 4 + .../command/tpaccept/_unless_req.mcfunction | 4 + functions/b7s/command/tpback.mcfunction | 4 + .../command/tpback/_if_back_set.mcfunction | 4 + .../_if_back_set_if_same_dim.mcfunction | 4 + functions/b7s/command/tphome.mcfunction | 4 + .../command/tphome/_if_home_set.mcfunction | 4 + .../_if_home_set_if_same_dim.mcfunction | 4 + functions/b7s/command/tpreq.mcfunction | 4 + .../b7s/command/tpreq/_if_other.mcfunction | 4 + .../_if_other_if_different_players.mcfunction | 4 + ...f_different_players_if_same_dim.mcfunction | 4 + .../command/tpreq/_unless_other.mcfunction | 4 + functions/b7s/entity/back/get_dim.mcfunction | 4 + functions/b7s/entity/back/get_loc.mcfunction | 4 + functions/b7s/entity/back/get_pos.mcfunction | 4 + functions/b7s/entity/back/get_pos.py | 9 + functions/b7s/entity/back/get_rot.mcfunction | 4 + functions/b7s/entity/back/get_rot.py | 9 + functions/b7s/entity/back/set_dim.mcfunction | 4 + functions/b7s/entity/back/set_loc.mcfunction | 4 + functions/b7s/entity/back/set_pos.mcfunction | 4 + functions/b7s/entity/back/set_pos.py | 9 + functions/b7s/entity/back/set_rot.mcfunction | 4 + functions/b7s/entity/back/set_rot.py | 9 + .../b7s/entity/check_same_dim.mcfunction | 4 + functions/b7s/entity/get_dim.mcfunction | 4 + functions/b7s/entity/get_loc.mcfunction | 4 + functions/b7s/entity/get_pos.mcfunction | 4 + functions/b7s/entity/get_pos.py | 8 + functions/b7s/entity/get_rot.mcfunction | 4 + functions/b7s/entity/get_rot.py | 8 + functions/b7s/entity/home/get_dim.mcfunction | 4 + functions/b7s/entity/home/get_loc.mcfunction | 4 + functions/b7s/entity/home/get_pos.mcfunction | 4 + functions/b7s/entity/home/get_pos.py | 9 + functions/b7s/entity/home/get_rot.mcfunction | 4 + functions/b7s/entity/home/get_rot.py | 9 + functions/b7s/entity/home/set_dim.mcfunction | 4 + functions/b7s/entity/home/set_loc.mcfunction | 4 + functions/b7s/entity/home/set_pos.mcfunction | 4 + functions/b7s/entity/home/set_pos.py | 9 + functions/b7s/entity/home/set_rot.mcfunction | 4 + functions/b7s/entity/home/set_rot.py | 9 + .../b7s/entity/player/check_armor.mcfunction | 4 + functions/b7s/entity/player/update.mcfunction | 4 + functions/b7s/entity/pulse.mcfunction | 4 + functions/b7s/entity/tagify_dim.mcfunction | 4 + functions/b7s/entity/tagify_loc.mcfunction | 4 + functions/b7s/entity/tagify_pos.mcfunction | 4 + functions/b7s/entity/tagify_pos.py | 8 + functions/b7s/entity/tagify_rot.mcfunction | 4 + functions/b7s/entity/tagify_rot.py | 8 + functions/b7s/entity/tp_loc.mcfunction | 4 + functions/b7s/entity/tp_pos.mcfunction | 4 + functions/b7s/entity/tp_pos.py | 8 + functions/b7s/entity/tp_rot.mcfunction | 4 + functions/b7s/entity/tp_rot.py | 12 +- functions/b7s/entity/untagify_dim.mcfunction | 4 + functions/b7s/entity/untagify_loc.mcfunction | 4 + functions/b7s/entity/untagify_pos.mcfunction | 4 + functions/b7s/entity/untagify_pos.py | 8 + functions/b7s/entity/untagify_rot.mcfunction | 4 + functions/b7s/entity/untagify_rot.py | 8 + functions/b7s/install.mcfunction | 4 + license.txt | 373 ++++++++++++++++++ readme.md | 4 + 198 files changed, 1043 insertions(+), 2 deletions(-) create mode 100644 license.txt diff --git a/advancements/b7s/_biome_any.json b/advancements/b7s/_biome_any.json index 622598b..a98a728 100644 --- a/advancements/b7s/_biome_any.json +++ b/advancements/b7s/_biome_any.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_any": { diff --git a/advancements/b7s/_biome_beaches.json b/advancements/b7s/_biome_beaches.json index 8ea7050..99cce02 100644 --- a/advancements/b7s/_biome_beaches.json +++ b/advancements/b7s/_biome_beaches.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_beaches": { diff --git a/advancements/b7s/_biome_birch_forest.json b/advancements/b7s/_biome_birch_forest.json index 22c0407..d55b125 100644 --- a/advancements/b7s/_biome_birch_forest.json +++ b/advancements/b7s/_biome_birch_forest.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_birch_forest": { diff --git a/advancements/b7s/_biome_birch_forest_hills.json b/advancements/b7s/_biome_birch_forest_hills.json index 58ef86c..4145a46 100644 --- a/advancements/b7s/_biome_birch_forest_hills.json +++ b/advancements/b7s/_biome_birch_forest_hills.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_birch_forest_hills": { diff --git a/advancements/b7s/_biome_cold_beach.json b/advancements/b7s/_biome_cold_beach.json index 5313977..76da246 100644 --- a/advancements/b7s/_biome_cold_beach.json +++ b/advancements/b7s/_biome_cold_beach.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_cold_beach": { diff --git a/advancements/b7s/_biome_deep_ocean.json b/advancements/b7s/_biome_deep_ocean.json index 482b5d2..fe2223a 100644 --- a/advancements/b7s/_biome_deep_ocean.json +++ b/advancements/b7s/_biome_deep_ocean.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_deep_ocean": { diff --git a/advancements/b7s/_biome_desert.json b/advancements/b7s/_biome_desert.json index 618a46e..6883837 100644 --- a/advancements/b7s/_biome_desert.json +++ b/advancements/b7s/_biome_desert.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_desert": { diff --git a/advancements/b7s/_biome_desert_hills.json b/advancements/b7s/_biome_desert_hills.json index 321de86..08e749d 100644 --- a/advancements/b7s/_biome_desert_hills.json +++ b/advancements/b7s/_biome_desert_hills.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_desert_hills": { diff --git a/advancements/b7s/_biome_extreme_hills.json b/advancements/b7s/_biome_extreme_hills.json index b70b620..a2ffab9 100644 --- a/advancements/b7s/_biome_extreme_hills.json +++ b/advancements/b7s/_biome_extreme_hills.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_extreme_hills": { diff --git a/advancements/b7s/_biome_extreme_hills_with_trees.json b/advancements/b7s/_biome_extreme_hills_with_trees.json index 5836ece..ad23f83 100644 --- a/advancements/b7s/_biome_extreme_hills_with_trees.json +++ b/advancements/b7s/_biome_extreme_hills_with_trees.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_extreme_hills_with_trees": { diff --git a/advancements/b7s/_biome_forest.json b/advancements/b7s/_biome_forest.json index 368c3a7..1d19dc4 100644 --- a/advancements/b7s/_biome_forest.json +++ b/advancements/b7s/_biome_forest.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_forest": { diff --git a/advancements/b7s/_biome_forest_hills.json b/advancements/b7s/_biome_forest_hills.json index 1ec476f..8a97e1c 100644 --- a/advancements/b7s/_biome_forest_hills.json +++ b/advancements/b7s/_biome_forest_hills.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_forest_hills": { diff --git a/advancements/b7s/_biome_frozen_ocean.json b/advancements/b7s/_biome_frozen_ocean.json index ab509d9..e9aed36 100644 --- a/advancements/b7s/_biome_frozen_ocean.json +++ b/advancements/b7s/_biome_frozen_ocean.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_frozen_ocean": { diff --git a/advancements/b7s/_biome_frozen_river.json b/advancements/b7s/_biome_frozen_river.json index 9b5841c..97f1211 100644 --- a/advancements/b7s/_biome_frozen_river.json +++ b/advancements/b7s/_biome_frozen_river.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_frozen_river": { diff --git a/advancements/b7s/_biome_hell.json b/advancements/b7s/_biome_hell.json index 1966312..618890e 100644 --- a/advancements/b7s/_biome_hell.json +++ b/advancements/b7s/_biome_hell.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_hell": { diff --git a/advancements/b7s/_biome_ice_flats.json b/advancements/b7s/_biome_ice_flats.json index 966dd04..7f66e0c 100644 --- a/advancements/b7s/_biome_ice_flats.json +++ b/advancements/b7s/_biome_ice_flats.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_ice_flats": { diff --git a/advancements/b7s/_biome_ice_mountains.json b/advancements/b7s/_biome_ice_mountains.json index 2726816..418bb57 100644 --- a/advancements/b7s/_biome_ice_mountains.json +++ b/advancements/b7s/_biome_ice_mountains.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_ice_mountains": { diff --git a/advancements/b7s/_biome_jungle.json b/advancements/b7s/_biome_jungle.json index 1c09e62..b542709 100644 --- a/advancements/b7s/_biome_jungle.json +++ b/advancements/b7s/_biome_jungle.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_jungle": { diff --git a/advancements/b7s/_biome_jungle_edge.json b/advancements/b7s/_biome_jungle_edge.json index df56a1f..2e9e52f 100644 --- a/advancements/b7s/_biome_jungle_edge.json +++ b/advancements/b7s/_biome_jungle_edge.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_jungle_edge": { diff --git a/advancements/b7s/_biome_jungle_hills.json b/advancements/b7s/_biome_jungle_hills.json index 221ff2d..7a6e520 100644 --- a/advancements/b7s/_biome_jungle_hills.json +++ b/advancements/b7s/_biome_jungle_hills.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_jungle_hills": { diff --git a/advancements/b7s/_biome_mesa.json b/advancements/b7s/_biome_mesa.json index e768933..7b29a1d 100644 --- a/advancements/b7s/_biome_mesa.json +++ b/advancements/b7s/_biome_mesa.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_mesa": { diff --git a/advancements/b7s/_biome_mesa_clear_rock.json b/advancements/b7s/_biome_mesa_clear_rock.json index 7a96dff..3f45a35 100644 --- a/advancements/b7s/_biome_mesa_clear_rock.json +++ b/advancements/b7s/_biome_mesa_clear_rock.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_mesa_clear_rock": { diff --git a/advancements/b7s/_biome_mesa_rock.json b/advancements/b7s/_biome_mesa_rock.json index ce5930b..760d975 100644 --- a/advancements/b7s/_biome_mesa_rock.json +++ b/advancements/b7s/_biome_mesa_rock.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_mesa_rock": { diff --git a/advancements/b7s/_biome_mushroom_island.json b/advancements/b7s/_biome_mushroom_island.json index c5d5e18..eb1ce62 100644 --- a/advancements/b7s/_biome_mushroom_island.json +++ b/advancements/b7s/_biome_mushroom_island.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_mushroom_island": { diff --git a/advancements/b7s/_biome_mushroom_island_shore.json b/advancements/b7s/_biome_mushroom_island_shore.json index cf80209..b1a78bc 100644 --- a/advancements/b7s/_biome_mushroom_island_shore.json +++ b/advancements/b7s/_biome_mushroom_island_shore.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_mushroom_island_shore": { diff --git a/advancements/b7s/_biome_mutated_birch_forest.json b/advancements/b7s/_biome_mutated_birch_forest.json index d4c9a31..441c710 100644 --- a/advancements/b7s/_biome_mutated_birch_forest.json +++ b/advancements/b7s/_biome_mutated_birch_forest.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_mutated_birch_forest": { diff --git a/advancements/b7s/_biome_mutated_birch_forest_hills.json b/advancements/b7s/_biome_mutated_birch_forest_hills.json index 755db4d..110185a 100644 --- a/advancements/b7s/_biome_mutated_birch_forest_hills.json +++ b/advancements/b7s/_biome_mutated_birch_forest_hills.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_mutated_birch_forest_hills": { diff --git a/advancements/b7s/_biome_mutated_desert.json b/advancements/b7s/_biome_mutated_desert.json index 89a7d1b..fe77e8a 100644 --- a/advancements/b7s/_biome_mutated_desert.json +++ b/advancements/b7s/_biome_mutated_desert.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_mutated_desert": { diff --git a/advancements/b7s/_biome_mutated_extreme_hills.json b/advancements/b7s/_biome_mutated_extreme_hills.json index 6a0c828..852fa85 100644 --- a/advancements/b7s/_biome_mutated_extreme_hills.json +++ b/advancements/b7s/_biome_mutated_extreme_hills.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_mutated_extreme_hills": { diff --git a/advancements/b7s/_biome_mutated_extreme_hills_with_trees.json b/advancements/b7s/_biome_mutated_extreme_hills_with_trees.json index 4880e83..0bdcf65 100644 --- a/advancements/b7s/_biome_mutated_extreme_hills_with_trees.json +++ b/advancements/b7s/_biome_mutated_extreme_hills_with_trees.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_mutated_extreme_hills_with_trees": { diff --git a/advancements/b7s/_biome_mutated_forest.json b/advancements/b7s/_biome_mutated_forest.json index 3f6c959..e04faaa 100644 --- a/advancements/b7s/_biome_mutated_forest.json +++ b/advancements/b7s/_biome_mutated_forest.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_mutated_forest": { diff --git a/advancements/b7s/_biome_mutated_ice_flats.json b/advancements/b7s/_biome_mutated_ice_flats.json index a8600fc..6888702 100644 --- a/advancements/b7s/_biome_mutated_ice_flats.json +++ b/advancements/b7s/_biome_mutated_ice_flats.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_mutated_ice_flats": { diff --git a/advancements/b7s/_biome_mutated_jungle.json b/advancements/b7s/_biome_mutated_jungle.json index 644461b..5eeee2e 100644 --- a/advancements/b7s/_biome_mutated_jungle.json +++ b/advancements/b7s/_biome_mutated_jungle.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_mutated_jungle": { diff --git a/advancements/b7s/_biome_mutated_jungle_edge.json b/advancements/b7s/_biome_mutated_jungle_edge.json index 512bcfa..3467d97 100644 --- a/advancements/b7s/_biome_mutated_jungle_edge.json +++ b/advancements/b7s/_biome_mutated_jungle_edge.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_mutated_jungle_edge": { diff --git a/advancements/b7s/_biome_mutated_mesa.json b/advancements/b7s/_biome_mutated_mesa.json index d2cdf85..c61962a 100644 --- a/advancements/b7s/_biome_mutated_mesa.json +++ b/advancements/b7s/_biome_mutated_mesa.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_mutated_mesa": { diff --git a/advancements/b7s/_biome_mutated_mesa_clear_rock.json b/advancements/b7s/_biome_mutated_mesa_clear_rock.json index 3c9a7f5..69feca2 100644 --- a/advancements/b7s/_biome_mutated_mesa_clear_rock.json +++ b/advancements/b7s/_biome_mutated_mesa_clear_rock.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_mutated_mesa_clear_rock": { diff --git a/advancements/b7s/_biome_mutated_mesa_rock.json b/advancements/b7s/_biome_mutated_mesa_rock.json index 02d3524..45a8d6d 100644 --- a/advancements/b7s/_biome_mutated_mesa_rock.json +++ b/advancements/b7s/_biome_mutated_mesa_rock.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_mutated_mesa_rock": { diff --git a/advancements/b7s/_biome_mutated_plains.json b/advancements/b7s/_biome_mutated_plains.json index 8c3b6f7..14175b8 100644 --- a/advancements/b7s/_biome_mutated_plains.json +++ b/advancements/b7s/_biome_mutated_plains.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_mutated_plains": { diff --git a/advancements/b7s/_biome_mutated_redwood_taiga.json b/advancements/b7s/_biome_mutated_redwood_taiga.json index 18ae716..e14f467 100644 --- a/advancements/b7s/_biome_mutated_redwood_taiga.json +++ b/advancements/b7s/_biome_mutated_redwood_taiga.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_mutated_redwood_taiga": { diff --git a/advancements/b7s/_biome_mutated_redwood_taiga_hills.json b/advancements/b7s/_biome_mutated_redwood_taiga_hills.json index 361da51..3343f37 100644 --- a/advancements/b7s/_biome_mutated_redwood_taiga_hills.json +++ b/advancements/b7s/_biome_mutated_redwood_taiga_hills.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_mutated_redwood_taiga_hills": { diff --git a/advancements/b7s/_biome_mutated_roofed_forest.json b/advancements/b7s/_biome_mutated_roofed_forest.json index 3063918..97c1937 100644 --- a/advancements/b7s/_biome_mutated_roofed_forest.json +++ b/advancements/b7s/_biome_mutated_roofed_forest.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_mutated_roofed_forest": { diff --git a/advancements/b7s/_biome_mutated_savanna.json b/advancements/b7s/_biome_mutated_savanna.json index dc04577..1084997 100644 --- a/advancements/b7s/_biome_mutated_savanna.json +++ b/advancements/b7s/_biome_mutated_savanna.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_mutated_savanna": { diff --git a/advancements/b7s/_biome_mutated_savanna_rock.json b/advancements/b7s/_biome_mutated_savanna_rock.json index 54535de..fe7abd4 100644 --- a/advancements/b7s/_biome_mutated_savanna_rock.json +++ b/advancements/b7s/_biome_mutated_savanna_rock.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_mutated_savanna_rock": { diff --git a/advancements/b7s/_biome_mutated_swampland.json b/advancements/b7s/_biome_mutated_swampland.json index 12cf579..f70b1c0 100644 --- a/advancements/b7s/_biome_mutated_swampland.json +++ b/advancements/b7s/_biome_mutated_swampland.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_mutated_swampland": { diff --git a/advancements/b7s/_biome_mutated_taiga.json b/advancements/b7s/_biome_mutated_taiga.json index b4fdcb6..5d673f2 100644 --- a/advancements/b7s/_biome_mutated_taiga.json +++ b/advancements/b7s/_biome_mutated_taiga.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_mutated_taiga": { diff --git a/advancements/b7s/_biome_mutated_taiga_cold.json b/advancements/b7s/_biome_mutated_taiga_cold.json index f447fdd..89a87a0 100644 --- a/advancements/b7s/_biome_mutated_taiga_cold.json +++ b/advancements/b7s/_biome_mutated_taiga_cold.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_mutated_taiga_cold": { diff --git a/advancements/b7s/_biome_ocean.json b/advancements/b7s/_biome_ocean.json index 726de22..e57b118 100644 --- a/advancements/b7s/_biome_ocean.json +++ b/advancements/b7s/_biome_ocean.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_ocean": { diff --git a/advancements/b7s/_biome_plains.json b/advancements/b7s/_biome_plains.json index 4bcd76c..8299b03 100644 --- a/advancements/b7s/_biome_plains.json +++ b/advancements/b7s/_biome_plains.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_plains": { diff --git a/advancements/b7s/_biome_redwood_taiga.json b/advancements/b7s/_biome_redwood_taiga.json index dda1ad0..933385c 100644 --- a/advancements/b7s/_biome_redwood_taiga.json +++ b/advancements/b7s/_biome_redwood_taiga.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_redwood_taiga": { diff --git a/advancements/b7s/_biome_redwood_taiga_hills.json b/advancements/b7s/_biome_redwood_taiga_hills.json index 1cfa95e..f4811c0 100644 --- a/advancements/b7s/_biome_redwood_taiga_hills.json +++ b/advancements/b7s/_biome_redwood_taiga_hills.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_redwood_taiga_hills": { diff --git a/advancements/b7s/_biome_river.json b/advancements/b7s/_biome_river.json index 518e300..0e987d4 100644 --- a/advancements/b7s/_biome_river.json +++ b/advancements/b7s/_biome_river.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_river": { diff --git a/advancements/b7s/_biome_roofed_forest.json b/advancements/b7s/_biome_roofed_forest.json index 4e7528e..d46acc5 100644 --- a/advancements/b7s/_biome_roofed_forest.json +++ b/advancements/b7s/_biome_roofed_forest.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_roofed_forest": { diff --git a/advancements/b7s/_biome_savanna.json b/advancements/b7s/_biome_savanna.json index 2c62b78..eece5c0 100644 --- a/advancements/b7s/_biome_savanna.json +++ b/advancements/b7s/_biome_savanna.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_savanna": { diff --git a/advancements/b7s/_biome_savanna_rock.json b/advancements/b7s/_biome_savanna_rock.json index 2e59c66..ea26f3d 100644 --- a/advancements/b7s/_biome_savanna_rock.json +++ b/advancements/b7s/_biome_savanna_rock.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_savanna_rock": { diff --git a/advancements/b7s/_biome_sky.json b/advancements/b7s/_biome_sky.json index ed99ac3..4f16e97 100644 --- a/advancements/b7s/_biome_sky.json +++ b/advancements/b7s/_biome_sky.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_sky": { diff --git a/advancements/b7s/_biome_smaller_extreme_hills.json b/advancements/b7s/_biome_smaller_extreme_hills.json index 60c2e8a..c421c6c 100644 --- a/advancements/b7s/_biome_smaller_extreme_hills.json +++ b/advancements/b7s/_biome_smaller_extreme_hills.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_smaller_extreme_hills": { diff --git a/advancements/b7s/_biome_stone_beach.json b/advancements/b7s/_biome_stone_beach.json index 19f0500..7e73d5b 100644 --- a/advancements/b7s/_biome_stone_beach.json +++ b/advancements/b7s/_biome_stone_beach.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_stone_beach": { diff --git a/advancements/b7s/_biome_swampland.json b/advancements/b7s/_biome_swampland.json index 05ac028..43e1d9a 100644 --- a/advancements/b7s/_biome_swampland.json +++ b/advancements/b7s/_biome_swampland.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_swampland": { diff --git a/advancements/b7s/_biome_taiga.json b/advancements/b7s/_biome_taiga.json index d7f3d98..e0ff204 100644 --- a/advancements/b7s/_biome_taiga.json +++ b/advancements/b7s/_biome_taiga.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_taiga": { diff --git a/advancements/b7s/_biome_taiga_cold.json b/advancements/b7s/_biome_taiga_cold.json index 373545d..8fb32d4 100644 --- a/advancements/b7s/_biome_taiga_cold.json +++ b/advancements/b7s/_biome_taiga_cold.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_taiga_cold": { diff --git a/advancements/b7s/_biome_taiga_cold_hills.json b/advancements/b7s/_biome_taiga_cold_hills.json index 3c9fee5..c1ca0f2 100644 --- a/advancements/b7s/_biome_taiga_cold_hills.json +++ b/advancements/b7s/_biome_taiga_cold_hills.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_taiga_cold_hills": { diff --git a/advancements/b7s/_biome_taiga_hills.json b/advancements/b7s/_biome_taiga_hills.json index 90e6813..a310e7e 100644 --- a/advancements/b7s/_biome_taiga_hills.json +++ b/advancements/b7s/_biome_taiga_hills.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_taiga_hills": { diff --git a/advancements/b7s/_biome_the_void.json b/advancements/b7s/_biome_the_void.json index 052f4a5..fcad09e 100644 --- a/advancements/b7s/_biome_the_void.json +++ b/advancements/b7s/_biome_the_void.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "parent": "b7s:root", "criteria": { "b7s:_biome_the_void": { diff --git a/advancements/b7s/root.json b/advancements/b7s/root.json index 9ea6435..bd7c825 100644 --- a/advancements/b7s/root.json +++ b/advancements/b7s/root.json @@ -1,4 +1,5 @@ { + "//": "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.", "criteria": { "b7s:impossible": { "trigger": "minecraft:impossible" diff --git a/functions/b7s/advancement/_biome_any.mcfunction b/functions/b7s/advancement/_biome_any.mcfunction index 0dfb98d..2fd9290 100644 --- a/functions/b7s/advancement/_biome_any.mcfunction +++ b/functions/b7s/advancement/_biome_any.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + function b7s:entity/player/update advancement revoke @s only b7s:_biome_any diff --git a/functions/b7s/advancement/_biome_beaches.mcfunction b/functions/b7s/advancement/_biome_beaches.mcfunction index 37fb1c6..d73688c 100644 --- a/functions/b7s/advancement/_biome_beaches.mcfunction +++ b/functions/b7s/advancement/_biome_beaches.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 16 advancement revoke @s only b7s:_biome_beaches diff --git a/functions/b7s/advancement/_biome_birch_forest.mcfunction b/functions/b7s/advancement/_biome_birch_forest.mcfunction index a84dd2f..6000343 100644 --- a/functions/b7s/advancement/_biome_birch_forest.mcfunction +++ b/functions/b7s/advancement/_biome_birch_forest.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 27 advancement revoke @s only b7s:_biome_forest diff --git a/functions/b7s/advancement/_biome_birch_forest_hills.mcfunction b/functions/b7s/advancement/_biome_birch_forest_hills.mcfunction index 546bbb3..2e157fc 100644 --- a/functions/b7s/advancement/_biome_birch_forest_hills.mcfunction +++ b/functions/b7s/advancement/_biome_birch_forest_hills.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 28 advancement revoke @s only b7s:_biome_forest_hills diff --git a/functions/b7s/advancement/_biome_cold_beach.mcfunction b/functions/b7s/advancement/_biome_cold_beach.mcfunction index 4b369d8..8f92e04 100644 --- a/functions/b7s/advancement/_biome_cold_beach.mcfunction +++ b/functions/b7s/advancement/_biome_cold_beach.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 26 advancement revoke @s only b7s:_biome_cold_beach diff --git a/functions/b7s/advancement/_biome_deep_ocean.mcfunction b/functions/b7s/advancement/_biome_deep_ocean.mcfunction index ed89250..127ddeb 100644 --- a/functions/b7s/advancement/_biome_deep_ocean.mcfunction +++ b/functions/b7s/advancement/_biome_deep_ocean.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 24 advancement revoke @s only b7s:_biome_deep_ocean diff --git a/functions/b7s/advancement/_biome_desert.mcfunction b/functions/b7s/advancement/_biome_desert.mcfunction index d00333b..f160d1a 100644 --- a/functions/b7s/advancement/_biome_desert.mcfunction +++ b/functions/b7s/advancement/_biome_desert.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 2 advancement revoke @s only b7s:_biome_desert diff --git a/functions/b7s/advancement/_biome_desert_hills.mcfunction b/functions/b7s/advancement/_biome_desert_hills.mcfunction index 7a21050..6d43fe7 100644 --- a/functions/b7s/advancement/_biome_desert_hills.mcfunction +++ b/functions/b7s/advancement/_biome_desert_hills.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 17 advancement revoke @s only b7s:_biome_desert_hills diff --git a/functions/b7s/advancement/_biome_extreme_hills.mcfunction b/functions/b7s/advancement/_biome_extreme_hills.mcfunction index 1d6d623..2dc8df0 100644 --- a/functions/b7s/advancement/_biome_extreme_hills.mcfunction +++ b/functions/b7s/advancement/_biome_extreme_hills.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 3 advancement revoke @s only b7s:_biome_extreme_hills diff --git a/functions/b7s/advancement/_biome_extreme_hills_with_trees.mcfunction b/functions/b7s/advancement/_biome_extreme_hills_with_trees.mcfunction index 18eafb3..54f01b1 100644 --- a/functions/b7s/advancement/_biome_extreme_hills_with_trees.mcfunction +++ b/functions/b7s/advancement/_biome_extreme_hills_with_trees.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 34 advancement revoke @s only b7s:_biome_extreme_hills_with_trees diff --git a/functions/b7s/advancement/_biome_forest.mcfunction b/functions/b7s/advancement/_biome_forest.mcfunction index 25637b9..97cc7f1 100644 --- a/functions/b7s/advancement/_biome_forest.mcfunction +++ b/functions/b7s/advancement/_biome_forest.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 4 advancement revoke @s only b7s:_biome_forest diff --git a/functions/b7s/advancement/_biome_forest_hills.mcfunction b/functions/b7s/advancement/_biome_forest_hills.mcfunction index a8dcad0..887bb5b 100644 --- a/functions/b7s/advancement/_biome_forest_hills.mcfunction +++ b/functions/b7s/advancement/_biome_forest_hills.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 18 advancement revoke @s only b7s:_biome_forest_hills diff --git a/functions/b7s/advancement/_biome_frozen_ocean.mcfunction b/functions/b7s/advancement/_biome_frozen_ocean.mcfunction index 1f33dbc..17d6cff 100644 --- a/functions/b7s/advancement/_biome_frozen_ocean.mcfunction +++ b/functions/b7s/advancement/_biome_frozen_ocean.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 10 advancement revoke @s only b7s:_biome_frozen_ocean diff --git a/functions/b7s/advancement/_biome_frozen_river.mcfunction b/functions/b7s/advancement/_biome_frozen_river.mcfunction index 80ad0de..d06200d 100644 --- a/functions/b7s/advancement/_biome_frozen_river.mcfunction +++ b/functions/b7s/advancement/_biome_frozen_river.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 11 advancement revoke @s only b7s:_biome_frozen_river diff --git a/functions/b7s/advancement/_biome_hell.mcfunction b/functions/b7s/advancement/_biome_hell.mcfunction index e561bf0..f562ec2 100644 --- a/functions/b7s/advancement/_biome_hell.mcfunction +++ b/functions/b7s/advancement/_biome_hell.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 8 advancement revoke @s only b7s:_biome_hell diff --git a/functions/b7s/advancement/_biome_ice_flats.mcfunction b/functions/b7s/advancement/_biome_ice_flats.mcfunction index 9156ead..7351c49 100644 --- a/functions/b7s/advancement/_biome_ice_flats.mcfunction +++ b/functions/b7s/advancement/_biome_ice_flats.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 12 advancement revoke @s only b7s:_biome_ice_flats diff --git a/functions/b7s/advancement/_biome_ice_mountains.mcfunction b/functions/b7s/advancement/_biome_ice_mountains.mcfunction index bc188a7..586e9b2 100644 --- a/functions/b7s/advancement/_biome_ice_mountains.mcfunction +++ b/functions/b7s/advancement/_biome_ice_mountains.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 13 advancement revoke @s only b7s:_biome_ice_mountains diff --git a/functions/b7s/advancement/_biome_jungle.mcfunction b/functions/b7s/advancement/_biome_jungle.mcfunction index 7387ff8..384c9cb 100644 --- a/functions/b7s/advancement/_biome_jungle.mcfunction +++ b/functions/b7s/advancement/_biome_jungle.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 21 advancement revoke @s only b7s:_biome_jungle diff --git a/functions/b7s/advancement/_biome_jungle_edge.mcfunction b/functions/b7s/advancement/_biome_jungle_edge.mcfunction index 9a0e4ae..58223e4 100644 --- a/functions/b7s/advancement/_biome_jungle_edge.mcfunction +++ b/functions/b7s/advancement/_biome_jungle_edge.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 23 advancement revoke @s only b7s:_biome_jungle_edge diff --git a/functions/b7s/advancement/_biome_jungle_hills.mcfunction b/functions/b7s/advancement/_biome_jungle_hills.mcfunction index c6e7c88..7b3d7da 100644 --- a/functions/b7s/advancement/_biome_jungle_hills.mcfunction +++ b/functions/b7s/advancement/_biome_jungle_hills.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 22 advancement revoke @s only b7s:_biome_jungle_hills diff --git a/functions/b7s/advancement/_biome_mesa.mcfunction b/functions/b7s/advancement/_biome_mesa.mcfunction index 0911b28..bdaf09e 100644 --- a/functions/b7s/advancement/_biome_mesa.mcfunction +++ b/functions/b7s/advancement/_biome_mesa.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 37 advancement revoke @s only b7s:_biome_mesa diff --git a/functions/b7s/advancement/_biome_mesa_clear_rock.mcfunction b/functions/b7s/advancement/_biome_mesa_clear_rock.mcfunction index 4a13d55..9f5b667 100644 --- a/functions/b7s/advancement/_biome_mesa_clear_rock.mcfunction +++ b/functions/b7s/advancement/_biome_mesa_clear_rock.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 39 advancement revoke @s only b7s:_biome_mesa_clear_rock diff --git a/functions/b7s/advancement/_biome_mesa_rock.mcfunction b/functions/b7s/advancement/_biome_mesa_rock.mcfunction index 7a0e975..ae1312a 100644 --- a/functions/b7s/advancement/_biome_mesa_rock.mcfunction +++ b/functions/b7s/advancement/_biome_mesa_rock.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 38 advancement revoke @s only b7s:_biome_mesa_rock diff --git a/functions/b7s/advancement/_biome_mushroom_island.mcfunction b/functions/b7s/advancement/_biome_mushroom_island.mcfunction index 59fa439..98a361d 100644 --- a/functions/b7s/advancement/_biome_mushroom_island.mcfunction +++ b/functions/b7s/advancement/_biome_mushroom_island.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 14 advancement revoke @s only b7s:_biome_mushroom_island diff --git a/functions/b7s/advancement/_biome_mushroom_island_shore.mcfunction b/functions/b7s/advancement/_biome_mushroom_island_shore.mcfunction index 4b86269..5037b33 100644 --- a/functions/b7s/advancement/_biome_mushroom_island_shore.mcfunction +++ b/functions/b7s/advancement/_biome_mushroom_island_shore.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 15 advancement revoke @s only b7s:_biome_mushroom_island_shore diff --git a/functions/b7s/advancement/_biome_mutated_birch_forest.mcfunction b/functions/b7s/advancement/_biome_mutated_birch_forest.mcfunction index 90b0f7c..4024f0b 100644 --- a/functions/b7s/advancement/_biome_mutated_birch_forest.mcfunction +++ b/functions/b7s/advancement/_biome_mutated_birch_forest.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 155 advancement revoke @s only b7s:_biome_mutated_birch_forest diff --git a/functions/b7s/advancement/_biome_mutated_birch_forest_hills.mcfunction b/functions/b7s/advancement/_biome_mutated_birch_forest_hills.mcfunction index a174fe6..be1416b 100644 --- a/functions/b7s/advancement/_biome_mutated_birch_forest_hills.mcfunction +++ b/functions/b7s/advancement/_biome_mutated_birch_forest_hills.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 156 advancement revoke @s only b7s:_biome_mutated_birch_forest_hills diff --git a/functions/b7s/advancement/_biome_mutated_desert.mcfunction b/functions/b7s/advancement/_biome_mutated_desert.mcfunction index bd66d85..71b4374 100644 --- a/functions/b7s/advancement/_biome_mutated_desert.mcfunction +++ b/functions/b7s/advancement/_biome_mutated_desert.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 130 advancement revoke @s only b7s:_biome_mutated_desert diff --git a/functions/b7s/advancement/_biome_mutated_extreme_hills.mcfunction b/functions/b7s/advancement/_biome_mutated_extreme_hills.mcfunction index baaaef9..f506daa 100644 --- a/functions/b7s/advancement/_biome_mutated_extreme_hills.mcfunction +++ b/functions/b7s/advancement/_biome_mutated_extreme_hills.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 131 advancement revoke @s only b7s:_biome_mutated_extreme_hills diff --git a/functions/b7s/advancement/_biome_mutated_extreme_hills_with_trees.mcfunction b/functions/b7s/advancement/_biome_mutated_extreme_hills_with_trees.mcfunction index 8228061..03127c9 100644 --- a/functions/b7s/advancement/_biome_mutated_extreme_hills_with_trees.mcfunction +++ b/functions/b7s/advancement/_biome_mutated_extreme_hills_with_trees.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 162 advancement revoke @s only b7s:_biome_mutated_extreme_hills_with_trees diff --git a/functions/b7s/advancement/_biome_mutated_forest.mcfunction b/functions/b7s/advancement/_biome_mutated_forest.mcfunction index ebd9b51..e808846 100644 --- a/functions/b7s/advancement/_biome_mutated_forest.mcfunction +++ b/functions/b7s/advancement/_biome_mutated_forest.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 132 advancement revoke @s only b7s:_biome_mutated_forest diff --git a/functions/b7s/advancement/_biome_mutated_ice_flats.mcfunction b/functions/b7s/advancement/_biome_mutated_ice_flats.mcfunction index eb04eb3..aaa4a28 100644 --- a/functions/b7s/advancement/_biome_mutated_ice_flats.mcfunction +++ b/functions/b7s/advancement/_biome_mutated_ice_flats.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 140 advancement revoke @s only b7s:_biome_mutated_ice_flats diff --git a/functions/b7s/advancement/_biome_mutated_jungle.mcfunction b/functions/b7s/advancement/_biome_mutated_jungle.mcfunction index 3196d04..126454c 100644 --- a/functions/b7s/advancement/_biome_mutated_jungle.mcfunction +++ b/functions/b7s/advancement/_biome_mutated_jungle.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 149 advancement revoke @s only b7s:_biome_mutated_jungle diff --git a/functions/b7s/advancement/_biome_mutated_jungle_edge.mcfunction b/functions/b7s/advancement/_biome_mutated_jungle_edge.mcfunction index 946ae1b..1c4a434 100644 --- a/functions/b7s/advancement/_biome_mutated_jungle_edge.mcfunction +++ b/functions/b7s/advancement/_biome_mutated_jungle_edge.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 151 advancement revoke @s only b7s:_biome_mutated_jungle_edge diff --git a/functions/b7s/advancement/_biome_mutated_mesa.mcfunction b/functions/b7s/advancement/_biome_mutated_mesa.mcfunction index 81c347f..c22a94d 100644 --- a/functions/b7s/advancement/_biome_mutated_mesa.mcfunction +++ b/functions/b7s/advancement/_biome_mutated_mesa.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 165 advancement revoke @s only b7s:_biome_mutated_mesa diff --git a/functions/b7s/advancement/_biome_mutated_mesa_clear_rock.mcfunction b/functions/b7s/advancement/_biome_mutated_mesa_clear_rock.mcfunction index 5a44ddf..52646a0 100644 --- a/functions/b7s/advancement/_biome_mutated_mesa_clear_rock.mcfunction +++ b/functions/b7s/advancement/_biome_mutated_mesa_clear_rock.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 167 advancement revoke @s only b7s:_biome_mutated_mesa_clear_rock diff --git a/functions/b7s/advancement/_biome_mutated_mesa_rock.mcfunction b/functions/b7s/advancement/_biome_mutated_mesa_rock.mcfunction index 8e7d393..c277248 100644 --- a/functions/b7s/advancement/_biome_mutated_mesa_rock.mcfunction +++ b/functions/b7s/advancement/_biome_mutated_mesa_rock.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 166 advancement revoke @s only b7s:_biome_mutated_mesa_rock diff --git a/functions/b7s/advancement/_biome_mutated_plains.mcfunction b/functions/b7s/advancement/_biome_mutated_plains.mcfunction index 7e38668..0656ba1 100644 --- a/functions/b7s/advancement/_biome_mutated_plains.mcfunction +++ b/functions/b7s/advancement/_biome_mutated_plains.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 129 advancement revoke @s only b7s:_biome_mutated_plains diff --git a/functions/b7s/advancement/_biome_mutated_redwood_taiga.mcfunction b/functions/b7s/advancement/_biome_mutated_redwood_taiga.mcfunction index 011fd4d..7496445 100644 --- a/functions/b7s/advancement/_biome_mutated_redwood_taiga.mcfunction +++ b/functions/b7s/advancement/_biome_mutated_redwood_taiga.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 160 advancement revoke @s only b7s:_biome_mutated_redwood_taiga diff --git a/functions/b7s/advancement/_biome_mutated_redwood_taiga_hills.mcfunction b/functions/b7s/advancement/_biome_mutated_redwood_taiga_hills.mcfunction index dda8c71..f4a6598 100644 --- a/functions/b7s/advancement/_biome_mutated_redwood_taiga_hills.mcfunction +++ b/functions/b7s/advancement/_biome_mutated_redwood_taiga_hills.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 161 advancement revoke @s only b7s:_biome_mutated_redwood_taiga_hills diff --git a/functions/b7s/advancement/_biome_mutated_roofed_forest.mcfunction b/functions/b7s/advancement/_biome_mutated_roofed_forest.mcfunction index e2267ff..78e2330 100644 --- a/functions/b7s/advancement/_biome_mutated_roofed_forest.mcfunction +++ b/functions/b7s/advancement/_biome_mutated_roofed_forest.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 157 advancement revoke @s only b7s:_biome_mutated_roofed_forest diff --git a/functions/b7s/advancement/_biome_mutated_savanna.mcfunction b/functions/b7s/advancement/_biome_mutated_savanna.mcfunction index 526a589..01646b3 100644 --- a/functions/b7s/advancement/_biome_mutated_savanna.mcfunction +++ b/functions/b7s/advancement/_biome_mutated_savanna.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 163 advancement revoke @s only b7s:_biome_mutated_savanna diff --git a/functions/b7s/advancement/_biome_mutated_savanna_rock.mcfunction b/functions/b7s/advancement/_biome_mutated_savanna_rock.mcfunction index 96986b8..536cadc 100644 --- a/functions/b7s/advancement/_biome_mutated_savanna_rock.mcfunction +++ b/functions/b7s/advancement/_biome_mutated_savanna_rock.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 164 advancement revoke @s only b7s:_biome_mutated_savanna_rock diff --git a/functions/b7s/advancement/_biome_mutated_swampland.mcfunction b/functions/b7s/advancement/_biome_mutated_swampland.mcfunction index ca46c1e..7a4445f 100644 --- a/functions/b7s/advancement/_biome_mutated_swampland.mcfunction +++ b/functions/b7s/advancement/_biome_mutated_swampland.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 134 advancement revoke @s only b7s:_biome_mutated_swampland diff --git a/functions/b7s/advancement/_biome_mutated_taiga.mcfunction b/functions/b7s/advancement/_biome_mutated_taiga.mcfunction index 9402463..5678f79 100644 --- a/functions/b7s/advancement/_biome_mutated_taiga.mcfunction +++ b/functions/b7s/advancement/_biome_mutated_taiga.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 133 advancement revoke @s only b7s:_biome_mutated_taiga diff --git a/functions/b7s/advancement/_biome_mutated_taiga_cold.mcfunction b/functions/b7s/advancement/_biome_mutated_taiga_cold.mcfunction index 47f3f66..7c07a0f 100644 --- a/functions/b7s/advancement/_biome_mutated_taiga_cold.mcfunction +++ b/functions/b7s/advancement/_biome_mutated_taiga_cold.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 158 advancement revoke @s only b7s:_biome_mutated_taiga_cold diff --git a/functions/b7s/advancement/_biome_ocean.mcfunction b/functions/b7s/advancement/_biome_ocean.mcfunction index 6c0e318..582737b 100644 --- a/functions/b7s/advancement/_biome_ocean.mcfunction +++ b/functions/b7s/advancement/_biome_ocean.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 0 advancement revoke @s only b7s:_biome_ocean diff --git a/functions/b7s/advancement/_biome_plains.mcfunction b/functions/b7s/advancement/_biome_plains.mcfunction index 100b4a6..bd7332c 100644 --- a/functions/b7s/advancement/_biome_plains.mcfunction +++ b/functions/b7s/advancement/_biome_plains.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 1 advancement revoke @s only b7s:_biome_plains diff --git a/functions/b7s/advancement/_biome_redwood_taiga.mcfunction b/functions/b7s/advancement/_biome_redwood_taiga.mcfunction index 19cf090..4904d89 100644 --- a/functions/b7s/advancement/_biome_redwood_taiga.mcfunction +++ b/functions/b7s/advancement/_biome_redwood_taiga.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 32 advancement revoke @s only b7s:_biome_redwood_taiga diff --git a/functions/b7s/advancement/_biome_redwood_taiga_hills.mcfunction b/functions/b7s/advancement/_biome_redwood_taiga_hills.mcfunction index ce51144..b936e48 100644 --- a/functions/b7s/advancement/_biome_redwood_taiga_hills.mcfunction +++ b/functions/b7s/advancement/_biome_redwood_taiga_hills.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 33 advancement revoke @s only b7s:_biome_redwood_taiga_hills diff --git a/functions/b7s/advancement/_biome_river.mcfunction b/functions/b7s/advancement/_biome_river.mcfunction index 77ab8d7..1d3c0a9 100644 --- a/functions/b7s/advancement/_biome_river.mcfunction +++ b/functions/b7s/advancement/_biome_river.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 7 advancement revoke @s only b7s:_biome_river diff --git a/functions/b7s/advancement/_biome_roofed_forest.mcfunction b/functions/b7s/advancement/_biome_roofed_forest.mcfunction index edc436b..bbb2a29 100644 --- a/functions/b7s/advancement/_biome_roofed_forest.mcfunction +++ b/functions/b7s/advancement/_biome_roofed_forest.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 29 advancement revoke @s only b7s:_biome_roofed_forest diff --git a/functions/b7s/advancement/_biome_savanna.mcfunction b/functions/b7s/advancement/_biome_savanna.mcfunction index 182a70b..e6c99f1 100644 --- a/functions/b7s/advancement/_biome_savanna.mcfunction +++ b/functions/b7s/advancement/_biome_savanna.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 35 advancement revoke @s only b7s:_biome_savanna diff --git a/functions/b7s/advancement/_biome_savanna_rock.mcfunction b/functions/b7s/advancement/_biome_savanna_rock.mcfunction index 227be11..6ef384a 100644 --- a/functions/b7s/advancement/_biome_savanna_rock.mcfunction +++ b/functions/b7s/advancement/_biome_savanna_rock.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 36 advancement revoke @s only b7s:_biome_savanna_rock diff --git a/functions/b7s/advancement/_biome_sky.mcfunction b/functions/b7s/advancement/_biome_sky.mcfunction index f0e5430..ffc4e4a 100644 --- a/functions/b7s/advancement/_biome_sky.mcfunction +++ b/functions/b7s/advancement/_biome_sky.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 9 advancement revoke @s only b7s:_biome_sky diff --git a/functions/b7s/advancement/_biome_smaller_extreme_hills.mcfunction b/functions/b7s/advancement/_biome_smaller_extreme_hills.mcfunction index 099b0ba..7d9f32f 100644 --- a/functions/b7s/advancement/_biome_smaller_extreme_hills.mcfunction +++ b/functions/b7s/advancement/_biome_smaller_extreme_hills.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 20 advancement revoke @s only b7s:_biome_smaller_extreme_hills diff --git a/functions/b7s/advancement/_biome_stone_beach.mcfunction b/functions/b7s/advancement/_biome_stone_beach.mcfunction index 4b42d5d..12b8c55 100644 --- a/functions/b7s/advancement/_biome_stone_beach.mcfunction +++ b/functions/b7s/advancement/_biome_stone_beach.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 25 advancement revoke @s only b7s:_biome_stone_beach diff --git a/functions/b7s/advancement/_biome_swampland.mcfunction b/functions/b7s/advancement/_biome_swampland.mcfunction index 146294e..c9c3127 100644 --- a/functions/b7s/advancement/_biome_swampland.mcfunction +++ b/functions/b7s/advancement/_biome_swampland.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 6 advancement revoke @s only b7s:_biome_swampland diff --git a/functions/b7s/advancement/_biome_taiga.mcfunction b/functions/b7s/advancement/_biome_taiga.mcfunction index f228ed5..9572eb5 100644 --- a/functions/b7s/advancement/_biome_taiga.mcfunction +++ b/functions/b7s/advancement/_biome_taiga.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 5 advancement revoke @s only b7s:_biome_taiga diff --git a/functions/b7s/advancement/_biome_taiga_cold.mcfunction b/functions/b7s/advancement/_biome_taiga_cold.mcfunction index 1b52b85..3d442a3 100644 --- a/functions/b7s/advancement/_biome_taiga_cold.mcfunction +++ b/functions/b7s/advancement/_biome_taiga_cold.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 30 advancement revoke @s only b7s:_biome_taiga_cold diff --git a/functions/b7s/advancement/_biome_taiga_cold_hills.mcfunction b/functions/b7s/advancement/_biome_taiga_cold_hills.mcfunction index 32c8c47..b4e88e5 100644 --- a/functions/b7s/advancement/_biome_taiga_cold_hills.mcfunction +++ b/functions/b7s/advancement/_biome_taiga_cold_hills.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 31 advancement revoke @s only b7s:taiga_cold_hills diff --git a/functions/b7s/advancement/_biome_taiga_hills.mcfunction b/functions/b7s/advancement/_biome_taiga_hills.mcfunction index 250f04e..b4234cf 100644 --- a/functions/b7s/advancement/_biome_taiga_hills.mcfunction +++ b/functions/b7s/advancement/_biome_taiga_hills.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 19 advancement revoke @s only b7s:_biome_taiga_hills diff --git a/functions/b7s/advancement/_biome_the_void.mcfunction b/functions/b7s/advancement/_biome_the_void.mcfunction index 43ee0f1..5d68155 100644 --- a/functions/b7s/advancement/_biome_the_void.mcfunction +++ b/functions/b7s/advancement/_biome_the_void.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players set @s b7s:biome 137 advancement revoke @s only b7s:_biome_the_void diff --git a/functions/b7s/command/sethome.mcfunction b/functions/b7s/command/sethome.mcfunction index c99fd3b..eb1e86a 100644 --- a/functions/b7s/command/sethome.mcfunction +++ b/functions/b7s/command/sethome.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + function b7s:entity/get_loc function b7s:entity/tagify_loc function b7s:entity/home/set_loc diff --git a/functions/b7s/command/tpaccept.mcfunction b/functions/b7s/command/tpaccept.mcfunction index daaf56b..73d6a56 100644 --- a/functions/b7s/command/tpaccept.mcfunction +++ b/functions/b7s/command/tpaccept.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + function b7s:command/tpaccept/_unless_req unless @s[score_b7s:req_from_min=1] function b7s:command/tpaccept/_if_req if @s[score_b7s:req_from_min=1] diff --git a/functions/b7s/command/tpaccept/_if_req.mcfunction b/functions/b7s/command/tpaccept/_if_req.mcfunction index 8e40cf0..fa3fe18 100644 --- a/functions/b7s/command/tpaccept/_if_req.mcfunction +++ b/functions/b7s/command/tpaccept/_if_req.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players tag @s add b7s:_self execute @e[type=minecraft:player] ~ ~ ~ scoreboard players operation @s b7s:_tmp = @s b7s:id diff --git a/functions/b7s/command/tpaccept/_if_req_if_other.mcfunction b/functions/b7s/command/tpaccept/_if_req_if_other.mcfunction index defb0c1..0a382df 100644 --- a/functions/b7s/command/tpaccept/_if_req_if_other.mcfunction +++ b/functions/b7s/command/tpaccept/_if_req_if_other.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + execute @p[tag=b7s:_other] ~ ~ ~ function b7s:entity/get_dim scoreboard players operation @s b7s:dim = @p[tag=b7s:_other] b7s:dim function b7s:entity/check_same_dim diff --git a/functions/b7s/command/tpaccept/_if_req_if_other_if_same_dim.mcfunction b/functions/b7s/command/tpaccept/_if_req_if_other_if_same_dim.mcfunction index 0364653..c68b569 100644 --- a/functions/b7s/command/tpaccept/_if_req_if_other_if_same_dim.mcfunction +++ b/functions/b7s/command/tpaccept/_if_req_if_other_if_same_dim.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + execute @p[tag=b7s:_other] ~ ~ ~ function b7s:entity/get_loc execute @p[tag=b7s:_other] ~ ~ ~ function b7s:entity/tagify_loc execute @p[tag=b7s:_other] ~ ~ ~ function b7s:entity/back/set_loc diff --git a/functions/b7s/command/tpaccept/_unless_req.mcfunction b/functions/b7s/command/tpaccept/_unless_req.mcfunction index acfbc7c..8e760ed 100644 --- a/functions/b7s/command/tpaccept/_unless_req.mcfunction +++ b/functions/b7s/command/tpaccept/_unless_req.mcfunction @@ -1 +1,5 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + tellraw @s ["[BareBones] ",{"color":"red","text":"There are no pending teleportation requests"}] diff --git a/functions/b7s/command/tpback.mcfunction b/functions/b7s/command/tpback.mcfunction index 3e31036..6776dba 100644 --- a/functions/b7s/command/tpback.mcfunction +++ b/functions/b7s/command/tpback.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + tellraw @s[tag=!b7s:back_set] ["[BareBones] ",{"color":"red","text":"You have nowhere to teleport back"}] function b7s:command/tpback/_if_back_set if @s[tag=b7s:back_set] diff --git a/functions/b7s/command/tpback/_if_back_set.mcfunction b/functions/b7s/command/tpback/_if_back_set.mcfunction index af132c0..713fe58 100644 --- a/functions/b7s/command/tpback/_if_back_set.mcfunction +++ b/functions/b7s/command/tpback/_if_back_set.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + function b7s:entity/back/get_dim function b7s:entity/untagify_dim function b7s:entity/check_same_dim diff --git a/functions/b7s/command/tpback/_if_back_set_if_same_dim.mcfunction b/functions/b7s/command/tpback/_if_back_set_if_same_dim.mcfunction index 18f3363..44a1276 100644 --- a/functions/b7s/command/tpback/_if_back_set_if_same_dim.mcfunction +++ b/functions/b7s/command/tpback/_if_back_set_if_same_dim.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + function b7s:entity/back/get_pos function b7s:entity/untagify_pos function b7s:entity/tp_pos diff --git a/functions/b7s/command/tphome.mcfunction b/functions/b7s/command/tphome.mcfunction index 6a5cafd..7d0aaca 100644 --- a/functions/b7s/command/tphome.mcfunction +++ b/functions/b7s/command/tphome.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + tellraw @s[tag=!b7s:home_set] ["[BareBones] ",{"color":"red","text":"Home not set"}] function b7s:command/tphome/_if_home_set if @s[tag=b7s:home_set] diff --git a/functions/b7s/command/tphome/_if_home_set.mcfunction b/functions/b7s/command/tphome/_if_home_set.mcfunction index 141b447..9c0ded8 100644 --- a/functions/b7s/command/tphome/_if_home_set.mcfunction +++ b/functions/b7s/command/tphome/_if_home_set.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + function b7s:entity/home/get_dim function b7s:entity/untagify_dim function b7s:entity/check_same_dim diff --git a/functions/b7s/command/tphome/_if_home_set_if_same_dim.mcfunction b/functions/b7s/command/tphome/_if_home_set_if_same_dim.mcfunction index 35b47bd..ff24847 100644 --- a/functions/b7s/command/tphome/_if_home_set_if_same_dim.mcfunction +++ b/functions/b7s/command/tphome/_if_home_set_if_same_dim.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + function b7s:entity/get_loc function b7s:entity/tagify_loc function b7s:entity/back/set_loc diff --git a/functions/b7s/command/tpreq.mcfunction b/functions/b7s/command/tpreq.mcfunction index e246255..96be777 100644 --- a/functions/b7s/command/tpreq.mcfunction +++ b/functions/b7s/command/tpreq.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players tag @s add b7s:_self execute @e[type=minecraft:player] ~ ~ ~ scoreboard players operation @s b7s:_tmp = @s b7s:id diff --git a/functions/b7s/command/tpreq/_if_other.mcfunction b/functions/b7s/command/tpreq/_if_other.mcfunction index 201cd7e..9ead568 100644 --- a/functions/b7s/command/tpreq/_if_other.mcfunction +++ b/functions/b7s/command/tpreq/_if_other.mcfunction @@ -1,2 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + tellraw @s[tag=b7s:_other] ["[BareBones] ",{"color":"red","text":"You can't send teleportation requests to yourself"}] function b7s:command/tpreq/_if_other_if_different_players if @s[tag=!b7s:_other] diff --git a/functions/b7s/command/tpreq/_if_other_if_different_players.mcfunction b/functions/b7s/command/tpreq/_if_other_if_different_players.mcfunction index 11a2e26..4b00968 100644 --- a/functions/b7s/command/tpreq/_if_other_if_different_players.mcfunction +++ b/functions/b7s/command/tpreq/_if_other_if_different_players.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + execute @p[tag=b7s:_other] ~ ~ ~ function b7s:entity/get_dim scoreboard players operation @s b7s:dim = @p[tag=b7s:_other] b7s:dim function b7s:entity/check_same_dim diff --git a/functions/b7s/command/tpreq/_if_other_if_different_players_if_same_dim.mcfunction b/functions/b7s/command/tpreq/_if_other_if_different_players_if_same_dim.mcfunction index d5bf5b8..118abe6 100644 --- a/functions/b7s/command/tpreq/_if_other_if_different_players_if_same_dim.mcfunction +++ b/functions/b7s/command/tpreq/_if_other_if_different_players_if_same_dim.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players operation @p[tag=b7s:_other] b7s:req_from = @s b7s:id tellraw @s ["[BareBones] ",{"color":"green","text":"Teleportation request sent to ","extra":[{"selector":"@p[tag=b7s:_other]"}]}] tellraw @p[tag=b7s:_other] ["[BareBones] ",{"color":"yellow","text":"","extra":[{"selector":"@s"}," requested to teleport to you. Click ",{"color":"blue","underlined":true,"text":"here","clickEvent":{"action":"run_command","value":"/trigger b7s:tpaccept set 1"},"hoverEvent":{"action":"show_text","value":"Click here to accept the teleportation request"}}," to accept his teleportation request"]}] diff --git a/functions/b7s/command/tpreq/_unless_other.mcfunction b/functions/b7s/command/tpreq/_unless_other.mcfunction index fc871c3..52a84d1 100644 --- a/functions/b7s/command/tpreq/_unless_other.mcfunction +++ b/functions/b7s/command/tpreq/_unless_other.mcfunction @@ -1 +1,5 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + tellraw @s ["[BareBones] ",{"color":"red","text":"There is no such player"}] diff --git a/functions/b7s/entity/back/get_dim.mcfunction b/functions/b7s/entity/back/get_dim.mcfunction index 1680bf5..58036cd 100644 --- a/functions/b7s/entity/back/get_dim.mcfunction +++ b/functions/b7s/entity/back/get_dim.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players tag @s remove b7s:dim_nether scoreboard players tag @s remove b7s:dim_overworld scoreboard players tag @s remove b7s:dim_end diff --git a/functions/b7s/entity/back/get_loc.mcfunction b/functions/b7s/entity/back/get_loc.mcfunction index 884114e..6edfb4d 100644 --- a/functions/b7s/entity/back/get_loc.mcfunction +++ b/functions/b7s/entity/back/get_loc.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + function b7s:entity/back/get_dim function b7s:entity/back/get_pos function b7s:entity/back/get_rot diff --git a/functions/b7s/entity/back/get_pos.mcfunction b/functions/b7s/entity/back/get_pos.mcfunction index e41bd0c..835bd62 100644 --- a/functions/b7s/entity/back/get_pos.mcfunction +++ b/functions/b7s/entity/back/get_pos.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players tag @s remove b7s:x_25 scoreboard players tag @s remove b7s:x_24 scoreboard players tag @s remove b7s:x_23 diff --git a/functions/b7s/entity/back/get_pos.py b/functions/b7s/entity/back/get_pos.py index be81037..9d85ff5 100644 --- a/functions/b7s/entity/back/get_pos.py +++ b/functions/b7s/entity/back/get_pos.py @@ -1,3 +1,12 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +print('# This Source Code Form is subject to the terms of the Mozilla Public') +print('# License, v. 2.0. If a copy of the MPL was not distributed with this') +print('# file, You can obtain one at http://mozilla.org/MPL/2.0/.') + +print() for exponent in range(25, -1, -1): print('scoreboard players tag @s remove b7s:x_{}'.format(exponent)) diff --git a/functions/b7s/entity/back/get_rot.mcfunction b/functions/b7s/entity/back/get_rot.mcfunction index 3c93f62..61f8684 100644 --- a/functions/b7s/entity/back/get_rot.mcfunction +++ b/functions/b7s/entity/back/get_rot.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players tag @s remove b7s:rot_x_7 scoreboard players tag @s remove b7s:rot_x_6 scoreboard players tag @s remove b7s:rot_x_5 diff --git a/functions/b7s/entity/back/get_rot.py b/functions/b7s/entity/back/get_rot.py index 5c8d29f..09583e1 100644 --- a/functions/b7s/entity/back/get_rot.py +++ b/functions/b7s/entity/back/get_rot.py @@ -1,3 +1,12 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +print('# This Source Code Form is subject to the terms of the Mozilla Public') +print('# License, v. 2.0. If a copy of the MPL was not distributed with this') +print('# file, You can obtain one at http://mozilla.org/MPL/2.0/.') + +print() for exponent in range(7, -1, -1): print('scoreboard players tag @s remove b7s:rot_x_{}'.format(exponent)) diff --git a/functions/b7s/entity/back/set_dim.mcfunction b/functions/b7s/entity/back/set_dim.mcfunction index 032cbd1..a252fda 100644 --- a/functions/b7s/entity/back/set_dim.mcfunction +++ b/functions/b7s/entity/back/set_dim.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players tag @s remove b7s:back_dim_nether scoreboard players tag @s remove b7s:back_dim_overworld scoreboard players tag @s remove b7s:back_dim_end diff --git a/functions/b7s/entity/back/set_loc.mcfunction b/functions/b7s/entity/back/set_loc.mcfunction index e4fd599..7c12007 100644 --- a/functions/b7s/entity/back/set_loc.mcfunction +++ b/functions/b7s/entity/back/set_loc.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + function b7s:entity/back/set_dim function b7s:entity/back/set_pos function b7s:entity/back/set_rot diff --git a/functions/b7s/entity/back/set_pos.mcfunction b/functions/b7s/entity/back/set_pos.mcfunction index 58db272..7b70992 100644 --- a/functions/b7s/entity/back/set_pos.mcfunction +++ b/functions/b7s/entity/back/set_pos.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players tag @s remove b7s:back_x_25 scoreboard players tag @s remove b7s:back_x_24 scoreboard players tag @s remove b7s:back_x_23 diff --git a/functions/b7s/entity/back/set_pos.py b/functions/b7s/entity/back/set_pos.py index b7a40fb..f1455df 100644 --- a/functions/b7s/entity/back/set_pos.py +++ b/functions/b7s/entity/back/set_pos.py @@ -1,3 +1,12 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +print('# This Source Code Form is subject to the terms of the Mozilla Public') +print('# License, v. 2.0. If a copy of the MPL was not distributed with this') +print('# file, You can obtain one at http://mozilla.org/MPL/2.0/.') + +print() for exponent in range(25, -1, -1): print('scoreboard players tag @s remove b7s:back_x_{}'.format(exponent)) diff --git a/functions/b7s/entity/back/set_rot.mcfunction b/functions/b7s/entity/back/set_rot.mcfunction index 844a5f5..af9927a 100644 --- a/functions/b7s/entity/back/set_rot.mcfunction +++ b/functions/b7s/entity/back/set_rot.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players tag @s remove b7s:back_rot_x_7 scoreboard players tag @s remove b7s:back_rot_x_6 scoreboard players tag @s remove b7s:back_rot_x_5 diff --git a/functions/b7s/entity/back/set_rot.py b/functions/b7s/entity/back/set_rot.py index a60d9f8..96d8c3f 100644 --- a/functions/b7s/entity/back/set_rot.py +++ b/functions/b7s/entity/back/set_rot.py @@ -1,3 +1,12 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +print('# This Source Code Form is subject to the terms of the Mozilla Public') +print('# License, v. 2.0. If a copy of the MPL was not distributed with this') +print('# file, You can obtain one at http://mozilla.org/MPL/2.0/.') + +print() for exponent in range(7, -1, -1): print('scoreboard players tag @s remove b7s:back_rot_x_{}'.format(exponent)) diff --git a/functions/b7s/entity/check_same_dim.mcfunction b/functions/b7s/entity/check_same_dim.mcfunction index 71e5067..c1b1c4f 100644 --- a/functions/b7s/entity/check_same_dim.mcfunction +++ b/functions/b7s/entity/check_same_dim.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + # Checks whether a player or entity is in the same dimension as its dimension # score. # diff --git a/functions/b7s/entity/get_dim.mcfunction b/functions/b7s/entity/get_dim.mcfunction index 75f3eda..649d016 100644 --- a/functions/b7s/entity/get_dim.mcfunction +++ b/functions/b7s/entity/get_dim.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + # Gets the dimension of a player or entity. # # Scores set: diff --git a/functions/b7s/entity/get_loc.mcfunction b/functions/b7s/entity/get_loc.mcfunction index 33260ba..8054834 100644 --- a/functions/b7s/entity/get_loc.mcfunction +++ b/functions/b7s/entity/get_loc.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + # Gets the dimension, position and rotation of a player or entity. # # Scores set: diff --git a/functions/b7s/entity/get_pos.mcfunction b/functions/b7s/entity/get_pos.mcfunction index e0a3b7c..87e4d28 100644 --- a/functions/b7s/entity/get_pos.mcfunction +++ b/functions/b7s/entity/get_pos.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + # Gets the position of a player or entity. # # Scores set: diff --git a/functions/b7s/entity/get_pos.py b/functions/b7s/entity/get_pos.py index ba9ac8b..a9027df 100644 --- a/functions/b7s/entity/get_pos.py +++ b/functions/b7s/entity/get_pos.py @@ -1,3 +1,11 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +print('# This Source Code Form is subject to the terms of the Mozilla Public') +print('# License, v. 2.0. If a copy of the MPL was not distributed with this') +print('# file, You can obtain one at http://mozilla.org/MPL/2.0/.') +print() print('# Gets the position of a player or entity.') print('#') print('# Scores set:') diff --git a/functions/b7s/entity/get_rot.mcfunction b/functions/b7s/entity/get_rot.mcfunction index b023670..a4bc15a 100644 --- a/functions/b7s/entity/get_rot.mcfunction +++ b/functions/b7s/entity/get_rot.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + # Gets the rotation of a player or entity. # # Scores set: diff --git a/functions/b7s/entity/get_rot.py b/functions/b7s/entity/get_rot.py index 26c4221..35c9d14 100644 --- a/functions/b7s/entity/get_rot.py +++ b/functions/b7s/entity/get_rot.py @@ -1,3 +1,11 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +print('# This Source Code Form is subject to the terms of the Mozilla Public') +print('# License, v. 2.0. If a copy of the MPL was not distributed with this') +print('# file, You can obtain one at http://mozilla.org/MPL/2.0/.') +print() print('# Gets the rotation of a player or entity.') print('#') print('# Scores set:') diff --git a/functions/b7s/entity/home/get_dim.mcfunction b/functions/b7s/entity/home/get_dim.mcfunction index 23dd898..0dc59a4 100644 --- a/functions/b7s/entity/home/get_dim.mcfunction +++ b/functions/b7s/entity/home/get_dim.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players tag @s remove b7s:dim_nether scoreboard players tag @s remove b7s:dim_overworld scoreboard players tag @s remove b7s:dim_end diff --git a/functions/b7s/entity/home/get_loc.mcfunction b/functions/b7s/entity/home/get_loc.mcfunction index 0419cfe..8a11644 100644 --- a/functions/b7s/entity/home/get_loc.mcfunction +++ b/functions/b7s/entity/home/get_loc.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + function b7s:entity/home/get_dim function b7s:entity/home/get_pos function b7s:entity/home/get_rot diff --git a/functions/b7s/entity/home/get_pos.mcfunction b/functions/b7s/entity/home/get_pos.mcfunction index d0bc0e4..455d0cb 100644 --- a/functions/b7s/entity/home/get_pos.mcfunction +++ b/functions/b7s/entity/home/get_pos.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players tag @s remove b7s:x_25 scoreboard players tag @s remove b7s:x_24 scoreboard players tag @s remove b7s:x_23 diff --git a/functions/b7s/entity/home/get_pos.py b/functions/b7s/entity/home/get_pos.py index 7f7bac1..0af8bbe 100644 --- a/functions/b7s/entity/home/get_pos.py +++ b/functions/b7s/entity/home/get_pos.py @@ -1,3 +1,12 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +print('# This Source Code Form is subject to the terms of the Mozilla Public') +print('# License, v. 2.0. If a copy of the MPL was not distributed with this') +print('# file, You can obtain one at http://mozilla.org/MPL/2.0/.') + +print() for exponent in range(25, -1, -1): print('scoreboard players tag @s remove b7s:x_{}'.format(exponent)) diff --git a/functions/b7s/entity/home/get_rot.mcfunction b/functions/b7s/entity/home/get_rot.mcfunction index e188b1e..88ca9b1 100644 --- a/functions/b7s/entity/home/get_rot.mcfunction +++ b/functions/b7s/entity/home/get_rot.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players tag @s remove b7s:rot_x_7 scoreboard players tag @s remove b7s:rot_x_6 scoreboard players tag @s remove b7s:rot_x_5 diff --git a/functions/b7s/entity/home/get_rot.py b/functions/b7s/entity/home/get_rot.py index 5b7640f..a5e75ff 100644 --- a/functions/b7s/entity/home/get_rot.py +++ b/functions/b7s/entity/home/get_rot.py @@ -1,3 +1,12 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +print('# This Source Code Form is subject to the terms of the Mozilla Public') +print('# License, v. 2.0. If a copy of the MPL was not distributed with this') +print('# file, You can obtain one at http://mozilla.org/MPL/2.0/.') + +print() for exponent in range(7, -1, -1): print('scoreboard players tag @s remove b7s:rot_x_{}'.format(exponent)) diff --git a/functions/b7s/entity/home/set_dim.mcfunction b/functions/b7s/entity/home/set_dim.mcfunction index 787d0f2..63466d4 100644 --- a/functions/b7s/entity/home/set_dim.mcfunction +++ b/functions/b7s/entity/home/set_dim.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players tag @s remove b7s:home_dim_nether scoreboard players tag @s remove b7s:home_dim_overworld scoreboard players tag @s remove b7s:home_dim_end diff --git a/functions/b7s/entity/home/set_loc.mcfunction b/functions/b7s/entity/home/set_loc.mcfunction index 6e6e129..cb7068f 100644 --- a/functions/b7s/entity/home/set_loc.mcfunction +++ b/functions/b7s/entity/home/set_loc.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + function b7s:entity/home/set_dim function b7s:entity/home/set_pos function b7s:entity/home/set_rot diff --git a/functions/b7s/entity/home/set_pos.mcfunction b/functions/b7s/entity/home/set_pos.mcfunction index cd54e61..f468c41 100644 --- a/functions/b7s/entity/home/set_pos.mcfunction +++ b/functions/b7s/entity/home/set_pos.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players tag @s remove b7s:home_x_25 scoreboard players tag @s remove b7s:home_x_24 scoreboard players tag @s remove b7s:home_x_23 diff --git a/functions/b7s/entity/home/set_pos.py b/functions/b7s/entity/home/set_pos.py index 0a8cb8e..c36e833 100644 --- a/functions/b7s/entity/home/set_pos.py +++ b/functions/b7s/entity/home/set_pos.py @@ -1,3 +1,12 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +print('# This Source Code Form is subject to the terms of the Mozilla Public') +print('# License, v. 2.0. If a copy of the MPL was not distributed with this') +print('# file, You can obtain one at http://mozilla.org/MPL/2.0/.') + +print() for exponent in range(25, -1, -1): print('scoreboard players tag @s remove b7s:home_x_{}'.format(exponent)) diff --git a/functions/b7s/entity/home/set_rot.mcfunction b/functions/b7s/entity/home/set_rot.mcfunction index 5fd7c15..f75d3a8 100644 --- a/functions/b7s/entity/home/set_rot.mcfunction +++ b/functions/b7s/entity/home/set_rot.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + scoreboard players tag @s remove b7s:home_rot_x_7 scoreboard players tag @s remove b7s:home_rot_x_6 scoreboard players tag @s remove b7s:home_rot_x_5 diff --git a/functions/b7s/entity/home/set_rot.py b/functions/b7s/entity/home/set_rot.py index fb4903e..de05f24 100644 --- a/functions/b7s/entity/home/set_rot.py +++ b/functions/b7s/entity/home/set_rot.py @@ -1,3 +1,12 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +print('# This Source Code Form is subject to the terms of the Mozilla Public') +print('# License, v. 2.0. If a copy of the MPL was not distributed with this') +print('# file, You can obtain one at http://mozilla.org/MPL/2.0/.') + +print() for exponent in range(7, -1, -1): print('scoreboard players tag @s remove b7s:home_rot_x_{}'.format(exponent)) diff --git a/functions/b7s/entity/player/check_armor.mcfunction b/functions/b7s/entity/player/check_armor.mcfunction index 58787d9..1bc2540 100644 --- a/functions/b7s/entity/player/check_armor.mcfunction +++ b/functions/b7s/entity/player/check_armor.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + # Checks whether a player does or doesn't wear pieces of armor. # # Tags set: diff --git a/functions/b7s/entity/player/update.mcfunction b/functions/b7s/entity/player/update.mcfunction index e5bba18..160ce70 100644 --- a/functions/b7s/entity/player/update.mcfunction +++ b/functions/b7s/entity/player/update.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + # This function is designed to be called automatically by players once every second, using custom advancements provided # by BareBones. Avoid calling this function by your own. diff --git a/functions/b7s/entity/pulse.mcfunction b/functions/b7s/entity/pulse.mcfunction index d2f8bef..b23c3f1 100644 --- a/functions/b7s/entity/pulse.mcfunction +++ b/functions/b7s/entity/pulse.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + # Places and destroys a block of redstone at the position of the entity # executing the command. # For example, this can be useful to activate structure blocks. diff --git a/functions/b7s/entity/tagify_dim.mcfunction b/functions/b7s/entity/tagify_dim.mcfunction index 9ab77e9..a60bb8c 100644 --- a/functions/b7s/entity/tagify_dim.mcfunction +++ b/functions/b7s/entity/tagify_dim.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + # Sets the entity's dimension tags, based on the its dimension score. # # Scores required: diff --git a/functions/b7s/entity/tagify_loc.mcfunction b/functions/b7s/entity/tagify_loc.mcfunction index 5c6c980..6f0fbc8 100644 --- a/functions/b7s/entity/tagify_loc.mcfunction +++ b/functions/b7s/entity/tagify_loc.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + # Encodes the location scores of a player or entity in a series of tags. # # Scores required: diff --git a/functions/b7s/entity/tagify_pos.mcfunction b/functions/b7s/entity/tagify_pos.mcfunction index 32ae434..68eae2d 100644 --- a/functions/b7s/entity/tagify_pos.mcfunction +++ b/functions/b7s/entity/tagify_pos.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + # Encodes the position scores of a player or entity in a series of tags. # # Scores required: diff --git a/functions/b7s/entity/tagify_pos.py b/functions/b7s/entity/tagify_pos.py index 1a42ff6..a4c6f30 100644 --- a/functions/b7s/entity/tagify_pos.py +++ b/functions/b7s/entity/tagify_pos.py @@ -1,3 +1,11 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +print('# This Source Code Form is subject to the terms of the Mozilla Public') +print('# License, v. 2.0. If a copy of the MPL was not distributed with this') +print('# file, You can obtain one at http://mozilla.org/MPL/2.0/.') +print() print('# Encodes the position scores of a player or entity in a series of tags.') print('#') print('# Scores required:') diff --git a/functions/b7s/entity/tagify_rot.mcfunction b/functions/b7s/entity/tagify_rot.mcfunction index f516e62..4cb90d9 100644 --- a/functions/b7s/entity/tagify_rot.mcfunction +++ b/functions/b7s/entity/tagify_rot.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + # Encodes the rotation scores of a player or entity in a series of tags. # # Scores required: diff --git a/functions/b7s/entity/tagify_rot.py b/functions/b7s/entity/tagify_rot.py index c394fce..b85288d 100644 --- a/functions/b7s/entity/tagify_rot.py +++ b/functions/b7s/entity/tagify_rot.py @@ -1,3 +1,11 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +print('# This Source Code Form is subject to the terms of the Mozilla Public') +print('# License, v. 2.0. If a copy of the MPL was not distributed with this') +print('# file, You can obtain one at http://mozilla.org/MPL/2.0/.') +print() print('# Encodes the rotation scores of a player or entity in a series of tags.') print('#') print('# Scores required:') diff --git a/functions/b7s/entity/tp_loc.mcfunction b/functions/b7s/entity/tp_loc.mcfunction index 5e9d487..95a4b40 100644 --- a/functions/b7s/entity/tp_loc.mcfunction +++ b/functions/b7s/entity/tp_loc.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + # Teleports a player or entity to a given location. # # This function fails if the entity would have to change dimension. diff --git a/functions/b7s/entity/tp_pos.mcfunction b/functions/b7s/entity/tp_pos.mcfunction index 4b9bf00..01bd4b3 100644 --- a/functions/b7s/entity/tp_pos.mcfunction +++ b/functions/b7s/entity/tp_pos.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + # Teleports a player or entity to a given position. # # Scores required: diff --git a/functions/b7s/entity/tp_pos.py b/functions/b7s/entity/tp_pos.py index 0bee8c6..bafca70 100644 --- a/functions/b7s/entity/tp_pos.py +++ b/functions/b7s/entity/tp_pos.py @@ -1,3 +1,11 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +print('# This Source Code Form is subject to the terms of the Mozilla Public') +print('# License, v. 2.0. If a copy of the MPL was not distributed with this') +print('# file, You can obtain one at http://mozilla.org/MPL/2.0/.') +print() print('# Teleports a player or entity to a given position.') print('#') print('# Scores required:') diff --git a/functions/b7s/entity/tp_rot.mcfunction b/functions/b7s/entity/tp_rot.mcfunction index b998125..2080b58 100644 --- a/functions/b7s/entity/tp_rot.mcfunction +++ b/functions/b7s/entity/tp_rot.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + # Teleports a player or entity to a given rotation. # # Scores required: diff --git a/functions/b7s/entity/tp_rot.py b/functions/b7s/entity/tp_rot.py index 7c43b74..b5b4338 100644 --- a/functions/b7s/entity/tp_rot.py +++ b/functions/b7s/entity/tp_rot.py @@ -1,8 +1,16 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +print('# This Source Code Form is subject to the terms of the Mozilla Public') +print('# License, v. 2.0. If a copy of the MPL was not distributed with this') +print('# file, You can obtain one at http://mozilla.org/MPL/2.0/.') +print() print('# Teleports a player or entity to a given rotation.') print('#') print('# Scores required:') -print('# b7s:rot_x — the new x rotation for the entity.' -print('# b7s:rot_y — the new y rotation for the entity.' +print('# b7s:rot_x — the new x rotation for the entity.') +print('# b7s:rot_y — the new y rotation for the entity.') print('#') print('# Usage:') print('# /scoreboard players set b7s:rot_x ') diff --git a/functions/b7s/entity/untagify_dim.mcfunction b/functions/b7s/entity/untagify_dim.mcfunction index 217da03..b9db49f 100644 --- a/functions/b7s/entity/untagify_dim.mcfunction +++ b/functions/b7s/entity/untagify_dim.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + # Decodes the dimension tags of a player or entity. # # Tags required: diff --git a/functions/b7s/entity/untagify_loc.mcfunction b/functions/b7s/entity/untagify_loc.mcfunction index 6fe3925..b77db82 100644 --- a/functions/b7s/entity/untagify_loc.mcfunction +++ b/functions/b7s/entity/untagify_loc.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + # Decodes the location tags of a player or entity. # # Tags required: diff --git a/functions/b7s/entity/untagify_pos.mcfunction b/functions/b7s/entity/untagify_pos.mcfunction index 2edad68..7b74cb2 100644 --- a/functions/b7s/entity/untagify_pos.mcfunction +++ b/functions/b7s/entity/untagify_pos.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + # Decodes the position tags of a player or entity. # # Tags required: diff --git a/functions/b7s/entity/untagify_pos.py b/functions/b7s/entity/untagify_pos.py index aaca5b8..0bb3b6c 100644 --- a/functions/b7s/entity/untagify_pos.py +++ b/functions/b7s/entity/untagify_pos.py @@ -1,3 +1,11 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +print('# This Source Code Form is subject to the terms of the Mozilla Public') +print('# License, v. 2.0. If a copy of the MPL was not distributed with this') +print('# file, You can obtain one at http://mozilla.org/MPL/2.0/.') +print() print('# Decodes the position tags of a player or entity.') print('#') print('# Tags required:') diff --git a/functions/b7s/entity/untagify_rot.mcfunction b/functions/b7s/entity/untagify_rot.mcfunction index 0fe98b8..76ddc85 100644 --- a/functions/b7s/entity/untagify_rot.mcfunction +++ b/functions/b7s/entity/untagify_rot.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + # Decodes the rotation tags of a player or entity. # # Tags required: diff --git a/functions/b7s/entity/untagify_rot.py b/functions/b7s/entity/untagify_rot.py index 31be696..10d09ba 100644 --- a/functions/b7s/entity/untagify_rot.py +++ b/functions/b7s/entity/untagify_rot.py @@ -1,3 +1,11 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +print('# This Source Code Form is subject to the terms of the Mozilla Public') +print('# License, v. 2.0. If a copy of the MPL was not distributed with this') +print('# file, You can obtain one at http://mozilla.org/MPL/2.0/.') +print() print('# Decodes the rotation tags of a player or entity.') print('#') print('# Tags required:') diff --git a/functions/b7s/install.mcfunction b/functions/b7s/install.mcfunction index 56e78fc..59aeb3a 100644 --- a/functions/b7s/install.mcfunction +++ b/functions/b7s/install.mcfunction @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + # Installs BareBones. To be used before using any other BareBones function for # the first time. # diff --git a/license.txt b/license.txt new file mode 100644 index 0000000..a612ad9 --- /dev/null +++ b/license.txt @@ -0,0 +1,373 @@ +Mozilla Public License Version 2.0 +================================== + +1. Definitions +-------------- + +1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. + +1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + +1.3. "Contribution" + means Covered Software of a particular Contributor. + +1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + +1.5. "Incompatible With Secondary Licenses" + means + + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + +1.6. "Executable Form" + means any form of the work other than Source Code Form. + +1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + +1.8. "License" + means this document. + +1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + +1.10. "Modifications" + means any of the following: + + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + + (b) any new file in Source Code Form that contains any Covered + Software. + +1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + +1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + +1.13. "Source Code Form" + means the form of the work preferred for making modifications. + +1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants and Conditions +-------------------------------- + +2.1. Grants + +Each Contributor hereby grants You a world-wide, royalty-free, +non-exclusive license: + +(a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + +(b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + +2.2. Effective Date + +The licenses granted in Section 2.1 with respect to any Contribution +become effective for each Contribution on the date the Contributor first +distributes such Contribution. + +2.3. Limitations on Grant Scope + +The licenses granted in this Section 2 are the only rights granted under +this License. No additional rights or licenses will be implied from the +distribution or licensing of Covered Software under this License. +Notwithstanding Section 2.1(b) above, no patent license is granted by a +Contributor: + +(a) for any code that a Contributor has removed from Covered Software; + or + +(b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + +(c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + +This License does not grant any rights in the trademarks, service marks, +or logos of any Contributor (except as may be necessary to comply with +the notice requirements in Section 3.4). + +2.4. Subsequent Licenses + +No Contributor makes additional grants as a result of Your choice to +distribute the Covered Software under a subsequent version of this +License (see Section 10.2) or under the terms of a Secondary License (if +permitted under the terms of Section 3.3). + +2.5. Representation + +Each Contributor represents that the Contributor believes its +Contributions are its original creation(s) or it has sufficient rights +to grant the rights to its Contributions conveyed by this License. + +2.6. Fair Use + +This License is not intended to limit any rights You have under +applicable copyright doctrines of fair use, fair dealing, or other +equivalents. + +2.7. Conditions + +Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted +in Section 2.1. + +3. Responsibilities +------------------- + +3.1. Distribution of Source Form + +All distribution of Covered Software in Source Code Form, including any +Modifications that You create or to which You contribute, must be under +the terms of this License. You must inform recipients that the Source +Code Form of the Covered Software is governed by the terms of this +License, and how they can obtain a copy of this License. You may not +attempt to alter or restrict the recipients' rights in the Source Code +Form. + +3.2. Distribution of Executable Form + +If You distribute Covered Software in Executable Form then: + +(a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + +(b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + +You may create and distribute a Larger Work under terms of Your choice, +provided that You also comply with the requirements of this License for +the Covered Software. If the Larger Work is a combination of Covered +Software with a work governed by one or more Secondary Licenses, and the +Covered Software is not Incompatible With Secondary Licenses, this +License permits You to additionally distribute such Covered Software +under the terms of such Secondary License(s), so that the recipient of +the Larger Work may, at their option, further distribute the Covered +Software under the terms of either this License or such Secondary +License(s). + +3.4. Notices + +You may not remove or alter the substance of any license notices +(including copyright notices, patent notices, disclaimers of warranty, +or limitations of liability) contained within the Source Code Form of +the Covered Software, except that You may alter any license notices to +the extent required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + +You may choose to offer, and to charge a fee for, warranty, support, +indemnity or liability obligations to one or more recipients of Covered +Software. However, You may do so only on Your own behalf, and not on +behalf of any Contributor. You must make it absolutely clear that any +such warranty, support, indemnity, or liability obligation is offered by +You alone, and You hereby agree to indemnify every Contributor for any +liability incurred by such Contributor as a result of warranty, support, +indemnity or liability terms You offer. You may include additional +disclaimers of warranty and limitations of liability specific to any +jurisdiction. + +4. Inability to Comply Due to Statute or Regulation +--------------------------------------------------- + +If it is impossible for You to comply with any of the terms of this +License with respect to some or all of the Covered Software due to +statute, judicial order, or regulation then You must: (a) comply with +the terms of this License to the maximum extent possible; and (b) +describe the limitations and the code they affect. Such description must +be placed in a text file included with all distributions of the Covered +Software under this License. Except to the extent prohibited by statute +or regulation, such description must be sufficiently detailed for a +recipient of ordinary skill to be able to understand it. + +5. Termination +-------------- + +5.1. The rights granted under this License will terminate automatically +if You fail to comply with any of its terms. However, if You become +compliant, then the rights granted under this License from a particular +Contributor are reinstated (a) provisionally, unless and until such +Contributor explicitly and finally terminates Your grants, and (b) on an +ongoing basis, if such Contributor fails to notify You of the +non-compliance by some reasonable means prior to 60 days after You have +come back into compliance. Moreover, Your grants from a particular +Contributor are reinstated on an ongoing basis if such Contributor +notifies You of the non-compliance by some reasonable means, this is the +first time You have received notice of non-compliance with this License +from such Contributor, and You become compliant prior to 30 days after +Your receipt of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent +infringement claim (excluding declaratory judgment actions, +counter-claims, and cross-claims) alleging that a Contributor Version +directly or indirectly infringes any patent, then the rights granted to +You by any and all Contributors for the Covered Software under Section +2.1 of this License shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all +end user license agreements (excluding distributors and resellers) which +have been validly granted by You or Your distributors under this License +prior to termination shall survive termination. + +************************************************************************ +* * +* 6. Disclaimer of Warranty * +* ------------------------- * +* * +* Covered Software is provided under this License on an "as is" * +* basis, without warranty of any kind, either expressed, implied, or * +* statutory, including, without limitation, warranties that the * +* Covered Software is free of defects, merchantable, fit for a * +* particular purpose or non-infringing. The entire risk as to the * +* quality and performance of the Covered Software is with You. * +* Should any Covered Software prove defective in any respect, You * +* (not any Contributor) assume the cost of any necessary servicing, * +* repair, or correction. This disclaimer of warranty constitutes an * +* essential part of this License. No use of any Covered Software is * +* authorized under this License except under this disclaimer. * +* * +************************************************************************ + +************************************************************************ +* * +* 7. Limitation of Liability * +* -------------------------- * +* * +* Under no circumstances and under no legal theory, whether tort * +* (including negligence), contract, or otherwise, shall any * +* Contributor, or anyone who distributes Covered Software as * +* permitted above, be liable to You for any direct, indirect, * +* special, incidental, or consequential damages of any character * +* including, without limitation, damages for lost profits, loss of * +* goodwill, work stoppage, computer failure or malfunction, or any * +* and all other commercial damages or losses, even if such party * +* shall have been informed of the possibility of such damages. This * +* limitation of liability shall not apply to liability for death or * +* personal injury resulting from such party's negligence to the * +* extent applicable law prohibits such limitation. Some * +* jurisdictions do not allow the exclusion or limitation of * +* incidental or consequential damages, so this exclusion and * +* limitation may not apply to You. * +* * +************************************************************************ + +8. Litigation +------------- + +Any litigation relating to this License may be brought only in the +courts of a jurisdiction where the defendant maintains its principal +place of business and such litigation shall be governed by laws of that +jurisdiction, without reference to its conflict-of-law provisions. +Nothing in this Section shall prevent a party's ability to bring +cross-claims or counter-claims. + +9. Miscellaneous +---------------- + +This License represents the complete agreement concerning the subject +matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed only to the extent +necessary to make it enforceable. Any law or regulation which provides +that the language of a contract shall be construed against the drafter +shall not be used to construe this License against a Contributor. + +10. Versions of the License +--------------------------- + +10.1. New Versions + +Mozilla Foundation is the license steward. Except as provided in Section +10.3, no one other than the license steward has the right to modify or +publish new versions of this License. Each version will be given a +distinguishing version number. + +10.2. Effect of New Versions + +You may distribute the Covered Software under the terms of the version +of the License under which You originally received the Covered Software, +or under the terms of any subsequent version published by the license +steward. + +10.3. Modified Versions + +If you create software not governed by this License, and you want to +create a new license for such software, you may create and use a +modified version of this License if you rename the license and remove +any references to the name of the license steward (except to note that +such modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary +Licenses + +If You choose to distribute Source Code Form that is Incompatible With +Secondary Licenses under the terms of this version of the License, the +notice described in Exhibit B of this License must be attached. + +Exhibit A - Source Code Form License Notice +------------------------------------------- + + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at http://mozilla.org/MPL/2.0/. + +If it is not possible or desirable to put the notice in a particular +file, then You may include the notice in a location (such as a LICENSE +file in a relevant directory) where a recipient would be likely to look +for such a notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - "Incompatible With Secondary Licenses" Notice +--------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. diff --git a/readme.md b/readme.md index 2e05df5..4080b84 100644 --- a/readme.md +++ b/readme.md @@ -56,3 +56,7 @@ issue a pull request or submit a ticket. In general, avoid to modify the BareBones data pack by itself or to set, unset, add or remove scores or tags which are undocumented, as future releases of BareBones might break your current setup. + +## License +BareBones is licensed under the Mozilla Public License Version 2.0. Please +check out [license.txt](license.txt) for more information. From 9e109e1a309cd71b12c8bc5d1ea183fc520ab8f2 Mon Sep 17 00:00:00 2001 From: Matteo Morena <8678043+xmamo@users.noreply.github.com> Date: Fri, 4 Aug 2017 22:01:38 +0200 Subject: [PATCH 9/9] Apply mr. Landon's English fixes --- readme.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/readme.md b/readme.md index 4080b84..9ed9c79 100644 --- a/readme.md +++ b/readme.md @@ -1,20 +1,20 @@ # BareBones -BareBones is a data pack which provides essential functionality for vanilla +BareBones is a data pack that provides essential functionality for vanilla Minecraft servers. The pack is aimed both at players and server administrators: it enables players to use additional commands through the use -of triggers and exposes a handy function API which can be used to further +of triggers and contains a useful function API which can be used to further extend the server's functionality. ## Installation 1. Download the BareBones zip folder from [here](https://github.com/xMamo/Minecraft-BareBones/releases/latest) and - extract it somewhere; + extract it; 2. Move the `functions` folder from the extracted directory into the `data` - folder of the world of your server; + folder of the server's world; 3. Log into your server and execute the commands `/reload` and `/function b7s:install`; 4. Move the `advancements` folder from the extracted directory into the `data` - folder of the word of your server; + folder of the server's world; 5. Execute a `/reload` once again; 6. Enjoy! @@ -35,7 +35,7 @@ before. To do that, you can use this command. ### `/trigger b7s:tpreq set ` Sends a teleportation request to the player with ID `id` (you can view the IDs -of players by pressing the Tab key). If the other player accepts the requests, +of players by pressing the Tab key). If the other player accepts the request, you will be teleported to that player. ## Functions @@ -52,10 +52,10 @@ Please avoid extending BareBones' functionality by simply putting new functions or advancements in the `functions/b7s` or `advancements/b7s` folders. Instead, create your own separate folder. If you think this might be a kind of general functionality which other players could use too, please -issue a pull request or submit a ticket. In general, avoid to modify the -BareBones data pack by itself or to set, unset, add or remove scores or tags -which are undocumented, as future releases of BareBones might break your -current setup. +issue a pull request or submit a ticket. In general, avoid modifying the +BareBones data pack by itself or setting, unsetting, adding or removing scores +or tags which are undocumented, as future releases of BareBones might break +your current setup. ## License BareBones is licensed under the Mozilla Public License Version 2.0. Please