类 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 eukintermediary net/minecraft/class_970named net/minecraft/client/render/entity/feature/ArmorFeatureRenderer
-
-
字段概要
字段 修饰符和类型 字段 说明 private static Map<String,Identifier>ARMOR_TEXTURE_CACHEprivate AbodyModelprivate AleggingsModel
-
构造器概要
构造器 构造器 说明 ArmorFeatureRenderer(FeatureRendererContext<T,M> context, A leggingsModel, A bodyModel)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 private AgetArmor(EquipmentSlot slot)private IdentifiergetArmorTexture(ArmorItem item, boolean legs, @Nullable String overlay)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, ArmorItem item, boolean usesSecondLayer, A model, boolean legs, float red, float green, float blue, @Nullable String overlay)protected voidsetVisible(A bipedModel, EquipmentSlot slot)private booleanusesSecondLayer(EquipmentSlot slot)-
从类继承的方法 net.minecraft.client.render.entity.feature.FeatureRenderer
getContextModel, getTexture, render, renderModel
-
-
-
-
字段详细资料
-
ARMOR_TEXTURE_CACHE
private static final Map<String,Identifier> ARMOR_TEXTURE_CACHE
- Mappings:
Namespace Name Mixin selector official aLeuk;a:Ljava/util/Map;intermediary field_4829Lnet/minecraft/class_970;field_4829:Ljava/util/Map;named ARMOR_TEXTURE_CACHELnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;ARMOR_TEXTURE_CACHE:Ljava/util/Map;
-
leggingsModel
private final A extends BipedEntityModel<T> leggingsModel
- Mappings:
Namespace Name Mixin selector official bLeuk;b:Lefa;intermediary field_4830Lnet/minecraft/class_970;field_4830:Lnet/minecraft/class_572;named leggingsModelLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;leggingsModel:Lnet/minecraft/client/render/entity/model/BipedEntityModel;
-
bodyModel
private final A extends BipedEntityModel<T> bodyModel
- Mappings:
Namespace Name Mixin selector official cLeuk;c:Lefa;intermediary field_4831Lnet/minecraft/class_970;field_4831:Lnet/minecraft/class_572;named bodyModelLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;bodyModel:Lnet/minecraft/client/render/entity/model/BipedEntityModel;
-
-
构造器详细资料
-
ArmorFeatureRenderer
public ArmorFeatureRenderer(FeatureRendererContext<T,M> context, A leggingsModel, A bodyModel)
- Mappings:
Namespace Name Mixin selector official <init>Leuk;<init>(Lesk;Lefa;Lefa;)Vintermediary <init>Lnet/minecraft/class_970;<init>(Lnet/minecraft/class_3883;Lnet/minecraft/class_572;Lnet/minecraft/class_572;)Vnamed <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;)V
-
-
方法详细资料
-
render
public void render(MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, T t, float float2, float float3, float float4, float float5, float float6, float float7)
- 指定者:
render在类中FeatureRenderer<T extends LivingEntity,M extends BipedEntityModel<T>>- Mappings:
Namespace Name Mixin selector official aLeuk;a(Ldpi;Lema;ILasy;FFFFFF)Vintermediary method_17157Lnet/minecraft/class_970;method_17157(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_1309;FFFFFF)Vnamed renderLnet/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 aLeuk;a(Ldpi;Lema;Lasy;Lasq;ILefa;)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;)Vnamed 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;)V
-
setVisible
protected void setVisible(A bipedModel, EquipmentSlot slot)
- Mappings:
Namespace Name Mixin selector official aLeuk;a(Lefa;Lasq;)Vintermediary method_4170Lnet/minecraft/class_970;method_4170(Lnet/minecraft/class_572;Lnet/minecraft/class_1304;)Vnamed setVisibleLnet/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, boolean usesSecondLayer, A model, boolean legs, float red, float green, float blue, @Nullable @Nullable String overlay)
- Mappings:
Namespace Name Mixin selector official aLeuk;a(Ldpi;Lema;ILbnm;ZLefa;ZFFFLjava/lang/String;)Vintermediary method_23192Lnet/minecraft/class_970;method_23192(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_1738;ZLnet/minecraft/class_572;ZFFFLjava/lang/String;)Vnamed renderArmorPartsLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;renderArmorParts(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/item/ArmorItem;ZLnet/minecraft/client/render/entity/model/BipedEntityModel;ZFFFLjava/lang/String;)V
-
getArmor
private A getArmor(EquipmentSlot slot)
- Mappings:
Namespace Name Mixin selector official aLeuk;a(Lasq;)Lefa;intermediary method_4172Lnet/minecraft/class_970;method_4172(Lnet/minecraft/class_1304;)Lnet/minecraft/class_572;named getArmorLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;getArmor(Lnet/minecraft/entity/EquipmentSlot;)Lnet/minecraft/client/render/entity/model/BipedEntityModel;
-
usesSecondLayer
private boolean usesSecondLayer(EquipmentSlot slot)
- Mappings:
Namespace Name Mixin selector official bLeuk;b(Lasq;)Zintermediary method_4173Lnet/minecraft/class_970;method_4173(Lnet/minecraft/class_1304;)Znamed usesSecondLayerLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;usesSecondLayer(Lnet/minecraft/entity/EquipmentSlot;)Z
-
getArmorTexture
private Identifier getArmorTexture(ArmorItem item, boolean legs, @Nullable @Nullable String overlay)
- Mappings:
Namespace Name Mixin selector official aLeuk;a(Lbnm;ZLjava/lang/String;)Lwp;intermediary method_4174Lnet/minecraft/class_970;method_4174(Lnet/minecraft/class_1738;ZLjava/lang/String;)Lnet/minecraft/class_2960;named getArmorTextureLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;getArmorTexture(Lnet/minecraft/item/ArmorItem;ZLjava/lang/String;)Lnet/minecraft/util/Identifier;
-
-