@Environment(value=CLIENT) public class PiglinBipedArmorFeatureRenderer<T extends LivingEntity,M extends BipedEntityModel<T>,A extends BipedEntityModel<T>> extends ArmorBipedFeatureRenderer<T,M,A>
Modifier and Type | Field and Description |
---|---|
private A |
helmetModel |
ARMOR_TEXTURE_CACHE, bodyModel, leggingsModel
Constructor and Description |
---|
PiglinBipedArmorFeatureRenderer(FeatureRendererContext<T,M> featureRendererContext,
A a,
A a2,
A helmetModel) |
Modifier and Type | Method and Description |
---|---|
A |
getArmor(EquipmentSlot slot) |
protected Identifier |
getArmorTexture(EquipmentSlot slot,
ArmorItem item,
boolean secondLayer,
String suffix) |
setInvisible, setVisible
render
getContextModel, getTexture, render, renderModel
private final A extends BipedEntityModel<T> helmetModel
public A getArmor(EquipmentSlot slot)
getArmor
in class ArmorFeatureRenderer<T extends LivingEntity,M extends BipedEntityModel<T>,A extends BipedEntityModel<T>>
protected Identifier getArmorTexture(EquipmentSlot slot, ArmorItem item, boolean secondLayer, @Nullable String suffix)
getArmorTexture
in class ArmorFeatureRenderer<T extends LivingEntity,M extends BipedEntityModel<T>,A extends BipedEntityModel<T>>