on place:
if name of held item contains "IronGolem":
set {_loc} to location of event-block
#set event-block to monster spawner
make player execute command "/setblock ~ ~ ~ minecraft:mob_spawner 0 replace {EntityId:Zombie}"
message "%entity type of location of event-block%"
when I do this it sets the block underneath the player to a spider spawner- how can I use randomsk to set the event-block with custom metadata of an IronGolem spawner?
if name of held item contains "IronGolem":
set {_loc} to location of event-block
#set event-block to monster spawner
make player execute command "/setblock ~ ~ ~ minecraft:mob_spawner 0 replace {EntityId:Zombie}"
message "%entity type of location of event-block%"
when I do this it sets the block underneath the player to a spider spawner- how can I use randomsk to set the event-block with custom metadata of an IronGolem spawner?