public abstract class LayerArmorBase<T extends ModelBase> extends java.lang.Object implements LayerRenderer<EntityLivingBase>
Modifier and Type | Field and Description |
---|---|
private float |
alpha |
private static java.util.Map<java.lang.String,ResourceLocation> |
ARMOR_TEXTURE_RES_MAP |
private float |
colorB |
private float |
colorG |
private float |
colorR |
protected static ResourceLocation |
ENCHANTED_ITEM_GLINT_RES |
protected T |
field_177186_d |
protected T |
field_177189_c |
private boolean |
field_177193_i |
private RendererLivingEntity<?> |
renderer |
Constructor and Description |
---|
LayerArmorBase(RendererLivingEntity<?> rendererIn) |
Modifier and Type | Method and Description |
---|---|
void |
doRenderLayer(EntityLivingBase entitylivingbaseIn,
float p_177141_2_,
float p_177141_3_,
float partialTicks,
float p_177141_5_,
float p_177141_6_,
float p_177141_7_,
float scale) |
T |
func_177175_a(int p_177175_1_) |
protected abstract void |
func_177179_a(T p_177179_1_,
int p_177179_2_) |
private void |
func_177183_a(EntityLivingBase entitylivingbaseIn,
T modelbaseIn,
float p_177183_3_,
float p_177183_4_,
float p_177183_5_,
float p_177183_6_,
float p_177183_7_,
float p_177183_8_,
float p_177183_9_) |
private ResourceLocation |
getArmorResource(ItemArmor p_177181_1_,
boolean p_177181_2_) |
private ResourceLocation |
getArmorResource(ItemArmor p_177178_1_,
boolean p_177178_2_,
java.lang.String p_177178_3_) |
ItemStack |
getCurrentArmor(EntityLivingBase entitylivingbaseIn,
int armorSlot) |
protected abstract void |
initArmor() |
private boolean |
isSlotForLeggings(int armorSlot) |
private void |
renderLayer(EntityLivingBase entitylivingbaseIn,
float p_177182_2_,
float p_177182_3_,
float p_177182_4_,
float p_177182_5_,
float p_177182_6_,
float p_177182_7_,
float p_177182_8_,
int armorSlot) |
boolean |
shouldCombineTextures() |
protected static final ResourceLocation ENCHANTED_ITEM_GLINT_RES
private final RendererLivingEntity<?> renderer
private float alpha
private float colorR
private float colorG
private float colorB
private boolean field_177193_i
private static final java.util.Map<java.lang.String,ResourceLocation> ARMOR_TEXTURE_RES_MAP
public LayerArmorBase(RendererLivingEntity<?> rendererIn)
public void doRenderLayer(EntityLivingBase entitylivingbaseIn, float p_177141_2_, float p_177141_3_, float partialTicks, float p_177141_5_, float p_177141_6_, float p_177141_7_, float scale)
doRenderLayer
in interface LayerRenderer<EntityLivingBase>
public boolean shouldCombineTextures()
shouldCombineTextures
in interface LayerRenderer<EntityLivingBase>
private void renderLayer(EntityLivingBase entitylivingbaseIn, float p_177182_2_, float p_177182_3_, float p_177182_4_, float p_177182_5_, float p_177182_6_, float p_177182_7_, float p_177182_8_, int armorSlot)
public ItemStack getCurrentArmor(EntityLivingBase entitylivingbaseIn, int armorSlot)
public T func_177175_a(int p_177175_1_)
private boolean isSlotForLeggings(int armorSlot)
private void func_177183_a(EntityLivingBase entitylivingbaseIn, T modelbaseIn, float p_177183_3_, float p_177183_4_, float p_177183_5_, float p_177183_6_, float p_177183_7_, float p_177183_8_, float p_177183_9_)
private ResourceLocation getArmorResource(ItemArmor p_177181_1_, boolean p_177181_2_)
private ResourceLocation getArmorResource(ItemArmor p_177178_1_, boolean p_177178_2_, java.lang.String p_177178_3_)
protected abstract void initArmor()
protected abstract void func_177179_a(T p_177179_1_, int p_177179_2_)