ka268
Members-
Posts
5 -
Joined
-
Last visited
ka268's Achievements
Tree Puncher (2/8)
0
Reputation
-
[1.12.2]Item model/texture issue after following tutorial
ka268 replied to ka268's topic in Modder Support
Thank you very much that fixed it. -
[1.12.2]Item model/texture issue after following tutorial
ka268 replied to ka268's topic in Modder Support
It says filenotfound but I have ingot_copper.json? -
[1.12.2]Item model/texture issue after following tutorial
ka268 replied to ka268's topic in Modder Support
Ok this is the code I put in ClientProxy @Mod.EventBusSubscriber() public static class RegistrationHandler { @SubscribeEvent public static void registerItems(ModelRegistryEvent event) { ModItems.registerModels(); } } } Does the method need a different name to the one I have in main or will it be ok if they are both called "RegistrationHandler" ? This is also the error I get when I run it. Thank you everybody for taking your time to help. -
[1.12.2]Item model/texture issue after following tutorial
ka268 replied to ka268's topic in Modder Support
I have added the @SubscriberEvent but it still seems to give me the same problem. This is the new code, I added the @subscriberEvent to registerItems(ModelRegistryEvent event) and Side.CLIENT to @Mod.EventBusSubscriber. Is adding Side.CLIENT there ok? Or do I need to move the whole registerItems(ModelRegistryEvent event) to ClientProxy? @Mod.EventBusSubscriber(Side.CLIENT) public static class RegistrationHandler { @SubscribeEvent public static void registerItems(RegistryEvent.Register<Item> event) { ModItems.register(event.getRegistry()); } @SubscribeEvent public static void registerItems(ModelRegistryEvent event){ ModItems.registerModels(); } } } -
I'm following this tutorial https://shadowfacts.net/tutorials/forge-modding-112/overview/. I got to the part where I add a copper ingot but in game it is only a pinkbox with text on it, can somebody show me where I went wrong? I uploaded the files here https://github.com/QuackQuackImADuck/TestMod