Package io.papermc.paper.registry.data
Interface GameEventRegistryEntry
- All Known Subinterfaces:
GameEventRegistryEntry.Builder
A data-centric version-specific registry entry for the
GameEvent type.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA mutable builder for theGameEventRegistryEntryplugins may change in applicable registry events. -
Method Summary
Modifier and TypeMethodDescription@org.jetbrains.annotations.Range(from=0L, to=2147483647L) intrange()Provides the range in which this game event will notify its listeners.
-
Method Details
-
range
@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int range()Provides the range in which this game event will notify its listeners.- Returns:
- the range of blocks, represented as an int.
- See Also:
-