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