Package btw.entity.model
Class ModernBatModel
java.lang.Object
net.minecraft.src.ModelBase
net.minecraft.src.ModelBat
btw.entity.model.ModernBatModel
-
Field Summary
Fields inherited from class net.minecraft.src.ModelBase
boxList, isChild, isRiding, onGround, textureHeight, textureWidth -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintnot actually sure this is size, is not used as of now, but the model would be recreated if the value changed and it seems a good match for a bats sizevoidSets the models various rotation angles then renders the model.voidsetRotationAngles(float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scale, Entity entity) Sets the model's various rotation angles.Methods inherited from class net.minecraft.src.ModelBase
getRandomModelBox, getTextureOffset, setLivingAnimations, setTextureOffset
-
Constructor Details
-
ModernBatModel
public ModernBatModel()
-
-
Method Details
-
getBatSize
public int getBatSize()not actually sure this is size, is not used as of now, but the model would be recreated if the value changed and it seems a good match for a bats size- Overrides:
getBatSizein classModelBat
-
render
Sets the models various rotation angles then renders the model. -
setRotationAngles
public void setRotationAngles(float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scale, Entity entity) Description copied from class:ModelBaseSets 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
-