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.

Mordenkainen

Members
  • Joined

  • Last visited

Everything posted by Mordenkainen

  1. Thanks for the reply! If I do that is there any way to access the itemstack that was just removed? I need to alter it to prevent an exploit.
  2. I am trying to figure out how to detect when a player removes armor, even if this was done because the player died. I need to detect when any armor is removed, so this is not something I could code into a particular item. Is there any kind of event I could listen for that would give me this information? Ideally I would need access to both the new and old itemstacks involved. For death I can trap it via the event for that, but I am not sure how to tell if the player manually removes armor. Any advice would be appreciated. Ultimately what I want to do is add a type of buff to the player that temporarily adds an enchantment to whatever armor they are wearing, and removes the enchantment when the armor is removed. Morden

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.