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.

DreamingInsanity

Members
  • Joined

  • Last visited

  1. Thanks for the reply I will make the changes needed! Dream.
  2. I can tell this has been asked a lot, and yes before you tell me I did look at the common problems and issues section but it didnt help. FYI: This is my first mod, so I am just following a tutorial. I am trying to register my item, yet whenever I run the game it crashes on the 2/7 stage. public class CustomItems { public static Item CustomItem; public static void preInit() { CustomItem = new Item().setUnlocalizedName("custom_item").setCreativeTab(CircleMod.extraTab); registerItems(); } public static void registerItems() { ForgeRegistries.ITEMS.register(CustomItem); } public static void registerRenders() { registerRender(CustomItem); } public static void registerRender(Item item) { Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(CircleMod.MODID + ":" + item.getUnlocalizedName().substring(5), "inventory")); } } That is roughly what the tutorial say to use, although it has minor tweaks because the tutorial is for 1.10 and i'm in 1.12. I get the error: Can't use a null-name for the registry, object net.minecraft.item.Item@166fa7ab. I did a fair amount of research into it but I couldn't find anything that would help. My full log: https://pastebin.com/0jifnRW9 I hope this isn't "spam"! Thanks in advance, Dream.

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.