Class HeadFeatureRenderer<S extends LivingEntityRenderState,M extends EntityModel<S> & ModelWithHead>

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

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

    • field_53209

      private static final float field_53209
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_53209 Lnet/minecraft/client/render/entity/feature/HeadFeatureRenderer;field_53209:F
      intermediary field_53209 Lnet/minecraft/class_976;field_53209:F
      official a Lgvi;a:F
    • field_53210

      private static final float field_53210
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_53210 Lnet/minecraft/client/render/entity/feature/HeadFeatureRenderer;field_53210:F
      intermediary field_53210 Lnet/minecraft/class_976;field_53210:F
      official b Lgvi;b:F
    • headTransformation

      private final HeadFeatureRenderer.HeadTransformation headTransformation
      Mappings:
      Namespace Name Mixin selector
      named headTransformation Lnet/minecraft/client/render/entity/feature/HeadFeatureRenderer;headTransformation:Lnet/minecraft/client/render/entity/feature/HeadFeatureRenderer$HeadTransformation;
      intermediary field_53211 Lnet/minecraft/class_976;field_53211:Lnet/minecraft/class_976$class_9994;
      official c Lgvi;c:Lgvi$a;
    • 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 Lgvi;d:Ljava/util/Map;
    • heldItemRenderer

      private final ItemRenderer heldItemRenderer
      Mappings:
      Namespace Name Mixin selector
      named heldItemRenderer Lnet/minecraft/client/render/entity/feature/HeadFeatureRenderer;heldItemRenderer:Lnet/minecraft/client/render/item/ItemRenderer;
      intermediary field_38897 Lnet/minecraft/class_976;field_38897:Lnet/minecraft/class_918;
      official e Lgvi;e:Lgsn;
  • Constructor Details

    • HeadFeatureRenderer

      public HeadFeatureRenderer(FeatureRendererContext<S,M> context, EntityModelLoader loader, ItemRenderer itemRenderer)
      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/ItemRenderer;)V
      intermediary <init> Lnet/minecraft/class_976;<init>(Lnet/minecraft/class_3883;Lnet/minecraft/class_5599;Lnet/minecraft/class_918;)V
      official <init> Lgvi;<init>(Lgtm;Lgej;Lgsn;)V
    • HeadFeatureRenderer

      public HeadFeatureRenderer(FeatureRendererContext<S,M> context, EntityModelLoader loader, HeadFeatureRenderer.HeadTransformation headTransformation, ItemRenderer itemRenderer)
      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/entity/feature/HeadFeatureRenderer$HeadTransformation;Lnet/minecraft/client/render/item/ItemRenderer;)V
      intermediary <init> Lnet/minecraft/class_976;<init>(Lnet/minecraft/class_3883;Lnet/minecraft/class_5599;Lnet/minecraft/class_976$class_9994;Lnet/minecraft/class_918;)V
      official <init> Lgvi;<init>(Lgtm;Lgej;Lgvi$a;Lgsn;)V
  • Method Details

    • render

      public void render(MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, S s, float float2, float float3)
      Specified by:
      render in class FeatureRenderer<S extends LivingEntityRenderState,M extends EntityModel<S> & 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/client/render/entity/state/LivingEntityRenderState;FF)V
      intermediary method_17159 Lnet/minecraft/class_976;method_17159(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_10042;FF)V
      official a Lgvi;a(Lfgr;Lglk;ILgys;FF)V
    • translate

      public static void translate(MatrixStack matrices, HeadFeatureRenderer.HeadTransformation transformation)
      Mappings:
      Namespace Name Mixin selector
      named translate Lnet/minecraft/client/render/entity/feature/HeadFeatureRenderer;translate(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/entity/feature/HeadFeatureRenderer$HeadTransformation;)V
      intermediary method_32798 Lnet/minecraft/class_976;method_32798(Lnet/minecraft/class_4587;Lnet/minecraft/class_976$class_9994;)V
      official a Lgvi;a(Lfgr;Lgvi$a;)V