Interface Hitbox
public interface Hitbox
Represents an entity hitbox.
- Since:
- 2.11.0
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Hitbox.Builderbuilder()Creates a new builder for a hitboxorg.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.- Since:
- 2.11.0
-
-
Method Details
-
min
org.cloudburstmc.math.vector.Vector3f min()The min "corner" of the hitbox- Returns:
- the vector of the corner
- Since:
- 2.11.0
-
max
org.cloudburstmc.math.vector.Vector3f max()The max "corner" of the hitbox- Returns:
- the vector of the corner
- Since:
- 2.11.0
-
pivot
org.cloudburstmc.math.vector.Vector3f pivot()The pivot of the hitbox- Returns:
- the pivot
- Since:
- 2.11.0
-
builder
Creates a new builder for a hitbox- Returns:
- a new builder
- Since:
- 2.11.0
-