Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void registerEntityEgg(Class <? extends Entity> entity, int PrimaryColor, int secondaryColor) {
- int id = getUniqueEntityId();
- EntityList.IDtoClassMapping.put(id, entity);
- EntityList.entityEggs.put(id, new EntityEggInfo(id, PrimaryColor, secondaryColor));
- }
- EntityRegistry.registerGlobalEntityID(MyEntityApe.class, "Ape", MyEntityID);
- EntityRegistry.addSpawn(MyEntityApe.class, 88, 6, 12, EnumCreatureType.monster, BiomeGenBase.jungle);
- EntityRegistry.addSpawn(MyEntityApe.class, 88, 6, 12, EnumCreatureType.monster, BiomeGenBase.jungleHills);
- EntityRegistry.addSpawn(MyEntityApe.class, 5, 1, 5, EnumCreatureType.monster, MyBiome_1);
- registerEntityEgg(MyEntityApe.class, (new Color(97, 71, 52)).getRGB(), (new Color(151, 137, 111)).getRGB());
Advertisement
Add Comment
Please, Sign In to add comment