Harmonious-Engineering/kubejs/data/confetti_creepers/functions/create_confetti.mcfunction
2022-06-22 11:53:31 -05:00

3 lines
No EOL
389 B
MCFunction

summon minecraft:firework_rocket ~ ~ ~ {LifeTime: 0, FireworksItem: {id: "minecraft:creeper_head", Count: 1b, tag: {Fireworks: {Explosions: [{Flicker: 0b, Trail: 0b, Type: 4b, Colors: [I; 11743532, 15435844, 14602026, 4312372, 6719955, 8073150, 14188952]}]}}}}
data remove entity @s Effects[{Id: 26b, Amplifier: 10b, ShowParticles: 0b}]
execute unless data entity @s Effects[0] run kill @s