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.

ka268

Members
  • Joined

  • Last visited

  1. Thank you very much that fixed it.
  2. It says filenotfound but I have ingot_copper.json?
  3. 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.
  4. 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(); } } }
  5. 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

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.