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/HeadModelRendererintermediary net/minecraft/class_10513official hjt
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final floatprivate final SkullBlock.SkullTypeprivate final SkullBlockEntityModelprivate final @Nullable Identifier -
Constructor Summary
ConstructorsConstructorDescriptionHeadModelRenderer(SkullBlock.SkullType kind, SkullBlockEntityModel model, @Nullable Identifier texture, float animation) -
Method Summary
Modifier and TypeMethodDescriptionvoidrender(@Nullable ProfileComponent profileComponent, ItemDisplayContext itemDisplayContext, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3, boolean bool)
-
Field Details
-
kind
- Mappings:
Namespace Name Mixin selector named kindLnet/minecraft/client/render/item/model/special/HeadModelRenderer;kind:Lnet/minecraft/block/SkullBlock$SkullType;intermediary field_55449Lnet/minecraft/class_10513;field_55449:Lnet/minecraft/class_2484$class_2485;official aLhjt;a:Ldva$a;
-
model
- Mappings:
Namespace Name Mixin selector named modelLnet/minecraft/client/render/item/model/special/HeadModelRenderer;model:Lnet/minecraft/client/render/block/entity/SkullBlockEntityModel;intermediary field_55450Lnet/minecraft/class_10513;field_55450:Lnet/minecraft/class_5598;official bLhjt;b:Lgjl;
-
texture
- Mappings:
Namespace Name Mixin selector named textureLnet/minecraft/client/render/item/model/special/HeadModelRenderer;texture:Lnet/minecraft/util/Identifier;intermediary field_55525Lnet/minecraft/class_10513;field_55525:Lnet/minecraft/class_2960;official cLhjt;c:Lalr;
-
animation
private final float animation- Mappings:
Namespace Name Mixin selector named animationLnet/minecraft/client/render/item/model/special/HeadModelRenderer;animation:Fintermediary field_55566Lnet/minecraft/class_10513;field_55566:Fofficial dLhjt;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)Vintermediary <init>Lnet/minecraft/class_10513;<init>(Lnet/minecraft/class_2484$class_2485;Lnet/minecraft/class_5598;Lnet/minecraft/class_2960;F)Vofficial <init>Lhjt;<init>(Ldva$a;Lgjl;Lalr;F)V
-
-
Method Details
-
getData
- Specified by:
getDatain interfaceSpecialModelRenderer<ProfileComponent>- Mappings:
Namespace Name Mixin selector named getDataLnet/minecraft/client/render/item/model/special/HeadModelRenderer;getData(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/component/type/ProfileComponent;intermediary method_65709Lnet/minecraft/class_10513;method_65709(Lnet/minecraft/class_1799;)Lnet/minecraft/class_9296;official aLhjt;a(Ldak;)Lddk;
-
render
public void render(@Nullable @Nullable ProfileComponent profileComponent, ItemDisplayContext itemDisplayContext, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3, boolean bool) - Specified by:
renderin interfaceSpecialModelRenderer<ProfileComponent>- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/render/item/model/special/HeadModelRenderer;render(Lnet/minecraft/component/type/ProfileComponent;Lnet/minecraft/item/ItemDisplayContext;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;IIZ)Vintermediary method_65710Lnet/minecraft/class_10513;method_65710(Lnet/minecraft/class_9296;Lnet/minecraft/class_811;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IIZ)Vofficial aLhjt;a(Lddk;Ldai;Lfld;Lgrn;IIZ)V
-