GreenbackCafe
Members-
Posts
7 -
Joined
-
Last visited
Everything posted by GreenbackCafe
-
How do you correctly use those fields after onRegisterItems has completed?
-
This did not work for me. The items still showed up as normal, but the anvil is still not accepting the repair item even though I called the fields. GitHub updated
-
I'm in the process of rewriting my code after finding a better tutorial, and I was wondering how to use an item as a repair material for tools/armor. Before, I would just call the variable directly from my ItemList (which would have things like "public static Item copper_ingot;"), and the ItemList would be used to statically initialise the items. Now that I've learned that's not a good idea, I switched to Cadiboo's method, but I no longer have a variable to reference as an Item for things like this. Is there another way to do this? I'd also appreciate any general suggestions on how to improve my code. https://github.com/GreenbackCafe/randommod
-
Anvil repair materials (1.13.2)
GreenbackCafe replied to GreenbackCafe's topic in Support & Bug Reports
Whoops, I posted this in the wrong place. My bad -
I'm in the process of rewriting my code after finding a better tutorial, and I was wondering how to use an item as a repair material for tools/armor. Before, I would just call the variable directly from my ItemList (which would have things like "public static Item copper_ingot;"), and the ItemList would be used to statically initialise the items. Now that I've learned that's not a good idea, I switched to Cadiboo's method, but I no longer have a variable to reference as an Item for things like this. Is there another way to do this? I'd also appreciate any general suggestions on how to improve my code. https://github.com/GreenbackCafe/randommod
-
[1.13.2] Built jar crashes game
GreenbackCafe replied to GreenbackCafe's topic in Support & Bug Reports
You're right, I should use a better tutorial. Luckily I didn't spend too much time on this yet. -
When I run my mod using eclipse, everything is working. But when I use gradlew build in the command prompt and put the jar into my mods folder, it crashes. Jar attached. Forge version: 1.13.2 - 25.0.219 Crash report: https://pastebin.com/Y6akn6pz Any help would be appreciated. modid-1.0.jar