Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/ReddStrider/Blockcase
Browse files Browse the repository at this point in the history
  • Loading branch information
ReddStrider committed Dec 11, 2023
2 parents 972ee17 + aeb589e commit 894c02a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tumble_firework_cannon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"blocks":[{"command":"tag @a[scores={shotFirework=1..},nbt={SelectedItem:{id:\"minecraft:warped_fungus_on_a_stick\",Count:1b,tag:{fireworkShooter:1b}}}] add shotFirework","type":"repeating","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"scoreboard players reset @a[scores={shotFirework=1..}] shotFirework","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false}]},{"blocks":[{"command":"execute as @a[tag=shotFirework] at @s anchored eyes run summon minecraft:firework_rocket ~ ~1.6 ~ {ShotAtAngle:1b,Motion:[0.0,0.0,0.0],Tags:[\"superRocket\",\"sfFirework\"],LifeTime:60,Rotation:[0,0]}","type":"repeating","auto":true,"conditional":false,"facing":"up","looping":false}]},{"blocks":[{"command":"execute as @a[tag=shotFirework] at @s anchored eyes run summon firework_rocket ~ ~1.6 ~ {LifeTime:60,ShotAtAngle:1b,Motion:[0.0,0.0,0.0],Tags:[\"superRocket\",\"sfFirework\"],Passengers:[{id:\"minecraft:armor_stand\",Invulnerable:1b,Small:1b,Invisible:1b,Tags:[\"fwBackupStand\"]}]}","type":"repeating","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=sfmFireworkNew] at @s run tp @p[tag=shotFirework]\\","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @a[tag=shotFirework] at @s run summon marker ~ ~ ~ {Tags:[\"sfmFirework\",\"sfmFireworkNew\"]}","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=sfmFireworkNew] at @s run tp @p[tag=shotFirework]","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=sfmFireworkNew] at @s run tp ~ ~1.6 ~","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute if entity @a[tag=shotFirework] run setblock -14 -60 -2 minecraft:redstone_block\\","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"tag @e remove shotFirework","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"tag @e remove sfmFireworkNew","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false}]},{"blocks":[{"command":"execute as @e[tag=sfmFirework] at @s run tp ^ ^ ^1","type":"repeating","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=sfFirework] at @s facing entity @e[tag=sfmFirework,sort=nearest,limit=1] eyes run tp @s ~ ~ ~ ~ ~","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=sfmFirework] at @s run tp ^ ^ ^-1","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=sfFirework] store result score @s shootFacingFWX run data get entity @s Pos[0] 1000","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=sfFirework] store result score @s shootFacingFWY run data get entity @s Pos[1] 1000","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=sfFirework] store result score @s shootFacingFWZ run data get entity @s Pos[2] 1000","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=sfmFirework] at @s run tp ^ ^ ^-1","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=sfmFirework] store result score @s shootFacingFWX run data get entity @s Pos[0] 1000","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=sfmFirework] store result score @s shootFacingFWY run data get entity @s Pos[1] 1000","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=sfmFirework] store result score @s shootFacingFWZ run data get entity @s Pos[2] 1000","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=sfmFirework] at @s run tp ^ ^ ^1","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=sfFirework] run scoreboard players operation @s shootFacingFWX -= @e[tag=sfmFirework,sort=nearest,limit=1] shootFacingFWX","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=sfFirework] run scoreboard players operation @s shootFacingFWY -= @e[tag=sfmFirework,sort=nearest,limit=1] shootFacingFWY","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=sfFirework] run scoreboard players operation @s shootFacingFWZ -= @e[tag=sfmFirework,sort=nearest,limit=1] shootFacingFWZ","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=sfFirework] store result entity @s Motion[0] double .001 run scoreboard players get @s shootFacingFWX","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=sfFirework] store result entity @s Motion[1] double .001 run scoreboard players get @s shootFacingFWY","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=sfFirework] store result entity @s Motion[2] double .001 run scoreboard players get @s shootFacingFWZ","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"tag @e remove sfFirework","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"kill @e[tag=sfmFirework]","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false}]},{"blocks":[{"command":"execute as @e[tag=superRocket] at @s if block ~ ~.4 ~ air if block ~ ~-.4 ~ air if block ~.4 ~ ~ air if block ~-.4 ~ ~ air if block ~ ~ ~.4 air if block ~ ~ ~-.4 air run tag @s add notExplodeFirework","type":"repeating","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=fwBackupStand] at @s unless entity @e[tag=superRocket,distance=..1] run tag @s add superRocket","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=superRocket,tag=!notExplodeFirework] at @s as @a[distance=..3] at @s facing entity @e[tag=superRocket,tag=!notExplodeFirework,limit=1] feet rotated ~ 0 positioned ~ ~1.5 ~ run summon creeper ^ ^ ^.2 {ignited:1b, Fuse:0s, Invulnerable:1b, ExplosionRadius:1b}","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=superRocket,tag=!notExplodeFirework] at @s as @a[distance=..3] at @s facing entity @e[tag=superRocket,tag=!notExplodeFirework,limit=1] feet rotated ~ 0 positioned ~ ~1.5 ~ run summon creeper ^ ^ ^.2 {ignited:1b, Fuse:0s, Invulnerable:1b, ExplosionRadius:1b}","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=superRocket,tag=!notExplodeFirework] at @s as @a[distance=..3] at @s facing entity @e[tag=superRocket,tag=!notExplodeFirework,limit=1] feet rotated ~ 0 positioned ~ ~1.5 ~ run summon creeper ^ ^ ^.2 {ignited:1b, Fuse:0s, Invulnerable:1b, ExplosionRadius:1b}","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=superRocket,tag=!notExplodeFirework] at @s as @a[distance=..3] at @s facing entity @e[tag=superRocket,tag=!notExplodeFirework,limit=1] feet rotated ~ 0 positioned ~ ~1.5 ~ run summon creeper ^ ^ ^.2 {ignited:1b, Fuse:0s, Invulnerable:1b, ExplosionRadius:1b}","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=superRocket,tag=!notExplodeFirework] at @s run summon creeper ~ ~ ~ {ignited:1b, Fuse:0s, Invulnerable:1b, ExplosionRadius:1b}","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=superRocket,tag=!notExplodeFirework] at @s run fill ~.5 ~.5 ~.5 ~-.5 ~-.5 ~-.5 air replace #minecraft:mineable/shovel","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=superRocket,tag=!notExplodeFirework] at @s run fill ~.5 ~.5 ~.5 ~-.5 ~-.5 ~-.5 air replace #minecraft:mineable/hoe","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=superRocket,tag=!notExplodeFirework] at @s run fill ~.5 ~.5 ~.5 ~-.5 ~-.5 ~-.5 air replace #minecraft:mineable/axe","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=superRocket,tag=!notExplodeFirework] at @s run fill ~.5 ~.5 ~.5 ~-.5 ~-.5 ~-.5 air replace #minecraft:mineable/pickaxe","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=superRocket,tag=!notExplodeFirework] at @s run kill @e[tag=fwBackupStand,limit=1,sort=nearest,distance=..1]","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"execute as @e[tag=superRocket,tag=!notExplodeFirework] at @s run kill","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"tag @e remove notExplodeFirework","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"tag @e remove notExplodeFirework","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false}]},{"blocks":[{"command":"scoreboard objectives add shootFacingFWX dummy","type":"impulse","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"scoreboard objectives add shootFacingFWY dummy","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"scoreboard objectives add shootFacingFWZ dummy","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"scoreboard objectives add shotFirework minecraft.used:minecraft.warped_fungus_on_a_stick","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false},{"command":"","type":"chain","auto":true,"conditional":false,"facing":"up","looping":false}]}]

0 comments on commit 894c02a

Please sign in to comment.