Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
R
- r - Variable in class net.risingworld.api.utils.ColorRGBA
-
The red color component (0-1)
- R - Enum constant in enum class net.risingworld.api.utils.Key
- race - Variable in class net.risingworld.api.definitions.Clothing.ClothingDefinition
-
Race which can wear this clothing piece
- RAD_TO_DEG - Static variable in class net.risingworld.api.utils.Utils.MathUtils
-
Multiply with this factor to convert a radian value to degrees
- RadialMenus - Enum constant in enum class net.risingworld.api.ui.UITarget
-
Attach element to radial menu layer (so it's only visible while a radial menu is open)
- radianToDegree(float) - Static method in class net.risingworld.api.utils.Utils.MathUtils
-
Converts a radian value to degree.
- radiationprotection - Variable in class net.risingworld.api.definitions.Clothing.ClothingDefinition
- Ragdoll - Enum constant in enum class net.risingworld.api.definitions.Npcs.CorpseType
-
Npc body will turn into a ragdoll model
- Rain - Static variable in class net.risingworld.api.definitions.WeatherDefs
-
Rain
- rainintensity - Variable in class net.risingworld.api.definitions.WeatherDefs.Weather
- rainsoundintensity - Variable in class net.risingworld.api.definitions.WeatherDefs.Weather
-
Rain sound intensity (0-1)
- Rake - Enum constant in enum class net.risingworld.api.definitions.Items.PickingType
- randomgrowthrotation - Variable in class net.risingworld.api.definitions.Plants.PlantDefinition
-
If true, the Y rotation will change randomly when reaching the next growth stage
- range - Variable in class net.risingworld.api.definitions.Items.PickingInfo
-
Max range of this item
- RangedWeapons - Enum constant in enum class net.risingworld.api.definitions.Crafting.SubCategory
- Raw - Enum constant in enum class net.risingworld.api.assets.Asset.Source
-
Asset is loaded from raw byte data
- rawingredientstring - Variable in class net.risingworld.api.definitions.Crafting.Recipe
-
Raw ingredients string (as it was read from the database)
- rawMapTileToBufferedImage(byte[]) - Static method in class net.risingworld.api.utils.Utils.ImageUtils
- rawworkbenchesstring - Variable in class net.risingworld.api.definitions.Crafting.Recipe
-
Raw workbenches string (as it was read from the database)
- raycast(float, int, boolean, Callback<RaycastResult>) - Method in class net.risingworld.api.objects.Player
-
Performs a raycast from the player view position to the player view direction.
- raycast(int, Callback<RaycastResult>) - Method in class net.risingworld.api.objects.Player
-
Performs a raycast from the player view position to the player view direction.
- raycast(Vector3f, float, int, boolean, Callback<RaycastResult>) - Method in class net.risingworld.api.objects.Player
-
Performs a raycast from the player view position to the provided direction.
- raycastFromScreenPosition(float, float, boolean, float, int, boolean, Callback<RaycastResult>) - Method in class net.risingworld.api.objects.Player
-
Performs a raycast from the screen xy position.
- raycastFromWorldPosition(Vector3f, Vector3f, float, int, boolean, Callback<RaycastResult>) - Method in class net.risingworld.api.objects.Player
-
Performs a raycast from a world position.
- RaycastResult - Class in net.risingworld.api.utils
-
Represents the result of a raycast.
- rayoffset - Variable in class net.risingworld.api.definitions.Npcs.NpcDefinition
- readBytesFromFile(File) - Static method in class net.risingworld.api.utils.Utils.FileUtils
-
Reads the bytes of a file.
- readLocalPosition(String, Player, Callback<Vector3f>) - Method in class net.risingworld.api.worldelements.Prefab
-
Reads the actual local position of the prefab (or a child of this prefab, specified by the path) from a particular player.
- readLocalRotation(String, Player, Callback<Quaternion>) - Method in class net.risingworld.api.worldelements.Prefab
-
Reads the actual local rotation of the prefab (or a child of this prefab, specified by the path) from a particular player.
- readStringFromFile(File) - Static method in class net.risingworld.api.utils.Utils.FileUtils
-
Reads a text / string from a file.
- readWorldPosition(String, Player, Callback<Vector3f>) - Method in class net.risingworld.api.worldelements.Prefab
-
Reads the actual world position of the prefab (or a child of this prefab, specified by the path) from a particular player.
- readWorldPosition(Player, Callback<Vector3f>) - Method in class net.risingworld.api.worldelements.GameObject
-
Reads the actual world position of the game object from a particular player.
- readWorldRotation(String, Player, Callback<Quaternion>) - Method in class net.risingworld.api.worldelements.Prefab
-
Reads the actual world rotation of the prefab (or a child of this prefab, specified by the path) from a particular player.
- readWorldRotation(Player, Callback<Quaternion>) - Method in class net.risingworld.api.worldelements.GameObject
-
Reads the actual world rotation of the game object from a particular player.
- Ready - Enum constant in enum class net.risingworld.api.definitions.Vehicles.Stage
- ReadyEvent - Class in net.risingworld.api.events.general
-
Triggered when the game or server is fully initialized.
- rearrange() - Method in class net.risingworld.api.objects.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.
Note: This method is called automatically when a new area is created or when the start/end position has been changed. - rebindAnimator(String, boolean) - Method in class net.risingworld.api.worldelements.Prefab
-
Rebinds all properties and mesh data with the animator controller.
- Recycle - Enum constant in enum class net.risingworld.api.utils.Crosshair
-
Recycle icon
- Red - Static variable in class net.risingworld.api.utils.ColorRGBA
-
Red color (1, 0, 0)
- Redclay - Enum constant in enum class net.risingworld.api.definitions.Terrain
- refresh() - Method in class net.risingworld.api.ui.style.StyleScale
- refresh() - Method in class net.risingworld.api.ui.style.StyleTransformOrigin
- refresh() - Method in class net.risingworld.api.ui.style.StyleTranslate
- refuelvalue - Variable in class net.risingworld.api.definitions.Items.ItemInfo
-
If used as fuel, this determines how much the furnace will be refueled
- registerEventListener(Listener) - Method in class net.risingworld.api.Plugin
-
Registers an event
Listener
. - registerKeys(Key...) - Method in class net.risingworld.api.objects.Player
-
Defines key inputs the client should forward to the server.
- reinit(float, float, int) - Method in class net.risingworld.api.Timer
- reinitVFX(String) - Method in class net.risingworld.api.worldelements.Prefab
- relateditem - Variable in class net.risingworld.api.definitions.Clothing.ClothingDefinition
- relateditem - Variable in class net.risingworld.api.definitions.Constructions.ConstructionDefinition
-
Related item (which represents this construction element)
- relateditem - Variable in class net.risingworld.api.definitions.Objects.ObjectDefinition
-
Related item name.
- relateditem - Variable in class net.risingworld.api.definitions.Vehicles.VehicleComponent
-
Item that represents this component
- relative - Variable in class net.risingworld.api.definitions.Npcs.NpcDefinition
-
If another npc is related to this type, this is the relative.
- Relative - Enum constant in enum class net.risingworld.api.ui.style.Position
-
Default: Relative position
- REMOTEPLAYER - Static variable in class net.risingworld.api.utils.Layer
- remove - Variable in class net.risingworld.api.definitions.Items.ConsumeInfo
-
Determines if the item should be removed from inventory after consuming
- remove(short) - Method in class net.risingworld.api.objects.Clothes
- remove(Clothing.Type) - Method in class net.risingworld.api.objects.Clothes
- RemoveAdminEvent - Class in net.risingworld.api.events.general
-
Called when a player is removed from the admin list.
- removeAll() - Method in class net.risingworld.api.objects.Clothes
- removeAllChilds() - Method in class net.risingworld.api.ui.UIElement
-
Removes all children from this element.
- removeAllChilds() - Method in class net.risingworld.api.worldelements.GameObject
-
Removes all children from this element.
- removeAllLeadingAndTrailingWhitespaces(String) - Static method in class net.risingworld.api.utils.Utils.StringUtils
- 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
- removeAllTrailingWhitespaces(String) - Static method in class net.risingworld.api.utils.Utils.StringUtils
- removeAllWhitespaces(String) - Static method in class net.risingworld.api.utils.Utils.StringUtils
- removeArea(Area) - Static method in class net.risingworld.api.Server
-
Removes an
Area
that has been added to the server previously. - removeChild(UIElement) - Method in class net.risingworld.api.ui.UIElement
-
Removes a child from this element.
- removeChild(GameObject) - Method in class net.risingworld.api.worldelements.GameObject
-
Removes a child from this object.
- removeComponent(String) - Method in class net.risingworld.api.worldelements.GameObject
- removeComponent(String, String) - Method in class net.risingworld.api.worldelements.Prefab
-
Removes a Unity component from the prefab or a child of this prefab.
- removeConstructionElement(long, int, int, int, boolean) - Static method in class net.risingworld.api.World
- removeCustomImage(long, boolean) - Static method in class net.risingworld.api.Server
-
Deletes a custom image (and also removes all placed instances in the world).
- removeEntries(int[], int) - Static method in class net.risingworld.api.utils.Utils.ArrayUtils
- removeEntries(String[], String) - Static method in class net.risingworld.api.utils.Utils.ArrayUtils
- removeFromClassList(String) - Method in class net.risingworld.api.ui.UIElement
- removeFromParent() - Method in class net.risingworld.api.ui.UIElement
-
Removes this element from its parent.
- removeFromParent() - Method in class net.risingworld.api.worldelements.GameObject
-
Removes this object from its parent.
- removeGameObject(GameObject) - Method in class net.risingworld.api.objects.Player
-
Removes a
GameObject
from the player's world. - removeItem(int) - Method in class net.risingworld.api.objects.Storage
-
Removes an item from a particular slot in the storage.
- removeItem(int, int) - Method in class net.risingworld.api.objects.Inventory
-
Removes an item from a total index in inventory (or more precisely, reduces the stack size of the item by the provided amount).
- removeItem(int, int) - Method in class 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 storage.
- removeItem(int, Inventory.SlotType) - Method in class net.risingworld.api.objects.Inventory
-
Removes an item from a particular slot in the inventory.
- removeItem(int, Inventory.SlotType, int) - Method in class net.risingworld.api.objects.Inventory
-
Removes an item from a particular slot in the inventory (or more precisely, reduces the stack size of the item by the provided amount).
- removeItem(short, int, int) - Method in class net.risingworld.api.objects.Storage
-
Removes the next item with the given type id and variation from the storage (more precisely, the stack size of the item is reduced by the provided amount).
- removeObject(long, int, int, int, boolean) - Static method in class net.risingworld.api.World
- removePlant(long, int, int, int, boolean, boolean) - Static method in class net.risingworld.api.World
- removePlayerPermission(int) - Method in class net.risingworld.api.objects.Area
-
Removes a player from the area/permissions.
- removePlayerPermission(Player) - Method in class net.risingworld.api.objects.Area
-
Removes a player from the area/permissions.
- removeStyleSheet(StyleSheetAsset) - Method in class net.risingworld.api.ui.UIElement
- removeUIElement(UIElement) - Method in class net.risingworld.api.objects.Player
-
Removes a UI element from the player's screen.
- renderlightintensity - Variable in class net.risingworld.api.definitions.Objects.ObjectDefinition
-
Light intensity when rendering the object icon (0.0 - 1.0).
- renderoffset - Variable in class net.risingworld.api.definitions.Items.ItemDefinition
-
Optional offset when rendering the item (e.g as custom icon or for crafting preview)
- renderoffset - Variable in class net.risingworld.api.definitions.Objects.ObjectDefinition
-
Optional offset of the object when rendering the object icon
- renderoffset - Variable in class net.risingworld.api.definitions.Plants.PlantDefinition
-
Optional plant offset when rendering the plant icon
- renderrotation - Variable in class net.risingworld.api.definitions.Constructions.ConstructionDefinition
-
Optional offset rotation when rendering the construction icon (default rotation will be multiplied with this optional rotation)
- renderrotation - Variable in class net.risingworld.api.definitions.Items.ItemDefinition
-
Optional rotation when rendering the item (e.g as custom icon or for crafting preview)
- renderrotation - Variable in class net.risingworld.api.definitions.Objects.ObjectDefinition
-
Optional offset rotation when rendering the object icon (default rotation will be multiplied with this optional rotation)
- renderrotation - Variable in class net.risingworld.api.definitions.Plants.PlantDefinition
-
Optional plant rotation when rendering the plant icon
- renderscale - Variable in class net.risingworld.api.definitions.Objects.ObjectDefinition
-
Render scale, i.e scale factor for the object when rendering.
- renderscale - Variable in class net.risingworld.api.definitions.Plants.PlantDefinition
-
Scale factors when rendering the plant icon.
- rendertransform - Variable in class net.risingworld.api.definitions.Objects.ObjectDefinition
-
Optional offset of the camera when rendering the object icon
- requiredcomponents - Variable in class net.risingworld.api.definitions.Vehicles.VehicleDefinition
-
Required components for the vehicle to be considered "ready"
- requiredCraftingStations - Variable in class net.risingworld.api.definitions.Crafting.Recipe
-
List of all required crafting stations.
- requiredItemType - Variable in class net.risingworld.api.definitions.Npcs.NpcDefinition.NpcLootInfo
- requiredobjecttype - Variable in class net.risingworld.api.definitions.Items.ItemInfo
-
Required object type for processing this item.
- requiredstage - Variable in class net.risingworld.api.definitions.Vehicles.VehicleAssembly
- requirement - Variable in class net.risingworld.api.definitions.Clothing.ClothingDefinition
-
Optional other clothing piece that is required for this piece (i.e the entity must wear this clothing piece already).
- requiresfarmland - Variable in class net.risingworld.api.definitions.Plants.PlantDefinition
-
If true, this plant can only be planted on farmland (TODO)
- requiresfuel - Variable in class net.risingworld.api.definitions.Objects.ObjectInfoDefinition
- requiresfuel - Variable in class net.risingworld.api.definitions.Vehicles.VehicleDefinition
-
Determines whether or not this vehicle requires fuel
- requiresFuel() - Method in class net.risingworld.api.objects.MetaObject
-
Gets whether or not this meta object requires fuel for processing (e.g a furnace).
- requiressunlight - Variable in class net.risingworld.api.definitions.Plants.PlantDefinition
-
If true, this plant requires sunlight to grow (TODO)
- requiresupdateloop - Variable in class net.risingworld.api.definitions.Objects.ObjectInfoDefinition
- requireswater - Variable in class net.risingworld.api.definitions.Plants.PlantDefinition
-
If true, this plant requires water to grow (TODO)
- reset() - Method in class net.risingworld.api.objects.visuals.Blur
- reset() - Method in class net.risingworld.api.objects.visuals.ChromaticAberration
- reset() - Method in class net.risingworld.api.objects.visuals.ColorFilter
- reset() - Method in class net.risingworld.api.objects.visuals.Contrast
- reset() - Method in class net.risingworld.api.objects.visuals.DarkTones
- reset() - Method in class net.risingworld.api.objects.visuals.Exposure
- reset() - Method in class net.risingworld.api.objects.visuals.FilmGrain
- reset() - Method in class net.risingworld.api.objects.visuals.Fog
- reset() - Method in class net.risingworld.api.objects.visuals.Highlights
- reset() - Method in class net.risingworld.api.objects.visuals.Hue
- reset() - Method in class net.risingworld.api.objects.visuals.LensDistortion
- reset() - Method in class net.risingworld.api.objects.visuals.Midtones
- reset() - Method in class net.risingworld.api.objects.visuals.Saturation
- reset() - Method in class net.risingworld.api.objects.visuals.Vignette
- reset() - Method in class net.risingworld.api.objects.visuals.WhiteBalance
- reset() - Method in class net.risingworld.api.ui.style.Style
-
Resets all style properties
- reset() - Method in class net.risingworld.api.ui.style.StyleColor
- reset() - Method in class net.risingworld.api.ui.style.StyleEnum
- reset() - Method in class net.risingworld.api.ui.style.StyleFloat
- reset() - Method in class net.risingworld.api.ui.style.StyleImage
- reset() - Method in class net.risingworld.api.ui.style.StyleLength
- reset() - Method in class net.risingworld.api.ui.style.StyleScale
- reset() - Method in class net.risingworld.api.ui.style.StyleTransformOrigin
- reset() - Method in class net.risingworld.api.ui.style.StyleTranslate
- reset(boolean) - Static method in class net.risingworld.api.Internals
-
Resets/Reloads or unloads all plugins.
- resetAnimatorTrigger(String, String) - Method in class net.risingworld.api.worldelements.Prefab
-
Resets (i.e unsets) the value of the given trigger parameter on the animator controller component.
- resetAttackReaction() - Method in class net.risingworld.api.objects.Npc
-
Resets the overridden attack reaction to the default reaction
- resetBehaviour() - Method in class net.risingworld.api.objects.Npc
-
Resets the overridden behaviour to the default behaviour
- resetPivot() - Method in class net.risingworld.api.ui.UIElement
-
Resets the pivot setting, i.e internally this resets the transformOrigin and translate style parameters.
- resetPosition() - Method in class net.risingworld.api.ui.UIElement
-
Resets the position, i.e internally this resets the left, bottom, top and right style parameters.
- resetrotationafterplace - Variable in class net.risingworld.api.definitions.Constructions.ConstructionDefinition
-
If true, the current selector rotation will be reset after placing this element
- resetstatusondrop - Variable in class net.risingworld.api.definitions.Items.ItemDefinition
-
If true, the item status will be set to 0 when dropping this item
- resetvalueondrop - Variable in class net.risingworld.api.definitions.Items.ItemDefinition
-
If true, the item value will be set to 0 when dropping this item
- resize(byte[], int) - Static method in class net.risingworld.api.utils.Utils.ArrayUtils
- resize(int[], int) - Static method in class net.risingworld.api.utils.Utils.ArrayUtils
- resize(String[], int) - Static method in class net.risingworld.api.utils.Utils.ArrayUtils
- resizefactor - Variable in class net.risingworld.api.definitions.Objects.ObjectDefinition
-
Determines how much the element should be resized along x, y and z (0-1).
- resizekeepproportions - Variable in class net.risingworld.api.definitions.Constructions.ConstructionDefinition
-
If true, the mesh will keep its proportions when resizing it (useful for windows, for example)
- ResizeProportionalX - Enum constant in enum class net.risingworld.api.definitions.Objects.SelectorHelperMode
-
Resize proportional based on X size
- ResizeProportionalY - Enum constant in enum class net.risingworld.api.definitions.Objects.SelectorHelperMode
-
Resize proportional based on Y size
- ResizeProportionalZ - Enum constant in enum class net.risingworld.api.definitions.Objects.SelectorHelperMode
-
Resize proportional based on Z size
- Resource - Enum constant in enum class net.risingworld.api.definitions.Items.Category
- Resources - Enum constant in enum class net.risingworld.api.definitions.Crafting.SubCategory
- respawn(SpawnPointType) - Method in class net.risingworld.api.objects.Player
-
Respawns the player at a specific spawn point (0 for default server spawn, 1 for primary spawn point, 2 for secondary spawn point, 3 for tertiary spawn point.
- respawn(Vector3f, Quaternion) - Method in class net.risingworld.api.objects.Player
-
Respawns the player at the given position.
- restart() - Static method in class net.risingworld.api.Server
-
Attempts to restart the server process.
- ricochet - Variable in class net.risingworld.api.definitions.Items.ProjectileDefinition
-
If true, the projectile may ricochet from a surface (depending on the angle of impact)
- right - Variable in class net.risingworld.api.ui.style.Style
-
Sets the right distance of the element to the parent box
- Right - Enum constant in enum class net.risingworld.api.definitions.Constructions.Face
- Right - Enum constant in enum class net.risingworld.api.definitions.Items.Hand
- Right - Enum constant in enum class net.risingworld.api.definitions.Vehicles.Hand
- Right - Enum constant in enum class net.risingworld.api.utils.MouseButton
- RIGHT - Static variable in class net.risingworld.api.utils.Vector3f
-
A unit vector along the X axis (right direction)
- RightAlt - Enum constant in enum class net.risingworld.api.utils.Key
- RightApple - Enum constant in enum class net.risingworld.api.utils.Key
- RightArrow - Enum constant in enum class net.risingworld.api.utils.Key
- RightBracket - Enum constant in enum class net.risingworld.api.utils.Key
- RightCommand - Enum constant in enum class net.risingworld.api.utils.Key
- RightCtrl - Enum constant in enum class net.risingworld.api.utils.Key
- RightHand - Enum constant in enum class net.risingworld.api.worldelements.GameObject.AttachTarget
-
Tight hand of the target
- RightMeta - Enum constant in enum class net.risingworld.api.utils.Key
- RightShift - Enum constant in enum class net.risingworld.api.utils.Key
- RightWindows - Enum constant in enum class net.risingworld.api.utils.Key
- Robust - Enum constant in enum class net.risingworld.api.definitions.Items.Modifier
-
Good
- Rock - Enum constant in enum class net.risingworld.api.definitions.Plants.Type
- Roofing - Enum constant in enum class net.risingworld.api.definitions.Constructions.BlockType
- Roofing - Enum constant in enum class net.risingworld.api.definitions.Crafting.SubCategory
- Root - Enum constant in enum class net.risingworld.api.worldelements.GameObject.AttachTarget
-
Main target.
- ROOT_DIR - Static variable in class net.risingworld.api.utils.Utils.FileUtils
- rootbone - Variable in class net.risingworld.api.definitions.Clothing.ClothingDefinition
-
Root bone for the skinned mesh renderer
- rotate - Variable in class net.risingworld.api.ui.style.Style
-
Sets a rotation transformation
- rotatespeed - Variable in class net.risingworld.api.definitions.Npcs.NpcDefinition
-
Rotate/turn speed of the npc
- rotateToLocalRotation(Quaternion, float) - Method in class net.risingworld.api.worldelements.GameObject
-
Smoothly rotates this object to a target local rotation.
- rotation - Variable in class net.risingworld.api.definitions.Items.ItemDefinition
-
Item model rotation when holding in hands
- rotationoffset - Variable in class net.risingworld.api.definitions.Objects.ObjectDefinition
-
Optional additional rotation that is applied to the model when placing it
- round(float, int) - Static method in class net.risingworld.api.utils.Utils.MathUtils
-
Rounds a float value to a given decimal place.
- Round - Enum constant in enum class net.risingworld.api.ui.UIPainter2D.LineCap
- Round - Enum constant in enum class net.risingworld.api.ui.UIPainter2D.LineJoin
- Row - Enum constant in enum class net.risingworld.api.ui.style.FlexDirection
-
Left to right
- Rowboat - Enum constant in enum class net.risingworld.api.definitions.Vehicles.Category
- rowplacement - Variable in class net.risingworld.api.definitions.Constructions.ConstructionDefinition
-
Determines if this element can be placed in a row (defines which axes are supported)
- RowReverse - Enum constant in enum class net.risingworld.api.ui.style.FlexDirection
-
Right to left
- Rubble - Enum constant in enum class net.risingworld.api.definitions.Terrain
- Ruined - Enum constant in enum class net.risingworld.api.definitions.Items.FoodCondition
- runspeed - Variable in class net.risingworld.api.definitions.Npcs.NpcDefinition
-
Run speed of the npc
- Ruthless - Enum constant in enum class net.risingworld.api.definitions.Items.Modifier
-
Outstanding
- rx - Variable in class net.risingworld.api.world.generator.PlantInfo
-
The x rotation of the plant (degrees)
- ry - Variable in class net.risingworld.api.world.generator.PlantInfo
-
The y rotation of the plant (degrees)
- rz - Variable in class net.risingworld.api.world.generator.PlantInfo
-
The z rotation of the plant (degrees)
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form