I am trying to make it so when i place a bedrock named Ig spawner it replaces it with an Iron golem spawner. It replaces the bedrock with a pig spawner though. How would i make it so it works?
I figured it out sorry if i wasted time!
Code:
on place:
if event-block is bedrock:
tool's name = "&7Ig Spawner":
set nbt-block at event-location to monster spawner with nbt "{SpawnData:{id:minecraft:villager_golem}}"
I figured it out sorry if i wasted time!
Last edited: