Interface Hitbox
public interface Hitbox
Represents an entity hitbox.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Hitbox.Builderbuilder()org.cloudburstmc.math.vector.Vector3fmax()The max "corner" of the hitboxorg.cloudburstmc.math.vector.Vector3fmin()The min "corner" of the hitboxorg.cloudburstmc.math.vector.Vector3fpivot()The pivot of the hitbox
-
Field Details
-
EMPTY
Represents an empty / disabled 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
-