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 bkn
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 Lbkn;b:Ljy;
      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 Lbkn;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 Lbkn;c:Lbbo;
      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 Lbkn;d:Lbbo;
      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 Lbkn;a:Lbjl;
      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 Lbkn;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 Lbkn;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 Lbkn;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 Lbkn;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 Lbkn;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> Lbkn;<init>(Lbjl;)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 Lblb;a(Lpr;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 b Lblb;b()Z
      intermediary method_10296 Lnet/minecraft/class_2508;method_10296()Z
      named combineTextures Lnet/minecraft/client/render/entity/feature/FeatureRenderer;combineTextures()Z
    • renderFeature

      private void renderFeature(LivingEntity entity, float handSwing, float handSwingAmount, float tickDelta, float age, float headYaw, float headPitch, float scale, int slot)
      Mappings:
      Namespace Name Mixin selector
      official a Lbkn;a(Lpr;FFFFFFFI)V
      intermediary method_10278 Lnet/minecraft/class_2494;method_10278(Lnet/minecraft/class_1699;FFFFFFFI)V
      named renderFeature Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;renderFeature(Lnet/minecraft/entity/LivingEntity;FFFFFFFI)V
    • method_10279

      public ItemStack method_10279(LivingEntity livingEntity, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lbkn;a(Lpr;I)Lzx;
      intermediary method_10279 Lnet/minecraft/class_2494;method_10279(Lnet/minecraft/class_1699;I)Lnet/minecraft/class_1071;
      named method_10279 Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;method_10279(Lnet/minecraft/entity/LivingEntity;I)Lnet/minecraft/item/ItemStack;
    • getLayer

      public T getLayer(int slot)
      Mappings:
      Namespace Name Mixin selector
      official a Lbkn;a(I)Lbbo;
      intermediary method_10276 Lnet/minecraft/class_2494;method_10276(I)Lnet/minecraft/class_444;
      named getLayer Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;getLayer(I)Lnet/minecraft/client/render/entity/model/EntityModel;
    • usesSecondLayer

      private boolean usesSecondLayer(int slot)
      Mappings:
      Namespace Name Mixin selector
      official b Lbkn;b(I)Z
      intermediary method_10283 Lnet/minecraft/class_2494;method_10283(I)Z
      named usesSecondLayer Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;usesSecondLayer(I)Z
    • method_10280

      private void method_10280(LivingEntity livingEntity, T t, float float2, float float3, float float4, float float5, float float6, float float7, float float8)
      Mappings:
      Namespace Name Mixin selector
      official a Lbkn;a(Lpr;Lbbo;FFFFFFF)V
      intermediary method_10280 Lnet/minecraft/class_2494;method_10280(Lnet/minecraft/class_1699;Lnet/minecraft/class_444;FFFFFFF)V
      named method_10280 Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;method_10280(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 Lbkn;a(Lyj;Z)Ljy;
      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 Lbkn;a(Lyj;ZLjava/lang/String;)Ljy;
      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 a Lbkn;a()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, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lbkn;a(Lbbo;I)V
      intermediary method_10277 Lnet/minecraft/class_2494;method_10277(Lnet/minecraft/class_444;I)V
      named method_10277 Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;method_10277(Lnet/minecraft/client/render/entity/model/EntityModel;I)V