public class BipedArmorLayer<T extends LivingEntity,M extends BipedModel<T>,A extends BipedModel<T>> extends ArmorLayer<T,M,A>
modelArmor, modelLeggings
Constructor and Description |
---|
BipedArmorLayer(IEntityRenderer<T,M> p_i50936_1_,
A p_i50936_2_,
A p_i50936_3_) |
Modifier and Type | Method and Description |
---|---|
protected A |
getArmorModelHook(T entity,
ItemStack itemStack,
EquipmentSlotType slot,
A model)
Hook to allow item-sensitive armor model.
|
protected void |
setModelSlotVisible(A modelIn,
EquipmentSlotType slotIn) |
protected void |
setModelVisible(A model) |
getArmorResource, getModelFromSlot, render
getEntityModel, getEntityTexture, renderCopyCutoutModel, renderCutoutModel
public BipedArmorLayer(IEntityRenderer<T,M> p_i50936_1_, A p_i50936_2_, A p_i50936_3_)
protected void setModelSlotVisible(A modelIn, EquipmentSlotType slotIn)
setModelSlotVisible
in class ArmorLayer<T extends LivingEntity,M extends BipedModel<T>,A extends BipedModel<T>>
protected void setModelVisible(A model)
setModelVisible
in class ArmorLayer<T extends LivingEntity,M extends BipedModel<T>,A extends BipedModel<T>>
protected A getArmorModelHook(T entity, ItemStack itemStack, EquipmentSlotType slot, A model)
ArmorLayer
getArmorModelHook
in class ArmorLayer<T extends LivingEntity,M extends BipedModel<T>,A extends BipedModel<T>>