Class HeadModelRenderer
java.lang.Object
net.minecraft.client.render.item.model.special.HeadModelRenderer
- All Implemented Interfaces:
SpecialModelRenderer<ProfileComponent>
@Environment(CLIENT)
public class HeadModelRenderer
extends Object
implements SpecialModelRenderer<ProfileComponent>
- Mappings:
Namespace Name named net/minecraft/client/render/item/model/special/HeadModelRenderer
intermediary net/minecraft/class_10513
official hdw
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final float
private final SkullBlock.SkullType
private final SkullBlockEntityModel
private final @Nullable Identifier
-
Constructor Summary
ConstructorsConstructorDescriptionHeadModelRenderer
(SkullBlock.SkullType kind, SkullBlockEntityModel model, @Nullable Identifier texture, float animation) -
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(@Nullable ProfileComponent profileComponent, ModelTransformationMode modelTransformationMode, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3, boolean bool)
-
Field Details
-
kind
- Mappings:
Namespace Name Mixin selector named kind
Lnet/minecraft/client/render/item/model/special/HeadModelRenderer;kind:Lnet/minecraft/block/SkullBlock$SkullType;
intermediary field_55449
Lnet/minecraft/class_10513;field_55449:Lnet/minecraft/class_2484$class_2485;
official a
Lhdw;a:Ldqu$a;
-
model
- Mappings:
Namespace Name Mixin selector named model
Lnet/minecraft/client/render/item/model/special/HeadModelRenderer;model:Lnet/minecraft/client/render/block/entity/SkullBlockEntityModel;
intermediary field_55450
Lnet/minecraft/class_10513;field_55450:Lnet/minecraft/class_5598;
official b
Lhdw;b:Lgdz;
-
texture
- Mappings:
Namespace Name Mixin selector named texture
Lnet/minecraft/client/render/item/model/special/HeadModelRenderer;texture:Lnet/minecraft/util/Identifier;
intermediary field_55525
Lnet/minecraft/class_10513;field_55525:Lnet/minecraft/class_2960;
official c
Lhdw;c:Lakv;
-
animation
private final float animation- Mappings:
Namespace Name Mixin selector named animation
Lnet/minecraft/client/render/item/model/special/HeadModelRenderer;animation:F
intermediary field_55566
Lnet/minecraft/class_10513;field_55566:F
official d
Lhdw;d:F
-
-
Constructor Details
-
HeadModelRenderer
public HeadModelRenderer(SkullBlock.SkullType kind, SkullBlockEntityModel model, @Nullable @Nullable Identifier texture, float animation) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/item/model/special/HeadModelRenderer;<init>(Lnet/minecraft/block/SkullBlock$SkullType;Lnet/minecraft/client/render/block/entity/SkullBlockEntityModel;Lnet/minecraft/util/Identifier;F)V
intermediary <init>
Lnet/minecraft/class_10513;<init>(Lnet/minecraft/class_2484$class_2485;Lnet/minecraft/class_5598;Lnet/minecraft/class_2960;F)V
official <init>
Lhdw;<init>(Ldqu$a;Lgdz;Lakv;F)V
-
-
Method Details
-
getData
- Specified by:
getData
in interfaceSpecialModelRenderer<ProfileComponent>
- Mappings:
Namespace Name Mixin selector named getData
Lnet/minecraft/client/render/item/model/special/HeadModelRenderer;getData(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/component/type/ProfileComponent;
intermediary method_65709
Lnet/minecraft/class_10513;method_65709(Lnet/minecraft/class_1799;)Lnet/minecraft/class_9296;
official a
Lhdw;a(Lcwq;)Lczp;
-
render
public void render(@Nullable @Nullable ProfileComponent profileComponent, ModelTransformationMode modelTransformationMode, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3, boolean bool) - Specified by:
render
in interfaceSpecialModelRenderer<ProfileComponent>
- Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/render/item/model/special/HeadModelRenderer;render(Lnet/minecraft/component/type/ProfileComponent;Lnet/minecraft/item/ModelTransformationMode;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;IIZ)V
intermediary method_65710
Lnet/minecraft/class_10513;method_65710(Lnet/minecraft/class_9296;Lnet/minecraft/class_811;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IIZ)V
official a
Lhdw;a(Lczp;Lcwo;Lffv;Lglz;IIZ)V
-