Class PiglinEntityModel
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<PiglinEntityRenderState>
net.minecraft.client.render.entity.model.BipedEntityModel<PiglinEntityRenderState>
net.minecraft.client.render.entity.model.PiglinBaseEntityModel<PiglinEntityRenderState>
net.minecraft.client.render.entity.model.PiglinEntityModel
- All Implemented Interfaces:
ModelWithArms
,ModelWithHead
@Environment(CLIENT)
public class PiglinEntityModel
extends PiglinBaseEntityModel<PiglinEntityRenderState>
Represents the model of a piglin-like entity.
Part Name | Parent | Corresponding Field |
---|---|---|
"hat" (note: is by default empty) | Root part | BipedEntityModel.hat |
"head" | Root part | BipedEntityModel.head |
"body" | Root part | BipedEntityModel.body |
"right_arm" | Root part | BipedEntityModel.rightArm |
"left_arm" | Root part | BipedEntityModel.leftArm |
"right_leg" | Root part | BipedEntityModel.rightLeg |
"left_leg" | Root part | BipedEntityModel.leftLeg |
Root part |
invalid reference
|
|
Root part |
invalid reference
|
|
"left_sleeve"<S extends BipedEntityRenderState> | Root part | PiglinBaseEntityModel.leftSleeve |
"right_sleeve"<S extends BipedEntityRenderState> | Root part | PiglinBaseEntityModel.rightSleeve |
"left_pants"<S extends BipedEntityRenderState> | Root part | PiglinBaseEntityModel.leftPants |
"right_pants"<S extends BipedEntityRenderState> | Root part | PiglinBaseEntityModel.rightPants |
"jacket" | Root part | PiglinBaseEntityModel.jacket |
"left_ear" | "head" | PiglinBaseEntityModel.leftEar |
"right_ear" | "head" | PiglinBaseEntityModel.rightEar |
- Mappings:
Namespace Name named net/minecraft/client/render/entity/model/PiglinEntityModel
intermediary net/minecraft/class_4840
official gcn
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.render.entity.model.BipedEntityModel
BipedEntityModel.ArmPose
Nested classes/interfaces inherited from class net.minecraft.client.model.Model
Model.SinglePartModel
-
Field Summary
Fields inherited from class net.minecraft.client.render.entity.model.PiglinBaseEntityModel
jacket, leftEar, leftPants, leftSleeve, rightEar, rightPants, rightSleeve
Fields inherited from class net.minecraft.client.render.entity.model.BipedEntityModel
BABY_TRANSFORMER, body, field_32505, field_32506, field_39069, field_39070, field_42513, hat, head, leftArm, leftLeg, rightArm, rightLeg
Fields inherited from class net.minecraft.client.render.entity.model.EntityModel
field_52908
Fields inherited from class net.minecraft.client.model.Model
layerFactory, root
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
animateArms
(PiglinEntityRenderState piglinEntityRenderState, float float2) private void
void
setAngles
(PiglinEntityRenderState piglinEntityRenderState) void
setVisible
(boolean visible) Methods inherited from class net.minecraft.client.render.entity.model.PiglinBaseEntityModel
getModelData, getModelPartData
Methods inherited from class net.minecraft.client.render.entity.model.BipedEntityModel
copyTransforms, getArm, getArmPose, getHead, getModelData, setArmAngle
Methods inherited from class net.minecraft.client.model.Model
animate, animate, animate, animateWalking, getLayer, getPart, getParts, getRootPart, render, render, resetTransforms
-
Constructor Details
-
PiglinEntityModel
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/entity/model/EntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
intermediary <init>
Lnet/minecraft/class_583;<init>(Lnet/minecraft/class_630;)V
official <init>
Lgbl;<init>(Lgen;)V
-
-
Method Details
-
setAngles
- Overrides:
setAngles
in classPiglinBaseEntityModel<PiglinEntityRenderState>
- Mappings:
Namespace Name Mixin selector named setAngles
Lnet/minecraft/client/render/entity/model/PiglinEntityModel;setAngles(Lnet/minecraft/client/render/entity/state/PiglinEntityRenderState;)V
intermediary method_24803
Lnet/minecraft/class_4840;method_24803(Lnet/minecraft/class_10054;)V
official a
Lgcn;a(Lgze;)V
-
animateArms
- Overrides:
animateArms
in classBipedEntityModel<PiglinEntityRenderState>
- Mappings:
Namespace Name Mixin selector named animateArms
Lnet/minecraft/client/render/entity/model/PiglinEntityModel;animateArms(Lnet/minecraft/client/render/entity/state/PiglinEntityRenderState;F)V
intermediary method_29355
Lnet/minecraft/class_4840;method_29355(Lnet/minecraft/class_10054;F)V
official a
Lgcn;a(Lgze;F)V
-
rotateMainArm
- Mappings:
Namespace Name Mixin selector named rotateMainArm
Lnet/minecraft/client/render/entity/model/PiglinEntityModel;rotateMainArm(Lnet/minecraft/client/render/entity/state/PiglinEntityRenderState;)V
intermediary method_29354
Lnet/minecraft/class_4840;method_29354(Lnet/minecraft/class_10054;)V
official b
Lgcn;b(Lgze;)V
-
setVisible
public void setVisible(boolean visible) - Overrides:
setVisible
in classPiglinBaseEntityModel<PiglinEntityRenderState>
- Mappings:
Namespace Name Mixin selector named setVisible
Lnet/minecraft/client/render/entity/model/BipedEntityModel;setVisible(Z)V
intermediary method_2805
Lnet/minecraft/class_572;method_2805(Z)V
official c_
Lgby;c_(Z)V
-