Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

TheRPGAdventurer

Members
  • Joined

  • Last visited

Everything posted by TheRPGAdventurer

  1. But my issue remains on the ResourceLocation registryName Parameter. Sorry I thought the sentence above was a code.
  2. SERIOUSLY GUYS ANY HELP! DON'T TELL ME WHERE GONNA BE USING JSON FILES IN ENTITIES NOW(well you can really tell me but I'm really just scared :D)
  3. registerEntities(); When I removed in my 1.10.2 version, It made my entity invisible or at least didn't exist.
  4. add "" in dragon becames unapplicable I mean "dragon" like "RealmOfTheDragon", Here is the crash error: https://pastebin.com/zPrP5PC6 This is ClienProxy: Java 74 private void registerEntities(ResourceLocation registryName) { // 73 EntityRegistry.registerModEntity(registryName, EntityTameableDragon.class, "RealmOfTheDragon", // 74 ENTITY_ID, RealmOfTheDragons.instance, ENTITY_TRACKING_RANGE, ENTITY_UPDATE_FREQ, // 75 ENTITY_SEND_VELO_UPDATES); //76 } This is ClientProxy : 60 // registerEntities(null) =line 60 @Override public void onInit(FMLInitializationEvent evt) { super.onInit(evt); registerEntities(null); } This is RealmOfTheDragons: java 91 @EventHandler public void onInit(FMLInitializationEvent evt) { //90 proxy.onInit(evt); //91 }
  5. private void registerEntities() { EntityRegistry.registerModEntity(dragon, EntityTameableDragon.class, "RealmOfTheDragon", ENTITY_ID, RealmOfTheDragons.instance, ENTITY_TRACKING_RANGE, ENTITY_UPDATE_FREQ, ENTITY_SEND_VELO_UPDATES); } I tried this and gave me an error to create a variable, add "" in dragon becames unapplicable, tried to like ResourceLocation dragon, it stops the error yet crashes the game. Same thing when I change it to null.
  6. Hi! I just updated my mod form 1.10.2 to 1.12 I fixed some issues but what is the use of this new ResourceLocation parameter in EntityRegistry.registerModEntity? It doesn't exist in 1.10.2 /** * Register the mod entity type with FML * @param entityClass The entity class * @param entityName A unique name for the entity * @param id A mod specific ID for the entity * @param mod The mod * @param trackingRange The range at which MC will send tracking updates * @param updateFrequency The frequency of tracking updates * @param sendsVelocityUpdates Whether to send velocity information packets as well */ public static void registerModEntity(ResourceLocation registryName, Class<? extends Entity> entityClass, String entityName, int id, Object mod, int trackingRange, int updateFrequency, boolean sendsVelocityUpdates) { instance().doModEntityRegistration(registryName, entityClass, entityName, id, mod, trackingRange, updateFrequency, sendsVelocityUpdates); }
  7. 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); }
  8. 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.
  9. another question, what do I add with the registryName in registerModEntity at EntityRegistry?
  10. 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?
  11. 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.
  12. I won't update to 1.12 yet because there will be 1.12.2
  13. Ok guys! Sorry for necroing this post but apparently, Dracos18s solution was not enough but I got the solution correctly. I wasn't able to use my computer for many days but here's my solution the .json should be in lowercase Example amethyst_dragon_sword.json not amethyst_dragon_sword.JSON. en_US.lang not en_US.LANG to see the file extension like (.lang, .txt, .json ) see here https://www.howtohaven.com/system/show-file-extensions-in-windows-explorer.shtml
  14. I get it, it's in ItemArmorMaterial class.
  15. yeah but I can't find it in ItemArmor.
  16. What class, I am trying to compare vanilla armor to my armor.
  17. Thanks guys, now I can blame CJMinecaft for this. HAHAHAHA!
  18. I posted the src code btw. yes I confirm it.
  19. you found out what's wrong yet?

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.