Removed double checks
This commit is contained in:
@@ -8,6 +8,7 @@ execute as @s run execute as @s run kill @n[type=minecraft:item,distance=..0.5,y
|
||||
# Partial Blocks
|
||||
execute if block ~ ~ ~ #lzstools:partialbox run function lzstools_wrench:raycast/partialbox
|
||||
execute if block ~ ~ ~ #lzstools:banners run function lzstools_wrench:raycast/partialbox
|
||||
execute if block ~ ~ ~ #lzstools:skulls run function lzstools_wrench:raycast/partialbox
|
||||
|
||||
# Remaining Blocks
|
||||
execute unless block ~ ~ ~ #lzstools:partialbox if block ~ ~ ~ #lzstools:neswud run function lzstools_wrench:rotate/neswud/rotate
|
||||
|
@@ -5,6 +5,7 @@ function lzstools_wrench:raycast/target_coords
|
||||
|
||||
# Partial Boxes
|
||||
execute if block ~ ~ ~ #lzstools:banners run function lzstools_wrench:raycast/partialbox/banners
|
||||
execute if block ~ ~ ~ #lzstools:skulls run function lzstools_wrench:raycast/partialbox/skulls
|
||||
execute if block ~ ~ ~ #minecraft:rails run function lzstools_wrench:raycast/partialbox/rails
|
||||
execute if block ~ ~ ~ #minecraft:trapdoors run function lzstools_wrench:raycast/partialbox/trapdoors
|
||||
execute if block ~ ~ ~ #minecraft:slabs run function lzstools_wrench:raycast/partialbox/slabs
|
||||
|
@@ -1,2 +1,2 @@
|
||||
# Banners
|
||||
execute if score px lzt_wrench_raycast matches 4..11 if score pz lzt_wrench_raycast matches 4..11 if block ~ ~ ~ #lzstools:banners run function lzstools_wrench:rotate/banners/rotate
|
||||
execute if score px lzt_wrench_raycast matches 4..11 if score pz lzt_wrench_raycast matches 4..11 run function lzstools_wrench:rotate/banners/rotate
|
@@ -1,2 +1,2 @@
|
||||
# Decorated Pot
|
||||
execute if score px lzt_wrench_raycast matches 1..14 if score pz lzt_wrench_raycast matches 1..14 if block ~ ~ ~ minecraft:decorated_pot run function lzstools_wrench:rotate/nesw/rotate
|
||||
execute if score px lzt_wrench_raycast matches 1..14 if score pz lzt_wrench_raycast matches 1..14 run function lzstools_wrench:rotate/nesw/rotate
|
||||
|
@@ -1,2 +1,2 @@
|
||||
# Ender Chest
|
||||
execute if score px lzt_wrench_raycast matches 1..14 if score pz lzt_wrench_raycast matches 1..14 if score py lzt_wrench_raycast matches ..14 if block ~ ~ ~ minecraft:ender_chest run function lzstools_wrench:rotate/nesw/rotate
|
||||
execute if score px lzt_wrench_raycast matches 1..14 if score pz lzt_wrench_raycast matches 1..14 if score py lzt_wrench_raycast matches ..14 run function lzstools_wrench:rotate/nesw/rotate
|
||||
|
@@ -0,0 +1,2 @@
|
||||
# Skulls
|
||||
execute if score px lzt_wrench_raycast matches 4..11 if score pz lzt_wrench_raycast matches 4..11 if score py lzt_wrench_raycast matches ..7 run function lzstools_wrench:rotate/skulls/rotate
|
Reference in New Issue
Block a user