Class ArmorFeatureRenderer<T extends EntityModel>

java.lang.Object
net.minecraft.client.render.entity.feature.ArmorFeatureRenderer<T>
All Implemented Interfaces:
FeatureRenderer<LivingEntity>
Direct Known Subclasses:
ArmorRenderer

@Environment(CLIENT) public abstract class ArmorFeatureRenderer<T extends EntityModel> extends Object implements FeatureRenderer<LivingEntity>
Mappings:
Namespace Name
official bwz
intermediary net/minecraft/class_2494
named net/minecraft/client/render/entity/feature/ArmorFeatureRenderer
  • Field Details

    • GLINT_TEXTURE

      protected static final Identifier GLINT_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official b Lbwz;b:Lkq;
      intermediary field_11143 Lnet/minecraft/class_2494;field_11143:Lnet/minecraft/class_1653;
      named GLINT_TEXTURE Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;GLINT_TEXTURE:Lnet/minecraft/util/Identifier;
    • ARMOR_TEXTURE_CACHE

      private static final Map<String,Identifier> ARMOR_TEXTURE_CACHE
      Mappings:
      Namespace Name Mixin selector
      official j Lbwz;j:Ljava/util/Map;
      intermediary field_11151 Lnet/minecraft/class_2494;field_11151:Ljava/util/Map;
      named ARMOR_TEXTURE_CACHE Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;ARMOR_TEXTURE_CACHE:Ljava/util/Map;
    • secondLayer

      protected T extends EntityModel secondLayer
      Mappings:
      Namespace Name Mixin selector
      official c Lbwz;c:Lblv;
      intermediary field_11144 Lnet/minecraft/class_2494;field_11144:Lnet/minecraft/class_444;
      named secondLayer Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;secondLayer:Lnet/minecraft/client/render/entity/model/EntityModel;
    • firstLayer

      protected T extends EntityModel firstLayer
      Mappings:
      Namespace Name Mixin selector
      official d Lbwz;d:Lblv;
      intermediary field_11145 Lnet/minecraft/class_2494;field_11145:Lnet/minecraft/class_444;
      named firstLayer Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;firstLayer:Lnet/minecraft/client/render/entity/model/EntityModel;
    • renderer

      private final LivingEntityRenderer<?> renderer
      Mappings:
      Namespace Name Mixin selector
      official a Lbwz;a:Lbvl;
      intermediary field_11142 Lnet/minecraft/class_2494;field_11142:Lnet/minecraft/class_1635;
      named renderer Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;renderer:Lnet/minecraft/client/render/entity/LivingEntityRenderer;
    • alpha

      private float alpha
      Mappings:
      Namespace Name Mixin selector
      official e Lbwz;e:F
      intermediary field_11146 Lnet/minecraft/class_2494;field_11146:F
      named alpha Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;alpha:F
    • red

      private float red
      Mappings:
      Namespace Name Mixin selector
      official f Lbwz;f:F
      intermediary field_11147 Lnet/minecraft/class_2494;field_11147:F
      named red Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;red:F
    • blue

      private float blue
      Mappings:
      Namespace Name Mixin selector
      official g Lbwz;g:F
      intermediary field_11148 Lnet/minecraft/class_2494;field_11148:F
      named blue Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;blue:F
    • green

      private float green
      Mappings:
      Namespace Name Mixin selector
      official h Lbwz;h:F
      intermediary field_11149 Lnet/minecraft/class_2494;field_11149:F
      named green Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;green:F
    • field_11150

      private boolean field_11150
      Mappings:
      Namespace Name Mixin selector
      official i Lbwz;i:Z
      intermediary field_11150 Lnet/minecraft/class_2494;field_11150:Z
      named field_11150 Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;field_11150:Z
  • Constructor Details

    • ArmorFeatureRenderer

      public ArmorFeatureRenderer(LivingEntityRenderer<?> renderer)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbwz;<init>(Lbvl;)V
      intermediary <init> Lnet/minecraft/class_2494;<init>(Lnet/minecraft/class_1635;)V
      named <init> Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;<init>(Lnet/minecraft/client/render/entity/LivingEntityRenderer;)V
  • Method Details

    • render

      public void render(LivingEntity entity, float handSwing, float handSwingAmount, float tickDelta, float age, float headYaw, float headPitch, float scale)
      Specified by:
      render in interface FeatureRenderer<T extends EntityModel>
      Mappings:
      Namespace Name Mixin selector
      official a Lbxp;a(Lsw;FFFFFFF)V
      intermediary method_10295 Lnet/minecraft/class_2508;method_10295(Lnet/minecraft/class_1699;FFFFFFF)V
      named render Lnet/minecraft/client/render/entity/feature/FeatureRenderer;render(Lnet/minecraft/entity/LivingEntity;FFFFFFF)V
    • combineTextures

      public boolean combineTextures()
      Specified by:
      combineTextures in interface FeatureRenderer<T extends EntityModel>
      Mappings:
      Namespace Name Mixin selector
      official a Lbxp;a()Z
      intermediary method_10296 Lnet/minecraft/class_2508;method_10296()Z
      named combineTextures Lnet/minecraft/client/render/entity/feature/FeatureRenderer;combineTextures()Z
    • method_10278

      private void method_10278(LivingEntity livingEntity, float float2, float float3, float float4, float float5, float float6, float float7, float float8, EquipmentSlot equipmentSlot)
      Mappings:
      Namespace Name Mixin selector
      official a Lbwz;a(Lsw;FFFFFFFLss;)V
      intermediary method_10278 Lnet/minecraft/class_2494;method_10278(Lnet/minecraft/class_1699;FFFFFFFLnet/minecraft/class_2968;)V
      named method_10278 Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;method_10278(Lnet/minecraft/entity/LivingEntity;FFFFFFFLnet/minecraft/entity/EquipmentSlot;)V
    • method_12480

      public T method_12480(EquipmentSlot equipmentSlot)
      Mappings:
      Namespace Name Mixin selector
      official a Lbwz;a(Lss;)Lblv;
      intermediary method_12480 Lnet/minecraft/class_2494;method_12480(Lnet/minecraft/class_2968;)Lnet/minecraft/class_444;
      named method_12480 Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;method_12480(Lnet/minecraft/entity/EquipmentSlot;)Lnet/minecraft/client/render/entity/model/EntityModel;
    • method_12481

      private boolean method_12481(EquipmentSlot equipmentSlot)
      Mappings:
      Namespace Name Mixin selector
      official b Lbwz;b(Lss;)Z
      intermediary method_12481 Lnet/minecraft/class_2494;method_12481(Lnet/minecraft/class_2968;)Z
      named method_12481 Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;method_12481(Lnet/minecraft/entity/EquipmentSlot;)Z
    • method_12479

      public static void method_12479(LivingEntityRenderer<?> livingEntityRenderer, LivingEntity livingEntity, EntityModel entityModel, float float2, float float3, float float4, float float5, float float6, float float7, float float8)
      Mappings:
      Namespace Name Mixin selector
      official a Lbwz;a(Lbvl;Lsw;Lblv;FFFFFFF)V
      intermediary method_12479 Lnet/minecraft/class_2494;method_12479(Lnet/minecraft/class_1635;Lnet/minecraft/class_1699;Lnet/minecraft/class_444;FFFFFFF)V
      named method_12479 Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;method_12479(Lnet/minecraft/client/render/entity/LivingEntityRenderer;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/client/render/entity/model/EntityModel;FFFFFFF)V
    • method_10281

      private Identifier method_10281(ArmorItem armorItem, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lbwz;a(Ladp;Z)Lkq;
      intermediary method_10281 Lnet/minecraft/class_2494;method_10281(Lnet/minecraft/class_1028;Z)Lnet/minecraft/class_1653;
      named method_10281 Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;method_10281(Lnet/minecraft/item/ArmorItem;Z)Lnet/minecraft/util/Identifier;
    • getArmorTexture

      private Identifier getArmorTexture(ArmorItem item, boolean secondLayer, String overlay)
      Mappings:
      Namespace Name Mixin selector
      official a Lbwz;a(Ladp;ZLjava/lang/String;)Lkq;
      intermediary method_10282 Lnet/minecraft/class_2494;method_10282(Lnet/minecraft/class_1028;ZLjava/lang/String;)Lnet/minecraft/class_1653;
      named getArmorTexture Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;getArmorTexture(Lnet/minecraft/item/ArmorItem;ZLjava/lang/String;)Lnet/minecraft/util/Identifier;
    • init

      protected abstract void init()
      Mappings:
      Namespace Name Mixin selector
      official L_ Lbwz;L_()V
      intermediary method_10275 Lnet/minecraft/class_2494;method_10275()V
      named init Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;init()V
    • method_10277

      protected abstract void method_10277(T t, EquipmentSlot equipmentSlot)
      Mappings:
      Namespace Name Mixin selector
      official a Lbwz;a(Lblv;Lss;)V
      intermediary method_10277 Lnet/minecraft/class_2494;method_10277(Lnet/minecraft/class_444;Lnet/minecraft/class_2968;)V
      named method_10277 Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;method_10277(Lnet/minecraft/client/render/entity/model/EntityModel;Lnet/minecraft/entity/EquipmentSlot;)V