Interface Hitbox


public interface Hitbox
Represents an entity hitbox.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    The builder for the hitbox
  • Method Summary

    Modifier and Type
    Method
    Description
     
    org.cloudburstmc.math.vector.Vector3f
    max()
    The max "corner" of the hitbox
    org.cloudburstmc.math.vector.Vector3f
    min()
    The min "corner" of the hitbox
    org.cloudburstmc.math.vector.Vector3f
    The pivot of the hitbox
  • Method Details

    • min

      org.cloudburstmc.math.vector.Vector3f min()
      The min "corner" of the hitbox
      Returns:
      the vector of the corner
    • max

      org.cloudburstmc.math.vector.Vector3f max()
      The max "corner" of the hitbox
      Returns:
      the vector of the corner
    • pivot

      org.cloudburstmc.math.vector.Vector3f pivot()
      The pivot of the hitbox
      Returns:
      the pivot
    • builder

      static Hitbox.Builder builder()