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/ArmorFeatureRenderer
intermediary net/minecraft/class_970
official gnb
  • Field Details

    • ARMOR_TEXTURE_CACHE

      private static final Map<String,Identifier> ARMOR_TEXTURE_CACHE
      Mappings:
      Namespace Name Mixin selector
      named ARMOR_TEXTURE_CACHE Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;ARMOR_TEXTURE_CACHE:Ljava/util/Map;
      intermediary field_4829 Lnet/minecraft/class_970;field_4829:Ljava/util/Map;
      official a Lgnb;a:Ljava/util/Map;
    • innerModel

      private final A extends BipedEntityModel<T> innerModel
      Mappings:
      Namespace Name Mixin selector
      named innerModel Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;innerModel:Lnet/minecraft/client/render/entity/model/BipedEntityModel;
      intermediary field_4830 Lnet/minecraft/class_970;field_4830:Lnet/minecraft/class_572;
      official b Lgnb;b:Lfup;
    • outerModel

      private final A extends BipedEntityModel<T> outerModel
      Mappings:
      Namespace Name Mixin selector
      named outerModel Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;outerModel:Lnet/minecraft/client/render/entity/model/BipedEntityModel;
      intermediary field_4831 Lnet/minecraft/class_970;field_4831:Lnet/minecraft/class_572;
      official c Lgnb;c:Lfup;
    • armorTrimsAtlas

      private final SpriteAtlasTexture armorTrimsAtlas
      Mappings:
      Namespace Name Mixin selector
      named armorTrimsAtlas Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;armorTrimsAtlas:Lnet/minecraft/client/texture/SpriteAtlasTexture;
      intermediary field_42074 Lnet/minecraft/class_970;field_42074:Lnet/minecraft/class_1059;
      official d Lgnb;d:Lgpa;
  • 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;)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
      official <init> Lgnb;<init>(Lgkv;Lfup;Lfup;Lgri;)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 class FeatureRenderer<T extends LivingEntity,M extends BipedEntityModel<T>>
      Mappings:
      Namespace Name Mixin selector
      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
      intermediary method_17157 Lnet/minecraft/class_970;method_17157(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_1309;FFFFFF)V
      official a Lgnb;a(Lfaa;Lgdq;ILbtr;FFFFFF)V
    • renderArmor

      private void renderArmor(MatrixStack matrices, VertexConsumerProvider vertexConsumers, T entity, EquipmentSlot armorSlot, int light, A model)
      Mappings:
      Namespace Name Mixin selector
      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
      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
      official a Lgnb;a(Lfaa;Lgdq;Lbtr;Lbtd;ILfup;)V
    • setVisible

      protected void setVisible(A bipedModel, EquipmentSlot slot)
      Mappings:
      Namespace Name Mixin selector
      named setVisible Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;setVisible(Lnet/minecraft/client/render/entity/model/BipedEntityModel;Lnet/minecraft/entity/EquipmentSlot;)V
      intermediary method_4170 Lnet/minecraft/class_970;method_4170(Lnet/minecraft/class_572;Lnet/minecraft/class_1304;)V
      official a Lgnb;a(Lfup;Lbtd;)V
    • renderArmorParts

      private void renderArmorParts(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, A model, float red, float green, float blue, Identifier overlay)
      Mappings:
      Namespace Name Mixin selector
      named renderArmorParts Lnet/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;FFFLnet/minecraft/util/Identifier;)V
      intermediary method_23192 Lnet/minecraft/class_970;method_23192(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_572;FFFLnet/minecraft/class_2960;)V
      official a Lgnb;a(Lfaa;Lgdq;ILfup;FFFLalf;)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 renderTrim Lnet/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)V
      intermediary method_48482 Lnet/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)V
      official a Lgnb;a(Lji;Lfaa;Lgdq;ILcwv;Lfup;Z)V
    • renderGlint

      private void renderGlint(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, A model)
      Mappings:
      Namespace Name Mixin selector
      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
      intermediary method_52224 Lnet/minecraft/class_970;method_52224(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_572;)V
      official a Lgnb;a(Lfaa;Lgdq;ILfup;)V
    • getModel

      private A getModel(EquipmentSlot slot)
      Mappings:
      Namespace Name Mixin selector
      named getModel Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;getModel(Lnet/minecraft/entity/EquipmentSlot;)Lnet/minecraft/client/render/entity/model/BipedEntityModel;
      intermediary method_4172 Lnet/minecraft/class_970;method_4172(Lnet/minecraft/class_1304;)Lnet/minecraft/class_572;
      official a Lgnb;a(Lbtd;)Lfup;
    • usesInnerModel

      private boolean usesInnerModel(EquipmentSlot slot)
      Mappings:
      Namespace Name Mixin selector
      named usesInnerModel Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;usesInnerModel(Lnet/minecraft/entity/EquipmentSlot;)Z
      intermediary method_4173 Lnet/minecraft/class_970;method_4173(Lnet/minecraft/class_1304;)Z
      official b Lgnb;b(Lbtd;)Z