Started by
RogueWorks
on
Topic category: Help with Minecraft modding (Java Edition)
I'm trying to make a spawn egg for Iron golem and i want to right click on a spawner like all spawn eggs and change it's data so it can start spawning iron golems
Edited by RogueWorks on Fri, 01/28/2022 - 18:14
On block right clicked with item in right hand etc...
Execute command: /data merge block ~ ~ ~ {SpawnData:{id:"minecraft:iron_golem"}}