Class ArmorFeatureRenderer<T extends LivingEntity,M extends BipedEntityModel<T>,A extends BipedEntityModel<T>>
java.lang.Object
net.minecraft.client.render.entity.feature.FeatureRenderer<T,M>
net.minecraft.client.render.entity.feature.ArmorFeatureRenderer<T,M,A>
@Environment(CLIENT)
public class ArmorFeatureRenderer<T extends LivingEntity,M extends BipedEntityModel<T>,A extends BipedEntityModel<T>>
extends FeatureRenderer<T,M>
- Mappings:
Namespace Name named net/minecraft/client/render/entity/feature/ArmorFeatureRendererintermediary net/minecraft/class_970official gol
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Map<String, Identifier> private final SpriteAtlasTextureprivate final Aprivate final A -
Constructor Summary
ConstructorsConstructorDescriptionArmorFeatureRenderer(FeatureRendererContext<T, M> context, A innerModel, A outerModel, BakedModelManager bakery) -
Method Summary
Modifier and TypeMethodDescriptionprivate AgetModel(EquipmentSlot slot) voidrender(MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, T t, float float2, float float3, float float4, float float5, float float6, float float7) private voidrenderArmor(MatrixStack matrices, VertexConsumerProvider vertexConsumers, T entity, EquipmentSlot armorSlot, int light, A model) private voidrenderArmorParts(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, A model, int int2, Identifier identifier) private voidrenderGlint(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, A model) private voidrenderTrim(RegistryEntry<ArmorMaterial> armorMaterial, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, ArmorTrim trim, A model, boolean leggings) protected voidsetVisible(A bipedModel, EquipmentSlot slot) private booleanusesInnerModel(EquipmentSlot slot) Methods inherited from class net.minecraft.client.render.entity.feature.FeatureRenderer
getContextModel, getTexture, render, renderModel
-
Field Details
-
ARMOR_TEXTURE_CACHE
- Mappings:
Namespace Name Mixin selector named ARMOR_TEXTURE_CACHELnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;ARMOR_TEXTURE_CACHE:Ljava/util/Map;intermediary field_4829Lnet/minecraft/class_970;field_4829:Ljava/util/Map;official aLgol;a:Ljava/util/Map;
-
innerModel
- Mappings:
Namespace Name Mixin selector named innerModelLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;innerModel:Lnet/minecraft/client/render/entity/model/BipedEntityModel;intermediary field_4830Lnet/minecraft/class_970;field_4830:Lnet/minecraft/class_572;official bLgol;b:Lfvx;
-
outerModel
- Mappings:
Namespace Name Mixin selector named outerModelLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;outerModel:Lnet/minecraft/client/render/entity/model/BipedEntityModel;intermediary field_4831Lnet/minecraft/class_970;field_4831:Lnet/minecraft/class_572;official cLgol;c:Lfvx;
-
armorTrimsAtlas
- Mappings:
Namespace Name Mixin selector named armorTrimsAtlasLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;armorTrimsAtlas:Lnet/minecraft/client/texture/SpriteAtlasTexture;intermediary field_42074Lnet/minecraft/class_970;field_42074:Lnet/minecraft/class_1059;official dLgol;d:Lgqk;
-
-
Constructor Details
-
ArmorFeatureRenderer
public ArmorFeatureRenderer(FeatureRendererContext<T, M> context, A innerModel, A outerModel, BakedModelManager bakery) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;<init>(Lnet/minecraft/client/render/entity/feature/FeatureRendererContext;Lnet/minecraft/client/render/entity/model/BipedEntityModel;Lnet/minecraft/client/render/entity/model/BipedEntityModel;Lnet/minecraft/client/render/model/BakedModelManager;)Vintermediary <init>Lnet/minecraft/class_970;<init>(Lnet/minecraft/class_3883;Lnet/minecraft/class_572;Lnet/minecraft/class_572;Lnet/minecraft/class_1092;)Vofficial <init>Lgol;<init>(Lgmf;Lfvx;Lfvx;Lgst;)V
-
-
Method Details
-
render
public void render(MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, T t, float float2, float float3, float float4, float float5, float float6, float float7) - Specified by:
renderin classFeatureRenderer<T extends LivingEntity,M extends BipedEntityModel<T>> - Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/entity/LivingEntity;FFFFFF)Vintermediary method_17157Lnet/minecraft/class_970;method_17157(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_1309;FFFFFF)Vofficial aLgol;a(Lfbi;Lgez;ILbtn;FFFFFF)V
-
renderArmor
private void renderArmor(MatrixStack matrices, VertexConsumerProvider vertexConsumers, T entity, EquipmentSlot armorSlot, int light, A model) - Mappings:
Namespace Name Mixin selector named renderArmorLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;renderArmor(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/EquipmentSlot;ILnet/minecraft/client/render/entity/model/BipedEntityModel;)Vintermediary method_4169Lnet/minecraft/class_970;method_4169(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_1309;Lnet/minecraft/class_1304;ILnet/minecraft/class_572;)Vofficial aLgol;a(Lfbi;Lgez;Lbtn;Lbsy;ILfvx;)V
-
setVisible
- Mappings:
Namespace Name Mixin selector named setVisibleLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;setVisible(Lnet/minecraft/client/render/entity/model/BipedEntityModel;Lnet/minecraft/entity/EquipmentSlot;)Vintermediary method_4170Lnet/minecraft/class_970;method_4170(Lnet/minecraft/class_572;Lnet/minecraft/class_1304;)Vofficial aLgol;a(Lfvx;Lbsy;)V
-
renderArmorParts
private void renderArmorParts(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, A model, int int2, Identifier identifier) - Mappings:
Namespace Name Mixin selector named renderArmorPartsLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;renderArmorParts(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/client/render/entity/model/BipedEntityModel;ILnet/minecraft/util/Identifier;)Vintermediary method_23192Lnet/minecraft/class_970;method_23192(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_572;ILnet/minecraft/class_2960;)Vofficial aLgol;a(Lfbi;Lgez;ILfvx;ILakr;)V
-
renderTrim
private void renderTrim(RegistryEntry<ArmorMaterial> armorMaterial, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, ArmorTrim trim, A model, boolean leggings) - Mappings:
Namespace Name Mixin selector named renderTrimLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;renderTrim(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/item/trim/ArmorTrim;Lnet/minecraft/client/render/entity/model/BipedEntityModel;Z)Vintermediary method_48482Lnet/minecraft/class_970;method_48482(Lnet/minecraft/class_6880;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_8053;Lnet/minecraft/class_572;Z)Vofficial aLgol;a(Ljm;Lfbi;Lgez;ILcwx;Lfvx;Z)V
-
renderGlint
private void renderGlint(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, A model) - Mappings:
Namespace Name Mixin selector named renderGlintLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;renderGlint(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/client/render/entity/model/BipedEntityModel;)Vintermediary method_52224Lnet/minecraft/class_970;method_52224(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_572;)Vofficial aLgol;a(Lfbi;Lgez;ILfvx;)V
-
getModel
- Mappings:
Namespace Name Mixin selector named getModelLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;getModel(Lnet/minecraft/entity/EquipmentSlot;)Lnet/minecraft/client/render/entity/model/BipedEntityModel;intermediary method_4172Lnet/minecraft/class_970;method_4172(Lnet/minecraft/class_1304;)Lnet/minecraft/class_572;official aLgol;a(Lbsy;)Lfvx;
-
usesInnerModel
- Mappings:
Namespace Name Mixin selector named usesInnerModelLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;usesInnerModel(Lnet/minecraft/entity/EquipmentSlot;)Zintermediary method_4173Lnet/minecraft/class_970;method_4173(Lnet/minecraft/class_1304;)Zofficial bLgol;b(Lbsy;)Z
-