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.

iBuilder99

Members
  • Joined

  • Last visited

  1. Hey guys! I was looking for a custom renderer for my armor and I found this method in the Item class : public ModelBiped getArmorModel(EntityLiving entityLiving, ItemStack itemStack, int armorSlot){ return null; } To do that you need to create a new class that extends ModelBiped : public class MyCustomArmorRender extends ModelBiped{ public MyCustomArmorRender(){ //load the normal player model from ModelBiped super(); } //self explaining public void render(Entity par1Entity, float par2, float par3, float par4, float par5, float par6, float par7){ } } .....and thanks to the 'Advanced model loader' in Forge you can render a wavefront object for your armor. If you are done with your render you can bind the texture for the model with : public String getArmorTexture(ItemStack stack, Entity entity, int slot, int layer){ } in the Item class. Put 'return new MyCustomArmorRender();' into the 'getArmorModel' method. (I hope it was not pure luck that it worked for me, correct me if I'm wrong)

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.