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
-
Field Summary
Modifier and TypeFieldDescriptionboolean
float
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
ModifierConstructorDescriptionBipedModel
(float p_i1148_1_) protected
BipedModel
(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>
void
copyPropertiesTo
(BipedModel<T> p_217148_1_) protected ModelRenderer
protected HandSide
getAttackArm
(T p_217147_1_) getHead()
protected Iterable<ModelRenderer>
private void
poseLeftArm
(T p_241655_1_) private void
poseRightArm
(T p_241654_1_) void
prepareMobModel
(T p_212843_1_, float p_212843_2_, float p_212843_3_, float p_212843_4_) private float
quadraticArmUpdate
(float p_203068_1_) protected float
rotlerpRad
(float p_205060_1_, float p_205060_2_, float p_205060_3_) void
setAllVisible
(boolean p_178719_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_) void
translateToHand
(HandSide p_225599_1_, MatrixStack p_225599_2_) 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
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:
headParts
in classAgeableModel<T extends LivingEntity>
-
bodyParts
- Specified by:
bodyParts
in classAgeableModel<T extends LivingEntity>
-
prepareMobModel
- Overrides:
prepareMobModel
in 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:
setupAnim
in 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:
translateToHand
in interfaceIHasArm
-
getArm
-
getHead
-
getAttackArm
-