Class PiglinEntityModel<T extends MobEntity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<T>
net.minecraft.client.render.entity.model.AnimalModel<T>
net.minecraft.client.render.entity.model.BipedEntityModel<T>
net.minecraft.client.render.entity.model.PlayerEntityModel<T>
net.minecraft.client.render.entity.model.PiglinEntityModel<T>
- All Implemented Interfaces:
ModelWithArms
,ModelWithHead
@Environment(CLIENT)
public class PiglinEntityModel<T extends MobEntity>
extends PlayerEntityModel<T>
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 |
"ear"<T extends LivingEntity> | Root part | PlayerEntityModel.ear |
"cloak"<T extends LivingEntity> | Root part | PlayerEntityModel.cloak |
"left_sleeve"<T extends LivingEntity> | Root part | PlayerEntityModel.leftSleeve |
"right_sleeve"<T extends LivingEntity> | Root part | PlayerEntityModel.rightSleeve |
"left_pants"<T extends LivingEntity> | Root part | PlayerEntityModel.leftPants |
"right_pants"<T extends LivingEntity> | Root part | PlayerEntityModel.rightPants |
"jacket" | Root part | PlayerEntityModel.jacket |
"left_ear" | "head" | leftEar |
"right_ear" | "head" | rightEar |
- Mappings:
Namespace Name named net/minecraft/client/render/entity/model/PiglinEntityModel
intermediary net/minecraft/class_4840
official fvf
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.render.entity.model.BipedEntityModel
BipedEntityModel.ArmPose
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ModelTransform
private final ModelTransform
private final ModelTransform
private final ModelPart
private final ModelTransform
final ModelPart
Fields inherited from class net.minecraft.client.render.entity.model.PlayerEntityModel
jacket, leftPants, leftSleeve, rightPants, rightSleeve
Fields inherited from class net.minecraft.client.render.entity.model.BipedEntityModel
body, field_32505, field_32506, field_39069, field_39070, field_42513, hat, head, leaningPitch, leftArm, leftArmPose, leftLeg, rightArm, rightArmPose, rightLeg, sneaking
Fields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, riding
Fields inherited from class net.minecraft.client.model.Model
layerFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
protected void
animateArms
(T t, float float2) static ModelData
getModelData
(Dilation dilation) private void
rotateMainArm
(T entity) void
Methods inherited from class net.minecraft.client.render.entity.model.PlayerEntityModel
getBodyParts, getRandomPart, getTexturedModelData, renderCape, renderEars, setArmAngle, setVisible
Methods inherited from class net.minecraft.client.render.entity.model.BipedEntityModel
animateModel, copyBipedStateTo, getArm, getHead, getHeadParts, getModelData, lerpAngle
Methods inherited from class net.minecraft.client.render.entity.model.AnimalModel
render
Methods inherited from class net.minecraft.client.render.entity.model.EntityModel
copyStateTo
-
Field Details
-
rightEar
- Mappings:
Namespace Name Mixin selector named rightEar
Lnet/minecraft/client/render/entity/model/PiglinEntityModel;rightEar:Lnet/minecraft/client/model/ModelPart;
intermediary field_27464
Lnet/minecraft/class_4840;field_27464:Lnet/minecraft/class_630;
official a
Lfvf;a:Lfxb;
-
leftEar
- Mappings:
Namespace Name Mixin selector named leftEar
Lnet/minecraft/client/render/entity/model/PiglinEntityModel;leftEar:Lnet/minecraft/client/model/ModelPart;
intermediary field_27465
Lnet/minecraft/class_4840;field_27465:Lnet/minecraft/class_630;
official A
Lfvf;A:Lfxb;
-
bodyRotation
- Mappings:
Namespace Name Mixin selector named bodyRotation
Lnet/minecraft/client/render/entity/model/PiglinEntityModel;bodyRotation:Lnet/minecraft/client/model/ModelTransform;
intermediary field_25634
Lnet/minecraft/class_4840;field_25634:Lnet/minecraft/class_5603;
official B
Lfvf;B:Lfxd;
-
headRotation
- Mappings:
Namespace Name Mixin selector named headRotation
Lnet/minecraft/client/render/entity/model/PiglinEntityModel;headRotation:Lnet/minecraft/client/model/ModelTransform;
intermediary field_25635
Lnet/minecraft/class_4840;field_25635:Lnet/minecraft/class_5603;
official C
Lfvf;C:Lfxd;
-
leftArmRotation
- Mappings:
Namespace Name Mixin selector named leftArmRotation
Lnet/minecraft/client/render/entity/model/PiglinEntityModel;leftArmRotation:Lnet/minecraft/client/model/ModelTransform;
intermediary field_25632
Lnet/minecraft/class_4840;field_25632:Lnet/minecraft/class_5603;
official D
Lfvf;D:Lfxd;
-
rightArmRotation
- Mappings:
Namespace Name Mixin selector named rightArmRotation
Lnet/minecraft/client/render/entity/model/PiglinEntityModel;rightArmRotation:Lnet/minecraft/client/model/ModelTransform;
intermediary field_25633
Lnet/minecraft/class_4840;field_25633:Lnet/minecraft/class_5603;
official E
Lfvf;E:Lfxd;
-
-
Constructor Details
-
PiglinEntityModel
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/entity/model/BipedEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
intermediary <init>
Lnet/minecraft/class_572;<init>(Lnet/minecraft/class_630;)V
official <init>
Lfuo;<init>(Lfxb;)V
-
-
Method Details
-
getModelData
- Mappings:
Namespace Name Mixin selector named getModelData
Lnet/minecraft/client/render/entity/model/PiglinEntityModel;getModelData(Lnet/minecraft/client/model/Dilation;)Lnet/minecraft/client/model/ModelData;
intermediary method_32026
Lnet/minecraft/class_4840;method_32026(Lnet/minecraft/class_5605;)Lnet/minecraft/class_5609;
official a
Lfvf;a(Lfxf;)Lfxj;
-
addHead
- Mappings:
Namespace Name Mixin selector named addHead
Lnet/minecraft/client/render/entity/model/PiglinEntityModel;addHead(Lnet/minecraft/client/model/Dilation;Lnet/minecraft/client/model/ModelData;)V
intermediary method_47656
Lnet/minecraft/class_4840;method_47656(Lnet/minecraft/class_5605;Lnet/minecraft/class_5609;)V
official a
Lfvf;a(Lfxf;Lfxj;)V
-
setAngles
- Overrides:
setAngles
in classPlayerEntityModel<T extends MobEntity>
- Mappings:
Namespace Name Mixin selector named setAngles
Lnet/minecraft/client/render/entity/model/PiglinEntityModel;setAngles(Lnet/minecraft/entity/mob/MobEntity;FFFFF)V
intermediary method_24803
Lnet/minecraft/class_4840;method_24803(Lnet/minecraft/class_1308;FFFFF)V
official a
Lfvf;a(Lbts;FFFFF)V
-
animateArms
- Overrides:
animateArms
in classBipedEntityModel<T extends MobEntity>
- Mappings:
Namespace Name Mixin selector named animateArms
Lnet/minecraft/client/render/entity/model/PiglinEntityModel;animateArms(Lnet/minecraft/entity/mob/MobEntity;F)V
intermediary method_29355
Lnet/minecraft/class_4840;method_29355(Lnet/minecraft/class_1308;F)V
official a
Lfvf;a(Lbts;F)V
-
rotateMainArm
- Mappings:
Namespace Name Mixin selector named rotateMainArm
Lnet/minecraft/client/render/entity/model/PiglinEntityModel;rotateMainArm(Lnet/minecraft/entity/mob/MobEntity;)V
intermediary method_29354
Lnet/minecraft/class_4840;method_29354(Lnet/minecraft/class_1308;)V
official a
Lfvf;a(Lbts;)V
-