Package net.minecraft.src
Class ModelSkeleton
java.lang.Object
net.minecraft.src.ModelBase
net.minecraft.src.ModelBiped
net.minecraft.src.ModelZombie
net.minecraft.src.ModelSkeleton
-
Field Summary
Fields inherited from class net.minecraft.src.ModelBiped
aimedBow, bipedBody, bipedCloak, bipedEars, bipedHead, bipedHeadwear, bipedLeftArm, bipedLeftLeg, bipedRightArm, bipedRightLeg, heldItemLeft, heldItemRight, isSneakFields inherited from class net.minecraft.src.ModelBase
boxList, isChild, isRiding, onGround, textureHeight, textureWidth -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetLivingAnimations(EntityLivingBase par1EntityLivingBase, float par2, float par3, float par4) Used for easily adding entity-dependent animations.voidsetRotationAngles(float par1, float par2, float par3, float par4, float par5, float par6, Entity par7Entity) Sets the model's various rotation angles.Methods inherited from class net.minecraft.src.ModelBiped
render, renderCloak, renderEarsMethods inherited from class net.minecraft.src.ModelBase
getRandomModelBox, getTextureOffset, setTextureOffset
-
Constructor Details
-
ModelSkeleton
public ModelSkeleton() -
ModelSkeleton
public ModelSkeleton(float par1)
-
-
Method Details
-
setLivingAnimations
public void setLivingAnimations(EntityLivingBase par1EntityLivingBase, float par2, float par3, float par4) Used for easily adding entity-dependent animations. The second and third float params here are the same second and third as in the setRotationAngles method.- Overrides:
setLivingAnimationsin classModelBase
-
setRotationAngles
public void setRotationAngles(float par1, float par2, float par3, float par4, float par5, float par6, Entity par7Entity) Sets the model's various rotation angles. For bipeds, par1 and par2 are used for animating the movement of arms and legs, where par1 represents the time(so that arms and legs swing back and forth) and par2 represents how "far" arms and legs can swing at most.- Overrides:
setRotationAnglesin classModelZombie
-