Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package fr.shyfe.train.common;
- import com.sun.xml.internal.stream.Entity;
- import net.minecraft.item.ItemArmor;
- import net.minecraft.item.ItemStack;
- public class armorTrain extends ItemArmor
- {
- public armorTrain(ArmorMaterial material, int type)
- {
- super(material, 0, type);
- }
- public String getArmorTexure(ItemStack stack, Entity entity, int slot, String type)
- {
- if(slot == 2)
- {
- return train.MODID + ":textures/models/armor/train_layer_leggings.png";
- }
- return train.MODID + ":textures/models/armor/train_layer.png";
- }
- }
Add Comment
Please, Sign In to add comment