Class Hitbox

java.lang.Object
com.ticxo.modelengine.api.entity.Hitbox

public class Hitbox extends Object
  • Constructor Details

    • Hitbox

      public Hitbox(double width, double height, double depth, double eyeHeight)
  • Method Details

    • clone

      public Hitbox clone()
      Overrides:
      clone in class Object
    • getMaxWidth

      public double getMaxWidth()
    • createBoundingBox

      public org.bukkit.util.BoundingBox createBoundingBox(org.bukkit.util.Vector vector)
    • toSimpleString

      public String toSimpleString()
    • toEyeHeightString

      public String toEyeHeightString()
    • getWidth

      public double getWidth()
    • getHeight

      public double getHeight()
    • getDepth

      public double getDepth()
    • getEyeHeight

      public double getEyeHeight()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object