Fixed Iron Golems on 1.11-1.12.

This commit is contained in:
Fernando Pettinelli 2021-12-22 17:59:41 -03:00
parent de20a5b73c
commit 29badc823a
2 changed files with 5 additions and 2 deletions

View File

@ -41,7 +41,8 @@ public class SSpawnerImpl implements SSpawner {
NBTTagCompound compound = data.b();
String name = type.name().toLowerCase().replace("snowman", "snow_golem")
.replace("mushroom_cow", "mooshroom");
.replace("mushroom_cow", "mooshroom")
.replace("iron_golem", "villager_golem");
compound.setString("id", "minecraft:" + name);
short spawnRange = 4;

View File

@ -41,7 +41,9 @@ public class SSpawnerImpl implements SSpawner {
NBTTagCompound compound = data.b();
String name = type.name().toLowerCase().replace("snowman", "snow_golem")
.replace("mushroom_cow", "mooshroom");
.replace("mushroom_cow", "mooshroom")
.replace("iron_golem", "villager_golem");;
compound.setString("id", "minecraft:" + name);
short spawnRange = 4;