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 official fsw
intermediary net/minecraft/class_970
named net/minecraft/client/render/entity/feature/ArmorFeatureRenderer
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Map<String,
Identifier> private final SpriteAtlasTexture
private final A
private final A
-
Constructor Summary
ConstructorDescriptionArmorFeatureRenderer
(FeatureRendererContext<T, M> context, A innerModel, A outerModel, BakedModelManager bakery) -
Method Summary
Modifier and TypeMethodDescriptionprivate Identifier
getArmorTexture
(ArmorItem item, boolean secondLayer, @Nullable String overlay) private A
getModel
(EquipmentSlot slot) void
render
(MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, T t, float float2, float float3, float float4, float float5, float float6, float float7) private void
renderArmor
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, T entity, EquipmentSlot armorSlot, int light, A model) private void
renderArmorParts
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, ArmorItem item, A model, boolean secondTextureLayer, float red, float green, float blue, @Nullable String overlay) private void
renderGlint
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, A model) private void
renderTrim
(ArmorMaterial material, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, ArmorTrim trim, A model, boolean leggings) protected void
setVisible
(A bipedModel, EquipmentSlot slot) private boolean
usesInnerModel
(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 official a
Lfsw;a:Ljava/util/Map;
intermediary field_4829
Lnet/minecraft/class_970;field_4829:Ljava/util/Map;
named ARMOR_TEXTURE_CACHE
Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;ARMOR_TEXTURE_CACHE:Ljava/util/Map;
-
innerModel
- Mappings:
Namespace Name Mixin selector official b
Lfsw;b:Lfbs;
intermediary field_4830
Lnet/minecraft/class_970;field_4830:Lnet/minecraft/class_572;
named innerModel
Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;innerModel:Lnet/minecraft/client/render/entity/model/BipedEntityModel;
-
outerModel
- Mappings:
Namespace Name Mixin selector official c
Lfsw;c:Lfbs;
intermediary field_4831
Lnet/minecraft/class_970;field_4831:Lnet/minecraft/class_572;
named outerModel
Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;outerModel:Lnet/minecraft/client/render/entity/model/BipedEntityModel;
-
armorTrimsAtlas
- Mappings:
Namespace Name Mixin selector official d
Lfsw;d:Lfuu;
intermediary field_42074
Lnet/minecraft/class_970;field_42074:Lnet/minecraft/class_1059;
named armorTrimsAtlas
Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;armorTrimsAtlas:Lnet/minecraft/client/texture/SpriteAtlasTexture;
-
-
Constructor Details
-
ArmorFeatureRenderer
public ArmorFeatureRenderer(FeatureRendererContext<T, M> context, A innerModel, A outerModel, BakedModelManager bakery) - Mappings:
Namespace Name Mixin selector official <init>
Lfsw;<init>(Lfqt;Lfbs;Lfbs;Lfwx;)V
intermediary <init>
Lnet/minecraft/class_970;<init>(Lnet/minecraft/class_3883;Lnet/minecraft/class_572;Lnet/minecraft/class_572;Lnet/minecraft/class_1092;)V
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;)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:
render
in classFeatureRenderer<T extends LivingEntity,
M extends BipedEntityModel<T>> - Mappings:
Namespace Name Mixin selector official a
Lfsw;a(Leij;Lfjx;ILbfz;FFFFFF)V
intermediary method_17157
Lnet/minecraft/class_970;method_17157(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_1309;FFFFFF)V
named render
Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/entity/LivingEntity;FFFFFF)V
-
renderArmor
private void renderArmor(MatrixStack matrices, VertexConsumerProvider vertexConsumers, T entity, EquipmentSlot armorSlot, int light, A model) - Mappings:
Namespace Name Mixin selector official a
Lfsw;a(Leij;Lfjx;Lbfz;Lbfo;ILfbs;)V
intermediary method_4169
Lnet/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;)V
named renderArmor
Lnet/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;)V
-
setVisible
- Mappings:
Namespace Name Mixin selector official a
Lfsw;a(Lfbs;Lbfo;)V
intermediary method_4170
Lnet/minecraft/class_970;method_4170(Lnet/minecraft/class_572;Lnet/minecraft/class_1304;)V
named setVisible
Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;setVisible(Lnet/minecraft/client/render/entity/model/BipedEntityModel;Lnet/minecraft/entity/EquipmentSlot;)V
-
renderArmorParts
private void renderArmorParts(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, ArmorItem item, A model, boolean secondTextureLayer, float red, float green, float blue, @Nullable @Nullable String overlay) - Mappings:
Namespace Name Mixin selector official a
Lfsw;a(Leij;Lfjx;ILcdj;Lfbs;ZFFFLjava/lang/String;)V
intermediary method_23192
Lnet/minecraft/class_970;method_23192(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_1738;Lnet/minecraft/class_572;ZFFFLjava/lang/String;)V
named renderArmorParts
Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;renderArmorParts(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/item/ArmorItem;Lnet/minecraft/client/render/entity/model/BipedEntityModel;ZFFFLjava/lang/String;)V
-
renderTrim
private void renderTrim(ArmorMaterial material, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, ArmorTrim trim, A model, boolean leggings) - Mappings:
Namespace Name Mixin selector official a
Lfsw;a(Lcdk;Leij;Lfjx;ILcib;Lfbs;Z)V
intermediary method_48482
Lnet/minecraft/class_970;method_48482(Lnet/minecraft/class_1741;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_8053;Lnet/minecraft/class_572;Z)V
named renderTrim
Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;renderTrim(Lnet/minecraft/item/ArmorMaterial;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/item/trim/ArmorTrim;Lnet/minecraft/client/render/entity/model/BipedEntityModel;Z)V
-
renderGlint
private void renderGlint(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, A model) - Mappings:
Namespace Name Mixin selector official a
Lfsw;a(Leij;Lfjx;ILfbs;)V
intermediary method_52224
Lnet/minecraft/class_970;method_52224(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_572;)V
named renderGlint
Lnet/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;)V
-
getModel
- Mappings:
Namespace Name Mixin selector official a
Lfsw;a(Lbfo;)Lfbs;
intermediary method_4172
Lnet/minecraft/class_970;method_4172(Lnet/minecraft/class_1304;)Lnet/minecraft/class_572;
named getModel
Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;getModel(Lnet/minecraft/entity/EquipmentSlot;)Lnet/minecraft/client/render/entity/model/BipedEntityModel;
-
usesInnerModel
- Mappings:
Namespace Name Mixin selector official b
Lfsw;b(Lbfo;)Z
intermediary method_4173
Lnet/minecraft/class_970;method_4173(Lnet/minecraft/class_1304;)Z
named usesInnerModel
Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;usesInnerModel(Lnet/minecraft/entity/EquipmentSlot;)Z
-
getArmorTexture
private Identifier getArmorTexture(ArmorItem item, boolean secondLayer, @Nullable @Nullable String overlay) - Mappings:
Namespace Name Mixin selector official a
Lfsw;a(Lcdj;ZLjava/lang/String;)Lacq;
intermediary method_4174
Lnet/minecraft/class_970;method_4174(Lnet/minecraft/class_1738;ZLjava/lang/String;)Lnet/minecraft/class_2960;
named getArmorTexture
Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;getArmorTexture(Lnet/minecraft/item/ArmorItem;ZLjava/lang/String;)Lnet/minecraft/util/Identifier;
-