Interface AttackRange
@NonExtendable
public interface AttackRange
- Since:
- 1.21.11
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic AttackRange.BuilderReturns a new builder for creating an Attack Range.@Range(from=0L,to=1L) float@Range(from=0L,to=64L) float@Range(from=0L,to=64L) floatmaxReach()@Range(from=0L,to=64L) float@Range(from=0L,to=64L) floatminReach()@Range(from=0L,to=2L) float
-
Method Details
-
attackRange
Returns a new builder for creating an Attack Range.- Returns:
- a builder instance
- Since:
- 1.21.11
-
minReach
@Contract(pure=true) @Range(from=0L,to=64L) float minReach()- Since:
- 1.21.11
-
maxReach
@Contract(pure=true) @Range(from=0L,to=64L) float maxReach()- Since:
- 1.21.11
-
minCreativeReach
@Contract(pure=true) @Range(from=0L,to=64L) float minCreativeReach()- Since:
- 1.21.11
-
maxCreativeReach
@Contract(pure=true) @Range(from=0L,to=64L) float maxCreativeReach()- Since:
- 1.21.11
-
hitboxMargin
@Contract(pure=true) @Range(from=0L,to=1L) float hitboxMargin()- Since:
- 1.21.11
-
mobFactor
@Contract(pure=true) @Range(from=0L,to=2L) float mobFactor()- Since:
- 1.21.11
-