Class BipedModel<T extends LivingEntity>
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>
- All Implemented Interfaces:
Consumer<ModelRenderer>,IHasArm,IHasHead
- Direct Known Subclasses:
AbstractZombieModel,ArmorStandArmorModel,EndermanModel,PlayerModel,SkeletonModel,VexModel,ZombieVillagerModel
public class BipedModel<T extends LivingEntity>
extends AgeableModel<T>
implements IHasArm, IHasHead
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanfloatFields inherited from class net.minecraft.client.renderer.entity.model.EntityModel
attackTime, riding, youngFields inherited from class net.minecraft.client.renderer.model.Model
renderType, texHeight, texWidth -
Constructor Summary
ConstructorsModifierConstructorDescriptionBipedModel(float p_i1148_1_) protectedBipedModel(float p_i1149_1_, float p_i1149_2_, int p_i1149_3_, int p_i1149_4_) BipedModel(Function<ResourceLocation, RenderType> p_i225946_1_, float p_i225946_2_, float p_i225946_3_, int p_i225946_4_, int p_i225946_5_) -
Method Summary
Modifier and TypeMethodDescriptionprotected Iterable<ModelRenderer>voidcopyPropertiesTo(BipedModel<T> p_217148_1_) protected ModelRendererprotected HandSidegetAttackArm(T p_217147_1_) getHead()protected Iterable<ModelRenderer>private voidposeLeftArm(T p_241655_1_) private voidposeRightArm(T p_241654_1_) voidprepareMobModel(T p_212843_1_, float p_212843_2_, float p_212843_3_, float p_212843_4_) private floatquadraticArmUpdate(float p_203068_1_) protected floatrotlerpRad(float p_205060_1_, float p_205060_2_, float p_205060_3_) voidsetAllVisible(boolean p_178719_1_) voidsetupAnim(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 voidsetupAttackAnimation(T p_230486_1_, float p_230486_2_) voidtranslateToHand(HandSide p_225599_1_, MatrixStack p_225599_2_) Methods inherited from class net.minecraft.client.renderer.entity.model.AgeableModel
renderToBufferMethods inherited from class net.minecraft.client.renderer.entity.model.EntityModel
copyPropertiesToMethods inherited from class net.minecraft.client.renderer.model.Model
accept, renderType
-
Field Details
-
head
-
hat
-
body
-
rightArm
-
leftArm
-
rightLeg
-
leftLeg
-
leftArmPose
-
rightArmPose
-
crouching
public boolean crouching -
swimAmount
public float swimAmount
-
-
Constructor Details
-
BipedModel
public BipedModel(float p_i1148_1_) -
BipedModel
protected BipedModel(float p_i1149_1_, float p_i1149_2_, int p_i1149_3_, int p_i1149_4_) -
BipedModel
public BipedModel(Function<ResourceLocation, RenderType> p_i225946_1_, float p_i225946_2_, float p_i225946_3_, int p_i225946_4_, int p_i225946_5_)
-
-
Method Details
-
headParts
- Specified by:
headPartsin classAgeableModel<T extends LivingEntity>
-
bodyParts
- Specified by:
bodyPartsin classAgeableModel<T extends LivingEntity>
-
prepareMobModel
- Overrides:
prepareMobModelin classEntityModel<T extends LivingEntity>
-
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_) - Specified by:
setupAnimin classEntityModel<T extends LivingEntity>
-
poseRightArm
-
poseLeftArm
-
setupAttackAnimation
-
rotlerpRad
protected float rotlerpRad(float p_205060_1_, float p_205060_2_, float p_205060_3_) -
quadraticArmUpdate
private float quadraticArmUpdate(float p_203068_1_) -
copyPropertiesTo
-
setAllVisible
public void setAllVisible(boolean p_178719_1_) -
translateToHand
- Specified by:
translateToHandin interfaceIHasArm
-
getArm
-
getHead
-
getAttackArm
-