Interface AttackRange.Builder
- All Superinterfaces:
DataComponentBuilder<AttackRange>
- Enclosing interface:
AttackRange
@NonExtendable
public static interface AttackRange.Builder
extends DataComponentBuilder<AttackRange>
Builder for
AttackRange.- Since:
- 1.21.11
-
Method Summary
Modifier and TypeMethodDescriptionhitboxMargin(@Range(from=0L,to=1L) float hitboxMargin) maxCreativeReach(@Range(from=0L,to=64L) float maxCreativeReach) maxReach(@Range(from=0L,to=64L) float maxReach) minCreativeReach(@Range(from=0L,to=64L) float minCreativeReach) minReach(@Range(from=0L,to=64L) float minReach) mobFactor(@Range(from=0L,to=2L) float mobFactor) Methods inherited from interface DataComponentBuilder
build
-
Method Details
-
minReach
@Contract(value="_ -> this", mutates="this") AttackRange.Builder minReach(@Range(from=0L,to=64L) float minReach) - Since:
- 1.21.11
-
maxReach
@Contract(value="_ -> this", mutates="this") AttackRange.Builder maxReach(@Range(from=0L,to=64L) float maxReach) - Since:
- 1.21.11
-
minCreativeReach
@Contract(value="_ -> this", mutates="this") AttackRange.Builder minCreativeReach(@Range(from=0L,to=64L) float minCreativeReach) - Since:
- 1.21.11
-
maxCreativeReach
@Contract(value="_ -> this", mutates="this") AttackRange.Builder maxCreativeReach(@Range(from=0L,to=64L) float maxCreativeReach) - Since:
- 1.21.11
-
hitboxMargin
@Contract(value="_ -> this", mutates="this") AttackRange.Builder hitboxMargin(@Range(from=0L,to=1L) float hitboxMargin) - Since:
- 1.21.11
-
mobFactor
@Contract(value="_ -> this", mutates="this") AttackRange.Builder mobFactor(@Range(from=0L,to=2L) float mobFactor) - Since:
- 1.21.11
-