Posted August 9, 20178 yr Ok I am done now with my mod on 1.10.2 and planning a release this weekend I am now updating it to 1.12 but what the heck are the GameRegistry.register errors? Did the registry system change IDK.
August 9, 20178 yr Author Just now, diesieben07 said: http://mcforge.readthedocs.io/en/latest/concepts/registries/ GameRegistry.register(BlockDragonBreedEgg.DRAGON_BREED_EGG.setRegistryName("dragon_egg")); GameRegistry.register(ItemDragonBreedEgg.DRAGON_BREED_EGG.setRegistryName("dragon_egg")); it tell's me an error that register is private what to replace it?
August 9, 20178 yr http://www.minecraftforge.net/forum/topic/49497-1112-is-using-registryevent-this-way-ok/#comment-249433 This is a decent example of how to use the registry events to register items/blocks
August 9, 20178 yr Author Just now, Ugdhar said: http://www.minecraftforge.net/forum/topic/49497-1112-is-using-registryevent-this-way-ok/#comment-249433 This is a decent example of how to use the registry events to register items/blocks another question, what do I add with the registryName in registerModEntity at EntityRegistry? Edited August 9, 20178 yr by TheRPGAdventurer Wrong Grammar
August 9, 20178 yr Author Just now, TheRPGAdventurer said: another question, what do I add with the registryName in registerModEntity at EntityRegistry? Imean this EntityRegistry.registerModEntity(null, EntityTameableDragon.class, "RealmOfTheDragon", ENTITY_ID, RealmOfTheDragons.instance, ENTITY_TRACKING_RANGE, ENTITY_UPDATE_FREQ, ENTITY_SEND_VELO_UPDATES); } I set it to null yet because I got nothing to put in there.
August 9, 20178 yr Name it whatever you flipping want. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
August 10, 20178 yr Author Just now, Draco18s said: Name it whatever you flipping want. LikeThis? private void registerEntities(ResourceLocation dragon) { EntityRegistry.registerModEntity(dragon, EntityTameableDragon.class, "RealmOfTheDragon", ENTITY_ID, RealmOfTheDragons.instance, ENTITY_TRACKING_RANGE, ENTITY_UPDATE_FREQ, ENTITY_SEND_VELO_UPDATES); }
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.