Everything posted by TheRPGAdventurer
-
1.12 What is the use of this ResourceLocation Parameter in EntityRegistry.registerModEntity?
does it require a resourcelocation variable or something?
-
1.12 What is the use of this ResourceLocation Parameter in EntityRegistry.registerModEntity?
But my issue remains on the ResourceLocation registryName Parameter. Sorry I thought the sentence above was a code.
-
1.12 What is the use of this ResourceLocation Parameter in EntityRegistry.registerModEntity?
I registered it in server now when you told me,
-
1.12 What is the use of this ResourceLocation Parameter in EntityRegistry.registerModEntity?
registerEntities(); (SHITTY LAGGY INTERNET FROM MY COUNTRY)
-
1.12 What is the use of this ResourceLocation Parameter in EntityRegistry.registerModEntity?
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)
-
1.12 What is the use of this ResourceLocation Parameter in EntityRegistry.registerModEntity?
registerEntities(); When I removed in my 1.10.2 version, It made my entity invisible or at least didn't exist.
-
1.12 What is the use of this ResourceLocation Parameter in EntityRegistry.registerModEntity?
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 }
-
1.12 What is the use of this ResourceLocation Parameter in EntityRegistry.registerModEntity?
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.
-
1.12 What is the use of this ResourceLocation Parameter in EntityRegistry.registerModEntity?
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); }
-
1.12 How to fix these GameRegistry.register
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); }
-
1.12 How to fix these GameRegistry.register
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.
-
1.12 How to fix these GameRegistry.register
another question, what do I add with the registryName in registerModEntity at EntityRegistry?
-
1.12 How to fix these GameRegistry.register
A bit.
-
1.12 How to fix these GameRegistry.register
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?
-
1.12 How to fix these GameRegistry.register
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.
-
Which version should I upgrade my 1.7.10 mod to?
I won't update to 1.12 yet because there will be 1.12.2
-
1.10.2 What makes wolves do not follow other players command except the one who tamed it.
I need to make my pet follow only it's owner but how?
-
1.10.2 Issues with jar file(SOLVED)
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
-
1.10.2 where do I find the durability of armors
I get it, it's in ItemArmorMaterial class.
-
1.10.2 where do I find the durability of armors
yeah but I can't find it in ItemArmor.
-
1.10.2 where do I find the durability of armors
What class, I am trying to compare vanilla armor to my armor.
-
1.10.2 Issues with jar file(SOLVED)
Thanks guys, now I can blame CJMinecaft for this. HAHAHAHA!
-
1.10.2 Issues with jar file(SOLVED)
git the program?
-
1.10.2 Issues with jar file(SOLVED)
I posted the src code btw. yes I confirm it.
-
1.10.2 Issues with jar file(SOLVED)
you found out what's wrong yet?
IPS spam blocked by CleanTalk.