Posted September 19, 20196 yr I made a custom Item and it does not recognize either the model file or the name in the .lang file. Help would be nice, I may just be an idiot.https://github.com/Merthew/MerthewTweaks Item: https://github.com/Merthew/MerthewTweaks/blob/master/src/main/java/com/example/merthewtweaks/object/item/Safety_Rope.java Registry: https://github.com/Merthew/MerthewTweaks/blob/master/src/main/java/com/example/merthewtweaks/util/ItemRegistry.java Model: https://github.com/Merthew/MerthewTweaks/blob/master/src/main/resources/assets/merthewtweaks/models/item/safety_rope.json The seven became one and the one became two.
September 19, 20196 yr https://github.com/Merthew/MerthewTweaks/blob/master/src/main/java/com/example/merthewtweaks/util/ItemRegistry.java#L16 Problematic Code #14 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.
September 19, 20196 yr Author 1 hour ago, Draco18s said: https://github.com/Merthew/MerthewTweaks/blob/master/src/main/java/com/example/merthewtweaks/util/ItemRegistry.java#L16 Problematic Code #14 What is the correct way to do this then. I'm flying blind mate. Also, on a side note, I like your new Icon. The seven became one and the one became two.
September 20, 20196 yr 1 hour ago, Merthew said: What is the correct way to do this then. I'm flying blind mate. registerItems(event) event,getRegistry().registerAll( new Item(...), new Item(...), .... ); You've got two ways to initialize the fields however you can use ObjectHolder annotation. Or you can just do SOME_ITEM = new Item instead of just new Item. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
September 20, 20196 yr 3 hours ago, Merthew said: Also, on a side note, I like your new Icon. ...new? I haven't changed it in forever 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.
September 20, 20196 yr Author Just now, Draco18s said: ...new? I haven't changed it in forever I have not been on this forum in forever. The seven became one and the one became two.
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.