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.

myriath

Members
  • Joined

  • Last visited

  1. The user will see a randomly generated name for the ore and it's respective items. Say the random name is blah, you'll get Blah ore, Blah ingot, blah chestplate, etc. How do I get the game to realize the block should use the custom ItemBlock class for it's name? Currently I'm trying to use GameRegistry.registerBlock with the block, it's respective itemblock class, and the block's unlocalized name as it's parameters. Is that not how it's supposed to be registered?
  2. It seems as though this would work, however I don't know how to get the name into the custom ItemBlock class and into the registry. Overriding works fine for a static name, but I don't know how I'd update it from the Main class of the mod.
  3. Ok, I'll have to take a look when I have time, thank you.
  4. Is that something new in 1.14 or is it in a lot of other versions as well?
  5. When I do that the name turns into x.name in the inventory, how would I get rid of the .name part?
  6. I've got a block that has a randomized name and I need to be able to change what the player sees in their inventory to that name instead of tile.x.name Is there any way to do that that doesn't involve putting every possible name that can come from my random name generator into the lang file?

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.