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 official evg
intermediary net/minecraft/class_976
named net/minecraft/client/render/entity/feature/HeadFeatureRenderer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<SkullBlock.SkullType,
SkullBlockEntityModel> private final float
private final float
private final float
-
Constructor Summary
ConstructorDescriptionHeadFeatureRenderer
(FeatureRendererContext<T, M> context, EntityModelLoader loader) HeadFeatureRenderer
(FeatureRendererContext<T, M> context, EntityModelLoader loader, float scaleX, float scaleY, float scaleZ) -
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, T t, float float2, float float3, float float4, float float5, float float6, float float7) static void
translate
(MatrixStack matrices, boolean villager) Methods inherited from class net.minecraft.client.render.entity.feature.FeatureRenderer
getContextModel, getTexture, render, renderModel
-
Field Details
-
scaleX
private final float scaleX- Mappings:
Namespace Name Mixin selector official a
Levg;a:F
intermediary field_24474
Lnet/minecraft/class_976;field_24474:F
named scaleX
Lnet/minecraft/client/render/entity/feature/HeadFeatureRenderer;scaleX:F
-
scaleY
private final float scaleY- Mappings:
Namespace Name Mixin selector official b
Levg;b:F
intermediary field_24475
Lnet/minecraft/class_976;field_24475:F
named scaleY
Lnet/minecraft/client/render/entity/feature/HeadFeatureRenderer;scaleY:F
-
scaleZ
private final float scaleZ- Mappings:
Namespace Name Mixin selector official c
Levg;c:F
intermediary field_24476
Lnet/minecraft/class_976;field_24476:F
named scaleZ
Lnet/minecraft/client/render/entity/feature/HeadFeatureRenderer;scaleZ:F
-
headModels
- Mappings:
Namespace Name Mixin selector official d
Levg;d:Ljava/util/Map;
intermediary field_27771
Lnet/minecraft/class_976;field_27771:Ljava/util/Map;
named headModels
Lnet/minecraft/client/render/entity/feature/HeadFeatureRenderer;headModels:Ljava/util/Map;
-
-
Constructor Details
-
HeadFeatureRenderer
- Mappings:
Namespace Name Mixin selector official <init>
Levg;<init>(Letr;Leim;)V
intermediary <init>
Lnet/minecraft/class_976;<init>(Lnet/minecraft/class_3883;Lnet/minecraft/class_5599;)V
named <init>
Lnet/minecraft/client/render/entity/feature/HeadFeatureRenderer;<init>(Lnet/minecraft/client/render/entity/feature/FeatureRendererContext;Lnet/minecraft/client/render/entity/model/EntityModelLoader;)V
-
HeadFeatureRenderer
public HeadFeatureRenderer(FeatureRendererContext<T, M> context, EntityModelLoader loader, float scaleX, float scaleY, float scaleZ) - Mappings:
Namespace Name Mixin selector official <init>
Levg;<init>(Letr;Leim;FFF)V
intermediary <init>
Lnet/minecraft/class_976;<init>(Lnet/minecraft/class_3883;Lnet/minecraft/class_5599;FFF)V
named <init>
Lnet/minecraft/client/render/entity/feature/HeadFeatureRenderer;<init>(Lnet/minecraft/client/render/entity/feature/FeatureRendererContext;Lnet/minecraft/client/render/entity/model/EntityModelLoader;FFF)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 classFeatureRenderer<T extends LivingEntity,
M extends EntityModel<T> & ModelWithHead> - Mappings:
Namespace Name Mixin selector official a
Levg;a(Ldqk;Lenh;ILatt;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
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
-
translate
- Mappings:
Namespace Name Mixin selector official a
Levg;a(Ldqk;Z)V
intermediary method_32798
Lnet/minecraft/class_976;method_32798(Lnet/minecraft/class_4587;Z)V
named translate
Lnet/minecraft/client/render/entity/feature/HeadFeatureRenderer;translate(Lnet/minecraft/client/util/math/MatrixStack;Z)V
-