I need to summon text above a block and I'm using armor stands with custom names. But it says it doesn't understand the condition make server execute command.
Here's my code:
Any ideas?
Here's my code:
Code:
on place:
if event-block is coal ore named "coal-generator":
set {_coal.gen.loc} to location of event-block
set {_coal.holo.loc} to {_col.gen.loc}
add 1 to y-coordinate of {_coal.holo.loc.1}
set {_coal.holo.loc.2} to {_coal.holo.loc.1}
subtract 0.5 from y-coordinate of {_coal.holo.loc.2}
make console execute command "/summon armor_stand %{_coal.holo.loc.1}% {Invisible:1b,Invulnerable:1b,NoGravity:1b,CustomName:'{"text":"Coal Generator","color":"black","bold":"true"}',CustomNameVisible:1b}"
make console execute command "/summon armor_stand %{_coal.holo.loc.2}% {Invisible:1b,Invulnerable:1b,NoGravity:1b,CustomName:'{"text":"Level 2","color":"aqua","bold":"true"}',CustomNameVisible:1b}"
Any ideas?