Class ModernBatModel


public class ModernBatModel extends ModelBat
  • 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:
      getBatSize in class ModelBat
    • render

      public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)
      Sets the models various rotation angles then renders the model.
      Overrides:
      render in class ModelBat
    • setRotationAngles

      public void setRotationAngles(float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scale, Entity entity)
      Description copied from class: ModelBase
      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:
      setRotationAngles in class ModelBase