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.

Featured Replies

Posted

When I wear boots, it renders leggings over the leggings I already have. Here's a picture of the problem.

2e87ffed324b453799ee817.png

The leggings are purple while the boots are blue, but as you can see, the boots are rendering over the leggings as leggings.

Here's my declaration of the item

public final static Item crystalBoots = new ItemCustomBoots(5064, CRYSTALARMOR, RenderingRegistry.addNewArmourRendererPrefix("Crystal"), 3, "crystalArmor2").setItemName("crystalBoots").setIconIndex(22);

The declaration of the CRYSTALARMOR EnumArmorMaterial

static EnumArmorMaterial CRYSTALARMOR = EnumHelper.addArmorMaterial("CRYSTAL", 4, new int[]{4,8,6,4}, 15);

ItemCustomBoots

package com.strikepointdev.oam;
import net.minecraft.src.EnumArmorMaterial;
import net.minecraft.src.ItemArmor;
import net.minecraft.src.ItemStack;
import net.minecraftforge.common.IArmorTextureProvider;
public class ItemCustomBoots extends ItemArmor implements IArmorTextureProvider{
public String textureName;
public ItemCustomBoots(int par1, EnumArmorMaterial par2EnumArmorMaterial, int par3, int par4, String itemName) {
super(par1, par2EnumArmorMaterial, par3, par4);
this.textureName = itemName;
}
public String getTextureFile(){
return "/spd/oam/items.png";

}
public String getArmorTextureFile(ItemStack par1){
return "/spd/oam/" + textureName + ".png";
}
}

Thanks in advance.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

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.