- saveAll() - Method in interface net.risingworld.api.Server
-
Forces the server to save all pending changes (world, players, npcs, storages etc).
- saveChunk(Chunk) - Method in interface net.risingworld.api.World
-
Saves the chunk.
- saveChunkLOD(ChunkLOD) - Method in interface net.risingworld.api.World
-
Saves the LOD chunk.
- saveChunkLODToDb(ChunkLOD) - Method in interface net.risingworld.api.database.WorldDatabase
-
- saveChunkToDb(Chunk) - Method in interface net.risingworld.api.database.WorldDatabase
-
Saves a
Chunk
to the database.
- saveNpcs() - Method in interface net.risingworld.api.Server
-
Forces the server to save all npcs.
- savePlayers() - Method in interface net.risingworld.api.Server
-
Forces the server to save all players and inventories.
- saveStorages() - Method in interface net.risingworld.api.Server
-
Forces the server to save all storages (chests etc).
- sendClientMessage(Object, Object) - Method in interface net.risingworld.api.Internals
-
Sends a packet/message to a client.
- sendClientMessage(Object, int, Object) - Method in interface net.risingworld.api.Internals
-
- 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) - Method in interface net.risingworld.api.Server
-
Sends an input command to the InputStream (System.in) of the server.
- sendTextMessage(String) - Method in interface net.risingworld.api.objects.Player
-
Sends a text message to the player's chat.
- sendYellMessage(String) - Method in interface 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 interface net.risingworld.api.objects.Clothes
-
Serializes the clothes, i.e. turns all information into a byte array.
- serialize() - Method in class net.risingworld.api.utils.Definitions.HitDamageDefinition
-
Serializes this hit definition, i.e. turn all information into a byte array.
- Server - Interface in net.risingworld.api
-
Represents the server object.
- Server.Type - Enum in net.risingworld.api
-
The server type
- set(Vector3i, Vector3i, Vector3i, Vector3i) - Method in class net.risingworld.api.utils.Area
-
Changes the start and end positions of this area.
- set(int, int, int, int, int, int, int, int, int, int, int, int) - Method in class net.risingworld.api.utils.Area
-
- set(int, int, int, int, int, int) - Method in class net.risingworld.api.utils.Area
-
Changes the area start and end positions.
- set(Vector3f, Vector3f) - Method in class net.risingworld.api.utils.Area
-
Changes start and end position of this area by getting the coordinates from
global positions.
- 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(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(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(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(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(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(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(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(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(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(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(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.
- setAdmin(boolean) - Method in interface net.risingworld.api.objects.Player
-
Gives admin rights to the player.
- setAge(int) - Method in interface net.risingworld.api.objects.Npc
-
Sets the "age" of the npc.
- setAlerted(boolean) - Method in interface net.risingworld.api.objects.Npc
-
Changes the "alert" state of the npc.
- setAlerted(boolean, int) - Method in interface net.risingworld.api.objects.Npc
-
Changes the "alert" state of the npc.
- setAlpha(float) - Method in class net.risingworld.api.gui.GuiElement
-
Sets the alpha value (opacity) for this element. 0 makes the element
invisible, 1 fully opaque.
- setAlpha(float) - Method in class net.risingworld.api.worldelements.World3DModel
-
Changes the alpha value (i.e. opacity) of this model. 1 indicates full opacity,
0 indicates full transparency (i.e. the model becomes invisible).
- setAlwaysInBackground(boolean) - Method in class net.risingworld.api.gui.GuiElement
-
- setAlwaysOnTop(boolean) - Method in class net.risingworld.api.gui.GuiElement
-
Sets the element to be always visible in front of other gui elements.
- setAlwaysVisible(boolean) - Method in class net.risingworld.api.worldelements.World3DText
-
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.WorldArea
-
Determines if the element should be always visible (i.e. visible
through walls etc) or not.
- setArea(Area) - Method in class net.risingworld.api.worldelements.WorldArea
-
Sets the underlying Area
.
- setAreaSelectionData(Area) - Method in interface 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.
- setAreaSize(byte, byte, byte) - Method in class net.risingworld.api.events.player.world.PlayerCreativePlaceBlockEvent
-
Overrides the size of the area (which will be filled with blocks).
- setAttribute(String, String) - Method in interface net.risingworld.api.objects.Item.CustomItemAttribute
-
- setAttribute(String, Object) - Method in interface net.risingworld.api.objects.Npc
-
Stores an attribute for this area.
- setAttribute(String, Object) - Method in interface net.risingworld.api.objects.Player
-
Stores an attribute for the player.
- setAttribute(String, Object) - Method in class net.risingworld.api.utils.Area
-
Stores an attribute for this area.
- setAttribute(String, Object) - Method in class net.risingworld.api.worldelements.WorldElement
-
Stores an attribute for this element.
- setAttributes(HashMap<String, String>) - Method in interface net.risingworld.api.objects.Item.CustomItemAttribute
-
- setBackgroundColor(int) - Method in class net.risingworld.api.worldelements.World3DText
-
Sets the background color (RGBA) of this element.
- setBackgroundColor(float, float, float, float) - Method in class net.risingworld.api.worldelements.World3DText
-
Sets the background color (RGBA) of this element.
- setBackgroundPreset(int) - Method in class net.risingworld.api.gui.GuiTextField
-
Sets a preset background image for the textfield, i.e. a basic gradient
image.
- setBatchData(int[], int) - Method in class net.risingworld.api.utils.WorldEditBatch
-
Used internally.
- setBeard(byte) - Method in interface net.risingworld.api.objects.Skin
-
Changes the beard of the player.
- setBillboard(boolean) - Method in class net.risingworld.api.worldelements.World3DText
-
If set to true, the text will always face towars the player (acting like
a "sprite").
- setBiome(int) - Method in class net.risingworld.api.utils.Chunk
-
Sets the new biome ID.
- setBiome(int) - Method in class net.risingworld.api.utils.ChunkLOD
-
Sets the new biome ID.
- setBleeding(boolean) - Method in interface net.risingworld.api.objects.Player
-
Sets the bleeding state of the player.
- setBlockDataInArea(int, Area) - Method in interface net.risingworld.api.World
-
Sets the block id in the given area (i.e. every block inside this area
will be set to the block id).
- setBlockDataInArea(int, Vector3i, Vector3i, Vector3i, Vector3i) - Method in interface net.risingworld.api.World
-
Sets the block id in the given area which is described by the start and
end position.
- setBlockDataInArea(int, int, int, int, int, int, int, int, int, int, int, int, int) - Method in interface net.risingworld.api.World
-
Sets the block id in the given area which is described by the start and
end position.
- setBlockDataInRadius(int, int, Vector3i, Vector3i) - Method in interface net.risingworld.api.World
-
Sets the block id in the given radius (spherical).
- setBlockDataInRadius(int, int, int, int, int, int, int, int) - Method in interface net.risingworld.api.World
-
Sets the block id in the given radius (spherical).
- setBlockID(int) - Method in class net.risingworld.api.events.player.world.PlayerCreativePlaceBlockEvent
-
Changes the block id to another id.
- setBlockID(int) - Method in class net.risingworld.api.events.player.world.PlayerPlaceBlockEvent
-
Changes the block id to another id.
- setBorderColor(int) - Method in class net.risingworld.api.gui.GuiElement
-
Sets the color of the border.
- setBorderColor(float, float, float, float) - Method in class net.risingworld.api.gui.GuiElement
-
Sets the color of the border.
- setBorderThickness(float, boolean) - Method in class net.risingworld.api.gui.GuiElement
-
Sets the border of this element.
- setBrokenBones(boolean) - Method in interface net.risingworld.api.objects.Player
-
Sets the broken bone state of the player.
- setCached(boolean) - Method in class net.risingworld.api.utils.SoundInformation
-
- 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.RemoveAdminEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.general.ShutdownEvent
-
- 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.NpcSpawnEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.inventory.PlayerChestDropEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.inventory.PlayerChestToInventoryEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryAddEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryToChestEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerBanEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerCatchFishEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerChangeBlockPositionEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerChangeGamemodeEvent
-
- setCancelled(boolean, String) - Method in class net.risingworld.api.events.player.PlayerChangeGamemodeEvent
-
Cancels this event and provides a reason (which will be displayed for the player)
why the event was cancelled (or more precisely, why he is not allowed to change the
game mode).
- 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.PlayerChestAccessEvent
-
- 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.PlayerCraftItemEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerCustomImageDeleteEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerCustomImageUploadRequestEvent
-
- 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.PlayerDropItemEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerElementInteractionEvent
-
- 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.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.PlayerHitEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.PlayerHitNpcEvent
-
- 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.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.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.PlayerTeleportEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.world.PlayerChangeObjectStatusEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.world.PlayerCreateBlueprintEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.world.PlayerCreativeRemoveConstructionEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.world.PlayerCreativeRemoveObjectEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.world.PlayerCreativeRemoveVegetationEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.world.PlayerDestroyConstructionEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.world.PlayerDestroyObjectEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.world.PlayerDestroyVegetationEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.world.PlayerEditConstructionEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.world.PlayerPlaceBlueprintEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.world.PlayerPlaceConstructionEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.world.PlayerPlaceObjectEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.world.PlayerPlaceVegetationEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.world.PlayerRemoveConstructionEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.world.PlayerRemoveObjectEvent
-
- setCancelled(boolean) - Method in class net.risingworld.api.events.player.world.PlayerRemoveVegetationEvent
-
- 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.PlantGrowEvent
-
- 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(Vector3i, Vector3i) - Method in interface net.risingworld.api.objects.Player
-
Sets the chunk and block position of the player (resulting
in the total global position).
- setChunkAndBlockPosition(int, int, int, int, int, int) - Method in interface 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.gui.GuiFileBrowser
-
- setClickable(boolean) - Method in class net.risingworld.api.gui.GuiImage
-
- setClickable(boolean) - Method in class net.risingworld.api.gui.GuiLabel
-
- setClickable(boolean) - Method in class net.risingworld.api.gui.GuiPaintable
-
Deprecated.
- setClickable(boolean) - Method in class net.risingworld.api.gui.GuiPanel
-
- setClickable(boolean) - Method in class net.risingworld.api.gui.GuiTextField
-
- setCollisionShape(CollisionShape) - Method in class net.risingworld.api.worldelements.World3DModel
-
Sets a collision shape for this model.
- setColor(int) - Method in class net.risingworld.api.gui.GuiElement
-
Sets the color (i.e. background color) of this element.
- setColor(float, float, float, float) - Method in class net.risingworld.api.gui.GuiElement
-
Sets the color (i.e. background color) of this element.
- setColor(int) - Method in class net.risingworld.api.gui.GuiFileBrowser
-
Sets the background color for the file browser element.
- setColor(float, float, float, float) - Method in class net.risingworld.api.gui.GuiFileBrowser
-
Sets the background color for the file browser element.
- setColor(int) - Method in class net.risingworld.api.gui.GuiImage
-
Sets the color of this element.
- setColor(float, float, float, float) - Method in class net.risingworld.api.gui.GuiImage
-
Sets the color of this element.
- setColor(int) - Method in class net.risingworld.api.worldelements.WorldArea
-
Sets the color (RGBA) of this element.
- setColor(float, float, float, float) - Method in class net.risingworld.api.worldelements.WorldArea
-
Sets the color (RGBA) of this element.
- setColorCodesEnabled(boolean) - Method in class net.risingworld.api.gui.GuiLabel
-
Sets if text-embedded color codes are enabled.
- setConstructionPosition(Vector3f) - Method in class net.risingworld.api.events.player.world.PlayerPlaceConstructionEvent
-
Changes the position of the construction element.
- setConstructionPosition(float, float, float) - Method in class net.risingworld.api.events.player.world.PlayerPlaceConstructionEvent
-
Changes the position of the construction element.
- setConstructionRotation(Quaternion) - Method in class net.risingworld.api.events.player.world.PlayerPlaceConstructionEvent
-
Changes the rotation of the construction element.
- setConstructionRotation(float, float, float) - Method in class net.risingworld.api.events.player.world.PlayerPlaceConstructionEvent
-
Changes the rotation of the construction element.
- setConstructionSize(Vector3f) - Method in class net.risingworld.api.events.player.world.PlayerPlaceConstructionEvent
-
Changes the size of the construction element.
- setConstructionSize(float, float, float) - Method in class net.risingworld.api.events.player.world.PlayerPlaceConstructionEvent
-
Changes the size of the construction element.
- setConstructionTextureID(int) - Method in class net.risingworld.api.events.player.world.PlayerPlaceConstructionEvent
-
Sets the texture of the construction element.
- setConstructionTypeID(short) - Method in class net.risingworld.api.events.player.world.PlayerPlaceConstructionEvent
-
Sets the type ID of the construction element.
- setCreativeModeEnabled(boolean) - Method in interface net.risingworld.api.objects.Player
-
Enables or disables creative mode for this player.
- 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.PlayerHitEvent
-
Sets the amount of damage that will be caused 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.
- setDamagePosition(Vector3f) - Method in class net.risingworld.api.events.player.PlayerHitEvent
-
Sets the coordinates where the player was hit exactly.
- setDamagePosition(float, float, float) - Method in class net.risingworld.api.events.player.PlayerHitEvent
-
Sets the coordinates where the player was hit exactly.
- setDamagePosition(Vector3f) - Method in class net.risingworld.api.events.player.PlayerHitNpcEvent
-
Sets the coordinates where the npc was hit exactly.
- setDamagePosition(float, float, float) - Method in class net.risingworld.api.events.player.PlayerHitNpcEvent
-
Sets the coordinates where the npc was hit exactly.
- setData(int[]) - Method in enum net.risingworld.api.utils.Animation
-
Used internally.
- setDefaultSpawnInventory(Inventory) - Method in interface net.risingworld.api.Server
-
Sets the default spawn inventory (i.e. the items you always spawn with).
- setDefaultSpawnPosition(Vector3f) - Method in interface net.risingworld.api.Server
-
Sets the global default spawn position.
- setDefaultSpawnPosition(float, float, float) - Method in interface net.risingworld.api.Server
-
Sets the global default spawn position.
- setDefaultSpawnRotation(Quaternion) - Method in interface net.risingworld.api.Server
-
Sets the default spawn rotation.
- setDefaultSpawnRotation(float, float, float) - Method in interface net.risingworld.api.Server
-
Sets the default spawn rotation.
- setDirectory(String) - Method in class net.risingworld.api.gui.GuiFileBrowser
-
Switches the view of the file browser to the specified directory (client side).
- setDisconnectReason(String) - Method in class net.risingworld.api.events.player.PlayerConnectEvent
-
If you cancel the event, the player will be disconnected from the server.
- setDuration(int) - Method in class net.risingworld.api.events.player.PlayerBanEvent
-
Sets the duration (minutes) how long the player will be banned.
- setEditable(boolean) - Method in class net.risingworld.api.gui.GuiTextField
-
Sets whether or not the textfield is supposed to be editable.
- setEntryCount(int) - Method in class net.risingworld.api.gui.GuiFileBrowser
-
Sets the amount of entries that will be shown by the file browser (without
having to scroll).
- setEquippedItem(int) - Method in interface net.risingworld.api.objects.Player
-
Changes the equipped item (i.e. the item the player currently holds in his hands).
- setEyeColor(int) - Method in interface net.risingworld.api.objects.Skin
-
Changes the eye color of the character.
- setFileExtensionFilter(String...) - Method in class net.risingworld.api.gui.GuiFileBrowser
-
Sets a filter to show only files with the provided extension.
- setFlying(boolean) - Method in interface net.risingworld.api.objects.Player
-
Sets the flymode for the player.
- setFont(Font) - Method in class net.risingworld.api.gui.GuiLabel
-
Sets the font for this label.
- setFont(Font) - Method in class net.risingworld.api.gui.GuiTextField
-
Sets the font for this textfield.
- setFont(Font) - Method in class net.risingworld.api.worldelements.World3DText
-
Sets the font for this label.
- setFontColor(int) - Method in class net.risingworld.api.gui.GuiLabel
-
Sets the font color, defined as an RGBA int (e.g. 0xFF0000FF).
- setFontColor(float, float, float, float) - Method in class net.risingworld.api.gui.GuiLabel
-
Sets the font color, defined as an RGBA int (e.g. 0xFF0000FF).
- setFontColor(int) - Method in class net.risingworld.api.gui.GuiTextField
-
Sets the font color, defined as an RGBA int (e.g. 0xFF0000FF).
- setFontColor(float, float, float, float) - Method in class net.risingworld.api.gui.GuiTextField
-
Sets the font color, defined as an RGBA int (e.g. 0xFF0000FF).
- setFontColor(int) - Method in class net.risingworld.api.worldelements.World3DText
-
Sets the font color, defined as an RGBA int (e.g. 0xFF0000FF).
- setFontColor(float, float, float, float) - Method in class net.risingworld.api.worldelements.World3DText
-
Sets the font color, defined as an RGBA int (e.g. 0xFF0000FF).
- setFontSize(int) - Method in class net.risingworld.api.gui.GuiLabel
-
Sets the font size.
- setFontsize(int) - Method in class net.risingworld.api.worldelements.World3DText
-
Sets the font size of the text.
- setFPBodyPosition(Vector3f) - Method in class net.risingworld.api.objects.custom.CustomItem
-
Sets the "offset" of the player body in first person view.
- setFPBodyPosition(float, float, float) - Method in class net.risingworld.api.objects.custom.CustomItem
-
Sets the "offset" of the player body in first person view.
- setFPBodyRotation(Quaternion) - Method in class net.risingworld.api.objects.custom.CustomItem
-
Sets the rotation of the player body in first person view.
- setFPBodyRotation(float, float, float, float) - Method in class net.risingworld.api.objects.custom.CustomItem
-
Sets the rotation of the player body in first person view.
- setFrameColor(int) - Method in class net.risingworld.api.worldelements.WorldArea
-
Sets the color (RGBA) of the frame.
- setFrameColor(float, float, float, float) - Method in class net.risingworld.api.worldelements.WorldArea
-
Sets the color (RGBA) of the frame.
- setFrameVisible(boolean) - Method in class net.risingworld.api.worldelements.WorldArea
-
- setGameTime(int, int) - Method in interface net.risingworld.api.Server
-
Sets the ingame time.
- setGameTimeSpeed(float) - Method in interface net.risingworld.api.Server
-
Changes the game time speed.
- setGender(Skin.Gender) - Method in interface net.risingworld.api.objects.Skin
-
Changes the gender of the character.
- setGrassID(int) - Method in class net.risingworld.api.events.player.world.PlayerPlaceGrassEvent
-
Changes the grass id to another id.
- setGravity(float) - Method in interface net.risingworld.api.objects.Player
-
- setGroupID(int) - Method in interface 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 (seconds) for this plant, i.e. how long it takes until
this plant grows and reaches the next growth stage.
- setGuiElementColor(int, String, int) - Method in interface net.risingworld.api.Internals
-
- setGuiElementContentVisible(int, String, boolean) - Method in interface net.risingworld.api.Internals
-
- setGuiElementPosition(int, String, float, float, boolean) - Method in interface net.risingworld.api.Internals
-
- setGuiElementVisible(int, String, boolean) - Method in interface net.risingworld.api.Internals
-
- setGuiElementVisible(GuiElement, boolean) - Method in interface net.risingworld.api.objects.Player
-
Changes the visibility of the GUI element only for this player.
- setHairColor(int) - Method in interface net.risingworld.api.objects.Skin
-
Changes the hair color of the character.
- setHaircut(byte) - Method in interface net.risingworld.api.objects.Skin
-
Changes the haircut of the player.
- setHand(CustomItem.Hand) - Method in class net.risingworld.api.objects.custom.CustomItem
-
Determines in which hand the item is being held (left hand, right hand, no hand).
- setHealth(int) - Method in interface net.risingworld.api.objects.Npc
-
Sets the health of the npc.
- setHealth(int) - Method in interface net.risingworld.api.objects.Player
-
Sets the health of the player.
- setHeightProportional(float, boolean) - Method in class net.risingworld.api.gui.GuiImage
-
Sets a new width and calculates a proportional height for this image.
- setHitDamageDefinition(Definitions.HitDamageDefinition) - Method in class net.risingworld.api.objects.custom.CustomItem
-
Sets a hit damage definition for this item.
- setHitDamageFactor(float) - Method in class net.risingworld.api.objects.custom.CustomItem
-
Sets the damage factor for hits.
- setHittable(boolean) - Method in class net.risingworld.api.worldelements.World3DModel
-
Sets this element hittable, i.e. players can hit it with their pickaxe.
- setHunger(int) - Method in interface net.risingworld.api.objects.Npc
-
Sets the hunger level of the npc. 100 means the npc is not hungry,
0 means the npc is starving.
- setHunger(int) - Method in interface net.risingworld.api.objects.Player
-
Sets the hunger level of the player. 100 means the player is not hungry,
0 means the player is starving (i.e. the player looses health).
- setIcon(ImageInformation) - Method in class net.risingworld.api.objects.custom.CustomItem
-
Sets the item icon (visible in inventory, chests, hotbar etc).
- setImage(ImageInformation) - Method in class net.risingworld.api.gui.GuiImage
-
- setImageName(String) - Method in class net.risingworld.api.events.player.PlayerCustomImageUploadRequestEvent
-
- setIngredients(String...) - Method in class net.risingworld.api.objects.custom.CustomRecipe
-
Sets the ingredients which are required to craft this item.
- setInitialDelay(float) - Method in class net.risingworld.api.Timer
-
Sets the initial delay for this timer.
- setInteractable(boolean) - Method in class net.risingworld.api.worldelements.World3DModel
-
Sets whether or not the player can interact with this object.
- setInteractionCrosshair(Crosshair) - Method in class net.risingworld.api.worldelements.World3DModel
-
Sets the crosshair for this element.
- setInteractionPreset(Interaction) - Method in class net.risingworld.api.worldelements.World3DModel
-
Sets an interaction preset (i.e. add some default behaviour to this object).
- setInterval(float) - Method in class net.risingworld.api.Timer
-
Sets the interval for this timer.
- setInvincible(boolean) - Method in interface net.risingworld.api.objects.Npc
-
Enables/disables invincibility for this npc.
- setInvisible(boolean) - Method in interface net.risingworld.api.objects.Player
-
Sets the player invisible.
- setItemPosition(Vector3f) - Method in class net.risingworld.api.objects.custom.CustomItem
-
- setItemPosition(float, float, float) - Method in class net.risingworld.api.objects.custom.CustomItem
-
- setItemRotation(Quaternion) - Method in class net.risingworld.api.objects.custom.CustomItem
-
- setItemRotation(float, float, float, float) - Method in class net.risingworld.api.objects.custom.CustomItem
-
- setJumpSpeed(float) - Method in interface 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.
- setLightingEnabled(boolean) - Method in class net.risingworld.api.worldelements.World3DModel
-
Sets if this model should be affected by lighting or not.
- setLine(int, String) - Method in class net.risingworld.api.events.player.PlayerSetSignTextEvent
-
Changes a certain line of text the player wants to set for this sign (using default black color 0x000000).
- setLine(int, int, String) - Method in class net.risingworld.api.events.player.PlayerSetSignTextEvent
-
Changes the text of a certain line.
- setLine(int, String) - Method in interface net.risingworld.api.objects.Sign
-
Changes the text of a certain line (using default black color 0x000000).
- setLine(int, int, String) - Method in interface net.risingworld.api.objects.Sign
-
Changes the text of a certain line.
- setListenForCollisions(boolean) - Method in class net.risingworld.api.worldelements.World3DModel
-
Sets whether or not the element should "listen" for collisions with the player.
- setListenForInput(boolean) - Method in class net.risingworld.api.gui.GuiTextField
-
If set to true, a
PlayerGuiInputEvent
event will be triggered once
the player either presses his enter key (while the textfield was focused), or
once the textfield loses the focus (i.e. the player clicks somewhere else).
- setListenForKeyInput(boolean) - Method in interface net.risingworld.api.objects.Player
-
Sets if the client should forward his key input to the server or not.
- setListenForObjectInteractions(boolean) - Method in interface net.risingworld.api.objects.Player
-
- setLocalizedCategories(String...) - Method in class net.risingworld.api.objects.custom.CustomRecipe
-
Sets a (localized) name for the category.
- setLocalizedDescriptions(String...) - Method in class net.risingworld.api.objects.custom.CustomRecipe
-
- setLocalizedNames(String...) - Method in class net.risingworld.api.objects.custom.CustomItem
-
Sets a (localized) name of the item.
- setLocalizedNames(String...) - Method in class net.risingworld.api.objects.custom.CustomRecipe
-
Sets a (localized) name of the recipe.
- setLocked(boolean) - Method in interface net.risingworld.api.objects.Npc
-
Locks or unlocks the npc.
- setMass(float) - Method in class net.risingworld.api.worldelements.World3DModel
-
Sets the physical mass of this element.
- setMaxCharacters(int) - Method in class net.risingworld.api.gui.GuiTextField
-
- setMaxStacksize(int) - Method in class net.risingworld.api.objects.custom.CustomItem
-
Sets the max amount of items that can be stacked.
- setMipMappingEnabled(boolean) - Method in class net.risingworld.api.gui.GuiImage
-
Sets mip mapping for this image (default true).
- setModel(ModelInformation, ImageInformation, float) - Method in class net.risingworld.api.objects.custom.CustomItem
-
Sets a model for this item, including the according texture.
- setModel(ModelInformation) - Method in class net.risingworld.api.worldelements.World3DModel
-
Sets the model information (i.e. the actual 3D model) for this element.
- setMouseCursorCoordinates(float, float, boolean) - Method in interface net.risingworld.api.objects.Player
-
Moves the mouse cursor of the client to the specified xy coordinates.
- setMouseCursorVisible(boolean) - Method in interface net.risingworld.api.objects.Player
-
Toggles the visibility of the mouse cursor.
- setMultiplePlacementCount(byte) - Method in class net.risingworld.api.events.player.world.PlayerPlaceBlockEvent
-
Sets the amount of blocks that will be placed.
- setMultiplePlacementDirection(byte) - Method in class net.risingworld.api.events.player.world.PlayerPlaceBlockEvent
-
Sets the direction of the block row for multiple block placement (i.e. placing
multiple blocks at once).
- setMultithreadedRaycasting(boolean) - Method in interface net.risingworld.api.Internals
-
Enables or disables multithreaded raycasting (e.g. player.raycast()).
- setName(String) - Method in interface net.risingworld.api.objects.Npc
-
Sets the name of this npc.
- setName(String) - Method in interface net.risingworld.api.objects.Player
-
Changes the name of the player.
- setNewGamemode(Gamemode) - Method in class net.risingworld.api.events.player.PlayerChangeGamemodeEvent
-
Changes the new game mode for the player.
- setNewPermissionGroup(String) - Method in class net.risingworld.api.events.player.PlayerPermissionGroupChangeEvent
-
Changes the target permission group for the player.
- setNewStacksize(int) - Method in class net.risingworld.api.events.world.ItemTransformEvent
-
- setNewTypeID(short) - Method in class net.risingworld.api.events.world.ItemTransformEvent
-
- setNextGrowthTime(int) - Method in class net.risingworld.api.events.world.PlantGrowEvent
-
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.
- setNextStageTypeID(int) - Method in class net.risingworld.api.events.world.PlantGrowEvent
-
Changes the type ID of the next growth stage.
- setNextWeather(Weather) - Method in class net.risingworld.api.events.world.WeatherChangeEvent
-
Changes the next weather.
- setNpcCollisionEnabled(boolean) - Method in class net.risingworld.api.worldelements.World3DModel
-
If set to true, npcs will collide with this element (irrespective of the collision
shape of this element, so this will also work if no collision shape is set).
- setNpcDamage(short) - Method in class net.risingworld.api.events.world.ExplosionEvent
-
Sets the amount of damage this explosion deals for npcs (e.g. animals).
- setObjectPosition(Vector3f) - Method in class net.risingworld.api.events.player.world.PlayerPlaceObjectEvent
-
Changes the object position.
- setObjectPosition(float, float, float) - Method in class net.risingworld.api.events.player.world.PlayerPlaceObjectEvent
-
Changes the object position.
- setObjectRotation(Quaternion) - Method in class net.risingworld.api.events.player.world.PlayerPlaceObjectEvent
-
Changes the object rotation.
- setOption(String, Object) - Method in interface net.risingworld.api.objects.Player
-
Sets the graphics/audio/game settings for the client.
- setPermissionGroup(String) - Method in interface net.risingworld.api.objects.Player
-
Sets the permission group of the player.
- setPermissionValue(String, Object) - Method in interface net.risingworld.api.objects.Player
-
Overrides a permission value.
- setPivot(PivotPosition) - Method in class net.risingworld.api.gui.GuiElement
-
Sets the pivot for this element, this determines the actual location of
the position coordinate.
- setPlantPosition(Vector3f) - Method in class net.risingworld.api.events.player.world.PlayerDestroyVegetationEvent
-
If this plant is a tree, this method sets the spawn position of the physical tree log.
- setPlantPosition(float, float, float) - Method in class net.risingworld.api.events.player.world.PlayerDestroyVegetationEvent
-
If this plant is a tree, this method sets the spawn position of the physical tree log.
- setPlantPosition(Vector3f) - Method in class net.risingworld.api.events.player.world.PlayerPlaceVegetationEvent
-
Changes the plant position.
- setPlantPosition(float, float, float) - Method in class net.risingworld.api.events.player.world.PlayerPlaceVegetationEvent
-
Changes the plant position.
- setPlantRotation(Quaternion) - Method in class net.risingworld.api.events.player.world.PlayerPlaceVegetationEvent
-
Changes the plant rotation.
- setPlantRotation(float, float, float) - Method in class net.risingworld.api.events.player.world.PlayerPlaceVegetationEvent
-
Changes the plant rotation.
- setPlantTypeID(short) - Method in class net.risingworld.api.events.player.world.PlayerPlaceVegetationEvent
-
Sets the type ID of the plant.
- 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.
- setPlayerIdleAnimation(Animation) - Method in class net.risingworld.api.objects.custom.CustomItem
-
Sets the idle animation of the player when this item is equipped.
- setPosition(Vector3f) - Method in class net.risingworld.api.events.npc.NpcSpawnEvent
-
- setPosition(float, float, float) - Method in class net.risingworld.api.events.npc.NpcSpawnEvent
-
- setPosition(Vector3f) - Method in class net.risingworld.api.events.player.PlayerChangePositionEvent
-
- setPosition(float, float, float) - Method in class net.risingworld.api.events.player.PlayerChangePositionEvent
-
- setPosition(Vector3f) - 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.ExplosionEvent
-
Changes the global world position of the explosion.
- setPosition(float, float, boolean) - Method in class net.risingworld.api.gui.GuiElement
-
Sets the screen position of this element.
- setPosition(Vector3f) - Method in interface net.risingworld.api.objects.Npc
-
Sets the global position of the npc (teleports the npc).
- setPosition(float, float, float) - Method in interface net.risingworld.api.objects.Npc
-
Sets the global position of the npc (teleports the npc).
- setPosition(Vector3f) - Method in interface net.risingworld.api.objects.Player
-
Sets the global position of the player.
- setPosition(float, float, float) - Method in interface net.risingworld.api.objects.Player
-
Sets the global position of the player.
- setPosition(Vector3f) - Method in interface net.risingworld.api.objects.WorldItem
-
Sets the global position of the item.
- setPosition(float, float, float) - Method in interface net.risingworld.api.objects.WorldItem
-
Sets the global position of the item.
- setPosition(Vector3f) - Method in class net.risingworld.api.worldelements.WorldElement
-
Sets the global position of this element.
- setPosition(float, float, float) - Method in class net.risingworld.api.worldelements.WorldElement
-
Sets the global position of this element.
- setPreviewImageDimension(int) - Method in class net.risingworld.api.gui.GuiFileBrowser
-
- setPreviewImageEnabled(boolean) - Method in class net.risingworld.api.gui.GuiFileBrowser
-
Enables a file preview, e.g. a small preview will be shown when selecting a file.
- setPreviewImagePosition(float, float, boolean) - Method in class net.risingworld.api.gui.GuiFileBrowser
-
Sets the position of the preview image (if enabled).
- setPreviewOffset(Vector3f) - Method in class net.risingworld.api.objects.custom.CustomRecipe
-
- setPreviewOffset(float, float, float) - Method in class net.risingworld.api.objects.custom.CustomRecipe
-
- setPreviewRotation(Quaternion) - Method in class net.risingworld.api.objects.custom.CustomRecipe
-
- setPreviewRotation(float, float, float, float) - Method in class net.risingworld.api.objects.custom.CustomRecipe
-
- setPreviewSize(float) - Method in class net.risingworld.api.objects.custom.CustomRecipe
-
Sets the size of the preview 3D view.
- setPrimaryAction(Animation, float, CustomItem.Action) - Method in class net.risingworld.api.objects.custom.CustomItem
-
Defines the (custom) primary action and animation for this item.
- setPrimaryFPBodyPosition(float, float, float) - Method in class net.risingworld.api.objects.custom.CustomItem
-
Sets the "offset" of the player body in first person view.
- 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.
- setRGBA(int, int, float, float, float, float) - Method in class net.risingworld.api.gui.GuiPaintable
-
Deprecated.
Sets the rgba value at the given pixel x/y coordinate.
- setRGBA(int, int, int) - Method in class net.risingworld.api.gui.GuiPaintable
-
Deprecated.
Sets the rgba value at the given pixel x/y coordinate.
- 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 interface net.risingworld.api.objects.Npc
-
- setRotation(float, float, float) - Method in interface net.risingworld.api.objects.Npc
-
- setRotation(Quaternion) - Method in interface net.risingworld.api.objects.Player
-
Sets the player rotation.
- setRotation(float, float, float) - Method in interface net.risingworld.api.objects.Player
-
Sets the player rotation from euler angles.
- setRotation(Quaternion) - Method in interface net.risingworld.api.objects.WorldItem
-
Sets the rotation of this item.
- setRotation(Quaternion) - Method in class net.risingworld.api.worldelements.WorldElement
-
Sets the rotation of this element.
- setRotation(float, float, float) - Method in class net.risingworld.api.worldelements.WorldElement
-
- setRunSpeed(float) - Method in interface net.risingworld.api.objects.Player
-
Sets the running speed for the player, i.e. the default movement speed.
- setScale(float) - Method in class net.risingworld.api.worldelements.World3DModel
-
Sets the scale for this model.
- setScale(float, float, float) - Method in class net.risingworld.api.worldelements.World3DModel
-
Sets the scale for this model along the x, y and z axis.
- setSecondaryAction(Animation, float, CustomItem.Action) - Method in class net.risingworld.api.objects.custom.CustomItem
-
- setSize(float, float, boolean) - Method in class net.risingworld.api.gui.GuiElement
-
Sets the size of this element.
- setSize(float, float, boolean) - Method in class net.risingworld.api.gui.GuiImage
-
- setSize(float, float, boolean) - Method in class net.risingworld.api.gui.GuiLabel
-
This method does not work for labels.
- setSkinColor(int) - Method in interface net.risingworld.api.objects.Skin
-
Changes the skin color of the character.
- setSlotCount(int) - Method in interface net.risingworld.api.objects.Storage
-
Overrides the amount of slots the chest has.
- setSoundPitch(int, float) - Method in interface net.risingworld.api.objects.Player
-
Changes the pitch of a sound instance.
- setSoundPosition(int, Vector3f) - Method in interface net.risingworld.api.objects.Player
-
Changes the position of a sound.
- setSoundTimelinePosition(int, float, boolean) - Method in interface net.risingworld.api.objects.Player
-
Changes the track position / timeline position of the sound.
- setSoundVolume(int, float) - Method in interface net.risingworld.api.objects.Player
-
Changes the volume of a sound instance.
- setSpawnPosition(Vector3f) - Method in class net.risingworld.api.events.player.PlayerRespawnEvent
-
Sets the spawn position of the player.
- setSpawnPosition(float, float, float) - 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.
- setSprintSpeed(float) - Method in interface net.risingworld.api.objects.Player
-
Sets the sprinting speed for the player, i.e. fast movement.
- setStreamed(boolean) - Method in class net.risingworld.api.utils.SoundInformation
-
Determines if the sound should be streamed or not.
- setTargetCount(int) - Method in class net.risingworld.api.objects.custom.CustomRecipe
-
Sets the amount of items you get when crafting this item.
- setTargetDimension(int) - Method in class net.risingworld.api.events.player.PlayerCustomImageUploadRequestEvent
-
Sets the target image dimension.
- setTargetPosition(Vector3f) - Method in class net.risingworld.api.events.player.PlayerTeleportEvent
-
- setTargetPosition(float, float, float) - Method in class net.risingworld.api.events.player.PlayerTeleportEvent
-
- 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 interface net.risingworld.api.objects.Player
-
Sets the player temperature (in celsius).
- setTerrainDataInArea(int, Area) - Method in interface net.risingworld.api.World
-
Sets the terrain id in the given area (i.e. every block inside this area
will be set to the terrain id).
- setTerrainDataInArea(int, Vector3i, Vector3i, Vector3i, Vector3i) - Method in interface net.risingworld.api.World
-
Sets the terrain id in the given area which is described by the start and
end position.
- setTerrainDataInArea(int, int, int, int, int, int, int, int, int, int, int, int, int) - Method in interface net.risingworld.api.World
-
Sets the terrain id in the given area which is described by the start and
end position.
- setTerrainDataInRadius(int, int, Vector3i, Vector3i) - Method in interface net.risingworld.api.World
-
Sets the terrain id in the given radius (spherical).
- setTerrainDataInRadius(int, int, int, int, int, int, int, int) - Method in interface net.risingworld.api.World
-
Sets the terrain id in the given 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.gui.GuiLabel
-
Sets the text of this label.
- setText(String) - Method in class net.risingworld.api.gui.GuiTextField
-
Sets the default text of this textfield.
- setText(String) - Method in interface net.risingworld.api.objects.Sign
-
Sets the text of this sign.
- setText(String) - Method in class net.risingworld.api.worldelements.World3DText
-
Sets the text.
- setTexture(ImageInformation) - Method in class net.risingworld.api.worldelements.World3DModel
-
- setTextureOffset(float, float) - Method in class net.risingworld.api.worldelements.World3DModel
-
Sets the texture offset for this model (this way you can move the texture
on the object horizontally and vertically).
- setTextureScale(float) - Method in class net.risingworld.api.worldelements.World3DModel
-
Sets the scale of the texture for this model.
- setTextureScale(float, float) - Method in class net.risingworld.api.worldelements.World3DModel
-
Sets the scale of the texture for this model.
- setThirst(int) - Method in interface net.risingworld.api.objects.Npc
-
Sets the thirst level of the npc. 100 means the npc is not thirsty,
0 means the npc is dying of dehydration.
- setThirst(int) - Method in interface net.risingworld.api.objects.Player
-
Sets the thirst level of the player. 100 means the player is not thirsty,
0 means the player is dying of dehydration (i.e. the player looses health).
- setTick(float) - Method in class net.risingworld.api.Timer
-
Used internally!
- setTransparencyEnabled(boolean) - Method in class net.risingworld.api.worldelements.World3DModel
-
Enables or disables transparency for this model.
- setTriggerExplosives(boolean) - Method in class net.risingworld.api.events.world.ExplosionEvent
-
Sets whether or not this explosion should trigger other explosives.
- setTypeID(int) - Method in class net.risingworld.api.events.npc.NpcSpawnEvent
-
- setVariation(byte) - Method in class net.risingworld.api.events.npc.NpcSpawnEvent
-
- setVariation(int, ImageInformation, ImageInformation) - Method in class net.risingworld.api.objects.custom.CustomItem
-
- setVariation(byte) - Method in interface net.risingworld.api.objects.Skin
-
Sets the variation of the skin.
- setViewDirection(Vector3f) - Method in interface net.risingworld.api.objects.Npc
-
Sets the view direction of the npc.
- setViewDirection(float, float, float) - Method in interface net.risingworld.api.objects.Npc
-
Sets the view direction of the npc.
- setViewDirection(Vector3f) - Method in interface net.risingworld.api.objects.Player
-
Sets the view direction of the player.
- setViewDirection(float, float, float) - Method in interface net.risingworld.api.objects.Player
-
Sets the view direction of the player.
- setVisible(boolean) - Method in class net.risingworld.api.gui.GuiElement
-
Sets the visibility of this element.
- setVisibleRange(float) - Method in class net.risingworld.api.worldelements.WorldElement
-
Sets the max distance the element will be visible.
- 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 interface net.risingworld.api.objects.Player
-
Sets the walking 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(Weather, boolean) - Method in interface net.risingworld.api.Server
-
Sets the weather.
- setWeatherEnabled(boolean) - Method in interface net.risingworld.api.Server
-
Enables or disables the weather.
- setWetness(int) - Method in interface net.risingworld.api.objects.Player
-
- setWidthProportional(float, boolean) - Method in class net.risingworld.api.gui.GuiImage
-
Sets a new height and calculates a proportional width for this image.
- 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.
- setWorldInfo(String, String) - Method in interface net.risingworld.api.database.WorldDatabase
-
Sets a key/value in the WorldInfos
table.
- 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(int) - Method in class net.risingworld.api.utils.Vector2i
-
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(int) - Method in class net.risingworld.api.utils.Vector3i
-
Sets the x value of this vector.
- setX(float) - Method in class net.risingworld.api.utils.Vector4f
-
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(int) - Method in class net.risingworld.api.utils.Vector2i
-
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(int) - Method in class net.risingworld.api.utils.Vector3i
-
Sets the y value of this vector.
- setY(float) - Method in class net.risingworld.api.utils.Vector4f
-
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(int) - Method in class net.risingworld.api.utils.Vector3i
-
Sets the z value of this vector.
- setZ(float) - Method in class net.risingworld.api.utils.Vector4f
-
Sets the z value of this vector.
- shake(float, float) - Method in interface net.risingworld.api.objects.Player
-
Shakes the player screen, like an earthquake.
- showContextMenu(String[], Callback<String>) - Method in interface net.risingworld.api.objects.Player
-
Shows a context menu with the given entries.
- showInventory() - Method in interface net.risingworld.api.objects.Player
-
- showJournal() - Method in interface net.risingworld.api.objects.Player
-
Shows the journal.
- showMap(boolean) - Method in interface net.risingworld.api.objects.Player
-
Brings up the ingame map.
- showMap(boolean, Vector3f, boolean) - Method in interface net.risingworld.api.objects.Player
-
Brings up the ingame map.
- showStatusMessage(String, int) - Method in interface net.risingworld.api.objects.Player
-
Shows a status text message (centered, bottom of the screen).
- showStorage(int) - Method in interface net.risingworld.api.objects.Player
-
Shows the content of a chest/storage.
- shutdown() - Method in interface net.risingworld.api.Server
-
Forces the server to shutdown gracefully.
- ShutdownEvent - Class in net.risingworld.api.events.general
-
Called when the server shuts down.
- ShutdownEvent() - Constructor for class net.risingworld.api.events.general.ShutdownEvent
-
- Sign - Interface in net.risingworld.api.objects
-
Represents a sign.
- size() - Method in class net.risingworld.api.utils.WorldEditBatch
-
Gets the current size of the batch.
- Skin - Interface in net.risingworld.api.objects
-
An object representing the current visual appearance of players and human npc.
- Skin.Gender - Enum in net.risingworld.api.objects
-
- smoothstep(float, float, float) - Static method in class net.risingworld.api.utils.Utils.MathUtils
-
Performs a smooth Hermite interpolation between 0 and 1.
- SoundInformation - Class in net.risingworld.api.utils
-
Represents a custom audio file (this could either be a sound effect or a music track).
- SoundInformation(Plugin, String) - Constructor for class net.risingworld.api.utils.SoundInformation
-
Creates a new sound information object and loads a sound from the plugin jar file.
- SoundInformation(String) - Constructor for class net.risingworld.api.utils.SoundInformation
-
Creates a new sound information object and loads a sound from a file.
- SoundInformation(File) - Constructor for class net.risingworld.api.utils.SoundInformation
-
Creates a new sound information object and loads a sound from a file.
- spawnCustomItem(String, int, int, Vector3f, Quaternion, boolean) - Method in interface net.risingworld.api.World
-
Spawns a custom item in the world.
- spawnItem(short, int, int, Vector3f, Quaternion, boolean) - Method in interface net.risingworld.api.World
-
Spawns a global item in the world.
- spawnNpc(short, Vector3f, Quaternion) - Method in interface net.risingworld.api.World
-
Spawns a new npc in the world.
- spawnNpc(short, byte, Vector3f, Quaternion) - Method in interface net.risingworld.api.World
-
Spawns a new npc in the world.
- spawnNpc(short, byte, Vector3f, Quaternion, boolean) - Method in interface net.risingworld.api.World
-
Spawns a new npc in the world.
- spawnObjectItem(short, int, int, Vector3f, Quaternion, boolean) - Method in interface net.risingworld.api.World
-
Spawns a global object item in the world, i.e. an item which represents an
object.
- spawnProjectile(byte, Vector3f, Vector3f, float, boolean) - Method in interface net.risingworld.api.World
-
Spawns a projectile in the world.
- 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.
- start() - Method in class net.risingworld.api.Timer
-
Starts the timer.
- stopInput(boolean, boolean) - Method in interface net.risingworld.api.objects.Player
-
Stops / aborts the current input actions.
- stopsBleeding() - Method in class net.risingworld.api.utils.Definitions.FoodDefinition
-
- stopSound(int) - Method in interface net.risingworld.api.objects.Player
-
Stops a sound effect.
- Storage - Interface in net.risingworld.api.objects
-
Represents a storage.
- StringUtils() - Constructor for class net.risingworld.api.utils.Utils.StringUtils
-
- 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(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(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.
- 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.
- subtractLocal(Vector2f) - Method in class net.risingworld.api.utils.Vector2f
-
Subtracts the values of the provided vector from the values of this vector.
- subtractLocal(float, float) - Method in class net.risingworld.api.utils.Vector2f
-
Subtracts the provided values 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(int, int) - Method in class net.risingworld.api.utils.Vector2i
-
Subtracts the provided values 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(float, float, float) - Method in class net.risingworld.api.utils.Vector3f
-
Subtracts the provided values 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(int, int, int) - Method in class net.risingworld.api.utils.Vector3i
-
Subtracts the provided values 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.
- subtractLocal(float, float, float, float) - Method in class net.risingworld.api.utils.Vector4f
-
Subtracts the provided values from the values of this vector.
- surfaceData - Variable in class net.risingworld.api.utils.ChunkLOD
-
Converted surface, flattened 3 x 20 x 20 (LAYERS x X x Z) array
- SystemUtils() - Constructor for class net.risingworld.api.utils.Utils.SystemUtils
-