Package io.papermc.paper.registry.data
Interface GameEventRegistryEntry
- All Known Subinterfaces:
GameEventRegistryEntry.Builder
public interface GameEventRegistryEntry
A data-centric version-specific registry entry for the
GameEvent
type.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
A mutable builder for theGameEventRegistryEntry
plugins may change in applicable registry events. -
Method Summary
Modifier and TypeMethodDescription@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int
range()
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:
-