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.

Dion6103

Members
  • Joined

  • Last visited

  1. Thanks a bunch! (Don't know why I didn't think of this before.... XD) https://imgur.com/a/cg7ti For anyone looking for the answer in the future, this is what I did. In your ItemBlock class I put: @Override public boolean isValidArmor(ItemStack stack, EntityEquipmentSlot armorType, Entity entity) { if(armorType == EntityEquipmentSlot.HEAD) { return true; }else { return false; } } (Change EntityEquipmentSlot.HEAD to the respective armor piece or just return true if you want it to equip in all slots.
  2. I did this and it half worked. Is there a way to make it so that It can only be equipped in one slot, in this case the head slot? P.S. Sorry if I am being a noob and this is some basic Java thing that I haven't encountered yet
  3. I am currently working on a mod where I want to have a block able to be placed and equipped in the helmet slot like a pumpkin would. I have been looking at the code of a pumpkin and have found nothing. So far, I have a working block, it's model including it being placed and worn on the head. How would I make it so that I can put a block onto my head without having to use commands? Picture of the block placed and being worn on my head using the command ./replaceitem entity @p slot.armor.head modid:blockmagichat (Still need to know how to get it equipable normally) :

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.