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.

Camulorix

Members
  • Joined

  • Last visited

  1. I down't know how to use metadata but I changed the class to use getIconFromDamage() and set the damage value to 1 when it's full and to 0 when it's empty. Now it works :-) Thanks for the hint in the right direction
  2. Hi, I want to change the texture of an item based on the state of the item. To be more specific: I have an empty item and when I right click on a mob, it gets filled. The texture for the filled item is only visible when I hold it in my hands. In the inventory or a chest or when it is lying on the ground, the game uses the texture for the empty item. Currently I'm using getIcon() to return the icon I want to use. Both textures are set using registerIcons(). What did I miss or how can I achieve what I want?

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.