Class PiglinEntityModel<T extends MobEntity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<E>
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>
- Mappings:
Namespace Name official ebr
intermediary net/minecraft/class_4840
named net/minecraft/client/render/entity/model/PiglinEntityModel
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.render.entity.model.BipedEntityModel
BipedEntityModel.ArmPose
-
Field Summary
Fields Modifier and Type Field Description private ModelTransform
bodyRotation
private ModelTransform
headRotation
private ModelTransform
leftArmRotation
private ModelPart
leftEar
private ModelTransform
rightArmRotation
ModelPart
rightEar
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, 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
Constructors Constructor Description PiglinEntityModel(ModelPart root)
-
Method Summary
Modifier and Type Method Description protected void
animateArms(T t, float float2)
static ModelData
getModelData(Dilation dilation)
private void
rotateMainArm(T entity)
void
setAngles(T t, float float2, float float3, float float4, float float5, float float6)
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, getArm, getHead, getHeadParts, getModelData, lerpAngle, setAttributes
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 official a
Lebr;a:Ledh;
intermediary field_27464
Lnet/minecraft/class_4840;field_27464:Lnet/minecraft/class_630;
named rightEar
Lnet/minecraft/client/render/entity/model/PiglinEntityModel;rightEar:Lnet/minecraft/client/model/ModelPart;
-
leftEar
- Mappings:
Namespace Name Mixin selector official v
Lebr;v:Ledh;
intermediary field_27465
Lnet/minecraft/class_4840;field_27465:Lnet/minecraft/class_630;
named leftEar
Lnet/minecraft/client/render/entity/model/PiglinEntityModel;leftEar:Lnet/minecraft/client/model/ModelPart;
-
bodyRotation
- Mappings:
Namespace Name Mixin selector official w
Lebr;w:Ledj;
intermediary field_25634
Lnet/minecraft/class_4840;field_25634:Lnet/minecraft/class_5603;
named bodyRotation
Lnet/minecraft/client/render/entity/model/PiglinEntityModel;bodyRotation:Lnet/minecraft/client/model/ModelTransform;
-
headRotation
- Mappings:
Namespace Name Mixin selector official x
Lebr;x:Ledj;
intermediary field_25635
Lnet/minecraft/class_4840;field_25635:Lnet/minecraft/class_5603;
named headRotation
Lnet/minecraft/client/render/entity/model/PiglinEntityModel;headRotation:Lnet/minecraft/client/model/ModelTransform;
-
leftArmRotation
- Mappings:
Namespace Name Mixin selector official y
Lebr;y:Ledj;
intermediary field_25632
Lnet/minecraft/class_4840;field_25632:Lnet/minecraft/class_5603;
named leftArmRotation
Lnet/minecraft/client/render/entity/model/PiglinEntityModel;leftArmRotation:Lnet/minecraft/client/model/ModelTransform;
-
rightArmRotation
- Mappings:
Namespace Name Mixin selector official z
Lebr;z:Ledj;
intermediary field_25633
Lnet/minecraft/class_4840;field_25633:Lnet/minecraft/class_5603;
named rightArmRotation
Lnet/minecraft/client/render/entity/model/PiglinEntityModel;rightArmRotation:Lnet/minecraft/client/model/ModelTransform;
-
-
Constructor Details
-
PiglinEntityModel
- Mappings:
Namespace Name Mixin selector official <init>
Lebb;<init>(Ledh;)V
intermediary <init>
Lnet/minecraft/class_572;<init>(Lnet/minecraft/class_630;)V
named <init>
Lnet/minecraft/client/render/entity/model/BipedEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
-
-
Method Details
-
getModelData
- Mappings:
Namespace Name Mixin selector official a
Lebr;a(Ledl;)Ledp;
intermediary method_32026
Lnet/minecraft/class_4840;method_32026(Lnet/minecraft/class_5605;)Lnet/minecraft/class_5609;
named getModelData
Lnet/minecraft/client/render/entity/model/PiglinEntityModel;getModelData(Lnet/minecraft/client/util/math/Dilation;)Lnet/minecraft/client/model/ModelData;
-
setAngles
- Overrides:
setAngles
in classPlayerEntityModel<T extends MobEntity>
- Mappings:
Namespace Name Mixin selector official a
Lebr;a(Larj;FFFFF)V
intermediary method_24803
Lnet/minecraft/class_4840;method_24803(Lnet/minecraft/class_1308;FFFFF)V
named setAngles
Lnet/minecraft/client/render/entity/model/PiglinEntityModel;setAngles(Lnet/minecraft/entity/mob/MobEntity;FFFFF)V
-
animateArms
- Overrides:
animateArms
in classBipedEntityModel<T extends MobEntity>
- Mappings:
Namespace Name Mixin selector official a
Lebr;a(Larj;F)V
intermediary method_29355
Lnet/minecraft/class_4840;method_29355(Lnet/minecraft/class_1308;F)V
named animateArms
Lnet/minecraft/client/render/entity/model/PiglinEntityModel;animateArms(Lnet/minecraft/entity/mob/MobEntity;F)V
-
rotateMainArm
- Mappings:
Namespace Name Mixin selector official a
Lebr;a(Larj;)V
intermediary method_29354
Lnet/minecraft/class_4840;method_29354(Lnet/minecraft/class_1308;)V
named rotateMainArm
Lnet/minecraft/client/render/entity/model/PiglinEntityModel;rotateMainArm(Lnet/minecraft/entity/mob/MobEntity;)V
-