Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class EntityLibrary {
- /*
- Unknown error happened before, so this code was left behind.
- public static void register() {
- int entityID = EntityRegistry.findGlobalUniqueEntityId();
- // EntityRegistry.registerGlobalEntityID(EntityDataLoyalist.class, "entityDataLoyalist", entityID, 0, 0);
- // EntityRegistry.registerModEntity(EntityDataGeneric.class, "entityDataGeneric", entityID, Main.instance, 0, 0, true);
- EntityRegistry.registerModEntity(EntityDataLoyalist.class, "entityDataLoyalist", entityID, Main.instance, 0, 0, true);
- // EntityList EntityEggInfo(ID, primary, secondary);
- EntityList.entityEggs.put(Integer.valueOf(entityID), new EntityList.EntityEggInfo(entityID, 0, 0));
- RenderingRegistry.registerEntityRenderingHandler(EntityDataGeneric.class, new RenderBiped(new ModelBiped(), 1));
- }
- */
- public static void register() {
- EntityRegistry.registerGlobalEntityID(EntityDataSwordman.class, "entityDataSwordman", EntityRegistry.findGlobalUniqueEntityId());
- EntityRegistry.registerModEntity(EntityDataSwordman.class, "entityDataSwordman", EntityRegistry.findGlobalUniqueEntityId(), Main.instance, 1, 1, true);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment