Compare commits
2 Commits
1.7-1.21.4
...
1.8-1.21.4
Author | SHA1 | Date | |
---|---|---|---|
af7fed5674 | |||
ade863f161 |
@@ -39,3 +39,4 @@ execute if block ~ ~ ~ minecraft:hopper unless score WrenchRedstone WrenchConfig
|
|||||||
execute if block ~ ~ ~ #minecraft:slabs unless score WrenchSlabs WrenchConfig matches 0 run function wrench:raycast/partialbox/slabs
|
execute if block ~ ~ ~ #minecraft:slabs unless score WrenchSlabs WrenchConfig matches 0 run function wrench:raycast/partialbox/slabs
|
||||||
execute if block ~ ~ ~ #minecraft:stairs unless score WrenchStairs WrenchConfig matches 0 run function wrench:raycast/partialbox/stairs
|
execute if block ~ ~ ~ #minecraft:stairs unless score WrenchStairs WrenchConfig matches 0 run function wrench:raycast/partialbox/stairs
|
||||||
execute if block ~ ~ ~ minecraft:end_rod unless score WrenchRods WrenchConfig matches 0 run function wrench:raycast/partialbox/end_rods
|
execute if block ~ ~ ~ minecraft:end_rod unless score WrenchRods WrenchConfig matches 0 run function wrench:raycast/partialbox/end_rods
|
||||||
|
execute if block ~ ~ ~ minecraft:chain unless score WrenchRods WrenchConfig matches 0 run function wrench:raycast/partialbox/chain
|
||||||
|
4
data/wrench/function/raycast/partialbox/chain.mcfunction
Normal file
4
data/wrench/function/raycast/partialbox/chain.mcfunction
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#Chain
|
||||||
|
execute if block ~ ~ ~ minecraft:chain[axis=x] if score py WrenchRaycast matches 7..8 if score pz WrenchRaycast matches 7..8 run function wrench:rotate/chain_flip
|
||||||
|
execute if block ~ ~ ~ minecraft:chain[axis=y] if score px WrenchRaycast matches 7..8 if score pz WrenchRaycast matches 7..8 run function wrench:rotate/chain_flip
|
||||||
|
execute if block ~ ~ ~ minecraft:chain[axis=z] if score px WrenchRaycast matches 7..8 if score py WrenchRaycast matches 7..8 run function wrench:rotate/chain_flip
|
5
data/wrench/function/rotate/chain_flip.mcfunction
Normal file
5
data/wrench/function/rotate/chain_flip.mcfunction
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
### Flip Chain
|
||||||
|
|
||||||
|
execute as @s[scores={WrenchSuccess=0}] store result score @s WrenchSuccess run fill ~ ~ ~ ~ ~ ~ minecraft:chain[axis=z] replace minecraft:chain[axis=y]
|
||||||
|
execute as @s[scores={WrenchSuccess=0}] store result score @s WrenchSuccess run fill ~ ~ ~ ~ ~ ~ minecraft:chain[axis=y] replace minecraft:chain[axis=x]
|
||||||
|
execute as @s[scores={WrenchSuccess=0}] store result score @s WrenchSuccess run fill ~ ~ ~ ~ ~ ~ minecraft:chain[axis=x] replace minecraft:chain[axis=z]
|
@@ -282,7 +282,7 @@ execute as @s[scores={WrenchSuccess=0}] store result score @s WrenchSuccess run
|
|||||||
execute as @s[scores={WrenchSuccess=0}] store result score @s WrenchSuccess run fill ~ ~ ~ ~ ~ ~ minecraft:smooth_red_sandstone_slab[type=top] replace minecraft:smooth_red_sandstone_slab[type=bottom]
|
execute as @s[scores={WrenchSuccess=0}] store result score @s WrenchSuccess run fill ~ ~ ~ ~ ~ ~ minecraft:smooth_red_sandstone_slab[type=top] replace minecraft:smooth_red_sandstone_slab[type=bottom]
|
||||||
execute as @s[scores={WrenchSuccess=0}] store result score @s WrenchSuccess run fill ~ ~ ~ ~ ~ ~ minecraft:smooth_red_sandstone_slab[type=bottom] replace minecraft:smooth_red_sandstone_slab[type=top]
|
execute as @s[scores={WrenchSuccess=0}] store result score @s WrenchSuccess run fill ~ ~ ~ ~ ~ ~ minecraft:smooth_red_sandstone_slab[type=bottom] replace minecraft:smooth_red_sandstone_slab[type=top]
|
||||||
|
|
||||||
# Resin Brick Slab
|
# Resin Brick
|
||||||
execute as @s[scores={WrenchSuccess=0}] store result score @s WrenchSuccess run fill ~ ~ ~ ~ ~ ~ minecraft:resin_brick_slab[type=top,waterlogged=true] replace minecraft:resin_brick_slab[type=bottom,waterlogged=true]
|
execute as @s[scores={WrenchSuccess=0}] store result score @s WrenchSuccess run fill ~ ~ ~ ~ ~ ~ minecraft:resin_brick_slab[type=top,waterlogged=true] replace minecraft:resin_brick_slab[type=bottom,waterlogged=true]
|
||||||
execute as @s[scores={WrenchSuccess=0}] store result score @s WrenchSuccess run fill ~ ~ ~ ~ ~ ~ minecraft:resin_brick_slab[type=bottom,waterlogged=true] replace minecraft:resin_brick_slab[type=top,waterlogged=true]
|
execute as @s[scores={WrenchSuccess=0}] store result score @s WrenchSuccess run fill ~ ~ ~ ~ ~ ~ minecraft:resin_brick_slab[type=bottom,waterlogged=true] replace minecraft:resin_brick_slab[type=top,waterlogged=true]
|
||||||
execute as @s[scores={WrenchSuccess=0}] store result score @s WrenchSuccess run fill ~ ~ ~ ~ ~ ~ minecraft:resin_brick_slab[type=top] replace minecraft:resin_brick_slab[type=bottom]
|
execute as @s[scores={WrenchSuccess=0}] store result score @s WrenchSuccess run fill ~ ~ ~ ~ ~ ~ minecraft:resin_brick_slab[type=top] replace minecraft:resin_brick_slab[type=bottom]
|
||||||
|
@@ -630,7 +630,7 @@ execute as @s[scores={WrenchSuccess=0}, y_rotation=45..135] if score py WrenchRa
|
|||||||
execute as @s[scores={WrenchSuccess=0}, y_rotation=135..-135] if score py WrenchRaycast matches 8.. store result score @s WrenchSuccess run fill ~ ~ ~ ~ ~ ~ minecraft:oak_stairs[half=top,facing=north] replace minecraft:oak_stairs[waterlogged=false]
|
execute as @s[scores={WrenchSuccess=0}, y_rotation=135..-135] if score py WrenchRaycast matches 8.. store result score @s WrenchSuccess run fill ~ ~ ~ ~ ~ ~ minecraft:oak_stairs[half=top,facing=north] replace minecraft:oak_stairs[waterlogged=false]
|
||||||
execute as @s[scores={WrenchSuccess=0}, y_rotation=-135..-45] if score py WrenchRaycast matches 8.. store result score @s WrenchSuccess run fill ~ ~ ~ ~ ~ ~ minecraft:oak_stairs[half=top,facing=east] replace minecraft:oak_stairs[waterlogged=false]
|
execute as @s[scores={WrenchSuccess=0}, y_rotation=-135..-45] if score py WrenchRaycast matches 8.. store result score @s WrenchSuccess run fill ~ ~ ~ ~ ~ ~ minecraft:oak_stairs[half=top,facing=east] replace minecraft:oak_stairs[waterlogged=false]
|
||||||
|
|
||||||
# Oak
|
# Pale Oak
|
||||||
execute as @s[scores={WrenchSuccess=0}, y_rotation=-45..45] if score py WrenchRaycast matches ..7 store result score @s WrenchSuccess run fill ~ ~ ~ ~ ~ ~ minecraft:pale_oak_stairs[half=bottom,facing=south,waterlogged=true] replace minecraft:pale_oak_stairs[waterlogged=true]
|
execute as @s[scores={WrenchSuccess=0}, y_rotation=-45..45] if score py WrenchRaycast matches ..7 store result score @s WrenchSuccess run fill ~ ~ ~ ~ ~ ~ minecraft:pale_oak_stairs[half=bottom,facing=south,waterlogged=true] replace minecraft:pale_oak_stairs[waterlogged=true]
|
||||||
execute as @s[scores={WrenchSuccess=0}, y_rotation=45..135] if score py WrenchRaycast matches ..7 store result score @s WrenchSuccess run fill ~ ~ ~ ~ ~ ~ minecraft:pale_oak_stairs[half=bottom,facing=west,waterlogged=true] replace minecraft:pale_oak_stairs[waterlogged=true]
|
execute as @s[scores={WrenchSuccess=0}, y_rotation=45..135] if score py WrenchRaycast matches ..7 store result score @s WrenchSuccess run fill ~ ~ ~ ~ ~ ~ minecraft:pale_oak_stairs[half=bottom,facing=west,waterlogged=true] replace minecraft:pale_oak_stairs[waterlogged=true]
|
||||||
execute as @s[scores={WrenchSuccess=0}, y_rotation=135..-135] if score py WrenchRaycast matches ..7 store result score @s WrenchSuccess run fill ~ ~ ~ ~ ~ ~ minecraft:pale_oak_stairs[half=bottom,facing=north,waterlogged=true] replace minecraft:pale_oak_stairs[waterlogged=true]
|
execute as @s[scores={WrenchSuccess=0}, y_rotation=135..-135] if score py WrenchRaycast matches ..7 store result score @s WrenchSuccess run fill ~ ~ ~ ~ ~ ~ minecraft:pale_oak_stairs[half=bottom,facing=north,waterlogged=true] replace minecraft:pale_oak_stairs[waterlogged=true]
|
||||||
|
@@ -9,6 +9,7 @@
|
|||||||
"#minecraft:slabs",
|
"#minecraft:slabs",
|
||||||
"#minecraft:stairs",
|
"#minecraft:stairs",
|
||||||
"minecraft:end_rod",
|
"minecraft:end_rod",
|
||||||
|
"minecraft:chain",
|
||||||
"minecraft:piston",
|
"minecraft:piston",
|
||||||
"minecraft:sticky_piston"
|
"minecraft:sticky_piston"
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user