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.

endreman0

Members
  • Joined

  • Last visited

  1. Thanks, that helped me fix it! The issue was using item.getUnlocalizedName() . This prepends "item." to the actual name, which isn't supposed to be there for model registry. I swapped it for MOD_ID + ":" + item.getName() and it worked. Also, that looks like a great reference. Thanks for showing it to me!
  2. I am attempting to create an item that will have a different texture for each metadata value. ItemBase (the item): ItemMetadataEM (base class for every item that uses metadata): ItemEM (base class for all items in the mod): ItemsEM (holds the item instance and registers items in preinit phase): ClientProxy (registers item renders in init phase): machineBase_tier1.json (in assets/endermagnetics/models/item ): machineBase_tier2.json is the same, except the texture link is to machineBase_tier2 . Both textures exist in assets/endermagnetics/textures/items , and are named exactly as their JSON counterparts are (not including the extension, of course). When the game loads, the log shows my texture registration happening immediately after Minecraft searches for (and can't find the textures). Here's that section of the log: The two "not found" lines are also shown farther down in the log. Am I registering the textures at the wrong time? The wrong way?

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.