public abstract class LayerArmorBase extends java.lang.Object implements LayerRenderer
Modifier and Type | Field and Description |
---|---|
protected ModelBase |
field_177186_d |
protected static ResourceLocation |
field_177188_b |
protected ModelBase |
field_177189_c |
Constructor and Description |
---|
LayerArmorBase(RendererLivingEntity p_i46125_1_) |
Modifier and Type | Method and Description |
---|---|
void |
doRenderLayer(EntityLivingBase p_177141_1_,
float p_177141_2_,
float p_177141_3_,
float p_177141_4_,
float p_177141_5_,
float p_177141_6_,
float p_177141_7_,
float p_177141_8_) |
ModelBase |
func_177175_a(int p_177175_1_) |
ItemStack |
func_177176_a(EntityLivingBase p_177176_1_,
int p_177176_2_) |
protected abstract void |
func_177177_a() |
protected abstract void |
func_177179_a(ModelBase p_177179_1_,
int p_177179_2_) |
ResourceLocation |
getArmorResource(Entity entity,
ItemStack stack,
int slot,
java.lang.String type)
More generic ForgeHook version of the above function, it allows for Items to have more control over what texture they provide.
|
boolean |
shouldCombineTextures() |
protected static final ResourceLocation field_177188_b
protected ModelBase field_177189_c
protected ModelBase field_177186_d
public LayerArmorBase(RendererLivingEntity p_i46125_1_)
public void doRenderLayer(EntityLivingBase p_177141_1_, float p_177141_2_, float p_177141_3_, float p_177141_4_, float p_177141_5_, float p_177141_6_, float p_177141_7_, float p_177141_8_)
doRenderLayer
in interface LayerRenderer
public boolean shouldCombineTextures()
shouldCombineTextures
in interface LayerRenderer
public ItemStack func_177176_a(EntityLivingBase p_177176_1_, int p_177176_2_)
public ModelBase func_177175_a(int p_177175_1_)
protected abstract void func_177177_a()
protected abstract void func_177179_a(ModelBase p_177179_1_, int p_177179_2_)
public ResourceLocation getArmorResource(Entity entity, ItemStack stack, int slot, java.lang.String type)
entity
- Entity wearing the armorstack
- ItemStack for the armorslot
- Slot ID that the item is intype
- Subtype, can be null or "overlay"