I've coded some custom armor and added textures to them but when I run Minecraft all I get is the "Missing Texture" icon.
Here is the code for my Armor Class:
package com.nebblewerfer.interstellarexploration;
import com.nebblewerfer.lib.Strings;
import net.minecraft.entity.Entity;
import net.minecraft.item.ItemArmor;
import net.minecraft.item.ItemStack;
public class spaceSuit extends ItemArmor{
public spaceSuit(ArmorMaterial p_i45325_1_, int p_i45325_2_, int p_i45325_3_) {
super(p_i45325_1_, p_i45325_2_, p_i45325_3_);
// TODO Auto-generated constructor stub
}
public String getArmorModel(ItemStack stack, Entity entity, int slot, String type)
{
if(stack.getItem() == Aluminum.spaceHelmet || stack.getItem() == Aluminum.spaceTunic || stack.getItem() == Aluminum.spaceBoots){
return "interstellarexploration:SpaceLayer1";
}else if(stack.getItem() == Aluminum.spacePants){
return "interstellarexploration:SpaceLayer2";
}else{
return null;
}
}
}
Thank you for any help!
If you have any questions about other info just ask me!