TheRPGAdventurer Posted August 9, 2017 Posted August 9, 2017 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. Quote
TheRPGAdventurer Posted August 9, 2017 Author Posted August 9, 2017 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? Quote
TheRPGAdventurer Posted August 9, 2017 Author Posted August 9, 2017 Just now, diesieben07 said: Did you even read the page I linked? A bit. Quote
Ugdhar Posted August 9, 2017 Posted August 9, 2017 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 1 Quote
TheRPGAdventurer Posted August 9, 2017 Author Posted August 9, 2017 (edited) 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, 2017 by TheRPGAdventurer Wrong Grammar Quote
TheRPGAdventurer Posted August 9, 2017 Author Posted August 9, 2017 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. Quote
Draco18s Posted August 9, 2017 Posted August 9, 2017 Name it whatever you flipping want. Quote 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.
TheRPGAdventurer Posted August 10, 2017 Author Posted August 10, 2017 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); } Quote
Recommended Posts
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.