Class HeadFeatureRenderer<T extends LivingEntity,M extends EntityModel<T> & ModelWithHead>

java.lang.Object
net.minecraft.client.render.entity.feature.FeatureRenderer<T,M>
net.minecraft.client.render.entity.feature.HeadFeatureRenderer<T,M>

@Environment(CLIENT) public class HeadFeatureRenderer<T extends LivingEntity,M extends EntityModel<T> & ModelWithHead> extends FeatureRenderer<T,M>
Mappings:
Namespace Name
named net/minecraft/client/render/entity/feature/HeadFeatureRenderer
intermediary net/minecraft/class_976
official gmq
  • Field Details

    • scaleX

      private final float scaleX
      Mappings:
      Namespace Name Mixin selector
      named scaleX Lnet/minecraft/client/render/entity/feature/HeadFeatureRenderer;scaleX:F
      intermediary field_24474 Lnet/minecraft/class_976;field_24474:F
      official a Lgmq;a:F
    • scaleY

      private final float scaleY
      Mappings:
      Namespace Name Mixin selector
      named scaleY Lnet/minecraft/client/render/entity/feature/HeadFeatureRenderer;scaleY:F
      intermediary field_24475 Lnet/minecraft/class_976;field_24475:F
      official b Lgmq;b:F
    • scaleZ

      private final float scaleZ
      Mappings:
      Namespace Name Mixin selector
      named scaleZ Lnet/minecraft/client/render/entity/feature/HeadFeatureRenderer;scaleZ:F
      intermediary field_24476 Lnet/minecraft/class_976;field_24476:F
      official c Lgmq;c:F
    • headModels

      private final Map<SkullBlock.SkullType,SkullBlockEntityModel> headModels
      Mappings:
      Namespace Name Mixin selector
      named headModels Lnet/minecraft/client/render/entity/feature/HeadFeatureRenderer;headModels:Ljava/util/Map;
      intermediary field_27771 Lnet/minecraft/class_976;field_27771:Ljava/util/Map;
      official d Lgmq;d:Ljava/util/Map;
    • heldItemRenderer

      private final HeldItemRenderer heldItemRenderer
      Mappings:
      Namespace Name Mixin selector
      named heldItemRenderer Lnet/minecraft/client/render/entity/feature/HeadFeatureRenderer;heldItemRenderer:Lnet/minecraft/client/render/item/HeldItemRenderer;
      intermediary field_38897 Lnet/minecraft/class_976;field_38897:Lnet/minecraft/class_759;
      official e Lgmq;e:Lgdm;
  • Constructor Details

    • HeadFeatureRenderer

      public HeadFeatureRenderer(FeatureRendererContext<T,M> context, EntityModelLoader loader, HeldItemRenderer heldItemRenderer)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/entity/feature/HeadFeatureRenderer;<init>(Lnet/minecraft/client/render/entity/feature/FeatureRendererContext;Lnet/minecraft/client/render/entity/model/EntityModelLoader;Lnet/minecraft/client/render/item/HeldItemRenderer;)V
      intermediary <init> Lnet/minecraft/class_976;<init>(Lnet/minecraft/class_3883;Lnet/minecraft/class_5599;Lnet/minecraft/class_759;)V
      official <init> Lgmq;<init>(Lgkv;Lfwy;Lgdm;)V
    • HeadFeatureRenderer

      public HeadFeatureRenderer(FeatureRendererContext<T,M> context, EntityModelLoader loader, float scaleX, float scaleY, float scaleZ, HeldItemRenderer heldItemRenderer)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/entity/feature/HeadFeatureRenderer;<init>(Lnet/minecraft/client/render/entity/feature/FeatureRendererContext;Lnet/minecraft/client/render/entity/model/EntityModelLoader;FFFLnet/minecraft/client/render/item/HeldItemRenderer;)V
      intermediary <init> Lnet/minecraft/class_976;<init>(Lnet/minecraft/class_3883;Lnet/minecraft/class_5599;FFFLnet/minecraft/class_759;)V
      official <init> Lgmq;<init>(Lgkv;Lfwy;FFFLgdm;)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 EntityModel<T> & ModelWithHead>
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/render/entity/feature/HeadFeatureRenderer;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/entity/LivingEntity;FFFFFF)V
      intermediary method_17159 Lnet/minecraft/class_976;method_17159(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_1309;FFFFFF)V
      official a Lgmq;a(Lfaa;Lgdq;ILbtr;FFFFFF)V
    • translate

      public static void translate(MatrixStack matrices, boolean villager)
      Mappings:
      Namespace Name Mixin selector
      named translate Lnet/minecraft/client/render/entity/feature/HeadFeatureRenderer;translate(Lnet/minecraft/client/util/math/MatrixStack;Z)V
      intermediary method_32798 Lnet/minecraft/class_976;method_32798(Lnet/minecraft/class_4587;Z)V
      official a Lgmq;a(Lfaa;Z)V