Package net.minecraft.src
Class ModelSpider
java.lang.Object
net.minecraft.src.ModelBase
net.minecraft.src.ModelSpider
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe spider's body boxThe spider's head boxSpider's first legSpider's second legSpider's third legSpider's fourth legSpider's fifth legSpider's sixth legSpider's seventh legSpider's eight legThe spider's neck boxFields inherited from class net.minecraft.src.ModelBase
boxList, isChild, isRiding, onGround, textureHeight, textureWidth -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSets the models various rotation angles then renders the model.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.ModelBase
getRandomModelBox, getTextureOffset, setLivingAnimations, setTextureOffset
-
Field Details
-
spiderHead
The spider's head box -
spiderNeck
The spider's neck box -
spiderBody
The spider's body box -
spiderLeg1
Spider's first leg -
spiderLeg2
Spider's second leg -
spiderLeg3
Spider's third leg -
spiderLeg4
Spider's fourth leg -
spiderLeg5
Spider's fifth leg -
spiderLeg6
Spider's sixth leg -
spiderLeg7
Spider's seventh leg -
spiderLeg8
Spider's eight leg
-
-
Constructor Details
-
ModelSpider
public ModelSpider()
-
-
Method Details
-
render
public void render(Entity par1Entity, float par2, float par3, float par4, float par5, float par6, float par7) Sets the models various rotation angles then renders the model. -
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 classModelBase
-