Interface GameEvent
- All Superinterfaces:
Holder<GameEvent>
,net.kyori.adventure.key.Keyed
,RegistryKey<GameEvent>
,StaticProtocolObject<GameEvent>
Represents a game event.
Used for a wide variety of events, from weather to bed use to game mode to demo messages.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minestom.server.registry.Holder
Holder.Direct<T>
-
Method Summary
Methods inherited from interface net.minestom.server.registry.Holder
asKey, asValue, isDirect, resolve, unwrap
Methods inherited from interface net.minestom.server.registry.StaticProtocolObject
id, key, name
-
Method Details
-
registry
Returns the game event registry.- Specified by:
registry
in interfaceStaticProtocolObject<GameEvent>
- Returns:
- the game event registry or null if not found
-
values
-
fromKey
-
fromKey
-
fromId
-
staticRegistry
-