- radianToDegree(float) - Static method in class net.risingworld.api.utils.Utils.MathUtils
-
Converts a radian value to degree.
- rawMapTileToBufferedImage(byte[]) - Static method in class net.risingworld.api.utils.Utils.ImageUtils
-
- raycast(int, Callback<RayCastResult>) - Method in interface net.risingworld.api.objects.Player
-
Performs a raycast from the player view position to the player view direction,
i.e. from the cam position to the center of the screen (crosshair).
- raycast(Vector3f, int, Callback<RayCastResult>) - Method in interface net.risingworld.api.objects.Player
-
Performs a raycast from the player view position to the provided direction.
- raycastFromScreenPosition(float, float, boolean, int, Callback<RayCastResult>) - Method in interface net.risingworld.api.objects.Player
-
Performs a raycast from the screen xy position.
- raycastFromWorldPosition(Vector3f, Vector3f, int, Callback<RayCastResult>) - Method in interface net.risingworld.api.objects.Player
-
Performs a raycast from a world position.
- RayCastResult - Class in net.risingworld.api.utils
-
- RayCastResult() - Constructor for class net.risingworld.api.utils.RayCastResult
-
Creates an "empty" RayCastResult (i.e. no collisions).
- RayCastResult(int, int, float, Vector3f, Vector3f, Vector3f, short) - Constructor for class net.risingworld.api.utils.RayCastResult
-
- readBytesFromFile(File) - Static method in class net.risingworld.api.utils.Utils.FileUtils
-
Reads the bytes of a file.
- readStringFromFile(File) - Static method in class net.risingworld.api.utils.Utils.FileUtils
-
Reads a text / string from a file.
- rearrange() - Method in class net.risingworld.api.utils.Area
-
Rearranges the values of this Area
, i.e. the start position
will be compared with the end position, and if the start position is
less than the end position, the values will be swapped.
- refresh() - Method in class net.risingworld.api.gui.GuiElement
-
Refreshes this element, i.e. synchronizes it between the client and the
server.
- refresh() - Method in class net.risingworld.api.gui.GuiFileBrowser
-
- refresh() - Method in class net.risingworld.api.gui.GuiImage
-
- refresh() - Method in class net.risingworld.api.gui.GuiLabel
-
- refresh() - Method in class net.risingworld.api.gui.GuiTextField
-
- refresh() - Method in class net.risingworld.api.worldelements.WorldElement
-
Internal use only.
- registerCustomItem(CustomItem) - Method in interface net.risingworld.api.Server
-
Registers a new custom item.
- registerCustomRecipe(CustomRecipe) - Method in interface net.risingworld.api.Server
-
Registers a new custom crafting recipe.
- registerEventListener(Listener) - Method in class net.risingworld.api.Plugin
-
Registers an event Listener
.
- registerKeys(int...) - Method in interface net.risingworld.api.objects.Player
-
Defines the key inputs the client should forward to the server.
- remove(Clothes.Type) - Method in interface net.risingworld.api.objects.Clothes
-
- RemoveAdminEvent - Class in net.risingworld.api.events.general
-
Called when a player is removed from the admin list.
- RemoveAdminEvent(String) - Constructor for class net.risingworld.api.events.general.RemoveAdminEvent
-
- removeAll() - Method in interface net.risingworld.api.objects.Clothes
-
- removeAllChildren() - Method in class net.risingworld.api.gui.GuiElement
-
- removeAllConstructionsInArea(Area) - Method in interface net.risingworld.api.World
-
Removes all constructions (e.g. planks, beams, windows etc.) inside the given area.
- removeAllConstructionsInArea(Vector3i, Vector3i, Vector3i, Vector3i) - Method in interface net.risingworld.api.World
-
Removes all constructions (e.g. planks, beams, windows etc.) inside the given area.
- removeAllConstructionsInArea(int, int, int, int, int, int, int, int, int, int, int, int) - Method in interface net.risingworld.api.World
-
Removes all constructions (e.g. planks, beams, windows etc.) inside the given area.
- removeAllGuiElements() - Method in interface net.risingworld.api.objects.Player
-
Removes all GUI elements that are attached to the player's hud.
- removeAllLeadingWhitespaces(String) - Static method in class net.risingworld.api.utils.Utils.StringUtils
-
Removes all leading white spaces.
- removeAllNonWordCharacters(String) - Static method in class net.risingworld.api.utils.Utils.StringUtils
-
- removeAllObjectsInArea(Area) - Method in interface net.risingworld.api.World
-
Removes all objects (e.g. furniture, lamps etc.) inside the given area.
- removeAllObjectsInArea(Vector3i, Vector3i, Vector3i, Vector3i) - Method in interface net.risingworld.api.World
-
Removes all objects (e.g. furniture, lamps etc.) inside the given area.
- removeAllObjectsInArea(int, int, int, int, int, int, int, int, int, int, int, int) - Method in interface net.risingworld.api.World
-
Removes all objects (e.g. furniture, lamps etc.) inside the given area.
- removeAllTrailingWhitespaces(String) - Static method in class net.risingworld.api.utils.Utils.StringUtils
-
- removeAllVegetationsInArea(Area) - Method in interface net.risingworld.api.World
-
Removes all vegetations (plants, trees etc.) inside the given area.
- removeAllVegetationsInArea(Vector3i, Vector3i, Vector3i, Vector3i) - Method in interface net.risingworld.api.World
-
Removes all vegetations (plants, trees etc.) inside the given area.
- removeAllVegetationsInArea(int, int, int, int, int, int, int, int, int, int, int, int) - Method in interface net.risingworld.api.World
-
Removes all vegetations (plants, trees etc.) inside the given area.
- removeAllWhitespaces(String) - Static method in class net.risingworld.api.utils.Utils.StringUtils
-
- removeAllWorldElements() - Method in interface net.risingworld.api.objects.Player
-
Removes all WorldElements
from the player's world.
- removeArea(Area) - Method in interface net.risingworld.api.Server
-
Removes an Area
that has been added to the server previously.
- removeBait(boolean) - Method in class net.risingworld.api.events.player.PlayerCatchFishEvent
-
Determines if the bait will be consumed or not.
- removeChild(GuiElement) - Method in class net.risingworld.api.gui.GuiElement
-
Removes, i.e. detaches a child element.
- removeCustomImage(int) - Method in interface net.risingworld.api.Server
-
Deletes a custom image (and also removes all placed instances in the world).
- removeFromParent() - Method in class net.risingworld.api.gui.GuiElement
-
Removes an element from its parent.
- removeGuiElement(GuiElement) - Method in interface net.risingworld.api.objects.Player
-
Removes a GUI element from the player's hud.
- removeItem(int, Inventory.SlotType) - Method in interface net.risingworld.api.objects.Inventory
-
Removes an item from a particular slot in the inventory.
- removeItem(int, Inventory.SlotType, int) - Method in interface net.risingworld.api.objects.Inventory
-
Removes an item (or more precisely, reduces the stack size of the item by
the provided amount) from a particular slot in the inventory.
- removeItem(int) - Method in interface net.risingworld.api.objects.Storage
-
Removes an item from a particular slot in the chest.
- removeItem(int, int) - Method in interface net.risingworld.api.objects.Storage
-
Removes an item (or more precisely, reduces the stack size of the item by
the provided amount) from a particular slot in the chest.
- removeItem(short, int, int) - Method in interface net.risingworld.api.objects.Storage
-
Removes the next item with the given type id and variation from the chest
(more precisely, the stack size of the item is reduced by the provided amount).
- removeObject(int, float, float, float) - Method in interface net.risingworld.api.World
-
Removes an object.
- removeOnUse() - Method in class net.risingworld.api.utils.Definitions.FoodDefinition
-
- removesBait() - Method in class net.risingworld.api.events.player.PlayerCatchFishEvent
-
Gets whether or not a bait will be consumed.
- removeVegetation(int, float, float, float) - Method in interface net.risingworld.api.World
-
Removes a plant.
- removeWorldElement(WorldElement) - Method in interface net.risingworld.api.objects.Player
-
Removes a WorldElement
from the player's world.
- requestFileUpload(String, Callback<File>) - Method in class net.risingworld.api.events.player.gui.PlayerSelectFileEvent
-
Requests the client to upload the file to the server.
- requestMapTileRaw(int, int, String, Callback<byte[]>) - Method in interface net.risingworld.api.objects.Player
-
Requests a raw map tile from a client.
- requiresFuel() - Method in class net.risingworld.api.utils.Definitions.FurnaceDefinition
-
Gets whether or not this furnace requires fuel.
- reset(boolean) - Method in interface net.risingworld.api.Internals
-
Resets/Reloads or unloads all plugins.
- respawn() - Method in interface net.risingworld.api.objects.Player
-
Respawns the player.
- respawn(Vector3f, Quaternion) - Method in interface net.risingworld.api.objects.Player
-
Respawns the player at the given position.
- round(float, int) - Static method in class net.risingworld.api.utils.Utils.MathUtils
-
Rounds a float value to a given decimal place.