Class PiglinHeadEntityModel
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.block.entity.SkullBlockEntityModel
net.minecraft.client.render.entity.model.PiglinHeadEntityModel
- Mappings:
Namespace Name official fci
intermediary net/minecraft/class_7946
named net/minecraft/client/render/entity/model/PiglinHeadEntityModel
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ModelPart
private final ModelPart
private final ModelPart
Fields inherited from class net.minecraft.client.model.Model
layerFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ModelData
void
render
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.void
setHeadRotation
(float animationProgress, float yaw, float pitch)
-
Field Details
-
head
- Mappings:
Namespace Name Mixin selector official a
Lfci;a:Lfee;
intermediary field_41379
Lnet/minecraft/class_7946;field_41379:Lnet/minecraft/class_630;
named head
Lnet/minecraft/client/render/entity/model/PiglinHeadEntityModel;head:Lnet/minecraft/client/model/ModelPart;
-
leftEar
- Mappings:
Namespace Name Mixin selector official b
Lfci;b:Lfee;
intermediary field_41380
Lnet/minecraft/class_7946;field_41380:Lnet/minecraft/class_630;
named leftEar
Lnet/minecraft/client/render/entity/model/PiglinHeadEntityModel;leftEar:Lnet/minecraft/client/model/ModelPart;
-
rightEar
- Mappings:
Namespace Name Mixin selector official c
Lfci;c:Lfee;
intermediary field_41381
Lnet/minecraft/class_7946;field_41381:Lnet/minecraft/class_630;
named rightEar
Lnet/minecraft/client/render/entity/model/PiglinHeadEntityModel;rightEar:Lnet/minecraft/client/model/ModelPart;
-
-
Constructor Details
-
PiglinHeadEntityModel
- Mappings:
Namespace Name Mixin selector official <init>
Lfci;<init>(Lfee;)V
intermediary <init>
Lnet/minecraft/class_7946;<init>(Lnet/minecraft/class_630;)V
named <init>
Lnet/minecraft/client/render/entity/model/PiglinHeadEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
-
-
Method Details
-
getModelData
- Mappings:
Namespace Name Mixin selector official a
Lfci;a()Lfem;
intermediary method_47655
Lnet/minecraft/class_7946;method_47655()Lnet/minecraft/class_5609;
named getModelData
Lnet/minecraft/client/render/entity/model/PiglinHeadEntityModel;getModelData()Lnet/minecraft/client/model/ModelData;
-
setHeadRotation
public void setHeadRotation(float animationProgress, float yaw, float pitch) - Specified by:
setHeadRotation
in classSkullBlockEntityModel
- Mappings:
Namespace Name Mixin selector official a
Lfdc;a(FFF)V
intermediary method_2821
Lnet/minecraft/class_5598;method_2821(FFF)V
named setHeadRotation
Lnet/minecraft/client/render/block/entity/SkullBlockEntityModel;setHeadRotation(FFF)V
-
render
public void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.- Specified by:
render
in classModel
- Parameters:
light
- the lightmap coordinates used for this model rendering- Mappings:
Namespace Name Mixin selector official a
Lfcb;a(Leij;Lein;IIFFFF)V
intermediary method_2828
Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;IIFFFF)V
named render
Lnet/minecraft/client/model/Model;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;IIFFFF)V
-