Uses of Enum Class
net.risingworld.api.utils.Key
Package
Description
-
Uses of Key in net.risingworld.api.events.player
-
Uses of Key in net.risingworld.api.objects
Modifier and TypeMethodDescriptionKey[]
Player.getRegisteredKeys
(boolean global) Gets all keys that are registered by this plugin.Modifier and TypeMethodDescriptionvoid
Player.disableClientsideKeys
(Key... keys) Disables certain game keys for the client.void
Player.enableClientsideKeys
(Key... keys) Re-enables certain keys which have been disabled by callingPlayer.disableClientsideKeys(net.risingworld.api.utils.Key...)
.boolean
Player.isKeyPressed
(Key key) Checks if a particular key is currently pressed.boolean
Player.isKeyRegistered
(Key key, boolean global) Checks if a particular key is registered, i.e the client listens for input.void
Player.registerKeys
(Key... keys) Defines key inputs the client should forward to the server.void
Releases input from a particular key.void
Player.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
Modifier and TypeMethodDescriptionstatic Key
Key.fromKeyCode
(int keyCode) static Key
Returns 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.