Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
S
- S - Enum constant in enum class net.risingworld.api.utils.Key
- Saddle - Enum constant in enum class net.risingworld.api.definitions.Clothing.Function
- Saddlebag - Enum constant in enum class net.risingworld.api.definitions.Clothing.Function
- Sail - Enum constant in enum class net.risingworld.api.definitions.Vehicles.Component
- Sailboat - Enum constant in enum class net.risingworld.api.definitions.Vehicles.Category
- Sails - Enum constant in enum class net.risingworld.api.definitions.Crafting.SubCategory
- SaltWater - Enum constant in enum class net.risingworld.api.definitions.Terrain
- SaltWaterFlow - Enum constant in enum class net.risingworld.api.definitions.Terrain
- SaltWaterInfinite - Enum constant in enum class net.risingworld.api.definitions.Terrain
- SaltWaterStatic - Enum constant in enum class net.risingworld.api.definitions.Terrain
- SaltWaterTemp - Enum constant in enum class net.risingworld.api.definitions.Terrain
- SameType - Enum constant in enum class net.risingworld.api.definitions.Objects.PivotSnapping
- Sand - Enum constant in enum class net.risingworld.api.definitions.Plants.TerrainMaterialType
- Sandbeach - Enum constant in enum class net.risingworld.api.definitions.Terrain
- Sanddesert - Enum constant in enum class net.risingworld.api.definitions.Terrain
- Sandstone - Enum constant in enum class net.risingworld.api.definitions.Crafting.SubCategory
- Sandstone1 - Enum constant in enum class net.risingworld.api.definitions.Terrain
- Sandstone2 - Enum constant in enum class net.risingworld.api.definitions.Terrain
- Sandunderwater - Enum constant in enum class net.risingworld.api.definitions.Terrain
- sapling - Variable in class net.risingworld.api.definitions.Plants.PlantDefinition
-
Sapling item that spawns when cutting down this plant (only used for trees)
- Sapling - Enum constant in enum class net.risingworld.api.definitions.Items.Category
- Sapling - Enum constant in enum class net.risingworld.api.definitions.Items.Group
- Sapling - Enum constant in enum class net.risingworld.api.definitions.Plants.Stage
- saplingcountmax - Variable in class net.risingworld.api.definitions.Plants.PlantDefinition
-
Maximum number of saplings that spawn (only used for trees)
- saplingcountmin - Variable in class net.risingworld.api.definitions.Plants.PlantDefinition
-
Minimum number of saplings that spawn (only used for trees)
- saplingvariant - Variable in class net.risingworld.api.definitions.Plants.PlantDefinition
-
Optional item variant for the sapling.
- saturate(float) - Static method in class net.risingworld.api.utils.Utils.MathUtils
-
Clamps a value between 0 and 1.
- saturation - Variable in class net.risingworld.api.objects.visuals.PostProcessing
-
Overrides the saturation of the screen
- Saturation - Class in net.risingworld.api.objects.visuals
-
Post-processing effect: Screen color saturation adjustment.
- Saturation() - Constructor for class net.risingworld.api.objects.visuals.Saturation
- saveAll() - Static method in class net.risingworld.api.Server
-
Forces the server to save all pending changes (world, players, npcs, storages etc).
- saveNpcs() - Static method in class net.risingworld.api.Server
-
Forces the server to save all npcs.
- savePlayers() - Static method in class net.risingworld.api.Server
-
Forces the server to save all players and inventories.
- saveStorages() - Static method in class net.risingworld.api.Server
-
Forces the server to save all storages (chests etc).
- Scaffolding - Enum constant in enum class net.risingworld.api.definitions.Objects.Type
- Scaffoldings - Enum constant in enum class net.risingworld.api.definitions.Crafting.SubCategory
- scale - Variable in class net.risingworld.api.definitions.Npcs.NpcDefinition
-
Default scale factor that gets applied to the npc.
- scale - Variable in class net.risingworld.api.ui.style.Style
-
Sets a scale transformation
- ScaleAndCrop - Enum constant in enum class net.risingworld.api.ui.style.ScaleMode
-
Scales the image and keeps the aspect ratio.
- scaleaxisx - Variable in class net.risingworld.api.definitions.Constructions.ConstructionDefinition
-
Determines in which direction(s) the elements will be resized if the player wants to resize it along x
- scaleaxisx - Variable in class net.risingworld.api.definitions.Objects.ObjectDefinition
-
Determines in which direction(s) the elements will be resized if the player wants to resize it along x
- scaleaxisy - Variable in class net.risingworld.api.definitions.Constructions.ConstructionDefinition
-
Determines in which direction(s) the elements will be resized if the player wants to resize it along y
- scaleaxisy - Variable in class net.risingworld.api.definitions.Objects.ObjectDefinition
-
Determines in which direction(s) the elements will be resized if the player wants to resize it along y
- scaleaxisz - Variable in class net.risingworld.api.definitions.Constructions.ConstructionDefinition
-
Determines in which direction(s) the elements will be resized if the player wants to resize it along z
- scaleaxisz - Variable in class net.risingworld.api.definitions.Objects.ObjectDefinition
-
Determines in which direction(s) the elements will be resized if the player wants to resize it along z
- scaleFactor - Variable in class net.risingworld.api.world.generator.PlantInfo
-
Scale factor for this plant.
- scaleitemcount - Variable in class net.risingworld.api.definitions.Plants.PlantDefinition
-
If true, the number of items the player gets when harvesting/destroying/picking up the item depends on the scale of the plant
- ScaleMode - Enum Class in net.risingworld.api.ui.style
- ScaleToFit - Enum constant in enum class net.risingworld.api.ui.style.ScaleMode
-
Scales the image and keeps the aspect ratio.
- scarenpcs - Variable in class net.risingworld.api.definitions.Items.WeaponDefinition
- Scissors - Enum constant in enum class net.risingworld.api.utils.Crosshair
-
Scissors icon
- Scoreboard - Enum constant in enum class net.risingworld.api.ui.UITarget
-
Attach element to the playerlist/scoreboard
- ScrollLock - Enum constant in enum class net.risingworld.api.utils.Key
- Scythe - Enum constant in enum class net.risingworld.api.definitions.Items.PickingType
- SEA_LEVEL - Static variable in class net.risingworld.api.utils.Utils
-
Sea level
- SeasonChangeEvent - Class in net.risingworld.api.events.world
-
Called when the season changes, i.e when it switches to spring, summer, autumn or winter.
- seasons - Variable in class net.risingworld.api.definitions.WeatherDefs.Weather
-
Season when this weather effect may occur.
- Seasons - Class in net.risingworld.api.definitions
- Seasons() - Constructor for class net.risingworld.api.definitions.Seasons
- Seasons.Season - Enum Class in net.risingworld.api.definitions
- Seating - Enum constant in enum class net.risingworld.api.definitions.Objects.Type
- Seatings - Enum constant in enum class net.risingworld.api.definitions.Crafting.SubCategory
- seats - Variable in class net.risingworld.api.definitions.Vehicles.VehicleDefinition
-
Number of seats in this vehicle.
- Secondary - Enum constant in enum class net.risingworld.api.utils.SpawnPointType
-
Secondary spawn type (usually labeled as "Tent")
- secondarylength - Variable in class net.risingworld.api.definitions.Items.PickingInfo
-
Length of a secondary hit animation cycle
- secondarystatus - Variable in class net.risingworld.api.definitions.Objects.ObjectInfoDefinition
- Seconds - Enum constant in enum class net.risingworld.api.objects.Time.Unit
- Seedling - Enum constant in enum class net.risingworld.api.definitions.Items.Category
- selectable - Variable in class net.risingworld.api.definitions.Objects.ObjectDefinition
-
Is this object selectable?
- SELECTOR - Static variable in class net.risingworld.api.utils.Layer
- selectorhelper - Variable in class net.risingworld.api.definitions.Objects.ObjectDefinition
-
Optional "helper" object (path to prefab) that's shown if the selector is active (e.g arrows etc).
- selectorhelperoffset - Variable in class net.risingworld.api.definitions.Objects.ObjectDefinition
-
If there is a helper object, this is the local offset of it
- selectorhelperrotation - Variable in class net.risingworld.api.definitions.Objects.ObjectDefinition
-
If there is a helper object, this is the local rotation of it (euler angles)
- selectorhelperscale - Variable in class net.risingworld.api.definitions.Objects.ObjectDefinition
-
If there is a helper object, this is the local scale of it
- Self - Enum constant in enum class net.risingworld.api.definitions.Objects.PivotSnapping
- Semicolon - Enum constant in enum class net.risingworld.api.utils.Key
- sendHttpRequest(String) - Method in class net.risingworld.api.Plugin
-
Sends a http request to the target url.
- sendHttpRequest(String, HashMap<String, String>) - Method in class net.risingworld.api.Plugin
-
Sends a http request with POST data to the target url.
- sendInputCommand(String) - Static method in class net.risingworld.api.Server
-
Sends an input command to the InputStream (System.in) of the server.
- sendTextMessage(String) - Method in class net.risingworld.api.objects.Player
-
Sends a text message to the player's chat.
- sendYellMessage(String, float, boolean) - Method in class net.risingworld.api.objects.Player
-
Displays a message with big letters in the middle of the screen of the player for a few seconds (depending on the length of the message).
- serialize() - Method in class net.risingworld.api.objects.Clothes
-
Serializes the clothes, i.e turns all information into a byte array.
- Server - Class in net.risingworld.api
-
Represents the server object.
- Server.Type - Enum Class in net.risingworld.api
-
Server type
- set(float) - Method in class net.risingworld.api.objects.visuals.Blur
-
Sets the screen-wide blur.
- set(float) - Method in class net.risingworld.api.objects.visuals.ChromaticAberration
-
Sets the chromatic distortion/aberration effect (sometimes also called color/scene fringing).
- set(float) - Method in class net.risingworld.api.objects.visuals.Contrast
-
Sets the contrast value (between -100 and +100).
- set(float) - Method in class net.risingworld.api.objects.visuals.DarkTones
-
Sets the tonal range of shadows (dark areas) on the screen.
- set(float) - Method in class net.risingworld.api.objects.visuals.Exposure
-
Sets the compensation for the default screen exposure.
- set(float) - Method in class net.risingworld.api.objects.visuals.Highlights
-
Sets the tonal range of highlights (bright areas) on the screen.
- set(float) - Method in class net.risingworld.api.objects.visuals.Hue
-
Sets the hue of the screen (between -180 and +180).
- set(float) - Method in class net.risingworld.api.objects.visuals.Midtones
-
Sets the tonal range of midtones on the screen.
- set(float) - Method in class net.risingworld.api.objects.visuals.Saturation
-
Sets the saturation of the screen (between -100 and +100).
- set(float) - Method in class net.risingworld.api.ui.style.StyleFloat
- set(float) - Method in class net.risingworld.api.ui.style.StyleLength
- set(float, float) - Method in class net.risingworld.api.objects.visuals.LensDistortion
-
Sets the lens distortion effect.
- set(float, float) - Method in class net.risingworld.api.objects.visuals.WhiteBalance
-
Sets the white balance of the screen.
- set(float, float) - Method in class net.risingworld.api.ui.style.StyleScale
- set(float, float) - Method in class net.risingworld.api.ui.style.StyleTransformOrigin
- set(float, float) - Method in class net.risingworld.api.ui.style.StyleTranslate
- set(float, float) - Method in class net.risingworld.api.utils.Vector2f
-
Sets the x, y and z values of this vector to the provided values.
- set(float, float, float) - Method in class net.risingworld.api.utils.Vector3f
-
Sets the x, y and z values of this vector to the provided values.
- set(float, float, float, float) - Method in class net.risingworld.api.objects.visuals.ColorFilter
-
Sets the color of the screen.
- set(float, float, float, float) - Method in class net.risingworld.api.objects.visuals.DarkTones
-
Sets the tonal range of shadows (dark areas) on the screen.
- set(float, float, float, float) - Method in class net.risingworld.api.objects.visuals.Fog
-
Sets the global fog.
- set(float, float, float, float) - Method in class net.risingworld.api.objects.visuals.Highlights
-
Sets the tonal range of highlights (bright areas) on the screen.
- set(float, float, float, float) - Method in class net.risingworld.api.objects.visuals.LensDistortion
-
Sets the lens distortion effect.
- set(float, float, float, float) - Method in class net.risingworld.api.objects.visuals.Midtones
-
Sets the tonal range of midtones on the screen.
- set(float, float, float, float) - Method in class net.risingworld.api.ui.style.StyleColor
-
Sets the color.
- set(float, float, float, float) - Method in class net.risingworld.api.utils.ColorRGBA
-
Sets the r, g, b and a values of this color to the provided values.
- set(float, float, float, float) - Method in class net.risingworld.api.utils.Quaternion
-
Sets the X, Y, Z and W values of this Quaternion to the provided values.
- set(float, float, float, float) - Method in class net.risingworld.api.utils.Vector4f
-
Sets the x, y, z and w values of this vector to the provided values.
- set(float, float, float, float, float, float) - Method in class net.risingworld.api.objects.visuals.Fog
-
Sets the global fog.
- set(float, float, float, float, float, float) - Method in class net.risingworld.api.objects.visuals.Vignette
-
Sets the vignette effect.
- set(float, int, float, float) - Method in class net.risingworld.api.objects.visuals.Vignette
-
Sets the vignette effect.
- set(float, Unit) - Method in class net.risingworld.api.ui.style.StyleLength
- set(float, Unit, float, Unit) - Method in class net.risingworld.api.ui.style.StyleTransformOrigin
- set(float, Unit, float, Unit) - Method in class net.risingworld.api.ui.style.StyleTranslate
- set(int) - Method in class net.risingworld.api.ui.style.StyleColor
- set(int, int) - Method in class net.risingworld.api.utils.Vector2i
-
Sets the x, y and z values of this vector to the provided int values.
- set(int, int, int) - Method in class net.risingworld.api.utils.Vector3i
-
Sets the x, y and z values of this vector to the provided int values.
- set(TextureAsset) - Method in class net.risingworld.api.ui.style.StyleImage
- set(FilmGrain.Type, float, float) - Method in class net.risingworld.api.objects.visuals.FilmGrain
-
Sets the film grain effect (screen-wide noise).
- set(Pivot) - Method in class net.risingworld.api.ui.style.StyleTransformOrigin
- set(Pivot) - Method in class net.risingworld.api.ui.style.StyleTranslate
- set(StyleKeyword) - Method in class net.risingworld.api.ui.style.StyleColor
- set(StyleKeyword) - Method in class net.risingworld.api.ui.style.StyleEnum
- set(StyleKeyword) - Method in class net.risingworld.api.ui.style.StyleFloat
- set(StyleKeyword) - Method in class net.risingworld.api.ui.style.StyleImage
- set(StyleKeyword) - Method in class net.risingworld.api.ui.style.StyleLength
- set(StyleKeyword) - Method in class net.risingworld.api.ui.style.StyleScale
- set(StyleKeyword) - Method in class net.risingworld.api.ui.style.StyleTransformOrigin
- set(StyleKeyword) - Method in class net.risingworld.api.ui.style.StyleTranslate
- set(ColorRGBA) - Method in class net.risingworld.api.ui.style.StyleColor
- set(ColorRGBA) - Method in class net.risingworld.api.utils.ColorRGBA
-
Sets the r, g, b and a values of this color to the values of the provided color.
- set(Quaternion) - Method in class net.risingworld.api.utils.Quaternion
-
Sets the X, Y, Z and W values of this Quaternion to the values of the provided quaternion.
- set(Vector2f) - Method in class net.risingworld.api.utils.Vector2f
-
Sets the x and y values of this vector to the values of the provided vector.
- set(Vector2i) - Method in class net.risingworld.api.utils.Vector2i
-
Sets the x and y values of this vector to the values of the provided vector.
- set(Vector3f) - Method in class net.risingworld.api.utils.Vector3f
-
Sets the x, y and z values of this vector to the values of the provided vector.
- set(Vector3f, Vector3f) - Method in class net.risingworld.api.objects.Area
-
Sets a new start and end position for this area.
- set(Vector3i) - Method in class net.risingworld.api.utils.Vector3i
-
Sets the x, y and z values of this vector to the values of the provided vector.
- set(Vector4f) - Method in class net.risingworld.api.utils.Vector4f
-
Sets the x, y, z and w values of this vector to the values of the provided vector.
- set(T) - Method in class net.risingworld.api.ui.style.StyleEnum
- setActive(boolean) - Method in class net.risingworld.api.worldelements.GameObject
-
Toggles the active state of this object.
- setActive(String, boolean) - Method in class net.risingworld.api.worldelements.Prefab
-
Toggles the active state of the prefab or a child of the prefab.
- setAdmin(boolean) - Method in class net.risingworld.api.objects.Player
-
Gives admin rights to the player.
- setAge(int) - Method in class net.risingworld.api.objects.Npc
-
Sets the "age" of the npc.
- setAlerted(boolean) - Method in class net.risingworld.api.objects.Npc
-
Changes the "alert" state of the npc.
- setAlerted(boolean, int) - Method in class net.risingworld.api.objects.Npc
-
Changes the "alert" state of the npc.
- setAlphaThreshold(float) - Method in class net.risingworld.api.assets.MaterialAsset
- setAlwaysVisible(boolean) - Method in class net.risingworld.api.worldelements.Area3D
-
Determines if the element should be always visible (i.e visible through walls etc) or not.
- setAlwaysVisible(boolean) - Method in class net.risingworld.api.worldelements.Text3D
-
Determines if the element should be always visible (i.e visible through walls etc) or not.
- setAmmoSlot(int, Inventory.SlotType) - Method in class net.risingworld.api.events.player.PlayerWeaponReloadEvent
-
Sets a new slot in inventory for the ammo item.
- setAnimationSetting(ModelImportSettings.AnimationImportFlags, boolean) - Method in class net.risingworld.api.assets.ModelImportSettings
- setAnimationSettings(ModelImportSettings.AnimationImportFlags...) - Method in class net.risingworld.api.assets.ModelImportSettings
- setAnimatorParameter(String, String, boolean) - Method in class net.risingworld.api.worldelements.Prefab
-
Sets a boolean parameter on the animator controller component of the prefab or a child of this prefab.
- setAnimatorParameter(String, String, float) - Method in class net.risingworld.api.worldelements.Prefab
-
Sets a float parameter on the animator controller component of the prefab or a child of this prefab.
- setAnimatorParameter(String, String, int) - Method in class net.risingworld.api.worldelements.Prefab
-
Sets an int parameter on the animator controller component of the prefab or a child of this prefab.
- setAnimatorTrigger(String, String) - Method in class net.risingworld.api.worldelements.Prefab
-
Sets the value of the given trigger parameter on the animator controller component.
- setArea(Area) - Method in class net.risingworld.api.worldelements.Area3D
-
Sets the underlying
Area
. - setAreaSelectionData(Area) - Method in class net.risingworld.api.objects.Player
-
Sets an area for the "area selection tool" for this player, i.e the selection tool will adapt to the position and size of the provided area.
- setAttackReaction(Npcs.AttackReaction) - Method in class net.risingworld.api.objects.Npc
-
Overrides the attack reaction of this specific npc, i.e how it reacts when being attacked by a player.
This setting is saved to the npc database, so it's still active after a server restart! - setAttribute(String, Object) - Method in class net.risingworld.api.objects.Area
-
Stores an attribute for this area.
- setAttribute(String, Object) - Method in class net.risingworld.api.objects.Npc
-
Stores an attribute for this npc.
- setAttribute(String, Object) - Method in class net.risingworld.api.objects.Player
-
Stores an attribute for the player.
- setAttribute(String, Object) - Method in class net.risingworld.api.objects.world.ConstructionElement
-
Stores an attribute for this construction element.
- setAttribute(String, Object) - Method in class net.risingworld.api.objects.world.ObjectElement
-
Stores an attribute for this object.
- setAttribute(String, Object) - Method in class net.risingworld.api.objects.world.Plant
-
Stores an attribute for this construction element.
- setAttribute(String, Object) - Method in class net.risingworld.api.worldelements.GameObject
-
Stores an attribute (user data) for the game object.
- setBackgroundColor(float, float, float, float) - Method in class net.risingworld.api.ui.UIElement
-
Sets the background color of the element.
- setBackgroundColor(int) - Method in class net.risingworld.api.ui.UIElement
-
Sets the background color of the element.
- setBeard(byte) - Method in class net.risingworld.api.objects.Skin
-
Changes the beard of the player.
- setBehaviour(Npcs.Behaviour) - Method in class net.risingworld.api.objects.Npc
-
Overrides the behaviour of this particular npc, i.e how it behaves when seeing a player.
This setting is saved to the npc database, so it's still active after a server restart!
Note: In many cases it's also necessary to update the attack reaction of the npc (seeNpc.setAttackReaction(Npcs.AttackReaction)
)! - setBillboard(boolean) - Method in class net.risingworld.api.worldelements.Text3D
-
Enables or disables billboard handling for the text element.
- setBleeding(boolean) - Method in class net.risingworld.api.objects.Player
-
Sets the bleeding state of the player.
- setBlendDistance(float) - Method in class net.risingworld.api.worldelements.PostProcessingVolume
-
Changes the blend distance for this volume.
- setBorder(float) - Method in class net.risingworld.api.ui.UIElement
-
Sets the border width/thickness of this element.
- setBorderColor(float, float, float, float) - Method in class net.risingworld.api.ui.UIElement
-
Sets the color of the border.
- setBorderColor(int) - Method in class net.risingworld.api.ui.UIElement
-
Sets the color of the border.
- setBorderEdgeRadius(float, boolean) - Method in class net.risingworld.api.ui.UIElement
-
Sets the radius of the element border corners.
- setBreath(int) - Method in class net.risingworld.api.objects.Player
-
Sets a new breath level for the player.
- setBrokenBones(boolean) - Method in class net.risingworld.api.objects.Player
-
Sets the broken bone state of the player.
- setCancelled(boolean) - Method in interface net.risingworld.api.events.Cancellable
-
Cancels this event.
- setCancelled(boolean) - Method in class net.risingworld.api.events.general.AddAdminEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.general.InputEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.general.RemoveAdminEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.general.ShutdownEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.general.SkipNightEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.npc.NpcAddClothesEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.npc.NpcAddSaddleBagEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.npc.NpcAddSaddleEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.npc.NpcDamageEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.npc.NpcDeathEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.npc.NpcHitNpcEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.npc.NpcRemoveClothesEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.npc.NpcRemoveSaddleBagEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.npc.NpcRemoveSaddleEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.npc.NpcSpawnEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.npc.NpcTransformEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryAddItemEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryItemEditEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryMoveItemEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryToStorageEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.inventory.PlayerStorageMoveItemEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.inventory.PlayerStorageToInventoryEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerBanEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerChangeBlockPositionEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerChangeGameModeEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerChangePositionEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerChatEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerCommandEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerConnectEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerConsumeItemEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerCraftItemEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerCreateAreaEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerCreateBlueprintEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerDamageEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerDeathEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerDismountNpcEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerDrinkWaterEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerDropItemEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerDropItemFromStorageEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerElementInteractionEvent
-
Deprecated.
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerEnterAreaEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerEnterChunkEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerEnterSectorEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerEnterVehicleEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerEnterWorldPartEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerExitVehicleEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerGameObjectInteractionEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerHitItemEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerHitNpcEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerHitPlayerEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerKickEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerLeaveAreaEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerLocationTickerEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerMountNpcEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerNpcInteractionEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerNpcInventoryAccessEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerObjectInteractionEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerPermissionGroupChangeEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerPickupItemEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerPlayerInteractionEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerPrivateMessageEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerProcessItemEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerRespawnEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerSetSignTextEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerStartFishingEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerStartFlyingEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerStopFlyingEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerStorageAccessEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerTeleportEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerUpdateStatusEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerWeaponFireEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerWeaponReloadEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayGameMusicEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.ui.PlayerToggleInventoryEvent
-
Cancels this event.
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.world.PlayerConstructionEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.world.PlayerObjectEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.world.PlayerPlaceBlueprintEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.world.PlayerVegetationEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.world.PlayerWorldEditEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.world.ExplosionEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.world.ItemTransformEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.world.PlantGrowthEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.world.ProjectileFireEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.world.ProjectileHitEvent
- setCancelled(boolean) - Method in class net.risingworld.api.events.world.WeatherChangeEvent
- setCatchItem(short) - Method in class net.risingworld.api.events.player.PlayerStartFishingEvent
- setChatMessage(String) - Method in class net.risingworld.api.events.player.PlayerChatEvent
-
Sets the chat message.
- setChunkAndBlockPosition(int, int, int, int, int, int) - Method in class net.risingworld.api.objects.Player
-
Sets the chunk and block position of the player (resulting in the total global position).
- setChunkAndBlockPosition(Vector3i, Vector3i) - Method in class net.risingworld.api.objects.Player
-
Sets the chunk and block position of the player (resulting in the total global position).
- setClickable(boolean) - Method in class net.risingworld.api.ui.UIElement
-
Sets this element clickable, i.e the element listens for mouse clicks and triggers a
PlayerUIElementClickEvent
event in this case (this also invokes theUIElement.onClick(net.risingworld.api.events.player.ui.PlayerUIElementClickEvent)
method). - setCollider(Collider) - Method in class net.risingworld.api.worldelements.GameObject
-
Assigns a collider to this game object.
- setCollider(Collider) - Method in class net.risingworld.api.worldelements.PostProcessingVolume
-
Assigns a collider to this volume.
- setColliderEnabled(boolean) - Method in class net.risingworld.api.objects.Npc
-
Enables/disables the colliders for this npc.
- setColliderVisible(boolean) - Method in class net.risingworld.api.worldelements.GameObject
-
A debug method to visualize the collider of this game object.
- setColor(float, float, float, float) - Method in class net.risingworld.api.assets.MaterialAsset
- setColor(float, float, float, float) - Method in class net.risingworld.api.objects.Vehicle
-
Sets the vehicle color.
- setColor(float, float, float, float) - Method in class net.risingworld.api.worldelements.Area3D
-
Sets the color (RGBA) of the area (the inner part, not the frame).
- setColor(float, float, float, float) - Method in class net.risingworld.api.worldelements.Light
-
Updates the light color.
- setColor(int) - Method in class net.risingworld.api.assets.MaterialAsset
- setColor(int) - Method in class net.risingworld.api.events.player.world.PlayerPlaceConstructionEvent
- setColor(int) - Method in class net.risingworld.api.events.player.world.PlayerPlaceObjectEvent
- setColor(int) - Method in class net.risingworld.api.objects.Item.ConstructionItem
-
Sets a new color for the construction item.
- setColor(int) - Method in class net.risingworld.api.objects.Vehicle
-
Sets the vehicle color.
- setColor(int) - Method in class net.risingworld.api.objects.world.ConstructionElement
-
Sets a new color for this construction element.
- setColor(int) - Method in class net.risingworld.api.objects.world.ObjectElement
-
Sets a new color for this object.
- setColor(int) - Method in class net.risingworld.api.objects.world.Plant
-
Sets a new color for this plant.
- setColor(int) - Method in class net.risingworld.api.worldelements.Area3D
- setColor(int) - Method in class net.risingworld.api.worldelements.Light
-
Updates the light color (as rgba int).
- setColor(ColorRGBA) - Method in class net.risingworld.api.objects.world.ConstructionElement
-
Sets a new color for this construction element.
- setColor(ColorRGBA) - Method in class net.risingworld.api.objects.world.ObjectElement
-
Sets a new color for this object.
- setColor(ColorRGBA) - Method in class net.risingworld.api.objects.world.Plant
-
Sets a new color for this plant.
- setColor(ColorRGBA) - Method in class net.risingworld.api.worldelements.Area3D
-
Sets the color (RGBA) of the area (the inner part, not the frame).
- setColors(ArrayList<ColorRGBA>) - Method in class net.risingworld.api.assets.MeshAsset
- setComponentEnabled(String, boolean) - Method in class net.risingworld.api.worldelements.GameObject
- setComponentEnabled(String, String, boolean) - Method in class net.risingworld.api.worldelements.Prefab
-
Enables or disables a component.
- setComponentProperty(String, String, Object) - Method in class net.risingworld.api.worldelements.GameObject
-
Assigns a value to any component property via reflection.
- setComponentProperty(String, String, String, Object) - Method in class net.risingworld.api.worldelements.Prefab
-
Sets a component property via reflection.
- setConstructionID(byte) - Method in class net.risingworld.api.objects.Item.ConstructionItem
-
Sets the type ID of the construction element that is represented by this item.
- setCreativeModeEnabled(boolean) - Method in class net.risingworld.api.objects.Player
-
Enables or disables creative mode for this player.
- setDamage(short) - Method in class net.risingworld.api.events.npc.NpcDamageEvent
-
Sets the amount of damage the npc will receive.
- setDamage(short) - Method in class net.risingworld.api.events.npc.NpcHitNpcEvent
-
Sets the amount of damage that will be caused by this hit.
- setDamage(short) - Method in class net.risingworld.api.events.player.PlayerDamageEvent
-
Sets the amount of damage the player will receive.
- setDamage(short) - Method in class net.risingworld.api.events.player.PlayerHitItemEvent
-
Sets the amount of damage that will be inflicted by this hit
- setDamage(short) - Method in class net.risingworld.api.events.player.PlayerHitNpcEvent
-
Sets the amount of damage that will be caused by this hit.
- setDamage(short) - Method in class net.risingworld.api.events.player.PlayerHitPlayerEvent
-
Sets the amount of damage that will be caused by this hit.
- setDamage(short) - Method in class net.risingworld.api.events.player.world.PlayerHitConstructionEvent
-
Sets the amount of damage the player should inflict with this hit.
- setDamage(short) - Method in class net.risingworld.api.events.player.world.PlayerHitObjectEvent
-
Sets the amount of damage the player should inflict with this hit.
- setDamage(short) - Method in class net.risingworld.api.events.player.world.PlayerHitTerrainEvent
-
Sets the amount of damage the player should inflict with this hit.
- setDamage(short) - Method in class net.risingworld.api.events.player.world.PlayerHitVegetationEvent
-
Sets the amount of damage the player should inflict with this hit.
- setDefaultPermission(String) - Method in class net.risingworld.api.objects.Area
-
Sets a default area permission for this area.
- setDefaultSpawnInventory(Inventory) - Static method in class net.risingworld.api.Server
-
Sets the default spawn inventory (i.e the items you always spawn with).
- setDefaultSpawnPosition(float, float, float) - Static method in class net.risingworld.api.Server
-
Sets the global default spawn position.
- setDefaultSpawnPosition(Vector3f) - Static method in class net.risingworld.api.Server
-
Sets the global default spawn position.
- setDefaultSpawnRotation(float, float, float) - Static method in class net.risingworld.api.Server
-
Sets the default spawn rotation.
- setDefaultSpawnRotation(Quaternion) - Static method in class net.risingworld.api.Server
-
Sets the default spawn rotation.
- setDespawnTimer(float) - Method in class net.risingworld.api.objects.WorldItem
-
Sets the despawn time (remaining seconds until item despawns).
- setDirection(float, float, float) - Method in class net.risingworld.api.events.world.ProjectileFireEvent
-
Changes the direction of the projectile.
- setDirection(Vector3f) - Method in class net.risingworld.api.events.world.ProjectileFireEvent
-
Changes the direction of the projectile.
- setDirection(Vector3f) - Method in class net.risingworld.api.sounds.Sound
- setDisconnectReason(String) - Method in class net.risingworld.api.events.player.PlayerConnectEvent
-
If you cancel the event, the player will be disconnected from the server.
- setDurability(int) - Method in class net.risingworld.api.objects.Item
- setDuration(float) - Method in class net.risingworld.api.events.player.PlayerLocationTickerEvent
-
Sets the duration (seconds) how long the text should be shown to the player.
- setDuration(int) - Method in class net.risingworld.api.events.player.PlayerBanEvent
-
Sets the duration (seconds) how long the player will be banned.
- setElasticity(float) - Method in class net.risingworld.api.ui.UIScrollView
- setEndPosition(float, float, float) - Method in class net.risingworld.api.events.player.PlayerCreateAreaEvent
-
Sets a new end position for the area.
- setEndPosition(Vector3f) - Method in class net.risingworld.api.events.player.PlayerCreateAreaEvent
-
Sets a new end position for the area.
- setEndPosition(Vector3f) - Method in class net.risingworld.api.objects.Area
-
Sets an end position for this area (start and end position determine the area size).
- setEquippedItem(int) - Method in class net.risingworld.api.objects.Player
-
Changes the equipped item (i.e the item the player currently holds in his hands).
- setEquippedItem(int, Inventory.SlotType) - Method in class net.risingworld.api.objects.Player
-
Changes the equipped item (i.e the item the player currently holds in his hands).
- setEyeColor(int) - Method in class net.risingworld.api.objects.Skin
-
Changes the eye color of the character.
- setFillColor(float, float, float, float) - Method in class net.risingworld.api.ui.UIPainter2D
- setFirePosition(Vector3f) - Method in class net.risingworld.api.events.player.PlayerWeaponFireEvent
- setFireRotation(Quaternion) - Method in class net.risingworld.api.events.player.PlayerWeaponFireEvent
- setFlags(MaterialAsset.Flags...) - Method in class net.risingworld.api.assets.MaterialAsset
- setFlying(boolean) - Method in class net.risingworld.api.objects.Player
-
Sets the flymode for the player.
- setFlyingSpeed(float) - Method in class net.risingworld.api.objects.Player
-
Changes the flying speed factor for this player.
- setFont(Font) - Method in class net.risingworld.api.events.player.PlayerSetSignTextEvent
-
Sets the font for this sign.
- setFont(Font) - Method in class net.risingworld.api.objects.Sign
-
Sets the font for this sign.
- setFont(Font) - Method in class net.risingworld.api.ui.UILabel
-
Sets a new font for this label.
- setFontColor(float, float, float, float) - Method in class net.risingworld.api.ui.UILabel
-
Sets a font color for the label.
- setFontColor(float, float, float, float) - Method in class net.risingworld.api.ui.UITextField
-
Sets a font color for the text field.
- setFontColor(float, float, float, float) - Method in class net.risingworld.api.worldelements.Text3D
- setFontColor(int) - Method in class net.risingworld.api.ui.UILabel
-
Sets a font color for the label.
- setFontColor(int) - Method in class net.risingworld.api.ui.UITextField
-
Sets a font color for the label.
- setFontColor(int) - Method in class net.risingworld.api.worldelements.Text3D
- setFontSize(float) - Method in class net.risingworld.api.events.player.PlayerSetSignTextEvent
-
Sets a new font size for the sign.
- setFontSize(float) - Method in class net.risingworld.api.objects.Sign
-
Sets a new font size for the sign.
- setFontSize(float) - Method in class net.risingworld.api.ui.UILabel
-
Sets a font size for the label.
- setFontSize(float) - Method in class net.risingworld.api.ui.UITextField
-
Sets the font size for the text field.
- setFontSize(float) - Method in class net.risingworld.api.worldelements.Text3D
-
Sets the font size.
- setFontSize(float, Unit) - Method in class net.risingworld.api.ui.UILabel
-
Sets a font size for the label.
- setFrameColor(float, float, float, float) - Method in class net.risingworld.api.worldelements.Area3D
-
Sets the color (RGBA) of the frame.
- setFrameColor(int) - Method in class net.risingworld.api.worldelements.Area3D
-
Sets the color of the frame.
- setFrameColor(ColorRGBA) - Method in class net.risingworld.api.worldelements.Area3D
-
Sets the color of the frame.
- setFrameVisible(boolean) - Method in class net.risingworld.api.worldelements.Area3D
- setFuel(int) - Method in class net.risingworld.api.objects.MetaObject
-
Sets a new fuel value for the meta object.
- setGameMusicFade(float) - Method in class net.risingworld.api.sounds.Sound
-
Sets automatic fading for the game music if this sound is playing.
- setGameTime(int, int) - Static method in class net.risingworld.api.Server
-
Sets the ingame time.
- setGameTimeSpeed(float) - Static method in class net.risingworld.api.Server
-
Changes the game time speed.
- setGender(Skin.Gender) - Method in class net.risingworld.api.objects.Skin
-
Changes the gender of the character.
- setGravity(float) - Method in class net.risingworld.api.objects.Player
-
Changes the gravity for this player.
- setGroupID(int) - Method in class net.risingworld.api.objects.Npc
-
Sets the "group ID" for the npc.
- setGrowthTime(int) - Method in class net.risingworld.api.events.player.world.PlayerPlaceVegetationEvent
-
Sets the growth time (in seconds) for this plant.
- setHairColor(int) - Method in class net.risingworld.api.objects.Skin
-
Changes the hair color of the character.
- setHairstyle(byte) - Method in class net.risingworld.api.objects.Skin
-
Changes the hairstyle of the player.
- setHealth(int) - Method in class net.risingworld.api.objects.Npc
-
Sets the health of the npc.
- setHealth(int) - Method in class net.risingworld.api.objects.Player
-
Sets the health of the player.
- setHitPosition(float, float, float) - Method in class net.risingworld.api.events.player.PlayerHitNpcEvent
-
Sets the coordinates where the npc was hit exactly.
- setHitPosition(float, float, float) - Method in class net.risingworld.api.events.player.PlayerHitPlayerEvent
-
Sets the coordinates where the player was hit exactly.
- setHitPosition(Vector3f) - Method in class net.risingworld.api.events.player.PlayerHitNpcEvent
-
Sets the coordinates where the npc was hit exactly.
- setHitPosition(Vector3f) - Method in class net.risingworld.api.events.player.PlayerHitPlayerEvent
-
Sets the coordinates where the player was hit exactly.
- setHorizontalPageSize(float) - Method in class net.risingworld.api.ui.UIScrollView
- setHorizontalScrollerVisibility(UIScrollView.ScrollerVisibility) - Method in class net.risingworld.api.ui.UIScrollView
-
Sets the visibility for the horizontal scroll element.
- setHunger(int) - Method in class net.risingworld.api.events.player.PlayerUpdateStatusEvent
- setHunger(int) - Method in class net.risingworld.api.objects.Npc
-
Sets the hunger level of the npc.
- setHunger(int) - Method in class net.risingworld.api.objects.Player
-
Sets the hunger level of the player.
- setIndices(ArrayList<Integer>) - Method in class net.risingworld.api.assets.MeshAsset
- setInfo(long) - Method in class net.risingworld.api.objects.world.ObjectElement
- setInitialDelay(float) - Method in class net.risingworld.api.Timer
-
Sets the initial delay for this timer.
- setIntensity(float) - Method in class net.risingworld.api.worldelements.Light
-
Sets the light intensity.
- setInteractable(boolean) - Method in class net.risingworld.api.objects.Npc
-
Enables/disables interactions with this npc.
- setInterval(float) - Method in class net.risingworld.api.Timer
-
Sets the interval for this timer.
- setInvincible(boolean) - Method in class net.risingworld.api.objects.Npc
-
Enables/disables invincibility for this npc.
- setInvisible(boolean) - Method in class net.risingworld.api.objects.Npc
-
Makes the npc invisible or visible again.
- setInvisible(boolean) - Method in class net.risingworld.api.objects.Player
-
Sets the player invisible.
- setItems(WorldItem[]) - Method in class net.risingworld.api.objects.MetaObject
-
Assigns new items to this meta object.
- setJumpSpeed(float) - Method in class net.risingworld.api.objects.Player
-
Sets the jump height for the player.
- setKeepInventory(boolean) - Method in class net.risingworld.api.events.player.PlayerRespawnEvent
-
Setting this to true causes the player to keep his current inventory.
- setLayer(int) - Method in class net.risingworld.api.worldelements.GameObject
-
Sets the
Layer
for this game object. - setLayer(String, int, boolean) - Method in class net.risingworld.api.worldelements.Prefab
-
Sets the layer of the prefab or a child of this prefab.
- setLineCap(UIPainter2D.LineCap) - Method in class net.risingworld.api.ui.UIPainter2D
- setLineJoin(UIPainter2D.LineJoin) - Method in class net.risingworld.api.ui.UIPainter2D
- setLineWith(float) - Method in class net.risingworld.api.ui.UIPainter2D
- setListenForKeyInput(boolean) - Method in class net.risingworld.api.objects.Player
-
Sets if the client should forward his key input to the server or not.
- setListenForMouseInput(boolean) - Method in class net.risingworld.api.objects.Player
-
Sets if the client should forward his mouse button input to the server or not.
- setLocal(boolean) - Method in class net.risingworld.api.worldelements.PostProcessingVolume
- setLocalized(boolean) - Method in class net.risingworld.api.events.player.PlayerLocationTickerEvent
- setLocalPosition(float, float, float) - Method in class net.risingworld.api.worldelements.GameObject
-
Sets the position of this object, relative to its parent.
- setLocalPosition(String, Vector3f) - Method in class net.risingworld.api.worldelements.Prefab
-
Sets the position of the prefab or a child of this prefab, relative to its parent.
- setLocalPosition(Vector3f) - Method in class net.risingworld.api.worldelements.GameObject
-
Sets the position of this object, relative to its parent.
- setLocalRotation(float, float, float) - Method in class net.risingworld.api.worldelements.GameObject
-
Sets the rotation of this object, relative to its parent.
- setLocalRotation(String, Quaternion) - Method in class net.risingworld.api.worldelements.Prefab
-
Sets the rotation of the prefab or a child of this prefab, relative to its parent.
- setLocalRotation(Quaternion) - Method in class net.risingworld.api.worldelements.GameObject
-
Sets the rotation of this object, relative to its parent.
- setLocalScale(float, float, float) - Method in class net.risingworld.api.worldelements.GameObject
-
Sets the local scale of this object, relative to its parent.
- setLocalScale(String, Vector3f) - Method in class net.risingworld.api.worldelements.Prefab
-
Sets the local scale of the prefab or a child of this prefab, relative to its parent.
- setLocalScale(Vector3f) - Method in class net.risingworld.api.worldelements.GameObject
-
Sets the local scale of this object, relative to its parent.
- setLocationTickerText(String, boolean) - Method in class net.risingworld.api.events.player.PlayerLocationTickerEvent
- setLocked(boolean) - Method in class net.risingworld.api.objects.Npc
-
Locks or unlocks the npc.
- setMasked(boolean) - Method in class net.risingworld.api.ui.UITextField
-
If set to true, individual characters entered into the text field will be masked.
- setMaskedCharacter(char) - Method in class net.risingworld.api.ui.UITextField
-
If the text field is masked (see
UITextField.setMasked(boolean)
), this determines the character that should replace the original characters. - setMaterial(String, MaterialAsset) - Method in class net.risingworld.api.worldelements.Prefab
-
Assigns a new material to the prefab or a child of this prefab.
- setMaterial(MaterialAsset) - Method in class net.risingworld.api.worldelements.Model
- setMaterialParameter(String, String, boolean) - Method in class net.risingworld.api.worldelements.Prefab
-
Sets a material parameter.
- setMaterialParameter(String, String, float) - Method in class net.risingworld.api.worldelements.Prefab
-
Sets a material parameter.
- setMaterialParameter(String, String, TextureAsset) - Method in class net.risingworld.api.worldelements.Prefab
-
Sets a material parameter.
- setMaterialParameter(String, String, Vector2f) - Method in class net.risingworld.api.worldelements.Prefab
-
Sets a material parameter.
- setMaterialParameter(String, String, Vector3f) - Method in class net.risingworld.api.worldelements.Prefab
-
Sets a material parameter.
- setMaterialParameter(String, String, Vector4f) - Method in class net.risingworld.api.worldelements.Prefab
-
Sets a material parameter.
- setMaterialSetting(ModelImportSettings.MaterialImportFlags, boolean) - Method in class net.risingworld.api.assets.ModelImportSettings
- setMaterialSettings(ModelImportSettings.MaterialImportFlags...) - Method in class net.risingworld.api.assets.ModelImportSettings
- setMaxCharacters(int) - Method in class net.risingworld.api.ui.UITextField
-
Sets the max number of allowed characters in this text field.
- setMaxHealth(int) - Method in class net.risingworld.api.objects.Player
- setMaxStamina(int) - Method in class net.risingworld.api.objects.Player
- setMesh(MeshAsset) - Method in class net.risingworld.api.worldelements.Model
- setMesh(ModelAsset) - Method in class net.risingworld.api.worldelements.Model
- setMetallic(float) - Method in class net.risingworld.api.assets.MaterialAsset
- setMinMaxDistance(float, float) - Method in class net.risingworld.api.sounds.Sound
- setMiterLimit(float) - Method in class net.risingworld.api.ui.UIPainter2D
- setModelSetting(ModelImportSettings.MeshImportFlags, boolean) - Method in class net.risingworld.api.assets.ModelImportSettings
- setModelSettings(ModelImportSettings.MeshImportFlags...) - Method in class net.risingworld.api.assets.ModelImportSettings
- setModifier(Items.Modifier) - Method in class net.risingworld.api.objects.Item
- setMouseCursorCoordinates(float, float, boolean) - Method in class net.risingworld.api.objects.Player
-
Moves the mouse cursor of the client to the specified xy coordinates.
- setMouseCursorVisible(boolean) - Method in class net.risingworld.api.objects.Player
-
Toggles the visibility of the mouse cursor.
- setMouseWheelScrollSize(float) - Method in class net.risingworld.api.ui.UIScrollView
- setMoveSpeed(float) - Method in class net.risingworld.api.objects.Player
-
Sets the move speed for the player, i.e the default movement speed.
- setMultiLine(boolean) - Method in class net.risingworld.api.ui.UITextField
-
Determines if the text field should support multi-line input, i.e if the player should be able to enter multiple lines of text.
- setMultiPlaceGap(float) - Method in class net.risingworld.api.events.player.world.PlayerPlaceConstructionEvent
-
Sets the gap between elements if multiple elements are about to be placed in a row (multi-placement).
- setName(String) - Method in class net.risingworld.api.objects.Area
-
Changes the area name.
- setName(String) - Method in class net.risingworld.api.objects.Npc
-
Sets the custom name of this npc.
- setName(String) - Method in class net.risingworld.api.objects.Player
-
Changes the name of the player.
- setName(String) - Method in class net.risingworld.api.objects.Storage
-
Sets a custom name for the storage.
- setName(String) - Method in class net.risingworld.api.objects.Vehicle
- setNameVisible(boolean) - Method in class net.risingworld.api.objects.Area
-
Determines if the area name should be shown to the player whenever he enters the area (shown in the lower left corner of the screen).
- setNewAmmo(short) - Method in class net.risingworld.api.events.player.PlayerWeaponReloadEvent
-
Changes the amount of bullets in the weapon after the reload is done.
- setNewColor(int) - Method in class net.risingworld.api.events.player.world.PlayerChangeConstructionColorEvent
- setNewColor(int) - Method in class net.risingworld.api.events.player.world.PlayerChangeObjectColorEvent
- setNewGameMode(GameMode) - Method in class net.risingworld.api.events.player.PlayerChangeGameModeEvent
-
Changes the new game mode for the player.
- setNewInfoID(long) - Method in class net.risingworld.api.events.player.world.PlayerChangeObjectInfoEvent
- setNewPermissionGroup(String) - Method in class net.risingworld.api.events.player.PlayerPermissionGroupChangeEvent
-
Changes the target permission group for the player.
- setNewSpawnName(String) - Method in class net.risingworld.api.events.player.PlayerSetSpawnPointEvent
- setNewSpawnPosition(Vector3f) - Method in class net.risingworld.api.events.player.PlayerSetSpawnPointEvent
- setNewSpawnRotation(Quaternion) - Method in class net.risingworld.api.events.player.PlayerSetSpawnPointEvent
- setNewStack(int) - Method in class net.risingworld.api.events.player.PlayerProcessItemEvent
-
Sets a new stack (amount of items).
- setNewStack(int) - Method in class net.risingworld.api.events.world.ItemTransformEvent
-
Overrides the stack size of the item.
- setNewStatus(byte) - Method in class net.risingworld.api.events.player.world.PlayerChangeObjectStatusEvent
-
Sets the new object status.
- setNewStatus(byte) - Method in class net.risingworld.api.events.world.MetaObjectStatusChangeEvent
-
Sets the new object status.
- setNewStatus(int) - Method in class net.risingworld.api.events.player.PlayerProcessItemEvent
-
Sets a new optional status for the item.
- setNewTexture(int) - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryItemEditEvent
- setNewTypeID(short) - Method in class net.risingworld.api.events.npc.NpcTransformEvent
- setNewTypeID(short) - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryItemEditEvent
- setNewTypeID(short) - Method in class net.risingworld.api.events.player.PlayerProcessItemEvent
-
Sets a new target item type ID (i.e the type ID of the new item).
- setNewTypeID(short) - Method in class net.risingworld.api.events.world.ItemTransformEvent
-
Overrides the target item type ID.
- setNewValue(float) - Method in class net.risingworld.api.events.player.PlayerProcessItemEvent
-
Sets a new optional value for the item.
- setNewVariant(int) - Method in class net.risingworld.api.events.npc.NpcTransformEvent
- setNextGrowthTime(int) - Method in class net.risingworld.api.events.world.PlantGrowthEvent
-
Sets the growth time (seconds) for the next plant stage, i.e how long it takes until this plant grows and reaches the next growth stage.
- setNextIndex(short) - Method in class net.risingworld.api.ui.UIMesh
- setNextStageTypeID(short) - Method in class net.risingworld.api.events.world.PlantGrowthEvent
-
Changes the type ID of the next growth stage.
- setNextVertex(Vector2f, float, float, float, float) - Method in class net.risingworld.api.ui.UIMesh
- setNextVertex(Vector2f, ColorRGBA) - Method in class net.risingworld.api.ui.UIMesh
- setNextVertex(Vector2f, Vector2f) - Method in class net.risingworld.api.ui.UIMesh
- setNextVertex(Vector2f, Vector2f, float, float, float, float) - Method in class net.risingworld.api.ui.UIMesh
- setNextWeather(int) - Method in class net.risingworld.api.events.world.WeatherChangeEvent
-
Changes the next weather.
- setNormalMap(TextureAsset) - Method in class net.risingworld.api.assets.MaterialAsset
- setNormalMapStrength(float) - Method in class net.risingworld.api.assets.MaterialAsset
- setNormals(ArrayList<Vector3f>) - Method in class net.risingworld.api.assets.MeshAsset
- setNpcDamage(short) - Method in class net.risingworld.api.events.world.ExplosionEvent
-
Sets the amount of damage this explosion deals for npcs (e.g animals).
- setOpacity(float) - Method in class net.risingworld.api.ui.UIElement
-
Sets the opacity of this element.
- setOption(String, Object) - Method in class net.risingworld.api.objects.Player
-
Sets the graphics/audio/game settings for the client.
- setPaused(boolean) - Method in class net.risingworld.api.sounds.Sound
-
Pauses / unpauses the sound.
- setPermissionGroup(String) - Method in class net.risingworld.api.objects.Player
-
Sets the permission group of the player.
- setPermissionValue(String, Object) - Method in class net.risingworld.api.objects.Player
-
Overrides a permission value.
- setPickable(boolean) - Method in class net.risingworld.api.ui.UIElement
-
Not to be confused with
UIElement.setClickable(boolean)
! This flag determines if the UI element "has collision", i.e if it consumes or "blocks" mouse clicks. - setPitch(float) - Method in class net.risingworld.api.sounds.Sound
-
Changes the pitch of a sound instance, i.e how fast the sound plays.
- setPivot(Pivot) - Method in class net.risingworld.api.ui.UIElement
-
Changes the origin of this element.
- setPivot(Pivot) - Method in class net.risingworld.api.ui.UILabel
- setPlayerChatName(String) - Method in class net.risingworld.api.events.player.PlayerChatEvent
-
Sets the player name in chat.
- setPlayerDamage(short) - Method in class net.risingworld.api.events.world.ExplosionEvent
-
Sets the amount of damage this explosion deals for players.
- setPlayerDbID(int) - Method in class net.risingworld.api.objects.world.ConstructionElement
-
Changes the owner database ID (i.e the database ID of the player who should be considered the element owner).
- setPlayerDbID(int) - Method in class net.risingworld.api.objects.world.ObjectElement
-
Changes the owner database ID (i.e the database ID of the player who should be considered the object owner).
- setPlayerDbID(int) - Method in class net.risingworld.api.objects.world.Plant
-
Changes the owner database ID (i.e the database ID of the player who should be considered the plant owner).
- setPlayerPermission(int, String) - Method in class net.risingworld.api.objects.Area
-
Sets the area permission for a player.
- setPlayerPermission(Player, String) - Method in class net.risingworld.api.objects.Area
-
Sets the area permission for a player.
- setPosition(float, float, boolean) - Method in class net.risingworld.api.ui.UIElement
-
Sets the screen position of this element.
- setPosition(float, float, float) - Method in class net.risingworld.api.events.npc.NpcSpawnEvent
- setPosition(float, float, float) - Method in class net.risingworld.api.events.player.PlayerChangePositionEvent
- setPosition(float, float, float) - Method in class net.risingworld.api.events.player.world.PlayerPlaceBlueprintEvent
-
Changes the world position for the blueprint (i.e the position where the blueprint will be placed).
- setPosition(float, float, float) - Method in class net.risingworld.api.events.player.world.PlayerPlaceConstructionEvent
-
Changes the world position of the construction element.
- setPosition(float, float, float) - Method in class net.risingworld.api.events.player.world.PlayerPlaceObjectEvent
-
Changes the object world position.
- setPosition(float, float, float) - Method in class net.risingworld.api.events.player.world.PlayerPlaceVegetationEvent
-
Changes the plant position.
- setPosition(float, float, float) - Method in class net.risingworld.api.events.world.ExplosionEvent
-
Changes the global world position of the explosion.
- setPosition(float, float, float) - Method in class net.risingworld.api.events.world.ProjectileFireEvent
-
Changes the global world position of the projectile.
- setPosition(float, float, float) - Method in class net.risingworld.api.objects.Npc
-
Sets the world position of the npc (teleports the npc).
- setPosition(float, float, float) - Method in class net.risingworld.api.objects.Player
-
Sets the world position of the player.
- setPosition(float, float, float) - Method in class net.risingworld.api.objects.Vehicle
-
Sets the world position of the vehicle.
- setPosition(float, float, float) - Method in class net.risingworld.api.objects.WorldItem
-
Sets the global position of the item.
- setPosition(Vector3f) - Method in class net.risingworld.api.events.npc.NpcSpawnEvent
- setPosition(Vector3f) - Method in class net.risingworld.api.events.player.PlayerChangePositionEvent
- setPosition(Vector3f) - Method in class net.risingworld.api.events.player.world.PlayerPlaceBlueprintEvent
-
Changes the world position for the blueprint (i.e the position where the blueprint will be placed).
- setPosition(Vector3f) - Method in class net.risingworld.api.events.player.world.PlayerPlaceConstructionEvent
-
Changes the world position of the construction element.
- setPosition(Vector3f) - Method in class net.risingworld.api.events.player.world.PlayerPlaceObjectEvent
-
Changes the object world position.
- setPosition(Vector3f) - Method in class net.risingworld.api.events.player.world.PlayerPlaceVegetationEvent
-
Changes the plant position.
- setPosition(Vector3f) - Method in class net.risingworld.api.events.world.ExplosionEvent
-
Changes the global world position of the explosion.
- setPosition(Vector3f) - Method in class net.risingworld.api.events.world.ProjectileFireEvent
-
Changes the global world position of the projectile.
- setPosition(Vector3f) - Method in class net.risingworld.api.objects.Npc
-
Sets the world position of the npc (teleports the npc).
- setPosition(Vector3f) - Method in class net.risingworld.api.objects.Player
-
Sets the world position of the player.
- setPosition(Vector3f) - Method in class net.risingworld.api.objects.Vehicle
-
Sets the world position of the vehicle.
- setPosition(Vector3f) - Method in class net.risingworld.api.objects.WorldItem
-
Sets the global position of the item.
- setPosition(Vector3f) - Method in class net.risingworld.api.sounds.Sound
-
Changes the world position of a sound.
- setPositionAndRotation(Vector3f, Quaternion) - Method in class net.risingworld.api.objects.WorldItem
- setPostProcessing(PostProcessing) - Method in class net.risingworld.api.objects.Player
-
Applies a post-processing object to the player.
- setPrefab(PrefabAsset) - Method in class net.risingworld.api.worldelements.Prefab
-
Assigns a prefab asset to this game object.
- setPriority(int) - Method in class net.risingworld.api.events.player.PlayerCreateAreaEvent
-
Sets the area priority.
- setPriority(int) - Method in class net.risingworld.api.objects.Area
-
Changes the area priority.
- setPriority(int) - Method in class net.risingworld.api.worldelements.PostProcessingVolume
-
Sets the priority for this volume.
- setProgress(float) - Method in class net.risingworld.api.objects.WorldItem
-
Only relevant if this item is processed by a meta object: Sets the current item progression value (e.g smelting/cooking progress etc).
- setRadius(float) - Method in class net.risingworld.api.worldelements.Light
-
Sets the radius of the light source.
- setRange(float) - Method in class net.risingworld.api.worldelements.Light
-
Sets the max range for the light source, i.e how far the light is emitted from the light source position.
- setRawConstructions(int, int, byte[]) - Static method in class net.risingworld.api.Internals
- setRawObjects(int, int, byte[]) - Static method in class net.risingworld.api.Internals
-
Sets new raw, serialized object data for a chunk.
- setRawPlants(int, int, byte[]) - Static method in class net.risingworld.api.Internals
- setRawTextureData(int, int, String, byte[]) - Method in class net.risingworld.api.objects.CustomImage
-
Sets the raw texture data.
- setReadOnly(boolean) - Method in class net.risingworld.api.ui.UITextField
-
If set to true, the player will no longer be able to change the text of the text field.
- setReason(String) - Method in class net.risingworld.api.events.player.PlayerBanEvent
-
Sets the reason why this player will be banned.
- setReason(String) - Method in class net.risingworld.api.events.player.PlayerKickEvent
-
Sets the reason why this player will be kicked.
- setRepetitions(int) - Method in class net.risingworld.api.Timer
-
Sets the amount of repetitions, i.e how often the timer is supposed to trigger / repeat.
- setRichTextEnabled(boolean) - Method in class net.risingworld.api.ui.UILabel
-
Determines whether or not rich text tags should be supported (e.g tags like "<color>" etc).
- setRotation(float, float, float) - Method in class net.risingworld.api.events.player.world.PlayerPlaceConstructionEvent
-
Changes the rotation of the construction element.
- setRotation(float, float, float) - Method in class net.risingworld.api.events.player.world.PlayerPlaceVegetationEvent
-
Changes the plant rotation.
- setRotation(float, float, float) - Method in class net.risingworld.api.objects.Npc
-
Sets the npc rotation.
- setRotation(float, float, float) - Method in class net.risingworld.api.objects.Player
-
Sets the player rotation from euler angles.
- setRotation(float, float, float, float) - Method in class net.risingworld.api.events.npc.NpcSpawnEvent
- setRotation(float, float, float, float) - Method in class net.risingworld.api.events.player.PlayerChangePositionEvent
- setRotation(Quaternion) - Method in class net.risingworld.api.events.npc.NpcSpawnEvent
- setRotation(Quaternion) - Method in class net.risingworld.api.events.player.PlayerChangePositionEvent
- setRotation(Quaternion) - Method in class net.risingworld.api.events.player.world.PlayerPlaceBlueprintEvent
-
Changes the rotation of the blueprint.
- setRotation(Quaternion) - Method in class net.risingworld.api.events.player.world.PlayerPlaceConstructionEvent
-
Changes the rotation of the construction element.
- setRotation(Quaternion) - Method in class net.risingworld.api.events.player.world.PlayerPlaceObjectEvent
-
Changes the object rotation.
- setRotation(Quaternion) - Method in class net.risingworld.api.events.player.world.PlayerPlaceVegetationEvent
-
Changes the plant rotation.
- setRotation(Quaternion) - Method in class net.risingworld.api.objects.Npc
-
Sets the npc rotation.
- setRotation(Quaternion) - Method in class net.risingworld.api.objects.Player
-
Sets the player rotation.
- setRotation(Quaternion) - Method in class net.risingworld.api.objects.Vehicle
-
Sets the rotation of the vehicle.
- setRotation(Quaternion) - Method in class net.risingworld.api.objects.world.ConstructionElement
-
Sets the rotation of this construction element.
- setRotation(Quaternion) - Method in class net.risingworld.api.objects.world.ObjectElement
-
Sets the rotation of this object.
- setRotation(Quaternion) - Method in class net.risingworld.api.objects.world.Plant
-
Sets the rotation of this plant.
- setRotation(Quaternion) - Method in class net.risingworld.api.objects.WorldItem
-
Sets the rotation of this item.
- setScale(float, float, float) - Method in class net.risingworld.api.objects.world.ConstructionElement
-
Sets a new scale for this construction element.
- setScale(float, float, float) - Method in class net.risingworld.api.objects.world.ObjectElement
-
Sets a new scale for this object.
- setScale(float, float, float) - Method in class net.risingworld.api.objects.world.Plant
-
Sets a new scale for this plant.
- setScale(Vector3f) - Method in class net.risingworld.api.events.player.world.PlayerPlaceBlueprintEvent
-
Changes the scale factor of the blueprint.
- setScale(Vector3f) - Method in class net.risingworld.api.objects.world.ConstructionElement
-
Sets a new scale for this construction element.
- setScale(Vector3f) - Method in class net.risingworld.api.objects.world.ObjectElement
-
Sets a new scale for this object.
- setScale(Vector3f) - Method in class net.risingworld.api.objects.world.Plant
-
Sets a new scale for this plant.
- setSceneElementActive(Player, String, boolean) - Static method in class net.risingworld.api.Internals
-
Sets any element in the scene active/inactive.
- setSceneElementLocalPosition(Player, String, float, float, float) - Static method in class net.risingworld.api.Internals
-
Changes the local position of an element in the scene.
- setSceneElementLocalRotation(Player, String, float, float, float, float) - Static method in class net.risingworld.api.Internals
-
Changes the local rotation of an element in the scene.
- setSceneElementLocalScale(Player, String, float, float, float) - Static method in class net.risingworld.api.Internals
-
Changes the local scale of an element in the scene.
- setSceneElementParent(Player, String, String) - Static method in class net.risingworld.api.Internals
-
Changes the parent for an element in the scene.
- setShadowIntensity(float) - Method in class net.risingworld.api.worldelements.Light
-
Sets the intensity for the shadows (0-1).
- setShadowsEnabled(boolean) - Method in class net.risingworld.api.worldelements.Light
-
Enables/disables shadows for this light.
- setShadowsMapResolution(int) - Method in class net.risingworld.api.worldelements.Light
-
Sets the resolution for the shadow map.
- setSize(float, float, boolean) - Method in class net.risingworld.api.ui.UIElement
-
Sets the size (width and height) of this element.
- setSize(float, float, float) - Method in class net.risingworld.api.events.player.world.PlayerPlaceConstructionEvent
-
Changes the size of the construction element.
- setSize(Vector3f) - Method in class net.risingworld.api.events.player.world.PlayerPlaceConstructionEvent
-
Changes the size of the construction element.
- setSkinColor(int) - Method in class net.risingworld.api.objects.Skin
-
Changes the skin color of the character.
- setSkyRotation(float) - Static method in class net.risingworld.api.World
-
Sets the sky rotation.
- setSlotCount(int) - Method in class net.risingworld.api.objects.Storage
-
Overrides the amount of slots the storage has.
- setSmoothness(float) - Method in class net.risingworld.api.assets.MaterialAsset
- setSoundsEnabled(boolean, boolean, boolean) - Method in class net.risingworld.api.objects.Npc
-
Enables/disables various sounds the npc makes.
- setSpawnPoint(SpawnPointType, Vector3f, Quaternion, String) - Method in class net.risingworld.api.objects.Player
- setSpawnPoint(SpawnPointType, Vector3f, Quaternion, String, long, int, int, int) - Method in class net.risingworld.api.objects.Player
- setSpawnPosition(float, float, float) - Method in class net.risingworld.api.events.player.PlayerRespawnEvent
-
Sets the spawn position of the player.
- setSpawnPosition(Vector3f) - Method in class net.risingworld.api.events.player.PlayerRespawnEvent
-
Sets the spawn position of the player.
- setSpawnRotation(Quaternion) - Method in class net.risingworld.api.events.player.PlayerRespawnEvent
-
Sets the spawn rotation of the player.
- setSpotAngle(float) - Method in class net.risingworld.api.worldelements.Light
-
Only works for spot lights!
Sets the outer angle of the spot light in degree (1-179). - setSpotInnerAngle(float) - Method in class net.risingworld.api.worldelements.Light
-
Only works for spot lights!
Sets the inner angle of the spot light in degree (1-179). - setSprintSpeed(float) - Method in class net.risingworld.api.objects.Player
-
Sets the sprint speed for the player, i.e fast movement.
- setStack(int) - Method in class net.risingworld.api.objects.Item
- setStamina(int) - Method in class net.risingworld.api.objects.Player
-
Sets a new stamina value for the player.
- setStartPosition(float, float, float) - Method in class net.risingworld.api.events.player.PlayerCreateAreaEvent
-
Sets a new start position for the area.
- setStartPosition(Vector3f) - Method in class net.risingworld.api.events.player.PlayerCreateAreaEvent
-
Sets a new start position for the area.
- setStartPosition(Vector3f) - Method in class net.risingworld.api.objects.Area
-
Sets a start position for this area (start and end position determine the area size).
- setStatistic(String, int) - Method in class net.risingworld.api.objects.Player
-
Sets a new value for a statistic.
- setStatus(byte) - Method in class net.risingworld.api.objects.world.ObjectElement
-
Changes the status of the object.
- setStatus(int, boolean) - Method in class net.risingworld.api.objects.MetaObject
-
Sets the status of the meta object.
- setStatus(short) - Method in class net.risingworld.api.objects.Item
-
Sets the item status.
- setStatus(short) - Method in class net.risingworld.api.objects.WorldItem
- setStorageID(long) - Method in class net.risingworld.api.events.npc.NpcAddSaddleBagEvent
-
Overrides the storage ID that will be assigned to the saddle bag.
- setStrength(int) - Method in class net.risingworld.api.objects.Vehicle
- setStrength(short) - Method in class net.risingworld.api.objects.world.ConstructionElement
-
Sets a new strength for the construction element.
- setStrength(short) - Method in class net.risingworld.api.objects.world.ObjectElement
-
Sets a new strength for the object.
- setStrength(short) - Method in class net.risingworld.api.objects.world.Plant
-
Sets a new strength for the plant.
- setStrokeColor(float, float, float, float) - Method in class net.risingworld.api.ui.UIPainter2D
- setSurfaceOffset(Vector3f) - Method in class net.risingworld.api.objects.world.ConstructionElement
- setSurfaceOffsetAndScale(Vector3f, Vector3f) - Method in class net.risingworld.api.objects.world.ConstructionElement
- setSurfaceScale(Vector3f) - Method in class net.risingworld.api.objects.world.ConstructionElement
- setSwimmingSpeed(float) - Method in class net.risingworld.api.objects.Player
-
Changes the swimming speed factor for this player.
- setTangents(ArrayList<Vector4f>) - Method in class net.risingworld.api.assets.MeshAsset
- setTargetPosition(float, float, float) - Method in class net.risingworld.api.events.player.PlayerTeleportEvent
- setTargetPosition(Vector3f) - Method in class net.risingworld.api.events.player.PlayerTeleportEvent
- setTargetTime(int, int) - Method in class net.risingworld.api.events.general.SkipNightEvent
-
Sets a new target time, which is the time that will be set after skipping the night.
- setTask(Runnable) - Method in class net.risingworld.api.Timer
-
Sets a new task which will be executed once the timer triggers.
- setTemperature(int) - Method in class net.risingworld.api.events.player.PlayerUpdateStatusEvent
- setTemperature(int) - Method in class net.risingworld.api.objects.Player
-
Sets the player temperature (in celsius).
- setTerrainData(int, int, int, int, int, int, int, EditRestriction) - Static method in class net.risingworld.api.World
-
Changes the terrain ID at a given position.
- setTerrainDataInArea(int, Area, EditRestriction) - Static method in class net.risingworld.api.World
-
Modifies terrain within a given area.
- setTerrainDataInArea(int, Vector3i, Vector3i, Vector3i, Vector3i, EditRestriction) - Static method in class net.risingworld.api.World
-
Modifies terrain within a given area.
- setTerrainDataInRadius(int, int, int, int, int, int, int, int, EditRestriction) - Static method in class net.risingworld.api.World
-
Modifies terrain at a given position within a certain radius (spherical).
- setTerrainID(int) - Method in class net.risingworld.api.events.player.world.PlayerCreativeTerrainEditEvent
-
Changes the terrain id to another id.
- setTerrainID(int) - Method in class net.risingworld.api.events.player.world.PlayerPlaceTerrainEvent
-
Changes the terrain id to another id.
- setText(String) - Method in class net.risingworld.api.events.player.PlayerSetSignTextEvent
-
Sets a new text you want to be set for the sign.
- setText(String) - Method in class net.risingworld.api.objects.Sign
-
Sets the text of this sign.
- setText(String) - Method in class net.risingworld.api.ui.UILabel
-
Sets the text for the label.
- setText(String) - Method in class net.risingworld.api.ui.UITextField
-
Sets the text of the text field.
- setText(String) - Method in class net.risingworld.api.worldelements.Text3D
- setTextAlign(TextAnchor) - Method in class net.risingworld.api.ui.UILabel
-
Sets the alignment for the text.
- setTextAnchor(TextAnchor) - Method in class net.risingworld.api.objects.Sign
-
Sets the text anchor, i.e the pivot position of the text.
- setTextContainer(float, float) - Method in class net.risingworld.api.worldelements.Text3D
-
Restricts the size of the actual text container.
- setTexture(int) - Method in class net.risingworld.api.objects.world.ConstructionElement
- setTexture(TextureAsset) - Method in class net.risingworld.api.assets.MaterialAsset
- setTexture(TextureAsset) - Method in class net.risingworld.api.ui.UIMesh
- setTextureID(int) - Method in class net.risingworld.api.events.player.world.PlayerPlaceConstructionEvent
-
Sets the texture of the construction element.
- setTextureScale(float) - Method in class net.risingworld.api.objects.world.ConstructionElement
- setTextureScale(float, float) - Method in class net.risingworld.api.assets.MaterialAsset
- setTextWrap(boolean) - Method in class net.risingworld.api.ui.UILabel
-
Sets automatic text wrap for the label.
- setTextWrappingMode(Text3D.TextWrappingMode) - Method in class net.risingworld.api.worldelements.Text3D
-
Sets the text wrapping mode.
- setThirst(int) - Method in class net.risingworld.api.events.player.PlayerUpdateStatusEvent
- setThirst(int) - Method in class net.risingworld.api.objects.Npc
-
Sets the thirst level of the npc.
- setThirst(int) - Method in class net.risingworld.api.objects.Player
-
Sets the thirst level of the player.
- setTick(float) - Method in class net.risingworld.api.Timer
-
Used internally! Do not call this method manually.
Increments the internal "tick" of this timer. - setTimelinePosition(float, boolean) - Method in class net.risingworld.api.sounds.Sound
-
Changes the track position / timeline position of the sound.
- setTrackName(String) - Method in class net.risingworld.api.events.player.PlayGameMusicEvent
-
Sets another track that should be played instead.
- setTriggerExplosives(boolean) - Method in class net.risingworld.api.events.world.ExplosionEvent
-
Sets whether or not this explosion should trigger other explosives.
- setTypeID(byte) - Method in class net.risingworld.api.events.player.world.PlayerPlaceConstructionEvent
-
Sets the type ID of the construction element.
- setTypeID(byte) - Method in class net.risingworld.api.objects.world.ConstructionElement
- setTypeID(short) - Method in class net.risingworld.api.events.npc.NpcSpawnEvent
- setTypeID(short) - Method in class net.risingworld.api.events.player.world.PlayerPlaceVegetationEvent
-
Sets the type ID of the plant.
- setUVs(int, ArrayList<Vector2f>) - Method in class net.risingworld.api.assets.MeshAsset
- setValue(float) - Method in class net.risingworld.api.objects.Item
- setVariation(byte) - Method in class net.risingworld.api.objects.Skin
-
Sets the variation of the skin.
- setVariation(int) - Method in class net.risingworld.api.events.npc.NpcSpawnEvent
- setVelocity(Vector3f) - Method in class net.risingworld.api.sounds.Sound
- setVerticalPageSize(float) - Method in class net.risingworld.api.ui.UIScrollView
- setVerticalScrollerVisibility(UIScrollView.ScrollerVisibility) - Method in class net.risingworld.api.ui.UIScrollView
-
Sets the visibility for the vertical scroll element.
- setVertices(ArrayList<Vector3f>) - Method in class net.risingworld.api.assets.MeshAsset
- setVFXParameter(String, String, boolean) - Method in class net.risingworld.api.worldelements.Prefab
- setVFXParameter(String, String, float) - Method in class net.risingworld.api.worldelements.Prefab
- setVFXParameter(String, String, int) - Method in class net.risingworld.api.worldelements.Prefab
- setVFXParameter(String, String, Vector2f) - Method in class net.risingworld.api.worldelements.Prefab
- setVFXParameter(String, String, Vector3f) - Method in class net.risingworld.api.worldelements.Prefab
- setVFXParameter(String, String, Vector4f) - Method in class net.risingworld.api.worldelements.Prefab
- setVFXPaused(String, boolean) - Method in class net.risingworld.api.worldelements.Prefab
- setVFXPlayRate(String, float) - Method in class net.risingworld.api.worldelements.Prefab
- setViewDirection(float, float, float) - Method in class net.risingworld.api.objects.Npc
-
Sets the view direction of the npc.
- setViewDirection(float, float, float) - Method in class net.risingworld.api.objects.Player
-
Sets the view direction of the player.
- setViewDirection(Vector3f) - Method in class net.risingworld.api.objects.Npc
-
Sets the view direction of the npc.
- setViewDirection(Vector3f) - Method in class net.risingworld.api.objects.Player
-
Sets the view direction of the player.
- setVisible(boolean) - Method in class net.risingworld.api.ui.UIElement
-
Changes visibility of this element.
- setVisibleDistance(float) - Method in class net.risingworld.api.worldelements.Light
-
Determines how far the light is visible.
- setVolume(float) - Method in class net.risingworld.api.sounds.Sound
-
Changes the volume of the sound.
- setVolumetrics(boolean) - Method in class net.risingworld.api.worldelements.Light
-
Enables/disables volumetrics for this light.
- setVolumetricsIntensity(float) - Method in class net.risingworld.api.worldelements.Light
-
If volumetrics are enabled for this light, this determines the intensity.
- setW(float) - Method in class net.risingworld.api.utils.Quaternion
-
Sets the Z value of this Quaternion.
- setW(float) - Method in class net.risingworld.api.utils.Vector4f
-
Sets the w value of this vector.
- setWaitTime(int) - Method in class net.risingworld.api.events.player.PlayerStartFishingEvent
-
Changes the wait time, i.e the duration until a fish bites.
- setWalkSpeed(float) - Method in class net.risingworld.api.objects.Player
-
Sets the walk speed for the player.
- setWaterID(int) - Method in class net.risingworld.api.events.player.world.PlayerPlaceWaterEvent
-
Changes the water block id to another id.
- setWeather(WeatherDefs.Weather, boolean) - Static method in class net.risingworld.api.Server
-
Sets the weather.
- setWeatherEnabled(boolean) - Static method in class net.risingworld.api.Server
-
Enables or disables the weather.
- setWeight(float) - Method in class net.risingworld.api.worldelements.PostProcessingVolume
-
Sets the weight for this volume, i.e how much the post processing effects should be applied.
- setWetness(int) - Method in class net.risingworld.api.objects.Player
-
Sets the player damp/wetness level.
- setWorldDamage(short) - Method in class net.risingworld.api.events.world.ExplosionEvent
-
Sets the amount of damage this explosion deals for world structures (i.e buildings), objects and vegetations.
- setWorldItemType(WorldItem.WorldItemType) - Method in class net.risingworld.api.objects.WorldItem
- setX(float) - Method in class net.risingworld.api.utils.Quaternion
-
Sets the X value of this Vector3f.
- setX(float) - Method in class net.risingworld.api.utils.Vector2f
-
Sets the x value of this vector.
- setX(float) - Method in class net.risingworld.api.utils.Vector3f
-
Sets the x value of this vector.
- setX(float) - Method in class net.risingworld.api.utils.Vector4f
-
Sets the x value of this vector.
- setX(int) - Method in class net.risingworld.api.utils.Vector2i
-
Sets the x value of this vector.
- setX(int) - Method in class net.risingworld.api.utils.Vector3i
-
Sets the x value of this vector.
- setY(float) - Method in class net.risingworld.api.utils.Quaternion
-
Sets the Y value of this Vector3f.
- setY(float) - Method in class net.risingworld.api.utils.Vector2f
-
Sets the y value of this vector.
- setY(float) - Method in class net.risingworld.api.utils.Vector3f
-
Sets the y value of this vector.
- setY(float) - Method in class net.risingworld.api.utils.Vector4f
-
Sets the y value of this vector.
- setY(int) - Method in class net.risingworld.api.utils.Vector2i
-
Sets the y value of this vector.
- setY(int) - Method in class net.risingworld.api.utils.Vector3i
-
Sets the y value of this vector.
- setZ(float) - Method in class net.risingworld.api.utils.Quaternion
-
Sets the Z value of this Quaternion.
- setZ(float) - Method in class net.risingworld.api.utils.Vector3f
-
Sets the z value of this vector.
- setZ(float) - Method in class net.risingworld.api.utils.Vector4f
-
Sets the z value of this vector.
- setZ(int) - Method in class net.risingworld.api.utils.Vector3i
-
Sets the z value of this vector.
- shake(float, float) - Method in class net.risingworld.api.objects.Player
-
Shakes the player screen, like an earthquake.
- Shameful - Enum constant in enum class net.risingworld.api.definitions.Items.Modifier
-
Bad
- shapetype - Variable in class net.risingworld.api.definitions.Constructions.ConstructionDefinition
-
Construction shape type
- Sharp - Enum constant in enum class net.risingworld.api.definitions.Items.Modifier
-
Good
- SheepShears - Enum constant in enum class net.risingworld.api.definitions.Items.Type
-
Shears (for shearing sheeps)
- shiftRight(T[], int, int) - Static method in class net.risingworld.api.utils.Utils.ArrayUtils
- Shoddy - Enum constant in enum class net.risingworld.api.definitions.Items.Modifier
-
Bad
- Shoes - Enum constant in enum class net.risingworld.api.definitions.Crafting.SubCategory
- ShootingTarget - Enum constant in enum class net.risingworld.api.definitions.Objects.Type
- ShootingTargets - Enum constant in enum class net.risingworld.api.definitions.Crafting.SubCategory
- ShotByNpc - Enum constant in enum class net.risingworld.api.events.player.PlayerDamageEvent.Cause
-
An npc shot on this player
- ShotByNpc - Enum constant in enum class net.risingworld.api.events.player.PlayerDeathEvent.Cause
-
An npc shot down this player.
- ShotByPlayer - Enum constant in enum class net.risingworld.api.events.npc.NpcDamageEvent.Cause
-
A player shot this npc
- ShotByPlayer - Enum constant in enum class net.risingworld.api.events.player.PlayerDamageEvent.Cause
-
Another player shot on this player
- ShotByPlayer - Enum constant in enum class net.risingworld.api.events.player.PlayerDeathEvent.Cause
-
Another player shot down this player.
- showBlueprints() - Method in class net.risingworld.api.objects.Player
- showChat(boolean) - Method in class net.risingworld.api.objects.Player
-
Shows the chat.
- showChat(String) - Method in class net.risingworld.api.objects.Player
-
Shows the chat, gains focus and also enters the provided text automatically to the input field.
- showColorPicker(String, int, Callback<Integer>) - Method in class net.risingworld.api.objects.Player
-
Shows a color picker dialog to the player.
- showContextMenu(String[], Callback<String>) - Method in class net.risingworld.api.objects.Player
-
Shows a context menu with the given entries.
- showCrafting() - Method in class net.risingworld.api.objects.Player
- showErrorMessageBox(String, String) - Method in class net.risingworld.api.objects.Player
-
Shows a simple error message box to the player.
- showFontDialog(String, Font, Callback<Font>) - Method in class net.risingworld.api.objects.Player
-
Shows a font selection dialog to the player.
- showInfoMessageBox(String, String) - Method in class net.risingworld.api.objects.Player
-
Shows a simple info message box to the player.
- showInputMessageBox(String, String, String, Callback<String>) - Method in class net.risingworld.api.objects.Player
-
Shows a text input message box to the player.
- showInventory() - Method in class net.risingworld.api.objects.Player
- showitems - Variable in class net.risingworld.api.definitions.Objects.ObjectInfoDefinition
- showLocationTicker(String, float) - Method in class net.risingworld.api.objects.Player
-
Shows a location ticker text in the lower left screen corner.
- showMessageBox(MessageBoxButtons, String, String, int, Callback<Integer>) - Method in class net.risingworld.api.objects.Player
-
Shows a default message box to the player.
- showRadialMenu(TextureAsset[], String[], String[], boolean, Callback<Integer>) - Method in class net.risingworld.api.objects.Player
-
Shows a "radial menu" or "pie menu" to the player.
- showStatusMessage(String, int) - Method in class net.risingworld.api.objects.Player
-
Shows a status text message (centered, bottom of the screen).
- showStorage(long) - Method in class net.risingworld.api.objects.Player
-
Shows the content of a chest/storage.
- showSuccessMessageBox(String, String) - Method in class net.risingworld.api.objects.Player
-
Shows a simple success message box to the player.
- showWarningMessageBox(String, String) - Method in class net.risingworld.api.objects.Player
-
Shows a simple warning message box to the player.
- shuffle(int[], int, int) - Static method in class net.risingworld.api.utils.Utils.ArrayUtils
- shutdown() - Static method in class net.risingworld.api.Server
-
Forces the server to shutdown gracefully.
- ShutdownEvent - Class in net.risingworld.api.events.general
-
Called when the game/server shuts down.
- Shy - Enum constant in enum class net.risingworld.api.definitions.Npcs.Behaviour
-
Npc always tries to run away from the player
- Sickle - Enum constant in enum class net.risingworld.api.definitions.Items.PickingType
- Sickle - Enum constant in enum class net.risingworld.api.definitions.Items.Type
-
This item is used to harvest plants
- sight - Variable in class net.risingworld.api.definitions.Npcs.NpcDefinition
- Sign - Class in net.risingworld.api.objects
-
Represents a sign object.
- Sign - Enum constant in enum class net.risingworld.api.definitions.Objects.Type
- Signs - Enum constant in enum class net.risingworld.api.definitions.Crafting.SubCategory
- Singleplayer - Enum constant in enum class net.risingworld.api.Server.Type
-
Singleplayer server (client is host)
- Sitdown - Enum constant in enum class net.risingworld.api.utils.Crosshair
-
Sitting crosshair (chair icon)
- Sitting - Enum constant in enum class net.risingworld.api.objects.Player.State
-
Player is currently sitting on a chair
- size - Variable in class net.risingworld.api.definitions.Items.ItemDefinition
-
Item model size (default: 1.0f)
- SIZE_X - Static variable in class net.risingworld.api.objects.world.Chunk
-
X size of a chunk (in blocks)
- SIZE_Y - Static variable in class net.risingworld.api.objects.world.ChunkPart
-
Y size (vertically) of a chunk part (in blocks)
- SIZE_Z - Static variable in class net.risingworld.api.objects.world.Chunk
-
Z size of a chunk (in blocks)
- Skeleton - Enum constant in enum class net.risingworld.api.definitions.Clothing.Race
- Skeleton - Enum constant in enum class net.risingworld.api.definitions.Npcs.Type
-
Npc is a skeleton
- Skin - Class in net.risingworld.api.objects
-
An object representing the current visual appearance of players and human npc.
- Skin(long, boolean) - Constructor for class net.risingworld.api.objects.Skin
- Skin.Gender - Enum Class in net.risingworld.api.objects
- Skinning - Enum constant in enum class net.risingworld.api.definitions.Npcs.LootType
-
Npc needs to be skinned with a knife first in order to drop the loot
- SkipNightEvent - Class in net.risingworld.api.events.general
-
Called when the night will be skipped (this happens when all players are sleeping in a bed during night time).
- skipValidation(boolean) - Method in class net.risingworld.api.events.player.world.PlayerChangeObjectInfoEvent
-
If true, the game no longer checks whether or not the player is allowed to perform this action.
- Slash - Enum constant in enum class net.risingworld.api.utils.Key
- Sledgehammer - Enum constant in enum class net.risingworld.api.definitions.Items.PickingType
- Sleep - Enum constant in enum class net.risingworld.api.utils.Crosshair
-
Sleeping crosshair (Zzz)
- Sleeping - Enum constant in enum class net.risingworld.api.objects.Player.State
-
Player is sleeping in a bed or tent
- sleeps - Variable in class net.risingworld.api.definitions.Npcs.NpcDefinition
- Slope - Enum constant in enum class net.risingworld.api.definitions.Constructions.ShapeType
- Slope - Enum constant in enum class net.risingworld.api.definitions.Constructions.TilingMode
-
Special mode: White vertex color uses FixedUV mode, rest uses WorldUV
- slopeadjustment - Variable in class net.risingworld.api.definitions.Plants.PlantDefinition
-
If growing on slopes, how much will this plant align to the slope (0-1)
- Slopes - Enum constant in enum class net.risingworld.api.definitions.Constructions.Category
- slots - Variable in class net.risingworld.api.definitions.Objects.StorageDefinition
- slotToIndex(int, Inventory.SlotType) - Static method in class net.risingworld.api.objects.Inventory
-
Converts a slot to a total index.
- Small - Enum constant in enum class net.risingworld.api.definitions.Constructions.Size
- Small - Enum constant in enum class net.risingworld.api.definitions.Items.Size
- Small - Enum constant in enum class net.risingworld.api.definitions.Objects.Size
- Small - Enum constant in enum class net.risingworld.api.definitions.Plants.Extent
- Small - Enum constant in enum class net.risingworld.api.definitions.Plants.Size
- Small - Enum constant in enum class net.risingworld.api.definitions.Vehicles.Size
- SmallLight - Enum constant in enum class net.risingworld.api.definitions.Constructions.Size
- SmallLight - Enum constant in enum class net.risingworld.api.definitions.Items.Size
- SmallLight - Enum constant in enum class net.risingworld.api.definitions.Objects.Size
- SmallLight - Enum constant in enum class net.risingworld.api.definitions.Plants.Size
- SmallLight - Enum constant in enum class net.risingworld.api.definitions.Vehicles.Size
- Smelt - Enum constant in enum class net.risingworld.api.definitions.Items.ItemInfoType
- smoothstep(float, float, float) - Static method in class net.risingworld.api.utils.Utils.MathUtils
-
Performs a smooth Hermite interpolation between 0 and 1.
- Snacks - Enum constant in enum class net.risingworld.api.definitions.Crafting.SubCategory
- Snow - Enum constant in enum class net.risingworld.api.definitions.Plants.TerrainMaterialType
- Snow - Enum constant in enum class net.risingworld.api.definitions.Terrain
- Snow - Static variable in class net.risingworld.api.definitions.WeatherDefs
-
Snowfall
- snowintensity - Variable in class net.risingworld.api.definitions.WeatherDefs.Weather
- softsplashdamage - Variable in class net.risingworld.api.definitions.Items.WeaponDefinition
- Soil - Enum constant in enum class net.risingworld.api.definitions.Plants.TerrainMaterialType
- SoilOnly - Enum constant in enum class net.risingworld.api.world.EditRestriction
-
Only affects soil blocks like dirt, sand etc
- SolidOnly - Enum constant in enum class net.risingworld.api.world.EditRestriction
-
Only affects solid blocks, i.e no air
- sort(boolean) - Method in class net.risingworld.api.objects.Inventory
-
Sorts all items in the inventory.
- sort(boolean) - Method in class net.risingworld.api.objects.Storage
-
Sorts all items in the storage.
- SortHierarchyByName - Enum constant in enum class net.risingworld.api.assets.ModelImportSettings.MeshImportFlags
- sound - Variable in class net.risingworld.api.definitions.Items.ProjectileDefinition
-
Sound when projectile hits a target
- Sound - Class in net.risingworld.api.sounds
-
Represents a sound instance (typically bound to a particular player).
- Sound - Enum constant in enum class net.risingworld.api.assets.Asset.Type
- SoundAsset - Class in net.risingworld.api.assets
-
Represents a custom audio file (this could either be a sound effect or a music track).
- Space - Enum constant in enum class net.risingworld.api.utils.Key
- SpaceAround - Enum constant in enum class net.risingworld.api.ui.style.Justify
-
Elements are evenly distributed in the line with equal space around them
- SpaceBetween - Enum constant in enum class net.risingworld.api.ui.style.Justify
-
Elements are evenly distributed in the line.
- Spawn - Enum constant in enum class net.risingworld.api.events.player.inventory.PlayerInventoryAddItemEvent.Origin
-
The item was spawned via command
- spawnchance - Variable in class net.risingworld.api.definitions.Npcs.NpcDefinition.Variant
- spawnClothingItem(short, int, int, int, long, Vector3f, Quaternion, boolean) - Static method in class net.risingworld.api.World
-
Spawns a global clothing item in the world, i.e an item which represents a garment.
- spawnConstructionItem(byte, int, int, int, Vector3f, Quaternion, boolean) - Static method in class net.risingworld.api.World
- spawngroundtypes - Variable in class net.risingworld.api.definitions.Plants.PlantDefinition
-
Array of all terrain material types this plant can naturally spawn on
- spawnItem(short, int, int, Vector3f, Quaternion, boolean) - Static method in class net.risingworld.api.World
-
Spawns an item in the world.
- spawnNpc(short, int, Vector3f, Quaternion) - Static method in class net.risingworld.api.World
-
Spawns a new npc in the world.
- spawnNpc(short, int, Vector3f, Quaternion, boolean) - Static method in class net.risingworld.api.World
-
Spawns a new npc in the world.
- spawnNpc(short, Vector3f, Quaternion) - Static method in class net.risingworld.api.World
-
Spawns a new npc in the world.
- spawnObjectItem(short, int, int, Vector3f, Quaternion, boolean) - Static method in class net.risingworld.api.World
-
Spawns an object item in the world, i.e an item which represents an object.
- spawnoffsety - Variable in class net.risingworld.api.definitions.Plants.PlantDefinition
-
Additional vertical (Y) adjustment of the plant when it spawns naturally
- SpawnPointType - Enum Class in net.risingworld.api.utils
-
Spawn point types.
- spawnseasons - Variable in class net.risingworld.api.definitions.Npcs.NpcDefinition
-
Seasons during which this npc may spawn naturally.
- spawnVehicle(short, int, int, Vector3f, Quaternion) - Static method in class net.risingworld.api.World
-
Spawns a new vehicle in the world.
- Spear - Enum constant in enum class net.risingworld.api.definitions.Items.PickingType
- Spear - Enum constant in enum class net.risingworld.api.definitions.Items.ProjectileType
- Spear - Enum constant in enum class net.risingworld.api.definitions.Items.WeaponType
- Special - Enum constant in enum class net.risingworld.api.definitions.Constructions.Category
- Special - Enum constant in enum class net.risingworld.api.definitions.Constructions.ShapeType
- specialasset - Variable in class net.risingworld.api.definitions.Clothing.ClothingDefinition
-
Optional special asset path (e.g light prefab for lamps etc)
- SpecificIDOnly - Enum constant in enum class net.risingworld.api.world.EditRestriction
-
Only affects a specific type id (editInfo == id)
- speed - Variable in class net.risingworld.api.definitions.Items.ProjectileDefinition
-
Fly speed of this projectile
- Sphere - Enum constant in enum class net.risingworld.api.collider.Collider.Type
-
A simple spherical collision shape.
- Sphere - Static variable in class net.risingworld.api.assets.ModelAsset
-
A sphere
- spherecastradius - Variable in class net.risingworld.api.definitions.Npcs.NpcDefinition
- SphereCollider - Class in net.risingworld.api.collider
-
Represents a sphere collider, which has an (optional) offset and a radius
- SphereCollider(float) - Constructor for class net.risingworld.api.collider.SphereCollider
-
Creates a new sphere collider which is centered to the object.
- SphereCollider(float, float, float, float) - Constructor for class net.risingworld.api.collider.SphereCollider
-
Creates a new sphere collider.
- SphereCollider(float, float, float, float, boolean) - Constructor for class net.risingworld.api.collider.SphereCollider
-
Creates a new sphere collider.
- Spheres - Enum constant in enum class net.risingworld.api.definitions.Constructions.Category
- Spinningwheel - Enum constant in enum class net.risingworld.api.definitions.Crafting.CraftingStationType
- SpinningWheel - Enum constant in enum class net.risingworld.api.definitions.Objects.Type
- splashdamage - Variable in class net.risingworld.api.definitions.Items.ProjectileDefinition
-
Splash damage this projectile deals (when it does not hit a player directly, instead impacts in proximity)
- Spoiled - Enum constant in enum class net.risingworld.api.definitions.Items.FoodCondition
- Spot - Enum constant in enum class net.risingworld.api.worldelements.Light.Type
- Spray - Enum constant in enum class net.risingworld.api.ui.style.Font
- Spring - Enum constant in enum class net.risingworld.api.definitions.Seasons.Season
- SQLite - Enum constant in enum class net.risingworld.api.database.DatabaseType
- sqr(float) - Static method in class net.risingworld.api.utils.Utils.MathUtils
-
Gets the value squared (value ^ 2).
- sqrt(float) - Static method in class net.risingworld.api.utils.Utils.MathUtils
-
Gets the square root of a given value.
- Squeeze - Enum constant in enum class net.risingworld.api.definitions.Items.ItemInfoType
- stacksize - Variable in class net.risingworld.api.definitions.Items.ItemDefinition
-
Max stack size for this item
- stage - Variable in class net.risingworld.api.definitions.Plants.PlantDefinition
-
Current plant stage (default, dead, growing, sapling etc)
- stage - Variable in class net.risingworld.api.definitions.Vehicles.VehicleAssembly
- Stairs - Enum constant in enum class net.risingworld.api.definitions.Constructions.Category
- stamina - Variable in class net.risingworld.api.definitions.Npcs.NpcDefinition
-
Npc stamina (when running)
- staminaprimary - Variable in class net.risingworld.api.definitions.Items.PickingInfo
-
Stamina consumption per use (primary action)
- staminasecondary - Variable in class net.risingworld.api.definitions.Items.PickingInfo
-
Stamina consumption per use (secondary action)
- Standalone - Enum constant in enum class net.risingworld.api.utils.Platform
-
Standalone version
- start() - Method in class net.risingworld.api.Timer
-
Starts the timer.
- startAnimatorPlayback(String) - Method in class net.risingworld.api.worldelements.Prefab
- startsize - Variable in class net.risingworld.api.definitions.Constructions.ConstructionDefinition
-
Initial size of this element when first holding it in hands (relevant for selector)
- Starvation - Enum constant in enum class net.risingworld.api.events.npc.NpcDamageEvent.Cause
-
Npc is dying of starvation
- Starvation - Enum constant in enum class net.risingworld.api.events.player.PlayerDamageEvent.Cause
-
Player is dying of starvation
- Starved - Enum constant in enum class net.risingworld.api.events.player.PlayerDeathEvent.Cause
-
Player died of starvation
- Static - Enum constant in enum class net.risingworld.api.objects.WorldItem.WorldItemType
- Statistics - Enum constant in enum class net.risingworld.api.database.WorldDatabase.Target
- Steam - Enum constant in enum class net.risingworld.api.utils.Platform
-
Steam version
- Stencil - Enum constant in enum class net.risingworld.api.ui.style.Font
- step(float, float) - Static method in class net.risingworld.api.utils.Utils.MathUtils
-
If x is less than min, 0 is returned, else 1.
- Stone - Enum constant in enum class net.risingworld.api.definitions.Constructions.BlockType
- Stone - Enum constant in enum class net.risingworld.api.definitions.Crafting.SubCategory
- Stone - Enum constant in enum class net.risingworld.api.definitions.Items.Material
- Stone - Enum constant in enum class net.risingworld.api.definitions.Objects.Material
- Stone - Enum constant in enum class net.risingworld.api.definitions.Plants.TerrainMaterialType
- Stone - Enum constant in enum class net.risingworld.api.definitions.Terrain
- StoneOnly - Enum constant in enum class net.risingworld.api.world.EditRestriction
-
Only affects stone blocks
- stop(boolean) - Method in class net.risingworld.api.sounds.Sound
-
Stops and releases the sound effect.
- stopAnimatorPlayback(String) - Method in class net.risingworld.api.worldelements.Prefab
- stopbleeding - Variable in class net.risingworld.api.definitions.Items.ConsumeInfo
- stopInput(boolean, boolean) - Method in class net.risingworld.api.objects.Player
-
Stops / aborts the current input actions.
- stopInput(Key) - Method in class net.risingworld.api.objects.Player
-
Releases input from a particular key.
- stopSound(int) - Method in class net.risingworld.api.objects.Player
- stopSound(Sound) - Method in class net.risingworld.api.objects.Player
- stopVFX(String) - Method in class net.risingworld.api.worldelements.Prefab
- Storage - Class in net.risingworld.api.objects
-
Represents a storage.
- Storage - Enum constant in enum class net.risingworld.api.definitions.Objects.Type
- Storage - Enum constant in enum class net.risingworld.api.definitions.Vehicles.Component
- Storages - Enum constant in enum class net.risingworld.api.database.WorldDatabase.Target
- Storages - Enum constant in enum class net.risingworld.api.definitions.Crafting.SubCategory
- Storages - Enum constant in enum class net.risingworld.api.ui.UITarget
-
Attach element to the storage/chest screen
- Storm - Static variable in class net.risingworld.api.definitions.WeatherDefs
-
Stormy weather (no sun)
- Stranded - Enum constant in enum class net.risingworld.api.utils.GameMode
-
Stranded mode (NOT AVAILABLE YET)
- strength - Variable in class net.risingworld.api.definitions.Items.ItemDefinition
-
Item strength / hit points
- strength - Variable in class net.risingworld.api.definitions.Objects.ObjectDefinition
-
Object strength (hit points)
- strength - Variable in class net.risingworld.api.definitions.Plants.PlantDefinition
-
Plant strength (hit points)
- strength - Variable in class net.risingworld.api.definitions.Vehicles.VehicleDefinition
-
Vehicle strength (hit points)
- STRENGTH_BITS - Static variable in class net.risingworld.api.objects.world.ChunkPart
-
Raw terrain data (stored as short) contains the actual terrain id (last 8 bits) and an optional strength value between 0 and 100 (first 8 bits).
- STRENGTH_BITSHIFT - Static variable in class net.risingworld.api.objects.world.ChunkPart
-
When extracting the strength (STRENGTH_BITS), shift the result by this value to the right to get a value between 0 and 100.
- Stretch - Enum constant in enum class net.risingworld.api.ui.style.Align
-
Stretch to fill the axis while respecting the min and max values
- StretchToFill - Enum constant in enum class net.risingworld.api.ui.style.ScaleMode
-
Default: Stretches the image to fill the whole element, irrespective of the aspect ratio
- StringUtils() - Constructor for class net.risingworld.api.utils.Utils.StringUtils
- stroke() - Method in class net.risingworld.api.ui.UIPainter2D
- Strong - Enum constant in enum class net.risingworld.api.definitions.Items.Modifier
-
Good
- stumpassetpath - Variable in class net.risingworld.api.definitions.Plants.PlantDefinition
-
Optional asset path of the tree stump (only relevant for trees).
- style - Variable in class net.risingworld.api.ui.UIElement
-
The style of this element.
- Style - Class in net.risingworld.api.ui.style
-
Represents the style of an UIElement.
- Style() - Constructor for class net.risingworld.api.ui.style.Style
-
Creates a new, empty style.
- Style(Style) - Constructor for class net.risingworld.api.ui.style.Style
-
Creates a new style which copies all properties from an existing style.
- StyleColor - Class in net.risingworld.api.ui.style
- StyleEnum<T extends Enum> - Class in net.risingworld.api.ui.style
- StyleFloat - Class in net.risingworld.api.ui.style
- StyleImage - Class in net.risingworld.api.ui.style
- StyleKeyword - Enum Class in net.risingworld.api.ui.style
- StyleLength - Class in net.risingworld.api.ui.style
- StyleScale - Class in net.risingworld.api.ui.style
- StyleSheetAsset - Class in net.risingworld.api.assets
-
Represents a UI Style Sheet (USS).
- StyleTransformOrigin - Class in net.risingworld.api.ui.style
- StyleTranslate - Class in net.risingworld.api.ui.style
- subCategory - Variable in class net.risingworld.api.definitions.Crafting.Recipe
-
Recipe sub category
- subtract(float, float, float) - Method in class net.risingworld.api.utils.Vector3f
-
Creates a new vector with the same values of this vector and subtracts the provided values.
- subtract(float, float, float, float) - Method in class net.risingworld.api.utils.Vector4f
-
Creates a new vector with the same values of this vector and subtracts the provided values.
- subtract(Vector3f) - Method in class net.risingworld.api.utils.Vector3f
-
Creates a new vector with the same values of this vector and subtracts the values of the provided vector.
- subtract(Vector4f) - Method in class net.risingworld.api.utils.Vector4f
-
Creates a new vector with the same values of this vector and subtracts the values of the provided vector.
- subtractLocal(float, float) - Method in class net.risingworld.api.utils.Vector2f
-
Subtracts the provided values from the values of this vector.
- subtractLocal(float, float, float) - Method in class net.risingworld.api.utils.Vector3f
-
Subtracts the provided values from the values of this vector.
- subtractLocal(float, float, float, float) - Method in class net.risingworld.api.utils.Vector4f
-
Subtracts the provided values from the values of this vector.
- subtractLocal(int, int) - Method in class net.risingworld.api.utils.Vector2i
-
Subtracts the provided values from the values of this vector.
- subtractLocal(int, int, int) - Method in class net.risingworld.api.utils.Vector3i
-
Subtracts the provided values from the values of this vector.
- subtractLocal(Vector2f) - Method in class net.risingworld.api.utils.Vector2f
-
Subtracts the values of the provided vector from the values of this vector.
- subtractLocal(Vector2i) - Method in class net.risingworld.api.utils.Vector2i
-
Subtracts the values of the provided vector from the values of this vector.
- subtractLocal(Vector3f) - Method in class net.risingworld.api.utils.Vector3f
-
Subtracts the values of the provided vector from the values of this vector.
- subtractLocal(Vector3i) - Method in class net.risingworld.api.utils.Vector3i
-
Subtracts the values of the provided vector from the values of this vector.
- subtractLocal(Vector4f) - Method in class net.risingworld.api.utils.Vector4f
-
Subtracts the values of the provided vector from the values of this vector.
- Sulfur - Enum constant in enum class net.risingworld.api.definitions.Terrain
- Summer - Enum constant in enum class net.risingworld.api.definitions.Seasons.Season
- Sunny - Enum constant in enum class net.risingworld.api.definitions.WeatherDefs.Preset
- SunnySnow - Static variable in class net.risingworld.api.definitions.WeatherDefs
-
Sunny, cold weather with very little snowfall
- sunvolumetrics - Variable in class net.risingworld.api.definitions.WeatherDefs.Weather
-
Intensity for sun volumetric light (0-16)
- Superior - Enum constant in enum class net.risingworld.api.definitions.Items.Modifier
-
Good
- supportedblocktypes - Variable in class net.risingworld.api.definitions.Constructions.ConstructionDefinition
- supportedtextures - Variable in class net.risingworld.api.definitions.Constructions.ConstructionDefinition
- supportssurfaceedit - Variable in class net.risingworld.api.definitions.Constructions.ConstructionDefinition
-
If true, this element supports separate surface editing (i.e.
- supportsthickness - Variable in class net.risingworld.api.definitions.Constructions.ConstructionDefinition
-
If true, this element has a separate thickness parameter that can be changed while building
- Survival - Enum constant in enum class net.risingworld.api.definitions.Crafting.SubCategory
- Survival - Enum constant in enum class net.risingworld.api.utils.GameMode
-
Survival mode
- SwapUVs - Enum constant in enum class net.risingworld.api.assets.ModelImportSettings.MeshImportFlags
- Swimming - Enum constant in enum class net.risingworld.api.objects.Player.State
-
Player is currently swimming
- Sword - Enum constant in enum class net.risingworld.api.definitions.Items.PickingType
- Sync - Enum constant in enum class net.risingworld.api.events.Threading
-
Synchronizes event calls.
- synchronize() - Method in class net.risingworld.api.definitions.Clothing.ClothingDefinition
- synchronize() - Method in class net.risingworld.api.definitions.Constructions.ConstructionDefinition
- synchronize() - Method in class net.risingworld.api.definitions.Crafting.CraftingStation
- synchronize() - Method in class net.risingworld.api.definitions.Crafting.Recipe
- synchronize() - Method in class net.risingworld.api.definitions.Items.ConsumeInfo
- synchronize() - Method in class net.risingworld.api.definitions.Items.ItemDefinition
- synchronize() - Method in class net.risingworld.api.definitions.Items.ItemInfo
- synchronize() - Method in class net.risingworld.api.definitions.Items.PickingInfo
- synchronize() - Method in class net.risingworld.api.definitions.Items.ProjectileDefinition
- synchronize() - Method in class net.risingworld.api.definitions.Items.WeaponDefinition
- synchronize() - Method in class net.risingworld.api.definitions.Npcs.NpcDefinition
- synchronize() - Method in class net.risingworld.api.definitions.Objects.ObjectDefinition
- synchronize() - Method in class net.risingworld.api.definitions.Objects.ObjectInfoDefinition
- synchronize() - Method in class net.risingworld.api.definitions.Objects.StorageDefinition
- synchronize() - Method in class net.risingworld.api.definitions.Plants.PlantDefinition
- synchronize() - Method in class net.risingworld.api.definitions.Vehicles.VehicleAssembly
- synchronize() - Method in class net.risingworld.api.definitions.Vehicles.VehicleComponent
- synchronize() - Method in class net.risingworld.api.definitions.Vehicles.VehicleDefinition
- synchronize() - Method in class net.risingworld.api.definitions.WeatherDefs.Weather
- syncWithClient() - Method in class net.risingworld.api.objects.Inventory
-
Force-syncs the entire inventory with the client.
- SystemUtils() - Constructor for class net.risingworld.api.utils.Utils.SystemUtils
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form