package com.minecraftuberverse.tannery.entity;

import com.minecraftuberverse.tannery.Tannery;
import com.minecraftuberverse.tannery.entity.elk.Elk;

import net.minecraft.entity.EntityList;
import net.minecraftforge.fml.common.registry.EntityRegistry;

//this is a basic Entity class

public class TanneryEntities
{
	public static void init()
	{
		registerEntity();
	}

	public static void registerEntity()
	{
		// Example
		// createEntity(Kangaroo.class, "Kangaroo", 0xDEA02C, 0xE3C286);
		createEntity(Elk.class, "Elk", 0xFFFFFF, 0xFFFFFFF);
	}

	public static void createEntity(Class entityClass, String entityName, int solidColor, int spotColor)
	{
		int randomId = EntityRegistry.findGlobalUniqueEntityId();

		EntityRegistry.registerGlobalEntityID(entityClass, entityName, randomId);
		EntityRegistry.registerModEntity(entityClass, entityName, randomId, Tannery.modInstance, 42,
				1, true);
		createEgg(randomId, solidColor, spotColor);
	}

	private static void createEgg(int randomId, int solidColor, int spotColor)
	{
		EntityList.entityEggs.put(Integer.valueOf(randomId),
				new EntityList.EntityEggInfo(randomId, solidColor, spotColor));
	}
}

@@ -189,16 +189,111 @@
 yList;%0D%0A
+import net.minecraft.entity.EnumCreatureType;%0D%0Aimport net.minecraft.world.biome.BiomeGenBase;%0D%0A
 import n
@@ -1062,24 +1062,255 @@
 potColor);%0D%0A
+%09%09//Other devs change the spawn if needed -George%0D%0A%09%09 EntityRegistry.addSpawn(Elk.class, 62, 3, 7, EnumCreatureType.CREATURE, BiomeGenBase.iceMountains, BiomeGenBase.frozenRiver, BiomeGenBase.icePlains, BiomeGenBase.frozenOcean);%0D%0A
 %09%7D%0D%0A%0D%0A%09priva

Update TanneryEntities.java