Uses of Enum Class
net.risingworld.api.utils.Key
Packages that use Key
Package
Description
-
Uses of Key in net.risingworld.api.events.player
Methods in net.risingworld.api.events.player that return Key -
Uses of Key in net.risingworld.api.objects
Methods in net.risingworld.api.objects that return KeyModifier and TypeMethodDescriptionKey[]Player.getRegisteredKeys(boolean global) Gets all keys that are registered by this plugin.Methods in net.risingworld.api.objects with parameters of type KeyModifier and TypeMethodDescriptionvoidPlayer.disableClientsideKeys(Key... keys) Disables certain game keys for the client.voidPlayer.enableClientsideKeys(Key... keys) Re-enables keys which have been disabled previously viaPlayer.disableClientsideKeys(net.risingworld.api.utils.Key...).booleanPlayer.isKeyPressed(Key key) Checks if a particular key is currently pressed.booleanPlayer.isKeyRegistered(Key key, boolean global) Checks if a particular key is registered, i.e the client listens for input.voidPlayer.registerKeys(Key... keys) Defines key inputs the client should forward to the server.voidReleases input from a particular key.voidPlayer.unregisterKeys(Key... keys) Unregisters one or more keys, so the client no longer forwards input from these keys to the server. -
Uses of Key in net.risingworld.api.utils
Subclasses with type arguments of type Key in net.risingworld.api.utilsMethods in net.risingworld.api.utils that return KeyModifier and TypeMethodDescriptionstatic KeyKey.fromKeyCode(int keyCode) static KeyReturns the enum constant of this class with the specified name.static Key[]Key.values()Returns an array containing the constants of this enum class, in the order they are declared.