Class PiglinModel<T extends MobEntity>
- java.lang.Object
-
- net.minecraft.client.renderer.model.Model
-
- net.minecraft.client.renderer.entity.model.EntityModel<E>
-
- net.minecraft.client.renderer.entity.model.AgeableModel<T>
-
- net.minecraft.client.renderer.entity.model.BipedModel<T>
-
- net.minecraft.client.renderer.entity.model.PlayerModel<T>
-
- net.minecraft.client.renderer.entity.model.PiglinModel<T>
-
- All Implemented Interfaces:
java.util.function.Consumer<ModelRenderer>
,IHasArm
,IHasHead
public class PiglinModel<T extends MobEntity> extends PlayerModel<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.client.renderer.entity.model.BipedModel
BipedModel.ArmPose
-
-
Field Summary
Fields Modifier and Type Field Description private ModelRenderer
bodyDefault
ModelRenderer
earLeft
ModelRenderer
earRight
private ModelRenderer
headDefault
private ModelRenderer
leftArmDefault
private ModelRenderer
rightArmDefault
-
Fields inherited from class net.minecraft.client.renderer.entity.model.PlayerModel
jacket, leftPants, leftSleeve, rightPants, rightSleeve
-
Fields inherited from class net.minecraft.client.renderer.entity.model.BipedModel
body, crouching, hat, head, leftArm, leftArmPose, leftLeg, rightArm, rightArmPose, rightLeg, swimAmount
-
Fields inherited from class net.minecraft.client.renderer.entity.model.EntityModel
attackTime, riding, young
-
Fields inherited from class net.minecraft.client.renderer.model.Model
renderType, texHeight, texWidth
-
-
Constructor Summary
Constructors Constructor Description PiglinModel(float p_i232336_1_, int p_i232336_2_, int p_i232336_3_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
holdWeaponHigh(T p_239117_1_)
void
setupAnim(T p_225597_1_, float p_225597_2_, float p_225597_3_, float p_225597_4_, float p_225597_5_, float p_225597_6_)
protected void
setupAttackAnimation(T p_230486_1_, float p_230486_2_)
-
Methods inherited from class net.minecraft.client.renderer.entity.model.PlayerModel
accept, bodyParts, getRandomModelPart, renderCloak, renderEars, setAllVisible, translateToHand
-
Methods inherited from class net.minecraft.client.renderer.entity.model.BipedModel
copyPropertiesTo, getArm, getAttackArm, getHead, headParts, prepareMobModel, rotlerpRad
-
Methods inherited from class net.minecraft.client.renderer.entity.model.AgeableModel
renderToBuffer
-
Methods inherited from class net.minecraft.client.renderer.entity.model.EntityModel
copyPropertiesTo
-
Methods inherited from class net.minecraft.client.renderer.model.Model
renderType
-
-
-
-
Field Detail
-
earRight
public final ModelRenderer earRight
-
earLeft
public final ModelRenderer earLeft
-
bodyDefault
private final ModelRenderer bodyDefault
-
headDefault
private final ModelRenderer headDefault
-
leftArmDefault
private final ModelRenderer leftArmDefault
-
rightArmDefault
private final ModelRenderer rightArmDefault
-
-
Method Detail
-
setupAnim
public void setupAnim(T p_225597_1_, float p_225597_2_, float p_225597_3_, float p_225597_4_, float p_225597_5_, float p_225597_6_)
- Overrides:
setupAnim
in classPlayerModel<T extends MobEntity>
-
setupAttackAnimation
protected void setupAttackAnimation(T p_230486_1_, float p_230486_2_)
- Overrides:
setupAttackAnimation
in classBipedModel<T extends MobEntity>
-
holdWeaponHigh
private void holdWeaponHigh(T p_239117_1_)
-
-