public class LayerBipedArmor extends LayerArmorBase<ModelBiped>
ENCHANTED_ITEM_GLINT_RES, modelArmor, modelLeggings
Constructor and Description |
---|
LayerBipedArmor(RenderLivingBase<?> rendererIn) |
Modifier and Type | Method and Description |
---|---|
protected ModelBiped |
getArmorModelHook(EntityLivingBase entity,
ItemStack itemStack,
EntityEquipmentSlot slot,
ModelBiped model)
Hook to allow item-sensitive armor model.
|
protected void |
initArmor() |
protected void |
setModelSlotVisible(ModelBiped p_188359_1_,
EntityEquipmentSlot slotIn) |
protected void |
setModelVisible(ModelBiped model) |
doRenderLayer, getArmorResource, getModelFromSlot, renderEnchantedGlint, shouldCombineTextures
public LayerBipedArmor(RenderLivingBase<?> rendererIn)
protected void initArmor()
initArmor
in class LayerArmorBase<ModelBiped>
protected void setModelSlotVisible(ModelBiped p_188359_1_, EntityEquipmentSlot slotIn)
setModelSlotVisible
in class LayerArmorBase<ModelBiped>
protected void setModelVisible(ModelBiped model)
protected ModelBiped getArmorModelHook(EntityLivingBase entity, ItemStack itemStack, EntityEquipmentSlot slot, ModelBiped model)
LayerArmorBase
getArmorModelHook
in class LayerArmorBase<ModelBiped>