mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 21:20:06 +00:00
Initial test of Gradle (not working yet)
This commit is contained in:
1 parent
e8b7378831
commit
cb87c836c8
519 files changed
+351
No files matched your search
@@ -0,0 +1,29 @@
|
||||
package tconstruct.items.armor;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import tconstruct.library.armor.*;
|
||||
|
||||
public class ArmorStandard extends ArmorCore
|
||||
{
|
||||
|
||||
public ArmorStandard(int par1, int baseProtection, EnumArmorPart armorPart)
|
||||
{
|
||||
super(par1, baseProtection, armorPart);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void registerIcons (IconRegister par1IconRegister)
|
||||
{
|
||||
this.itemIcon = par1IconRegister.registerIcon("tinker:armor/wood_helmet");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getArmorTexture (ItemStack stack, Entity entity, int slot, int layer)
|
||||
{
|
||||
return "tinker:textures/armor/wood_" + layer + ".png";
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user