@@ -2,26 +2,26 @@ execute as @a[scores={click_vtp=1..},tag=VTP] at @s run summon minecraft:armor_s
2
2
execute as @a [ scores = {click_vtp = 1 .. }, tag = VTP ] at @s run tp @e [ type = armor_stand , name = ray , limit = 1 , sort = nearest ] @s
3
3
4
4
execute as @a [ scores = {click_vtp = 1 .. }, tag = VTP , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Clean \" , \" color \" : \" gray \" } " }}}}] at @s run tag @e [ type = armor_stand , name = ray , distance = 0 .. 2 , limit = 1 ] add clean
5
- execute as @a [ scores = {click_vtp = 1 .. }, tag = VTP , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Push \" , \" color \" : \" dark_red \" } " }}}}] at @s run tag @e [ type = armor_stand , name = ray , distance = 0 .. 2 , limit = 1 ] add push
6
- execute as @a [ scores = {click_vtp = 1 .. }, tag = VTP , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Pull \" , \" color \" : \" dark_green \" } " }}}}] at @s run tag @e [ type = armor_stand , name = ray , distance = 0 .. 2 , limit = 1 ] add pull
7
- execute as @a [ scores = {click_vtp = 1 .. }, tag = VTP , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Melt \" , \" color \" : \" red \" } " }}}}] at @s run tag @e [ type = armor_stand , name = ray , distance = 0 .. 2 , limit = 1 ] add melt
8
- execute as @a [ scores = {click_vtp = 1 .. }, tag = VTP , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Lift \" , \" color \" : \" green \" } " }}}}] at @s run tag @e [ type = armor_stand , name = ray , distance = 0 .. 2 , limit = 1 ] add lift
9
- execute as @a [ scores = {click_vtp = 1 .. }, tag = VTP , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Smooth \" , \" color \" : \" blue \" } " }}}}] at @s run tag @e [ type = armor_stand , name = ray , distance = 0 .. 2 , limit = 1 ] add smooth
10
- execute as @a [ scores = {click_vtp = 1 .. }, tag = VTP , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Paintbrush \" , \" color \" : \" dark_purple \" } " }}}}] at @s run tag @e [ type = armor_stand , name = ray , distance = 0 .. 2 , limit = 1 ] add paintbrush
11
- execute as @a [ scores = {click_vtp = 1 .. }, tag = VTP , tag = ground , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Paintbrush \" , \" color \" : \" dark_purple \" } " }}}}] at @s run tag @e [ type = armor_stand , name = ray , distance = 0 .. 2 , limit = 1 ] add ground
12
- execute as @a [ scores = {click_vtp = 1 .. }, tag = VTP , tag = up , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Paintbrush \" , \" color \" : \" dark_purple \" } " }}}}] at @s run tag @e [ type = armor_stand , name = ray , distance = 0 .. 2 , limit = 1 ] add top
13
-
14
- execute as @a [ scores = {click_vtp = 1 .. }, tag = VTP , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Tree \" , \" color \" : \" green \" } " }}}}] at @s run tag @e [ type = armor_stand , name = ray , distance = 0 .. 2 , limit = 1 ] add tree
5
+ execute as @a [ scores = {click_vtp = 1 .. }, tag = VTP , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Push \" , \" color \" : \" gray \" } " }}}}] at @s run tag @e [ type = armor_stand , name = ray , distance = 0 .. 2 , limit = 1 ] add push
6
+ execute as @a [ scores = {click_vtp = 1 .. }, tag = VTP , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Pull \" , \" color \" : \" gray \" } " }}}}] at @s run tag @e [ type = armor_stand , name = ray , distance = 0 .. 2 , limit = 1 ] add pull
7
+ execute as @a [ scores = {click_vtp = 1 .. }, tag = VTP , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Melt \" , \" color \" : \" gray \" } " }}}}] at @s run tag @e [ type = armor_stand , name = ray , distance = 0 .. 2 , limit = 1 ] add melt
8
+ execute as @a [ scores = {click_vtp = 1 .. }, tag = VTP , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Lift \" , \" color \" : \" gray \" } " }}}}] at @s run tag @e [ type = armor_stand , name = ray , distance = 0 .. 2 , limit = 1 ] add lift
9
+ execute as @a [ scores = {click_vtp = 1 .. }, tag = VTP , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Smooth \" , \" color \" : \" gray \" } " }}}}] at @s run tag @e [ type = armor_stand , name = ray , distance = 0 .. 2 , limit = 1 ] add smooth
10
+ execute as @a [ scores = {click_vtp = 1 .. }, tag = VTP , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Paintbrush \" , \" color \" : \" gray \" } " }}}}] at @s run tag @e [ type = armor_stand , name = ray , distance = 0 .. 2 , limit = 1 ] add paintbrush
11
+ execute as @a [ scores = {click_vtp = 1 .. }, tag = VTP , tag = ground , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Paintbrush \" , \" color \" : \" gray \" } " }}}}] at @s run tag @e [ type = armor_stand , name = ray , distance = 0 .. 2 , limit = 1 ] add ground
12
+ execute as @a [ scores = {click_vtp = 1 .. }, tag = VTP , tag = up , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Paintbrush \" , \" color \" : \" gray \" } " }}}}] at @s run tag @e [ type = armor_stand , name = ray , distance = 0 .. 2 , limit = 1 ] add top
13
+
14
+ execute as @a [ scores = {click_vtp = 1 .. }, tag = VTP , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Tree \" , \" color \" : \" gray \" } " }}}}] at @s run tag @e [ type = armor_stand , name = ray , distance = 0 .. 2 , limit = 1 ] add tree
15
15
execute as @a [ scores = {click_vtp = 1 .. }, tag = VTP , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Stencils \" , \" color \" : \" gray \" } " }}}}] at @s run tag @e [ type = armor_stand , name = ray , distance = 0 .. 2 , limit = 1 ] add stencils
16
16
execute as @a [ scores = {click_vtp = 1 .. }, tag = VTP , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Gravel \" , \" color \" : \" gray \" } " }}}}] at @s run tag @e [ type = armor_stand , name = ray , distance = 0 .. 2 , limit = 1 ] add gravel
17
17
18
18
execute as @a [ scores = {click_vtp = 1 .. }, tag = VTP , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Vegetate \" , \" color \" : \" gray \" } " }}}}] at @s run tag @e [ type = armor_stand , name = ray , distance = 0 .. 2 , limit = 1 ] add vegetate
19
19
20
20
21
- execute if score ToggleTools Settings matches 1 as @a [ tag = VTP , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Push \" , \" color \" : \" dark_red \" } " }}}}] run scoreboard players set @s tools 1
22
- execute if score ToggleTools Settings matches 1 as @a [ tag = VTP , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Pull \" , \" color \" : \" dark_green \" } " }}}}] run scoreboard players set @s tools 2
23
- execute if score ToggleTools Settings matches 1 as @a [ tag = VTP , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Melt \" , \" color \" : \" red \" } " }}}}] run scoreboard players set @s tools 3
24
- execute if score ToggleTools Settings matches 1 as @a [ tag = VTP , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Lift \" , \" color \" : \" green \" } " }}}}] run scoreboard players set @s tools 4
21
+ execute if score ToggleTools Settings matches 1 as @a [ tag = VTP , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Push \" , \" color \" : \" gray \" } " }}}}] run scoreboard players set @s tools 1
22
+ execute if score ToggleTools Settings matches 1 as @a [ tag = VTP , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Pull \" , \" color \" : \" gray \" } " }}}}] run scoreboard players set @s tools 2
23
+ execute if score ToggleTools Settings matches 1 as @a [ tag = VTP , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Melt \" , \" color \" : \" gray \" } " }}}}] run scoreboard players set @s tools 3
24
+ execute if score ToggleTools Settings matches 1 as @a [ tag = VTP , nbt = {SelectedItem : {id : " minecraft:carrot_on_a_stick " , tag : {Unbreakable : 1 , display : {Name : " { \" text \" : \" Lift \" , \" color \" : \" gray \" } " }}}}] run scoreboard players set @s tools 4
25
25
execute if score ToggleTools Settings matches 1 as @a [ tag = VTP ] at @s unless score @s tools = @s tools_old run function raytracer:tools_toggle/tools_toggle
26
26
execute if score ToggleTools Settings matches 1 as @a [ tag = VTP ] run scoreboard players operation @s tools_old = @s tools
27
27
0 commit comments