I want to make a wall made of particles, {_block1} doesn't get an error but doesn't show any particles, and {_block2} does get an error and doesn't do anything, anyone knows how to do this?
Code:
on left click with iron sword:
if player is holding an iron sword named "<blue>Pyro" with nbt "{Unbreakable:1,AttributeModifiers:[{AttributeName:""generic.attack_damage"",Amount:10,Slot:mainhand,Name:""generic.attack_damage"",UUID:[I;-121912,29295,214724,-58590]}],HideFlags:6}":
{Pyro.effect.%player%} is 2:
if unix date of ((metadata tag "cooldown17" of player) ? 0) wasn't less than 30 seconds ago:
set metadata tag "cooldown17" of player to unix timestamp of now
set {_wall} to true
while {_wall} is true:
set {_block1} to block 3 blocks infront of player
play mob spawner flames on {_block1}
set {_block2} to block 1 block above {_block1}
play mob spawner flames on {_block2}
play mob spawner flames on {_block2} to player
else:
send "<red>Yarr, waitin' for spell to recharge"
Last edited: