Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
G
- g - Variable in class net.risingworld.api.utils.ColorRGBA
-
The green color component (0-1)
- G - Enum constant in enum class net.risingworld.api.utils.Key
- GameAsset - Enum constant in enum class net.risingworld.api.assets.Asset.Source
-
Asset is loaded from a built-in game file
- GameMode - Enum Class in net.risingworld.api.utils
-
All game modes.
- GameObject - Class in net.risingworld.api.worldelements
-
"Empty" base class for all custom elements.
- GameObject() - Constructor for class net.risingworld.api.worldelements.GameObject
-
Creates a new, empty game object using the
DEFAULT
layer. - GameObject(int) - Constructor for class net.risingworld.api.worldelements.GameObject
-
Creates a new, empty game object using the provided layer.
- GameObject.AttachTarget - Enum Class in net.risingworld.api.worldelements
-
Attach target used in conjunction with the
attachTo()
methods. - gears - Variable in class net.risingworld.api.definitions.Vehicles.VehicleDefinition
-
If vehicle has a transmission, this is the number of forward gears
- gender - Variable in class net.risingworld.api.definitions.Clothing.ClothingDefinition
-
Gender which can wear this clothing piece
- gender - Variable in class net.risingworld.api.definitions.Npcs.NpcDefinition
-
Gender of this npc (if defined)
- General - Enum constant in enum class net.risingworld.api.definitions.Crafting.Category
- General - Enum constant in enum class net.risingworld.api.definitions.Crafting.SubCategory
- GeneralUtils() - Constructor for class net.risingworld.api.utils.Utils.GeneralUtils
- GenerateColliders - Enum constant in enum class net.risingworld.api.assets.ModelImportSettings.MeshImportFlags
- GenerateConvexColliders - Enum constant in enum class net.risingworld.api.assets.ModelImportSettings.MeshImportFlags
- GenerateNormals - Enum constant in enum class net.risingworld.api.assets.ModelImportSettings.MeshImportFlags
- GenerateTangents - Enum constant in enum class net.risingworld.api.assets.ModelImportSettings.MeshImportFlags
- GenerateTextureMipMaps - Enum constant in enum class net.risingworld.api.assets.ModelImportSettings.MaterialImportFlags
- Generators - Enum constant in enum class net.risingworld.api.definitions.Crafting.SubCategory
- Generic - Enum constant in enum class net.risingworld.api.assets.ModelImportSettings.AnimationType
- get() - Method in class net.risingworld.api.ui.style.StyleColor
- get() - Method in class net.risingworld.api.ui.style.StyleEnum
- get() - Method in class net.risingworld.api.ui.style.StyleFloat
- get() - Method in class net.risingworld.api.ui.style.StyleImage
- get() - Method in class net.risingworld.api.ui.style.StyleLength
- get(int) - Static method in enum class net.risingworld.api.assets.Asset.Source
- get(int) - Static method in enum class net.risingworld.api.assets.Asset.Type
- get(int) - Static method in enum class net.risingworld.api.definitions.Clothing.Function
- get(int) - Static method in enum class net.risingworld.api.definitions.Clothing.Gender
- get(int) - Static method in enum class net.risingworld.api.definitions.Clothing.Race
- get(int) - Static method in enum class net.risingworld.api.definitions.Clothing.Type
- get(int) - Static method in enum class net.risingworld.api.definitions.Constructions.Axis
- get(int) - Static method in enum class net.risingworld.api.definitions.Constructions.BlockType
- get(int) - Static method in enum class net.risingworld.api.definitions.Constructions.Category
- get(int) - Static method in enum class net.risingworld.api.definitions.Constructions.Face
- get(int) - Static method in enum class net.risingworld.api.definitions.Constructions.ShapeType
- get(int) - Static method in enum class net.risingworld.api.definitions.Constructions.Size
- get(int) - Static method in enum class net.risingworld.api.definitions.Constructions.TilingMode
- get(int) - Static method in enum class net.risingworld.api.definitions.Constructions.Type
- get(int) - Static method in enum class net.risingworld.api.definitions.Crafting.Category
- get(int) - Static method in enum class net.risingworld.api.definitions.Crafting.CraftingStationType
- get(int) - Static method in enum class net.risingworld.api.definitions.Crafting.RecipeType
- get(int) - Static method in enum class net.risingworld.api.definitions.Crafting.SubCategory
- get(int) - Static method in enum class net.risingworld.api.definitions.Era
- get(int) - Static method in enum class net.risingworld.api.definitions.Items.Category
- get(int) - Static method in enum class net.risingworld.api.definitions.Items.ConsumeType
- get(int) - Static method in enum class net.risingworld.api.definitions.Items.Durability
- get(int) - Static method in enum class net.risingworld.api.definitions.Items.FoodCondition
- get(int) - Static method in enum class net.risingworld.api.definitions.Items.Group
- get(int) - Static method in enum class net.risingworld.api.definitions.Items.Hand
- get(int) - Static method in enum class net.risingworld.api.definitions.Items.ItemInfoType
- get(int) - Static method in enum class net.risingworld.api.definitions.Items.Material
- get(int) - Static method in enum class net.risingworld.api.definitions.Items.Modifier
- get(int) - Static method in enum class net.risingworld.api.definitions.Items.PickingType
- get(int) - Static method in enum class net.risingworld.api.definitions.Items.ProjectileType
- get(int) - Static method in enum class net.risingworld.api.definitions.Items.Size
- get(int) - Static method in enum class net.risingworld.api.definitions.Items.Type
- get(int) - Static method in enum class net.risingworld.api.definitions.Items.WeaponType
- get(int) - Static method in enum class net.risingworld.api.definitions.Npcs.AttackReaction
- get(int) - Static method in enum class net.risingworld.api.definitions.Npcs.Behaviour
- get(int) - Static method in enum class net.risingworld.api.definitions.Npcs.CorpseType
- get(int) - Static method in enum class net.risingworld.api.definitions.Npcs.Gender
- get(int) - Static method in enum class net.risingworld.api.definitions.Npcs.LootType
- get(int) - Static method in enum class net.risingworld.api.definitions.Npcs.Type
- get(int) - Static method in enum class net.risingworld.api.definitions.Objects.Axis
- get(int) - Static method in enum class net.risingworld.api.definitions.Objects.Material
- get(int) - Static method in enum class net.risingworld.api.definitions.Objects.Pedestal
- get(int) - Static method in enum class net.risingworld.api.definitions.Objects.PivotSnapping
- get(int) - Static method in enum class net.risingworld.api.definitions.Objects.SelectorHelperMode
- get(int) - Static method in enum class net.risingworld.api.definitions.Objects.Size
- get(int) - Static method in enum class net.risingworld.api.definitions.Objects.StorageType
- get(int) - Static method in enum class net.risingworld.api.definitions.Objects.Type
- get(int) - Static method in enum class net.risingworld.api.definitions.Plants.Category
- get(int) - Static method in enum class net.risingworld.api.definitions.Plants.Extent
- get(int) - Static method in enum class net.risingworld.api.definitions.Plants.Size
- get(int) - Static method in enum class net.risingworld.api.definitions.Plants.Stage
- get(int) - Static method in enum class net.risingworld.api.definitions.Plants.TerrainMaterialType
- get(int) - Static method in enum class net.risingworld.api.definitions.Plants.Type
- get(int) - Static method in enum class net.risingworld.api.definitions.Seasons.Season
- get(int) - Static method in enum class net.risingworld.api.definitions.Terrain
- get(int) - Static method in enum class net.risingworld.api.definitions.Vehicles.Category
- get(int) - Static method in enum class net.risingworld.api.definitions.Vehicles.Component
- get(int) - Static method in enum class net.risingworld.api.definitions.Vehicles.Hand
- get(int) - Static method in enum class net.risingworld.api.definitions.Vehicles.Material
- get(int) - Static method in enum class net.risingworld.api.definitions.Vehicles.Size
- get(int) - Static method in enum class net.risingworld.api.definitions.Vehicles.Stage
- get(int) - Static method in enum class net.risingworld.api.definitions.Vehicles.Transmission
- get(int) - Static method in enum class net.risingworld.api.definitions.Vehicles.Type
- get(int) - Static method in enum class net.risingworld.api.definitions.WeatherDefs.Preset
- get(int) - Static method in enum class net.risingworld.api.objects.Inventory.SlotType
- get(int) - Static method in enum class net.risingworld.api.objects.Player.State
- get(int) - Static method in enum class net.risingworld.api.objects.WorldItem.WorldItemType
- get(int) - Static method in enum class net.risingworld.api.ui.style.Align
-
Gets an enum from the ordinal value.
- get(int) - Static method in enum class net.risingworld.api.ui.style.DisplayStyle
-
Gets an enum from the ordinal value.
- get(int) - Static method in enum class net.risingworld.api.ui.style.FlexDirection
-
Gets an enum from the ordinal value.
- get(int) - Static method in enum class net.risingworld.api.ui.style.Font
-
Gets an enum from the ordinal value.
- get(int) - Static method in enum class net.risingworld.api.ui.style.FontStyle
-
Gets an enum from the ordinal value.
- get(int) - Static method in enum class net.risingworld.api.ui.style.Justify
-
Gets an enum from the ordinal value.
- get(int) - Static method in enum class net.risingworld.api.ui.style.Overflow
-
Gets an enum from the ordinal value.
- get(int) - Static method in enum class net.risingworld.api.ui.style.Pivot
-
Gets an enum from the ordinal value.
- get(int) - Static method in enum class net.risingworld.api.ui.style.Position
-
Gets an enum from the ordinal value.
- get(int) - Static method in enum class net.risingworld.api.ui.style.ScaleMode
-
Gets an enum from the ordinal value.
- get(int) - Static method in enum class net.risingworld.api.ui.style.StyleKeyword
-
Gets an enum from the ordinal value.
- get(int) - Static method in enum class net.risingworld.api.ui.style.TextAnchor
-
Gets an enum from the ordinal value.
- get(int) - Static method in enum class net.risingworld.api.ui.style.Unit
-
Gets an enum from the ordinal value.
- get(int) - Static method in enum class net.risingworld.api.ui.style.Visibility
-
Gets an enum from the ordinal value.
- get(int) - Static method in enum class net.risingworld.api.ui.style.WhiteSpace
-
Gets an enum from the ordinal value.
- get(int) - Static method in enum class net.risingworld.api.ui.style.Wrap
-
Gets an enum from the ordinal value.
- get(int) - Static method in enum class net.risingworld.api.utils.GameMode
- get(int) - Static method in enum class net.risingworld.api.utils.MouseButton
- get(int) - Static method in enum class net.risingworld.api.utils.OS
- get(int) - Static method in enum class net.risingworld.api.utils.Platform
- get(int) - Static method in enum class net.risingworld.api.utils.SpawnPointType
- get(Clothing.Type) - Method in class net.risingworld.api.objects.Clothes
-
Gets a garment the player/npc is wearing (depending on the provided type).
- getAbsoluteMousePositionX() - Method in class net.risingworld.api.events.player.ui.PlayerUIElementClickEvent
-
Gets the absolute x (horizontal) position of the mouse cursor (within the UI element).
- getAbsoluteMousePositionY() - Method in class net.risingworld.api.events.player.ui.PlayerUIElementClickEvent
-
Gets the absolute y (vertical) position of the mouse cursor (within the UI element).
- getActiveAreaPermission() - Method in class net.risingworld.api.objects.Player
-
Gets the name of the currently active area permission for this player (i.e the name of the area the player is currently inside).
- getAge() - Method in class net.risingworld.api.objects.Npc
-
Gets the "age" of the npc in seconds, i.e how many seconds passed since the npc was spawned.
- getAlignedDirection(Vector3f, Vector3f) - Static method in class net.risingworld.api.utils.Utils.VectorUtils
-
Gets a direction vector aligned to a normal.
- getAlignedDirection(Vector3f, Vector3f, Vector3f) - Static method in class net.risingworld.api.utils.Utils.VectorUtils
- getAll() - Method in class net.risingworld.api.objects.Clothes
-
Gets all garments the player/npc is currently wearing.
- getAllAreas() - Static method in class net.risingworld.api.Server
-
Gets an array containing all
Areas
that are currently registered with the server. - getAllAssetNames() - Method in class net.risingworld.api.assets.AssetBundle
-
Gets all asset names (including their paths) in the asset bundle.
- getAllClothingDefinitions() - Static method in class net.risingworld.api.definitions.Definitions
-
Gets an array containing all clothing definitions of the game.
- getAllConstructionDefinitions() - Static method in class net.risingworld.api.definitions.Definitions
-
Gets an array containing all construction definitions of the game.
- getAllConstructionElements() - Method in class net.risingworld.api.objects.world.Chunk
-
Gets all construction elements in this chunk (e.g blocks, cylinders, window frames etc).
- getAllConsumeInfos() - Static method in class net.risingworld.api.definitions.Definitions
-
Gets an array containing all consume definitions of the game.
- getAllCraftingStations() - Static method in class net.risingworld.api.definitions.Definitions
-
Gets an array containing all crafting station definitions of the game.
- getAllCustomImages() - Static method in class net.risingworld.api.Server
-
Gets an array containing all custom images (creates a new array).
- getAllCustomImages(int) - Static method in class net.risingworld.api.Server
-
Gets an array containing all custom images which were uploaded by a particular player.
- getAllGameObjects(boolean) - Method in class net.risingworld.api.objects.Player
-
Gets all
GameObjects
which were added to the player's world. - getAllItemDefinitions() - Static method in class net.risingworld.api.definitions.Definitions
-
Gets an array containing all item definitions of the game.
- getAllItemInfos() - Static method in class net.risingworld.api.definitions.Definitions
-
Gets an array containing all item info definitions of the game.
- getAllItems() - Method in class net.risingworld.api.objects.Inventory
-
Gets a new array containing all items in this inventory.
- getAllItems() - Static method in class net.risingworld.api.World
-
Gets all world items (i.e items that were either spawned through the
spawnItem()
method or items that have been dropped by players). - getAllItemsInArea(Area) - Static method in class net.risingworld.api.World
- getAllItemsInRange(Vector3f, float) - Static method in class net.risingworld.api.World
-
Gets all world items (i.e items that were either spawned through the
spawnItem()
method or items that have been dropped by players) which are in range to a specific world position. - getAllNpcDefinitions() - Static method in class net.risingworld.api.definitions.Definitions
-
Gets an array containing all npc definitions of the game.
- getAllNpcs() - Static method in class net.risingworld.api.World
-
Gets all npcs which are spawned in this world.
- getAllNpcs(short) - Static method in class net.risingworld.api.World
-
Gets all npcs in the world with the provided type ID.
- getAllNpcsInArea(Area) - Static method in class net.risingworld.api.World
-
Gets all npcs which are inside an area.
- getAllNpcsInRange(short, Vector3f, float) - Static method in class net.risingworld.api.World
-
Gets all npcs with the provided type ID which are in range to a specific world position.
- getAllNpcsInRange(Vector3f, float) - Static method in class net.risingworld.api.World
-
Gets all npcs which are in range to a specific world position.
- getAllObjectDefinitions() - Static method in class net.risingworld.api.definitions.Definitions
-
Gets an array containing all object definitions of the game.
- getAllObjectInfoDefinitions() - Static method in class net.risingworld.api.definitions.Definitions
- getAllObjects() - Method in class net.risingworld.api.objects.world.Chunk
-
Gets all object elements in this chunk (e.g furniture, workbenches, doors etc).
- getAllPermissionGroups() - Static method in class net.risingworld.api.Server
-
Gets all available permission group names.
- getAllPickingInfos() - Static method in class net.risingworld.api.definitions.Definitions
-
Gets an array containing all picking info definitions of the game.
- getAllPlantDefinitions() - Static method in class net.risingworld.api.definitions.Definitions
-
Gets an array containing all plant definitions of the game.
- getAllPlants() - Method in class net.risingworld.api.objects.world.Chunk
-
Gets all plants in this chunk (e.g trees, flowers, scrubs etc).
- getAllPlayerPermissions() - Method in class net.risingworld.api.objects.Area
-
Gets a map containing all player permissions (player database ID mapped to area permission name).
- getAllPlayers() - Static method in class net.risingworld.api.Server
-
Gets a new array containing all players that are currently connected to the server.
- getAllPlugins() - Method in class net.risingworld.api.Plugin
-
Returns a collection of all plugins which are currently loaded.
- getAllProjectileDefinitions() - Static method in class net.risingworld.api.definitions.Definitions
-
Gets an array containing all projectile definitions of the game.
- getAllRecipes() - Static method in class net.risingworld.api.definitions.Definitions
-
Gets an array containing all crafting recipes of the game.
- getAllStorageDefinitions() - Static method in class net.risingworld.api.definitions.Definitions
-
Gets an array containing all storage definitions of the game.
- getAllStorages() - Static method in class net.risingworld.api.World
-
Gets all storages in this world.
- getAllUIElements(boolean) - Method in class net.risingworld.api.objects.Player
-
Gets all UI elements which were added to the player's screen.
- getAllVehicleAssemblies() - Static method in class net.risingworld.api.definitions.Definitions
-
Gets an array containing all vehicle assembly definitions of the game.
- getAllVehicleComponents() - Static method in class net.risingworld.api.definitions.Definitions
-
Gets an array containing all vehicle component definitions of the game.
- getAllVehicleDefinitions() - Static method in class net.risingworld.api.definitions.Definitions
-
Gets an array containing all vehicle definitions of the game.
- getAllVehicles() - Static method in class net.risingworld.api.World
-
Gets all vehicles which are spawned in this world.
- getAllVehiclesInArea(Area) - Static method in class net.risingworld.api.World
-
Gets all vehicles which are inside an area.
- getAllVehiclesInRange(Vector3f, float) - Static method in class net.risingworld.api.World
-
Gets all vehicles which are in range to a specific world position.
- getAllWeaponDefinitions() - Static method in class net.risingworld.api.definitions.Definitions
- getAllWeathers() - Static method in class net.risingworld.api.definitions.Definitions
-
Gets an array containing all weather definitions of the game.
- getAltitude() - Method in class net.risingworld.api.objects.Player
-
Gets the altitude (i.e y position) of the player.
- getAmmoSlot() - Method in class net.risingworld.api.events.player.PlayerWeaponFireEvent
-
Gets the slot in inventory which contains a related ammo item that is potentially about the be removed.
- getAmmoSlot() - Method in class net.risingworld.api.events.player.PlayerWeaponReloadEvent
-
Gets the slot in inventory which contains the ammo item.
- getAmmoSlotType() - Method in class net.risingworld.api.events.player.PlayerWeaponFireEvent
-
Gets the inventory type where a related ammo item is located, or null if no separate ammo is used by this weapon.
- getAmmoSlotType() - Method in class net.risingworld.api.events.player.PlayerWeaponReloadEvent
-
Gets the inventory type where the ammo item is located.
- getAmount() - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryToStorageEvent
-
Gets the amount of items that will be moved to the storage.
- getAmount() - Method in class net.risingworld.api.events.player.inventory.PlayerStorageToInventoryEvent
-
Gets the amount of items that will be moved to the inventory.
- getAmount() - Method in class net.risingworld.api.events.player.PlayerCraftItemEvent
-
Gets the number of items the player wants to craft.
- getAmount() - Method in class net.risingworld.api.events.player.PlayerDropItemEvent
-
Gets the amount (stack size) the player wants to drop from the inventory.
- getAmount() - Method in class net.risingworld.api.events.player.PlayerDropItemFromStorageEvent
-
Gets the amount (stack size) the player wants to drop from the inventory.
- getAnimationSetting(ModelImportSettings.AnimationImportFlags) - Method in class net.risingworld.api.assets.ModelImportSettings
- getArchitecture() - Static method in class net.risingworld.api.utils.Utils.SystemUtils
-
Gets the architecture of the JVM (32 or 64 bit).
- getArea() - Method in class net.risingworld.api.events.player.PlayerEnterAreaEvent
-
Gets the
Area
the player has entered. - getArea() - Method in class net.risingworld.api.events.player.PlayerLeaveAreaEvent
-
Gets the
Area
the player has left. - getArea() - Method in class net.risingworld.api.worldelements.Area3D
-
Gets the underlying
Area
. - getArea(long) - Static method in class net.risingworld.api.Server
-
Gets the
Area
with the provided global id. - getAreaInLineOfSight(float, Callback<Area>) - Method in class net.risingworld.api.objects.Player
-
Gets the area in line-of-sight of the player (i.e the area the player is currently looking at).
- getAreaSelectionData(Callback<Area>) - Method in class net.risingworld.api.objects.Player
-
Gets the currently selected area.
- getArmor() - Method in class net.risingworld.api.objects.Player
-
Gets the current armor level of the player.
- getAttacker() - Method in class net.risingworld.api.events.npc.NpcHitNpcEvent
-
Gets the attacking npc, i.e the npc who hit the target npc.
- getAttackReaction() - Method in class net.risingworld.api.objects.Npc
-
Gets the currently active attack reaction of this particular npc.
- getAttribute(String) - Method in class net.risingworld.api.objects.Area
-
Gets the value to which the specified key is mapped, or null if no attribute is stored for that key.
- getAttribute(String) - Method in class net.risingworld.api.objects.Npc
-
Gets the value to which the specified key is mapped, or null if no attribute is stored for that key.
- getAttribute(String) - Method in class net.risingworld.api.objects.Player
-
Gets the value to which the specified key is mapped, or null if no attribute is stored for that key.
- getAttribute(String) - Method in class net.risingworld.api.objects.world.ConstructionElement
-
Gets the value to which the specified key is mapped, or null if no attribute is stored for that key.
- getAttribute(String) - Method in class net.risingworld.api.objects.world.ObjectElement
-
Gets the value to which the specified key is mapped, or null if no attribute is stored for that key.
- getAttribute(String) - Method in class net.risingworld.api.objects.world.Plant
-
Gets the value to which the specified key is mapped, or null if no attribute is stored for that key.
- getAttribute(String) - Method in class net.risingworld.api.worldelements.GameObject
-
Gets the value to which the specified key is mapped, or null if no attribute is stored for that key.
- getAttributes() - Method in class net.risingworld.api.objects.Player
-
Gets a set containing all keys and attributes.
- getAttributes() - Method in class net.risingworld.api.objects.world.ConstructionElement
-
Gets a set containing all keys and attributes of this object.
- getAttributes() - Method in class net.risingworld.api.objects.world.ObjectElement
-
Gets a set containing all keys and attributes of this object.
- getAttributes() - Method in class net.risingworld.api.objects.world.Plant
-
Gets a set containing all keys and attributes of this object.
- getAttributes() - Method in class net.risingworld.api.worldelements.GameObject
-
Gets a set containing all keys and attributes.
- getBeard() - Method in class net.risingworld.api.objects.Skin
-
Gets the beard of the player.
- getBehaviour() - Method in class net.risingworld.api.objects.Npc
-
Gets the currently active behaviour of this particular npc.
- getBitmask(int...) - Static method in class net.risingworld.api.utils.Layer
-
Gets a collision bitmask of the provided layers.
- getBlendDistance() - Method in class net.risingworld.api.worldelements.PostProcessingVolume
- getBlockPosition() - Method in class net.risingworld.api.objects.Player
-
Gets a Vector3i containing the current block position (x, y and z) of the player within the current chunk.
- getBlockPosition(Vector3f, Vector3i) - Static method in class net.risingworld.api.utils.Utils.ChunkUtils
-
Calculates a block position (within the provided chunk position)
- getBlockPositionX() - Method in class net.risingworld.api.events.player.world.PlayerWorldEditEvent
-
Gets the x block position in the chunk.
- getBlockPositionX(float, int) - Static method in class net.risingworld.api.utils.Utils.ChunkUtils
-
Calculates the x block position within a given chunk position.
- getBlockPositionY() - Method in class net.risingworld.api.events.player.world.PlayerWorldEditEvent
-
Gets the y block position in the chunk.
- getBlockPositionY(float, int) - Static method in class net.risingworld.api.utils.Utils.ChunkUtils
-
Calculates the y block position within a given chunk position.
- getBlockPositionZ() - Method in class net.risingworld.api.events.player.world.PlayerWorldEditEvent
-
Gets the z block position in the chunk.
- getBlockPositionZ(float, int) - Static method in class net.risingworld.api.utils.Utils.ChunkUtils
-
Calculates the z block position within a given chunk position.
- getBlueprintConstructionCount() - Method in class net.risingworld.api.objects.Item.BlueprintItem
-
Gets the total amount of construction elements (e.g blocks) in the blueprint.
- getBlueprintCreationDate() - Method in class net.risingworld.api.objects.Item.BlueprintItem
-
Gets the creation date of the blueprint (unix timestamp in seconds).
- getBlueprintCreatorName() - Method in class net.risingworld.api.objects.Item.BlueprintItem
- getBlueprintCreatorUID() - Method in class net.risingworld.api.objects.Item.BlueprintItem
- getBlueprintID() - Method in class net.risingworld.api.events.player.world.PlayerPlaceBlueprintEvent
-
Gets the ID of the blueprint.
- getBlueprintID() - Method in class net.risingworld.api.objects.Item.BlueprintItem
- getBlueprintName() - Method in class net.risingworld.api.objects.Item.BlueprintItem
-
Gets the name of the blueprint.
- getBlueprintObjectCount() - Method in class net.risingworld.api.objects.Item.BlueprintItem
-
Gets the total amount of object elements (i.e furniture, doors etc) in the blueprint.
- getBlueprintPlantCount() - Method in class net.risingworld.api.objects.Item.BlueprintItem
-
Gets the total amount of plants (vegetation) in the blueprint.
- getBlueprintTotalElementCount() - Method in class net.risingworld.api.objects.Item.BlueprintItem
-
Gets the total amount elements in this blueprint (construction elements, plants and objects).
- getBounds() - Method in class net.risingworld.api.events.player.PlayerCreateBlueprintEvent
-
Gets the bounds of the blueprint object, or more precisely, of the selected area.
- getBounds() - Method in class net.risingworld.api.events.player.world.PlayerPlaceBlueprintEvent
-
Gets the bounds of the blueprint object.
- getBreath() - Method in class net.risingworld.api.objects.Player
-
Gets the player breath level.
- getBrushSize() - Method in class net.risingworld.api.events.player.world.PlayerCreativeTerrainEditEvent
-
Gets the size of the brush.
- getBuild() - Static method in class net.risingworld.api.Server
-
Gets the current build of the game as an int (e.g 201807210).
- getButton() - Method in class net.risingworld.api.events.player.PlayerMouseButtonEvent
-
Gets the mouse button that is actuated.
- getCardinalDirection() - Method in class net.risingworld.api.objects.Player
-
Returns the cardinal direction of the player.
- getCatchItem() - Method in class net.risingworld.api.events.player.PlayerStartFishingEvent
- getCause() - Method in class net.risingworld.api.events.npc.NpcDamageEvent
-
Gets the "cause" of this damage, i.e the reason why the npc takes damage (or in other words, what's causing the damage)
- getCause() - Method in class net.risingworld.api.events.npc.NpcDeathEvent
-
Gets the cause (why the npc died).
- getCause() - Method in class net.risingworld.api.events.player.PlayerDamageEvent
-
Gets the "cause" of this damage, i.e the reason why the player takes damage (or in other words, what's causing the damage)
- getCause() - Method in class net.risingworld.api.events.player.PlayerDeathEvent
- getCause() - Method in class net.risingworld.api.events.player.PlayerIllegalStateEvent
- getCause() - Method in class net.risingworld.api.events.player.PlayerTeleportEvent
-
Gets the "cause", i.e the reason why this player was teleported.
- getCenter() - Method in class net.risingworld.api.collider.BoxCollider
- getCenter() - Method in class net.risingworld.api.collider.SphereCollider
- getCenter() - Method in class net.risingworld.api.utils.Bounds
-
Gets the bounds center.
- getChatMessage() - Method in class net.risingworld.api.events.player.PlayerChatEvent
-
Gets the chat message.
- getChecksum() - Method in class net.risingworld.api.assets.Asset
-
Gets the checksum of this asset.
- getChecksum() - Method in class net.risingworld.api.objects.CustomImage
-
Gets an SHA1 hash of the raw image texture data.
- getChildCount() - Method in class net.risingworld.api.ui.UIElement
-
Gets the number of attached child elements on this element.
- getChildCount() - Method in class net.risingworld.api.worldelements.GameObject
-
Gets the number of attached child objects on this object.
- getChilds() - Method in class net.risingworld.api.ui.UIElement
-
Gets an unmodifiable list of all children of this element.
- getChilds() - Method in class net.risingworld.api.worldelements.GameObject
-
Gets an unmodifiable list of all children of this object.
- getChunk(int, int) - Static method in class net.risingworld.api.World
-
Gets a chunk.
- getChunkAndBlockPosition(float, float, float, Vector3i, Vector3i) - Static method in class net.risingworld.api.utils.Utils.ChunkUtils
-
Calculates a chunk offset and the according block position (within this chunk) from a given global position and stores the results in the provided
Vector3i's
. - getChunkAndBlockPosition(Vector3f, Vector3i, Vector3i) - Static method in class net.risingworld.api.utils.Utils.ChunkUtils
-
Calculates a chunk offset and the according block position (within this chunk) from a given global position and stores the results in the provided
Vector3i's
. - getChunkPart(int) - Method in class net.risingworld.api.objects.world.Chunk
-
Gets a chunk part associated to this chunk.
- getChunkPart(int, int, int) - Static method in class net.risingworld.api.World
-
Gets a chunk part.
- getChunkPosition() - Method in class net.risingworld.api.objects.MetaObject
-
Gets the chunk position of the meta object.
- getChunkPosition() - Method in class net.risingworld.api.objects.Player
-
Gets a Vector3i containing the x, y and z coordinates of the current chunk the player is in.
- getChunkPosition() - Method in class net.risingworld.api.objects.Sign
-
Gets the chunk position of the sign object.
- getChunkPosition(float, float, float) - Static method in class net.risingworld.api.utils.Utils.ChunkUtils
-
Calculates a chunk offset from a given global position and stores the result in a
Vector3i
. - getChunkPosition(float, float, float, Vector3i) - Static method in class net.risingworld.api.utils.Utils.ChunkUtils
-
Calculates a chunk offset from a given global position and stores the result in the provided
Vector3i
. - getChunkPosition(Vector3f) - Static method in class net.risingworld.api.utils.Utils.ChunkUtils
-
Calculates a chunk offset from a given global position and stores the result in a
Vector3i
. - getChunkPosition(Vector3f, Vector3i) - Static method in class net.risingworld.api.utils.Utils.ChunkUtils
-
Calculates a chunk offset from a given global position and stores the result in the provided
Vector3i
. - getChunkPositionX() - Method in class net.risingworld.api.events.player.world.PlayerConstructionEvent
-
Gets the x position of the chunk (which contains the construction element).
- getChunkPositionX() - Method in class net.risingworld.api.events.player.world.PlayerObjectEvent
-
Gets the x position of the chunk (which contains the object).
- getChunkPositionX() - Method in class net.risingworld.api.events.player.world.PlayerVegetationEvent
-
Gets the x position of the chunk (which contains the plant).
- getChunkPositionX() - Method in class net.risingworld.api.events.player.world.PlayerWorldEditEvent
-
Gets the x position of the chunk.
- getChunkPositionX() - Method in class net.risingworld.api.events.world.PlantGrowthEvent
-
Gets the x offset of the chunk (which contains the plant).
- getChunkPositionX() - Method in class net.risingworld.api.objects.MetaObject
-
Gets the x offset of the chunk (which contains the object).
- getChunkPositionX() - Method in class net.risingworld.api.objects.Sign
-
Gets the x offset of the chunk (which contains the object).
- getChunkPositionX() - Method in class net.risingworld.api.objects.world.Chunk
-
Gets the x offset of the chunk.
- getChunkPositionX() - Method in class net.risingworld.api.objects.world.ChunkPart
-
Gets the x offset of the chunk.
- getChunkPositionX() - Method in class net.risingworld.api.objects.world.ConstructionElement
-
Gets the x offset of the chunk (which contains the construction element).
- getChunkPositionX() - Method in class net.risingworld.api.objects.world.ObjectElement
-
Gets the x offset of the chunk (which contains the object).
- getChunkPositionX() - Method in class net.risingworld.api.objects.world.Plant
-
Gets the x offset of the chunk (which contains the plant).
- getChunkPositionX(float) - Static method in class net.risingworld.api.utils.Utils.ChunkUtils
-
Calculates the x chunk offset from a given global position (x).
- getChunkPositionY() - Method in class net.risingworld.api.events.player.world.PlayerConstructionEvent
-
Gets the y position of the chunk (which contains the construction element).
- getChunkPositionY() - Method in class net.risingworld.api.events.player.world.PlayerObjectEvent
-
Gets the y position of the chunk (which contains the object).
- getChunkPositionY() - Method in class net.risingworld.api.events.player.world.PlayerVegetationEvent
-
Gets the y position of the chunk (which contains the plant).
- getChunkPositionY() - Method in class net.risingworld.api.events.player.world.PlayerWorldEditEvent
-
Gets the y position of the chunk.
- getChunkPositionY() - Method in class net.risingworld.api.events.world.PlantGrowthEvent
-
Gets the y offset of the chunk (which contains the plant).
- getChunkPositionY() - Method in class net.risingworld.api.objects.MetaObject
-
Gets the y offset of the chunk (which contains the object).
- getChunkPositionY() - Method in class net.risingworld.api.objects.Sign
-
Gets the y offset of the chunk (which contains the object).
- getChunkPositionY() - Method in class net.risingworld.api.objects.world.ChunkPart
-
Gets the y offset (vertical) of the chunk part.
- getChunkPositionY() - Method in class net.risingworld.api.objects.world.ConstructionElement
-
Gets the y offset of the chunk (which contains the construction element).
- getChunkPositionY() - Method in class net.risingworld.api.objects.world.ObjectElement
-
Gets the y offset of the chunk (which contains the object).
- getChunkPositionY() - Method in class net.risingworld.api.objects.world.Plant
-
Gets the y offset of the chunk (which contains the plant).
- getChunkPositionY(float) - Static method in class net.risingworld.api.utils.Utils.ChunkUtils
-
Calculates the y chunk offset from a given global position (y).
- getChunkPositionZ() - Method in class net.risingworld.api.events.player.world.PlayerConstructionEvent
-
Gets the z position of the chunk (which contains the construction element).
- getChunkPositionZ() - Method in class net.risingworld.api.events.player.world.PlayerObjectEvent
-
Gets the z position of the chunk (which contains the object).
- getChunkPositionZ() - Method in class net.risingworld.api.events.player.world.PlayerVegetationEvent
-
Gets the z position of the chunk (which contains the plant).
- getChunkPositionZ() - Method in class net.risingworld.api.events.player.world.PlayerWorldEditEvent
-
Gets the z position of the chunk.
- getChunkPositionZ() - Method in class net.risingworld.api.events.world.PlantGrowthEvent
-
Gets the z offset of the chunk (which contains the plant).
- getChunkPositionZ() - Method in class net.risingworld.api.objects.MetaObject
-
Gets the z offset of the chunk (which contains the object).
- getChunkPositionZ() - Method in class net.risingworld.api.objects.Sign
-
Gets the z offset of the chunk (which contains the object).
- getChunkPositionZ() - Method in class net.risingworld.api.objects.world.Chunk
-
Gets the z offset of the chunk.
- getChunkPositionZ() - Method in class net.risingworld.api.objects.world.ChunkPart
-
Gets the z offset of the chunk.
- getChunkPositionZ() - Method in class net.risingworld.api.objects.world.ConstructionElement
-
Gets the z offset of the chunk (which contains the construction element).
- getChunkPositionZ() - Method in class net.risingworld.api.objects.world.ObjectElement
-
Gets the z offset of the chunk (which contains the object).
- getChunkPositionZ() - Method in class net.risingworld.api.objects.world.Plant
-
Gets the z offset of the chunk (which contains the plant).
- getChunkPositionZ(float) - Static method in class net.risingworld.api.utils.Utils.ChunkUtils
-
Calculates the z chunk offset from a given global position (z).
- getClothes() - Method in class net.risingworld.api.objects.Npc
-
Gets a
Clothes
object which contains the clothes the npc is currently wearing. - getClothes() - Method in class net.risingworld.api.objects.Player
-
Gets a
Clothes
object which contains the clothes the character is currently wearing. - getClothingDefinition() - Method in class net.risingworld.api.events.npc.NpcAddClothesEvent
-
Gets the definition of the clothing piece that's about to be added to the npc.
- getClothingDefinition() - Method in class net.risingworld.api.events.npc.NpcAddSaddleBagEvent
-
Gets the definition of the saddle bag that's about to be added to the npc.
- getClothingDefinition() - Method in class net.risingworld.api.events.npc.NpcAddSaddleEvent
-
Gets the definition of the saddle that's about to be added to the npc.
- getClothingDefinition() - Method in class net.risingworld.api.events.npc.NpcRemoveClothesEvent
-
Gets the definition of the clothing piece that's about to be removed from the npc.
- getClothingDefinition() - Method in class net.risingworld.api.events.npc.NpcRemoveSaddleBagEvent
-
Gets the definition of the saddle bag that's about to be removed.
- getClothingDefinition() - Method in class net.risingworld.api.events.npc.NpcRemoveSaddleEvent
-
Gets the definition of the saddle that's about to be removed.
- getClothingDefinition() - Method in class net.risingworld.api.objects.Item.ClothingItem
-
Gets the definition of the clothing garment that is represented by this item.
- getClothingDefinition(int) - Static method in class net.risingworld.api.definitions.Definitions
-
Gets a clothing definition by id.
- getClothingDefinition(String) - Static method in class net.risingworld.api.definitions.Definitions
-
Gets a clothing definition by name, using the internal name (e.g "mininghelmet"), not the localized name!
- getClothingID() - Method in class net.risingworld.api.events.npc.NpcAddClothesEvent
-
Gets the ID of the clothing piece that's about to be added to the npc.
- getClothingID() - Method in class net.risingworld.api.events.npc.NpcRemoveClothesEvent
-
Gets the ID of the clothing piece that's about to be removed from the npc.
- getClothingID() - Method in class net.risingworld.api.events.player.PlayerTakeOffClothesEvent
-
Gets the ID of the clothing piece the player wants to take off.
- getClothingID() - Method in class net.risingworld.api.events.player.PlayerWearClothesEvent
-
Gets the ID of the clothing piece the player wants to put on.
- getClothingID() - Method in class net.risingworld.api.objects.Item.ClothingItem
- getClothingName() - Method in class net.risingworld.api.objects.Item.ClothingItem
-
Gets the name of the clothing garment that is represented by this item.
- getCollider() - Method in class net.risingworld.api.worldelements.GameObject
-
Gets the collider that was assigned via
GameObject.setCollider(net.risingworld.api.collider.Collider)
. - getCollisionNormal() - Method in class net.risingworld.api.utils.RaycastResult
-
Gets the collision normal, i.e the normal of the surface the ray hit.
This normal is already normalized. - getCollisionPoint() - Method in class net.risingworld.api.utils.RaycastResult
-
Gets the collision point, i.e the position where the ray hit a collider.
Note: If you want to get the world position of the hit object itself instead, seeRaycastResult.getObjectPosition()
- getColor() - Method in class net.risingworld.api.events.player.PlayerCraftItemEvent
-
Gets the rgba color of the items the player wants to craft.
- getColor() - Method in class net.risingworld.api.events.player.world.PlayerPlaceObjectEvent
- getColor() - Method in class net.risingworld.api.objects.Clothes.Garment
-
Gets the optional color of this garment (as RGBA int).
- getColor() - Method in class net.risingworld.api.objects.Item.ConstructionItem
-
Gets the (optional) color of this construction item.
- getColor() - Method in class net.risingworld.api.objects.Vehicle
-
Gets the vehicle color.
- getColor() - Method in class net.risingworld.api.objects.world.ConstructionElement
- getColor() - Method in class net.risingworld.api.objects.world.ObjectElement
-
Gets the object color.
- getColor() - Method in class net.risingworld.api.objects.world.Plant
-
Gets the plant color.
- getColor() - Method in class net.risingworld.api.worldelements.Area3D
- getColor() - Method in class net.risingworld.api.worldelements.Light
-
Gets the light color (as rgba int).
- getColors() - Method in class net.risingworld.api.assets.MeshAsset
- getCommand() - Method in class net.risingworld.api.events.player.PlayerCommandEvent
-
Gets the command the player has entered (typically this contains a preceding slash).
- getConnection() - Method in interface net.risingworld.api.database.Database
-
Gets the underlying
Connection
object, which represents the connection to the specific database. - getConstructionCount() - Method in class net.risingworld.api.events.player.PlayerCreateBlueprintEvent
-
Gets the amount of construction elements (blocks) this blueprint contains.
- getConstructionCount() - Method in class net.risingworld.api.events.player.world.PlayerPlaceBlueprintEvent
-
Gets the amount of construction elements (blocks) this blueprint contains.
- getConstructionDefinition() - Method in class net.risingworld.api.events.player.world.PlayerConstructionEvent
-
Gets the construction definition for this element (this contains meta data about the construction element type).
- getConstructionDefinition() - Method in class net.risingworld.api.objects.Item.ConstructionItem
-
Gets the definition of the construction that is represented by this item.
- getConstructionDefinition(int) - Static method in class net.risingworld.api.definitions.Definitions
-
Gets a construction definition by id.
- getConstructionDefinition(String) - Static method in class net.risingworld.api.definitions.Definitions
-
Gets a construction definition by name, using the internal name (e.g "block").
- getConstructionElement() - Method in class net.risingworld.api.events.player.world.PlayerChangeConstructionColorEvent
- getConstructionElement() - Method in class net.risingworld.api.events.player.world.PlayerConstructionEvent
-
Gets the construction element.
- getConstructionElement() - Method in class net.risingworld.api.events.player.world.PlayerCreativeRemoveConstructionEvent
- getConstructionElement() - Method in class net.risingworld.api.events.player.world.PlayerDestroyConstructionEvent
- getConstructionElement() - Method in class net.risingworld.api.events.player.world.PlayerEditConstructionEvent
- getConstructionElement() - Method in class net.risingworld.api.events.player.world.PlayerHitConstructionEvent
- getConstructionElement() - Method in class net.risingworld.api.events.player.world.PlayerRemoveConstructionEvent
- getConstructionElement(long, int, int, int) - Static method in class net.risingworld.api.World
-
Gets a construction element that is placed in the world.
- getConstructionID() - Method in class net.risingworld.api.objects.Item.ConstructionItem
-
Gets the type ID of the construction element that is represented by this item.
- getConstructionName() - Method in class net.risingworld.api.objects.Item.ConstructionItem
-
Gets the name of the construction element that is represented by this item.
- getConsumeInfo(String) - Static method in class net.risingworld.api.definitions.Definitions
- getCraftingStation(String) - Static method in class net.risingworld.api.definitions.Definitions
-
Gets a crafting station definition by name.
- getCreationDate() - Method in class net.risingworld.api.objects.CustomImage
-
Gets the creation/upload date of the image as a timestamp in milliseconds
- getCreationDate() - Method in class net.risingworld.api.objects.Storage
-
Gets the creation date of the storage as a timestamp in seconds
- getCreationDate() - Method in class net.risingworld.api.objects.world.ConstructionElement
-
Gets a unix timestamp (seconds) when this element was first spawned / placed
- getCreationDate() - Method in class net.risingworld.api.objects.world.ObjectElement
-
Gets a unix timestamp (seconds) when this element was first spawned / placed
- getCreationDate() - Method in class net.risingworld.api.objects.world.Plant
-
Gets a unix timestamp (seconds) when this plant was first spawned / planted.
- getCreationDate() - Method in class net.risingworld.api.objects.WorldItem
-
Gets the creation/spawn date of this item (timestamp in seconds).
- getCreationDate() - Static method in class net.risingworld.api.World
-
Gets the creation date of the world as a timestamp (millis).
- getCreativeEditMode() - Method in class net.risingworld.api.events.player.world.PlayerCreativeTerrainEditEvent
-
Gets the edit mode, i.e the terrain edit sub tool (Add, Subtract, Paint, Smooth etc).
- getCrosshair(byte) - Static method in enum class net.risingworld.api.utils.Crosshair
-
Gets the
crosshair
which has the provided id. - getCurrentArea() - Method in class net.risingworld.api.objects.Player
-
Gets the highest ranking (i.e most relevant) Area the player is currently inside.
- getCurrentAreas() - Method in class net.risingworld.api.objects.Player
-
Gets an array of all Areas the player is currently inside.
- getCurrentHour() - Method in class net.risingworld.api.events.general.SkipNightEvent
-
Gets the current time (hour).
- getCurrentMinutes() - Method in class net.risingworld.api.events.general.SkipNightEvent
-
Gets the current time (minutes).
- getCurrentPlayTime() - Method in class net.risingworld.api.objects.Player
-
Gets the amount of time the player is connected to the server.
- getCurrentText(Player, Callback<String>) - Method in class net.risingworld.api.ui.UITextField
-
Gets the current text of the textfield.
- getCurrentWeather() - Method in class net.risingworld.api.events.world.WeatherChangeEvent
-
Gets the current weather.
- getCurrentWeather() - Static method in class net.risingworld.api.Server
-
Gets the current weather.
- getCustomImage(long) - Static method in class net.risingworld.api.Server
-
Gets a custom image.
- getDamage() - Method in class net.risingworld.api.events.npc.NpcDamageEvent
-
Gets the amount of damage the npc will receive.
- getDamage() - Method in class net.risingworld.api.events.npc.NpcHitNpcEvent
-
Gets the amount of damage this hit will cause.
- getDamage() - Method in class net.risingworld.api.events.player.PlayerDamageEvent
-
Gets the amount of damage the player will receive.
- getDamage() - Method in class net.risingworld.api.events.player.PlayerHitItemEvent
-
Gets the amount of damage inflicted by this hit
- getDamage() - Method in class net.risingworld.api.events.player.PlayerHitNpcEvent
-
Gets the amount of damage this hit will cause.
- getDamage() - Method in class net.risingworld.api.events.player.PlayerHitPlayerEvent
-
Gets the amount of damage this hit will cause.
- getDamage() - Method in class net.risingworld.api.events.player.world.PlayerHitConstructionEvent
-
Gets the amount of damage the player causes by hitting the construction element.
- getDamage() - Method in class net.risingworld.api.events.player.world.PlayerHitObjectEvent
-
Gets the amount of damage the player causes by hitting the object.
- getDamage() - Method in class net.risingworld.api.events.player.world.PlayerHitTerrainEvent
-
Gets the amount of damage the player deals with this hit.
- getDamage() - Method in class net.risingworld.api.events.player.world.PlayerHitVegetationEvent
-
Gets the amount of damage the player inflicts by hitting the plant.
- getDatabaseName() - Method in interface net.risingworld.api.database.WorldDatabase
-
Gets the database name.
- getDatabaseType() - Method in interface net.risingworld.api.database.WorldDatabase
- getDay() - Method in class net.risingworld.api.objects.Time
-
Gets the day of year (1-124).
- getDbID() - Method in class net.risingworld.api.objects.Player
-
Gets the database ID of the player.
- getDeathPosition() - Method in class net.risingworld.api.events.npc.NpcDeathEvent
-
Gets the position where the npc died.
- getDeathPosition() - Method in class net.risingworld.api.events.player.PlayerDeathEvent
-
Gets the position where the player died.
- getDefaultGravity() - Static method in class net.risingworld.api.World
-
Gets the default world gravity, which is -9.81
- getDefaultPermission() - Method in class net.risingworld.api.objects.Area
-
Gets the default area permission for this area.
- getDefaultSpawnInventory() - Static method in class net.risingworld.api.Server
-
Gets the default spawn inventory (i.e the items you always spawn with).
- getDefaultSpawnPosition() - Static method in class net.risingworld.api.Server
-
Gets the global default spawn position.
- getDefaultSpawnRotation() - Static method in class net.risingworld.api.Server
-
Gets the default spawn rotation.
- getDefinition() - Method in class net.risingworld.api.objects.Clothes.Garment
-
Gets the clothing definition related to this garment.
- getDefinition() - Method in class net.risingworld.api.objects.Item
-
Gets the item definition of this item.
- getDefinition() - Method in class net.risingworld.api.objects.Npc
-
Gets the definition for this npc.
- getDefinition() - Method in class net.risingworld.api.objects.Vehicle
-
Gets the definition for this vehicle.
- getDefinition() - Method in class net.risingworld.api.objects.world.ObjectElement
-
Gets the object definition (containing all relevant meta data of this object type).
- getDefinition() - Method in class net.risingworld.api.objects.world.Plant
- getDefinition() - Method in class net.risingworld.api.objects.WorldItem
-
Gets the item definition of this item.
- getDependency() - Method in class net.risingworld.api.assets.Asset
- getDescription(String) - Method in class net.risingworld.api.Plugin
-
Gets the description for this plugin (which is defined in the plugin.yml file).
- getDirection() - Method in class net.risingworld.api.events.world.ProjectileFireEvent
-
Gets the direction of the projectile.
- getDirection(Vector3f, Vector3f) - Static method in class net.risingworld.api.utils.Utils.VectorUtils
-
Gets the direction between two points (from -> to) as a normalized vector (unit vector, i.e length == 1).
- getDirection(Vector3f, Vector3f, Vector3f) - Static method in class net.risingworld.api.utils.Utils.VectorUtils
-
Gets the direction between two points (from -> to) as a normalized vector (unit vector, i.e length == 1).
- getDisabledNpcs() - Static method in class net.risingworld.api.World
-
Gets an array of all disabled npc, i.e npcs which were disabled upon world creation (preventing them from spawning naturally).
- getDisconnectReason() - Method in class net.risingworld.api.events.player.PlayerConnectEvent
-
Gets the reason why the player will be disconnected.
- getDistance() - Method in class net.risingworld.api.events.player.PlayerHitNpcEvent
-
Gets the distance between the player and the target npc (or more precisely, the damage point).
- getDistance() - Method in class net.risingworld.api.events.player.PlayerHitPlayerEvent
-
Gets the distance between the player and the target player (or more precisely, the damage point).
- getDistance() - Method in class net.risingworld.api.utils.RaycastResult
-
Gets the distance between the player (or more precisely, the origin of the ray) and the collision point.
- getDurability() - Method in class net.risingworld.api.objects.Item
- getDurability() - Method in class net.risingworld.api.objects.WorldItem
- getDuration() - Method in class net.risingworld.api.events.player.PlayerBanEvent
-
Gets the duration (seconds) how long the player will be banned.
- getDuration() - Method in class net.risingworld.api.events.player.PlayerLocationTickerEvent
-
Gets the duration (seconds) how long the text should be shown to the player.
- getEditType() - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryItemEditEvent
-
Gets the edit type, i.e what causes the item modification exactly.
- getElasticity() - Method in class net.risingworld.api.ui.UIScrollView
- getEndBlockPosition() - Method in class net.risingworld.api.objects.Area
- getEndChunkPosition() - Method in class net.risingworld.api.objects.Area
- getEndPosition() - Method in class net.risingworld.api.events.player.PlayerCreateAreaEvent
-
Gets the selected end position for the area.
- getEndPosition() - Method in class net.risingworld.api.objects.Area
-
Gets the end world position of the area.
- getEquippedItem() - Method in class net.risingworld.api.objects.Npc
-
Gets the currently equipped item (i.e the item the npc currently holds in his hands), or null if no item is equipped.
- getEquippedItem() - Method in class net.risingworld.api.objects.Player
-
Gets the currently equipped item (i.e the item the player currently holds in his hands), or null if no item is equipped.
- getEquippedItemSlot() - Method in class net.risingworld.api.objects.Inventory
-
Gets the slot of the currently equipped item.
- getEquippedItemSlotType() - Method in class net.risingworld.api.objects.Inventory
-
Gets the slot type of the currently equipped item.
- getExtension() - Method in class net.risingworld.api.assets.Asset
-
Gets the asset extension.
- getExtension() - Method in class net.risingworld.api.objects.CustomImage
-
Gets the extension of the original image file (e.g ".png" or ".jpg" etc).
- getEyeColor() - Method in class net.risingworld.api.objects.Skin
-
Gets the eye color of the character.
- getFirePosition() - Method in class net.risingworld.api.events.player.PlayerWeaponFireEvent
- getFirePower() - Method in class net.risingworld.api.events.player.PlayerWeaponFireEvent
- getFireRotation() - Method in class net.risingworld.api.events.player.PlayerWeaponFireEvent
- getFishingPosition() - Method in class net.risingworld.api.events.player.PlayerStartFishingEvent
-
Gets the fishing position, or more precisely, the bobber position.
- getFont() - Method in class net.risingworld.api.events.player.PlayerSetSignTextEvent
-
Gets the font the player wants to set for this sign.
- getFont() - Method in class net.risingworld.api.objects.Sign
-
Gets the font that is currently used by the sign.
- getFontSize() - Method in class net.risingworld.api.events.player.PlayerSetSignTextEvent
-
Gets the font size the player wants to set for the sign.
- getFontSize() - Method in class net.risingworld.api.objects.Sign
-
Gets the font size of the sign.
- getFormattedTimeAndDate(long) - Static method in class net.risingworld.api.utils.Utils.GeneralUtils
- getFrameColor() - Method in class net.risingworld.api.worldelements.Area3D
- getFuel() - Method in class net.risingworld.api.objects.MetaObject
-
Gets the current fuel value of the meta object (only if it requires fuel).
- getGameObject() - Method in class net.risingworld.api.events.player.PlayerElementCollisionEvent
-
Deprecated.Gets the world element.
- getGameObject() - Method in class net.risingworld.api.events.player.PlayerElementHitEvent
-
Deprecated.
- getGameObject() - Method in class net.risingworld.api.events.player.PlayerElementInteractionEvent
-
Deprecated.
- getGameObject() - Method in class net.risingworld.api.events.player.PlayerGameObjectHitEvent
-
Gets the game object that was hit by the player.
- getGameObject() - Method in class net.risingworld.api.events.player.PlayerGameObjectInteractionEvent
-
Gets the game object the player interacted with.
- getGameTime() - Static method in class net.risingworld.api.Server
-
Deprecated.
- getGameTime(Time.Unit) - Static method in class net.risingworld.api.Server
-
Gets the current ingame time.
- getGameTimeSpeed() - Static method in class net.risingworld.api.Server
-
Gets the game time speed.
- getGameVersion() - Method in class net.risingworld.api.Plugin
-
Gets the current version of the game/server.
- getGCD(int...) - Static method in class net.risingworld.api.utils.Utils.MathUtils
-
Gets the greatest common divisor of several int values.
- getGCD(int, int) - Static method in class net.risingworld.api.utils.Utils.MathUtils
-
Gets the greatest common divisor of two int values.
- getGender() - Method in class net.risingworld.api.objects.Skin
-
Gets the gender of the character.
- getGlobalBlockPosition(int, int, int, int, int, int) - Static method in class net.risingworld.api.utils.Utils.ChunkUtils
- getGlobalBlockPosition(Vector3i, Vector3i) - Static method in class net.risingworld.api.utils.Utils.ChunkUtils
- getGlobalID() - Method in class net.risingworld.api.events.npc.NpcSpawnEvent
-
Gets the global ID that will be assigned to the npc once it spawns.
- getGlobalID() - Method in class net.risingworld.api.events.player.world.PlayerConstructionEvent
-
Gets the unique, global ID of this construction element.
- getGlobalID() - Method in class net.risingworld.api.events.player.world.PlayerObjectEvent
-
Gets the unique, global ID of this object.
- getGlobalID() - Method in class net.risingworld.api.events.player.world.PlayerVegetationEvent
-
Gets the unique, global ID of this plant.
- getGlobalID() - Method in class net.risingworld.api.events.world.MetaObjectEvent
-
Gets the unique, global ID of the meta object.
- getGlobalID() - Method in class net.risingworld.api.events.world.PlantGrowthEvent
-
Gets the global ID of the plant which is about to grow
- getGlobalID() - Method in class net.risingworld.api.objects.Npc
-
Gets the unique global ID of the npc.
- getGlobalID() - Method in class net.risingworld.api.objects.Vehicle
-
Gets the unique global ID of the vehicle.
- getGlobalID() - Method in class net.risingworld.api.objects.world.ConstructionElement
-
Gets the unique global ID of the construction element.
- getGlobalID() - Method in class net.risingworld.api.objects.world.ObjectElement
-
Gets the unique global ID of the object.
- getGlobalID() - Method in class net.risingworld.api.objects.world.Plant
-
Gets the unique global ID of the plant.
- getGlobalID() - Method in class net.risingworld.api.objects.WorldItem
-
Gets the global ID if this item.
- getGlobalIDs() - Method in class net.risingworld.api.events.player.world.PlayerPlaceConstructionEvent
-
If the player places multiple construction elements in a row, this method gets the unique, global IDs of all construction elements which are about to be placed.
- getGlobalPosition(Vector3i, Vector3i) - Static method in class net.risingworld.api.utils.Utils.ChunkUtils
- getGlobalPosition(Vector3i, Vector3i, Vector3f) - Static method in class net.risingworld.api.utils.Utils.ChunkUtils
- getGrassID() - Method in class net.risingworld.api.events.player.world.PlayerRemoveGrassEvent
-
Gets the grass id the player is going to destroy/remove.
- getGroupID() - Method in class net.risingworld.api.objects.Npc
-
Gets the optional "group ID" of the npc.
- getGrowthTime() - Method in class net.risingworld.api.events.player.world.PlayerPlaceVegetationEvent
-
Gets the growth time for this plant in seconds.
- getHairColor() - Method in class net.risingworld.api.objects.Skin
-
Gets the hair color of the character.
- getHairstyle() - Method in class net.risingworld.api.objects.Skin
-
Gets the hairstyle of the player.
- getHandle() - Method in class net.risingworld.api.assets.Asset
-
Gets the internal handle of this asset.
- getHashCode() - Method in class net.risingworld.api.objects.Storage
-
Gets a hashcode of this storage.
- getHeading() - Method in class net.risingworld.api.objects.Player
-
Returns the heading/facing, i.e the player rotation around the y axis (vertical axis) in degrees.
- getHealth() - Method in class net.risingworld.api.objects.Npc
-
Gets the current health of the npc.
- getHealth() - Method in class net.risingworld.api.objects.Player
-
Gets the current health of the player.
- getHeight() - Method in class net.risingworld.api.objects.CustomImage
-
Gets the height of the texture.
- getHitNormal() - Method in class net.risingworld.api.events.player.PlayerElementHitEvent
-
Deprecated.
- getHitNormal() - Method in class net.risingworld.api.events.player.PlayerGameObjectHitEvent
-
Gets the normal, i.e the normal of the surface that was hit (the direction in which the surface points).
- getHitNormal() - Method in class net.risingworld.api.events.world.ProjectileHitEvent
-
Gets the normal of the surface which was hit by the projectile.
- getHitObject() - Method in class net.risingworld.api.events.world.ProjectileHitEvent
-
Gets the object that was hit.
- getHitPosition() - Method in class net.risingworld.api.events.player.PlayerElementHitEvent
-
Deprecated.
- getHitPosition() - Method in class net.risingworld.api.events.player.PlayerGameObjectHitEvent
-
Gets the coordinates where the element was hit exactly.
- getHitPosition() - Method in class net.risingworld.api.events.player.PlayerHitNpcEvent
-
Gets the coordinates where the npc was hit exactly.
- getHitPosition() - Method in class net.risingworld.api.events.player.PlayerHitPlayerEvent
-
Gets the coordinates where the player was hit exactly.
- getHitPosition() - Method in class net.risingworld.api.events.player.world.PlayerHitConstructionEvent
-
Gets the world coordinates where the construction element was hit exactly.
- getHitPosition() - Method in class net.risingworld.api.events.player.world.PlayerHitObjectEvent
-
Gets the world coordinates where the object was hit exactly.
- getHitPosition() - Method in class net.risingworld.api.events.player.world.PlayerHitTerrainEvent
-
Gets the world coordinates where the terrain was hit exactly.
- getHitPosition() - Method in class net.risingworld.api.events.player.world.PlayerHitVegetationEvent
-
Gets the world coordinates where the plant was hit exactly.
- getHitPosition() - Method in class net.risingworld.api.events.player.world.PlayerHitWaterEvent
-
Gets the coordinates where the water surface was hit exactly.
- getHitPosition() - Method in class net.risingworld.api.events.world.ProjectileHitEvent
-
Gets the world position where the projectile hit the target.
- getHitTarget() - Method in class net.risingworld.api.events.world.ProjectileHitEvent
-
Gets the hit target type.
- getHitVelocity() - Method in class net.risingworld.api.events.world.ProjectileHitEvent
-
Gets the velocity of the projectile when it hit the target.
- getHorizontalPageSize() - Method in class net.risingworld.api.ui.UIScrollView
- getHorizontalScrollerVisibility() - Method in class net.risingworld.api.ui.UIScrollView
-
Gets the visibility setting for the horizontal scroll element.
- getHostilePlayer() - Method in class net.risingworld.api.objects.Npc
-
Gets the "hostile player".
- getHours() - Method in class net.risingworld.api.objects.Time
-
Gets the hours (0-23)
- getHunger() - Method in class net.risingworld.api.events.player.PlayerUpdateStatusEvent
-
Gets the new hunger value.
- getHunger() - Method in class net.risingworld.api.objects.Npc
-
Gets the current hunger level of the npc.
- getHunger() - Method in class net.risingworld.api.objects.Player
-
Gets the current hunger level of the player.
- getIcon(int) - Method in class net.risingworld.api.definitions.Clothing.ClothingDefinition
-
Gets the ingame icon of these clothes as TextureAsset.
- getIcon(int) - Method in class net.risingworld.api.definitions.Constructions.ConstructionDefinition
-
Gets the ingame icon of this construction element as TextureAsset.
- getIcon(int) - Method in class net.risingworld.api.definitions.Items.ItemDefinition
-
Gets the ingame icon of this item as TextureAsset.
- getIcon(int) - Method in class net.risingworld.api.definitions.Objects.ObjectDefinition
-
Gets the ingame icon of this object as TextureAsset.
- getID() - Method in class net.risingworld.api.objects.Area
-
Gets the internal unique global id of this area.
- getID() - Method in class net.risingworld.api.objects.Clothes.Garment
-
Gets the clothing type id of this garment.
- getID() - Method in class net.risingworld.api.objects.CustomImage
-
Gets the global, unique ID of the custom image.
- getID() - Method in class net.risingworld.api.objects.MetaObject
-
Gets the global, unique ID of the object.
- getID() - Method in class net.risingworld.api.objects.Player
-
Gets the current ID of this player.
- getID() - Method in class net.risingworld.api.objects.Sign
-
Gets the global, unique ID of the sign.
- getID() - Method in class net.risingworld.api.objects.Storage
-
Gets the global, unique ID of this storage.
- getID() - Method in class net.risingworld.api.Plugin
-
Gets the internal id of this plugin.
- getID() - Method in class net.risingworld.api.sounds.Sound
- getID() - Method in class net.risingworld.api.Timer
-
Gets the ID of this timer.
- getID() - Method in class net.risingworld.api.ui.UIElement
-
Gets the unique ID of this element.
- getID() - Method in enum class net.risingworld.api.utils.Crosshair
-
Used internally.
- getID() - Method in class net.risingworld.api.worldelements.GameObject
-
Gets the unique ID of this object.
- getIdleTime() - Method in class net.risingworld.api.objects.Player
-
Gets the player idle time in seconds.
- getIndexCount() - Method in class net.risingworld.api.assets.MeshAsset
-
Gets the amount of indices that are currently set (i.e the length of the internal index list).
- getIndices() - Method in class net.risingworld.api.assets.MeshAsset
-
Gets a reference to the internal indices list.
- getInfo() - Method in class net.risingworld.api.objects.world.ObjectElement
- getInfoDefinition() - Method in class net.risingworld.api.objects.WorldItem
-
Only relevant if this item is processed by a meta object: Gets the item info definition of this item if it's processed by the meta object.
- getInfoID() - Method in class net.risingworld.api.events.player.world.PlayerPlaceObjectEvent
-
Gets the info ID of the object.
- getInfoID() - Method in class net.risingworld.api.objects.Clothes.Garment
-
Gets an optional info ID that is associated with this garment.
- getInfoID() - Method in class net.risingworld.api.objects.Item.ClothingItem
- getInfoID() - Method in class net.risingworld.api.objects.Item.ConstructionItem
- getInitialDelay() - Method in class net.risingworld.api.Timer
-
Gets the remaining initial delay (seconds) of this timer.
- getInput() - Method in class net.risingworld.api.events.general.InputEvent
- getInstanceID() - Method in class net.risingworld.api.utils.RaycastResult
-
Gets the internal instance ID of the underlying Unity GameObject that was hit.
- getIntensity() - Method in class net.risingworld.api.objects.visuals.Vignette
- getInterval() - Method in class net.risingworld.api.Timer
-
Gets the interval (seconds) of this timer.
- getInventory() - Method in class net.risingworld.api.objects.Player
-
Gets the inventory of the player.
- getInventoryHashCode() - Method in class net.risingworld.api.objects.Inventory
-
Gets a hashcode of this inventory.
- getInventorySlot() - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryAddItemEvent
-
Gets the inventory slot.
- getInventorySlot() - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryItemEditEvent
-
Gets the inventory slot.
- getInventorySlot() - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryMoveItemEvent
-
Gets the slot of the item that is about to be moved.
- getInventorySlot() - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryToStorageEvent
-
Gets the inventory item slot (where the item will be moved from).
- getInventorySlot() - Method in class net.risingworld.api.events.player.PlayerConsumeItemEvent
-
Gets the slot in the inventory where the consumed item is.
- getInventorySlot() - Method in class net.risingworld.api.events.player.PlayerDropItemEvent
-
Gets the slot in the inventory the item was removed from.
- getInventorySlotType() - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryAddItemEvent
-
Gets the inventory slot type (e.g quickslot, equipment etc).
- getInventorySlotType() - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryItemEditEvent
-
Gets the inventory slot type (e.g quickslot, equipment etc).
- getInventorySlotType() - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryMoveItemEvent
-
Gets the slot type (e.g quickslot, equipment etc) of the item that is about to be moved.
- getInventorySlotType() - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryToStorageEvent
-
Gets the slot type (e.g quickslot, equipment etc) of the item that is about to be moved.
- getInventorySlotType() - Method in class net.risingworld.api.events.player.PlayerConsumeItemEvent
-
Gets the inventory / slot type in the players inventory where the consumed item is.
- getInventorySlotType() - Method in class net.risingworld.api.events.player.PlayerDropItemEvent
-
Gets the inventory / slot type in the players inventory where the item was removed from.
- getIP() - Method in class net.risingworld.api.objects.Player
-
Gets the ip of the player (only relevant in multiplayer).
- getIP() - Static method in class net.risingworld.api.Server
-
Gets the server IP is currently binded to.
- getItem() - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryAddItemEvent
-
Gets the item.
- getItem() - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryItemEditEvent
-
Gets the item.
- getItem() - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryMoveItemEvent
-
Gets the item that is about to be moved.
- getItem() - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryToStorageEvent
-
Gets the item the player tries to move from inventory to the storage.
- getItem() - Method in class net.risingworld.api.events.player.inventory.PlayerStorageMoveItemEvent
-
Gets the item that is about to be moved.
- getItem() - Method in class net.risingworld.api.events.player.inventory.PlayerStorageToInventoryEvent
-
Gets the item that is about to be moved from the storage to inventory.
- getItem() - Method in class net.risingworld.api.events.player.PlayerChangeEquippedItemEvent
- getItem() - Method in class net.risingworld.api.events.player.PlayerConsumeItemEvent
- getItem() - Method in class net.risingworld.api.events.player.PlayerCraftItemEvent
-
Gets the item the player wants to craft.
- getItem() - Method in class net.risingworld.api.events.player.PlayerDropItemEvent
-
Gets the item the player wants to drop.
- getItem() - Method in class net.risingworld.api.events.player.PlayerDropItemFromStorageEvent
-
Gets the item.
- getItem() - Method in class net.risingworld.api.events.player.PlayerHitItemEvent
-
Gets the world item that was hit by the player.
- getItem() - Method in class net.risingworld.api.events.player.PlayerPickupItemEvent
-
Gets the item the player wants to pick up.
- getItem() - Method in class net.risingworld.api.events.player.PlayerProcessItemEvent
-
Gets the item the player wants to process.
- getItem() - Method in class net.risingworld.api.events.world.ItemTransformEvent
-
Gets the world item that's about to transform.
- getItem(int) - Method in class net.risingworld.api.objects.Storage
-
Gets the item from the specified slot.
- getItem(int, Inventory.SlotType) - Method in class net.risingworld.api.objects.Inventory
-
Gets the item from the specified slot and inventory type.
- getItem(long) - Static method in class net.risingworld.api.World
- getItemDefinition(int) - Static method in class net.risingworld.api.definitions.Definitions
-
Gets an item definition by id.
- getItemDefinition(String) - Static method in class net.risingworld.api.definitions.Definitions
-
Gets an item definition by name, using the internal name (e.g "pickaxe"), not the localized name!
- getItemInfo(String, Items.ItemInfoType) - Static method in class net.risingworld.api.definitions.Definitions
- getItemInfo(Items.ItemDefinition, Items.ItemInfoType) - Static method in class net.risingworld.api.definitions.Definitions
- getItemInfoType() - Method in class net.risingworld.api.events.player.PlayerProcessItemEvent
- getItems() - Method in class net.risingworld.api.objects.MetaObject
-
Gets an array containing all items which are currently associated with this meta object (usually these are the items which are placed in this object, e.g ores in a furnace etc).
- getItems() - Method in class net.risingworld.api.objects.Storage
-
Gets an array containing all items that are currently in the storage.
- getItems(Inventory.SlotType) - Method in class net.risingworld.api.objects.Inventory
-
Gets a new array containing all items that are currently in the particular inventory type.
- getItemSlot() - Method in class net.risingworld.api.events.player.PlayerChangeEquippedItemEvent
- getItemSlotType() - Method in class net.risingworld.api.events.player.PlayerChangeEquippedItemEvent
- getItemVariant(String, int) - Static method in class net.risingworld.api.definitions.Definitions
-
Gets an item variant definition, determines by the item definition name and the according variant.
- getJavaVersion() - Static method in class net.risingworld.api.utils.Utils.SystemUtils
-
Gets the Java version.
- getKey() - Method in class net.risingworld.api.events.player.PlayerKeyEvent
-
Gets the key that is actuated.
- getKeyCode() - Method in enum class net.risingworld.api.utils.Key
- getKeyword() - Method in class net.risingworld.api.ui.style.StyleEnum
- getKeyword() - Method in class net.risingworld.api.ui.style.StyleFloat
- getKeyword() - Method in class net.risingworld.api.ui.style.StyleImage
- getKeyword() - Method in class net.risingworld.api.ui.style.StyleLength
- getKeyword() - Method in class net.risingworld.api.ui.style.StyleScale
- getKeyword() - Method in class net.risingworld.api.ui.style.StyleTransformOrigin
- getKeyword() - Method in class net.risingworld.api.ui.style.StyleTranslate
- getKiller() - Method in class net.risingworld.api.events.npc.NpcDeathEvent
-
Gets the killer, i.e the player who is responsible for the death of this npc.
- getKiller() - Method in class net.risingworld.api.events.player.PlayerDeathEvent
-
Gets the killer, i.e the one who killed this player.
- getLanguage() - Method in class net.risingworld.api.objects.Player
-
Gets the current ingame language of the player.
- getLastAccess() - Method in class net.risingworld.api.objects.CustomImage
-
Gets a timestamp in milliseconds representing the time when the last access to this image occurred.
- getLastKnownPlayerName(int) - Static method in class net.risingworld.api.Server
-
Gets the last known name of the player with the specified database ID.
- getLastKnownPlayerName(String) - Static method in class net.risingworld.api.Server
-
Gets the last known name of the player with the specified UID.
- getLastKnownPlayerUIDs(String) - Static method in class net.risingworld.api.Server
-
Gets the last known UIDs of all players who used the specified name recently.
- getLastModifyPlayerDbID() - Method in class net.risingworld.api.objects.Sign
-
Gets the database id of the player who last modified the sign text.
- getLastModifyPlayerDbID() - Method in class net.risingworld.api.objects.Storage
-
Gets the database id of the player who last modified the storage (added or removed items from it).
- getLastTimeOnline() - Method in class net.risingworld.api.objects.Player
-
Gets a timestamp (i.e the number of milliseconds since 00:00:00 UTC on January 1, 1970) when the player was online on this server most recently.
- getLayer() - Method in class net.risingworld.api.utils.RaycastResult
-
Gets the hit layer.
- getLayer() - Method in class net.risingworld.api.worldelements.GameObject
-
Gets the layer that is assigned to this game object.
- getLightType() - Method in class net.risingworld.api.worldelements.Light
- getLines(String) - Static method in class net.risingworld.api.utils.Utils.StringUtils
-
Splits the string by new line characters, i.e \n or \r etc.
- getLoadOrder() - Method in class net.risingworld.api.Plugin
-
Gets the load order for this plugin.
- getLocalPosition() - Method in class net.risingworld.api.worldelements.GameObject
-
Gets the local position of this object, relative to its parent.
- getLocalRotation() - Method in class net.risingworld.api.worldelements.GameObject
-
Gets the rotation of this object, relative to its parent.
- getLocalScale() - Method in class net.risingworld.api.worldelements.GameObject
-
Gets the current local scale of this game object.
- getLocalTimeZoneOffset() - Method in class net.risingworld.api.objects.Player
-
Gets the local time zone offset (in seconds) of this player to GMT/UTC time.
- getLocationTickerText() - Method in class net.risingworld.api.events.player.PlayerLocationTickerEvent
-
Gets the text that should be shown on the location ticker (lower left corner of the screen).
- getLODSurfaceLevel(int, int, boolean) - Method in class net.risingworld.api.objects.world.Chunk
-
Gets the surface level/elevation (world y position) of the LOD terrain at a given position (between 0 and Chunk.SIZE_X/Z).
- getLODSurfaceTexture(int, int) - Method in class net.risingworld.api.objects.world.Chunk
- getLODTerrain() - Method in class net.risingworld.api.objects.world.Chunk
-
Gets the LOD terrain as a flattened float array (representing the terrain level/elevation).
- getLogFilePath() - Static method in class net.risingworld.api.Server
-
Gets the full file path to the log file.
- getMaskedCharacter() - Method in class net.risingworld.api.ui.UITextField
- getMaterialSetting(ModelImportSettings.MaterialImportFlags) - Method in class net.risingworld.api.assets.ModelImportSettings
- getMaxArmor() - Method in class net.risingworld.api.objects.Player
-
Gets the maximum armor level the player can have.
- getMaxCharacters() - Method in class net.risingworld.api.ui.UITextField
-
Gets the max number of allowed characters in this text field.
- getMaxExtent() - Method in class net.risingworld.api.events.player.PlayerCreateBlueprintEvent
-
Gets the max radius of the affected area.
- getMaxExtent() - Method in class net.risingworld.api.events.player.world.PlayerPlaceBlueprintEvent
-
Gets the max radius of the affected area.
- getMaxHealth() - Method in class net.risingworld.api.objects.Player
-
Gets the maximum health the player can have.
- getMaxPlayerCount() - Static method in class net.risingworld.api.Server
-
Gets the maximum amount of players allowed on this server.
- getMaxSlotCount(Inventory.SlotType) - Method in class net.risingworld.api.objects.Inventory
-
Gets the max possible amount of slots the particular inventory/slot type can have.
- getMaxStackSize() - Method in class net.risingworld.api.objects.Item
-
Gets the max possible stack size of the item.
- getMaxStackSize() - Method in class net.risingworld.api.objects.WorldItem
-
Gets the max possible stack size of the item.
- getMaxStamina() - Method in class net.risingworld.api.objects.Player
-
Gets the maximum stamina of the player.
- getMd5(byte[]) - Static method in class net.risingworld.api.utils.Utils.ByteUtils
-
Generates an MD5 hash from the provided byte array.This is useful for checksums etc.
- getMd5(File) - Static method in class net.risingworld.api.utils.Utils.FileUtils
-
Gets the MD5 hash of a file.
- getMd5(String) - Static method in class net.risingworld.api.utils.Utils.StringUtils
-
Generates an MD5 hash from the provided string.
- getMemory() - Static method in class net.risingworld.api.utils.Utils.SystemUtils
-
Gets the maximum amount of heap memory the JVM can use.
- getMetaObject() - Method in class net.risingworld.api.events.world.ItemTransformEvent
-
Gets the meta object that was involved in this process, i.e the object that processed the items.
- getMetaObject() - Method in class net.risingworld.api.events.world.MetaObjectEvent
-
Gets the meta object.
- getMetaObject(long) - Static method in class net.risingworld.api.World
-
Gets a meta object.
- getMinutes() - Method in class net.risingworld.api.objects.Time
-
Gets the minutes (0-59)
- getModelSetting(ModelImportSettings.MeshImportFlags) - Method in class net.risingworld.api.assets.ModelImportSettings
- getModifier() - Method in class net.risingworld.api.objects.Item
- getModifier() - Method in class net.risingworld.api.objects.WorldItem
- getMonth() - Method in class net.risingworld.api.objects.Time
-
Deprecated.No longer used.
- getMoonPhase() - Method in class net.risingworld.api.objects.Time
-
Gets the current moon phase.
- getMount() - Method in class net.risingworld.api.objects.Player
-
Gets the mount the player is currently riding on.
- getMouseButton() - Method in class net.risingworld.api.events.player.ui.PlayerUIElementClickEvent
-
Gets the mouse button.
- getMouseWheelScrollSize() - Method in class net.risingworld.api.ui.UIScrollView
- getMultiPlaceGap() - Method in class net.risingworld.api.events.player.world.PlayerPlaceConstructionEvent
-
If multiple elements are about to be placed in a row (multi-placement), this determines the gap between the elements.
- getMultiPlaceRowX() - Method in class net.risingworld.api.events.player.world.PlayerPlaceConstructionEvent
-
Gets the amount of additional elements the player wants to place in a row (multi-placement) along the x axis.
- getMultiPlaceRowY() - Method in class net.risingworld.api.events.player.world.PlayerPlaceConstructionEvent
-
Gets the amount of additional elements the player wants to place in a row (multi-placement) along the y axis.
- getMultiPlaceRowZ() - Method in class net.risingworld.api.events.player.world.PlayerPlaceConstructionEvent
-
Gets the amount of additional elements the player wants to place in a row (multi-placement) along the z axis.
- getMySQLConnection(String, String, int, String, String) - Method in class net.risingworld.api.Plugin
-
Creates a new MySQL database connection.
- getName() - Method in class net.risingworld.api.objects.Area
-
Gets the currently set area name.
- getName() - Method in class net.risingworld.api.objects.CustomImage
-
Gets the original file name of the image.
- getName() - Method in class net.risingworld.api.objects.Item
-
Gets the ingame name (not the localized name) of the item.
- getName() - Method in class net.risingworld.api.objects.Npc
-
Gets the optional custom name of the npc.
- getName() - Method in class net.risingworld.api.objects.Player
-
Gets the name of the player.
- getName() - Method in class net.risingworld.api.objects.Storage
-
Gets the custom name of the storage.
- getName() - Method in class net.risingworld.api.objects.Vehicle
-
Gets the optional custom name of the vehicle.
- getName() - Method in class net.risingworld.api.objects.WorldItem
-
Gets the ingame name (not the localized name) of the item.
- getName() - Method in class net.risingworld.api.Plugin
-
Gets the name of this plugin.
- getName() - Static method in class net.risingworld.api.Server
-
Gets the server name.
- getName() - Static method in class net.risingworld.api.World
-
Gets the world name.
- getNearestPlayer() - Method in class net.risingworld.api.objects.Npc
-
Gets the nearest player, or more precisely, the player which is considered the "nearest player" by the npc.
- getNewAmmo() - Method in class net.risingworld.api.events.player.PlayerWeaponReloadEvent
-
Gets the new amount of ammo/bullets after the reload is done.
- getNewBlockPosition() - Method in class net.risingworld.api.events.player.PlayerChangeBlockPositionEvent
-
Gets the new block position of the player.
- getNewBlockPosition() - Method in class net.risingworld.api.events.player.PlayerEnterChunkEvent
-
Gets the new block position of the player.
- getNewChunkCoordinates() - Method in class net.risingworld.api.events.player.PlayerEnterChunkEvent
-
Gets the coordinates of the new chunk.
- getNewChunkPosition() - Method in class net.risingworld.api.events.player.PlayerChangeBlockPositionEvent
- getNewChunkPositionX() - Method in class net.risingworld.api.events.player.world.PlayerEditConstructionEvent
-
Gets the new x offset of the chunk (which contains the construction element).
- getNewChunkPositionY() - Method in class net.risingworld.api.events.player.world.PlayerEditConstructionEvent
-
Gets the new y offset of the chunk (which contains the construction element).
- getNewChunkPositionZ() - Method in class net.risingworld.api.events.player.world.PlayerEditConstructionEvent
-
Gets the new z offset of the chunk (which contains the construction element).
- getNewColor() - Method in class net.risingworld.api.events.player.world.PlayerChangeConstructionColorEvent
-
Gets the new color for the construction element.
- getNewColor() - Method in class net.risingworld.api.events.player.world.PlayerChangeObjectColorEvent
-
Gets the new object color.
- getNewColor() - Method in class net.risingworld.api.events.player.world.PlayerEditConstructionEvent
- getNewGameMode() - Method in class net.risingworld.api.events.player.PlayerChangeGameModeEvent
-
Gets the new game mode.
- getNewInfoID() - Method in class net.risingworld.api.events.player.world.PlayerChangeObjectInfoEvent
-
Gets the new object info.
- getNewPermissionGroup() - Method in class net.risingworld.api.events.player.PlayerPermissionGroupChangeEvent
-
Gets the name of the new permission group (the player will be assigned to).
- getNewPlayerPosition() - Method in class net.risingworld.api.events.player.PlayerEnterAreaEvent
-
Gets the new player position (within the area).
- getNewPlayerPosition() - Method in class net.risingworld.api.events.player.PlayerEnterChunkEvent
-
Gets the new player position (within the new chunk).
- getNewPlayerPosition() - Method in class net.risingworld.api.events.player.PlayerEnterSectorEvent
-
Gets the new player position (within the new sector).
- getNewPlayerPosition() - Method in class net.risingworld.api.events.player.PlayerEnterWorldPartEvent
-
Gets the new player position (within the new world part).
- getNewPlayerPosition() - Method in class net.risingworld.api.events.player.PlayerLeaveAreaEvent
-
Gets the new player position (outside the area).
- getNewPosition() - Method in class net.risingworld.api.events.player.world.PlayerEditConstructionEvent
-
Gets the new world position of the construction element as a Vector3f.
- getNewRelatedObjectID() - Method in class net.risingworld.api.events.player.PlayerSetSpawnPointEvent
- getNewRotation() - Method in class net.risingworld.api.events.player.world.PlayerEditConstructionEvent
-
Gets the new rotation of the construction element as a Quaternion.
- getNewScreenResolutionX() - Method in class net.risingworld.api.events.player.ui.PlayerChangeScreenResolutionEvent
- getNewScreenResolutionY() - Method in class net.risingworld.api.events.player.ui.PlayerChangeScreenResolutionEvent
- getNewSectorCoordinates() - Method in class net.risingworld.api.events.player.PlayerEnterSectorEvent
-
Gets the coordinates of the new sector.
Note: Sectors only have two dimensional x and z coordinates (horizontally).
Since the coordinates are stored in aVector2i
, the z coordinate will be stored in the y value. - getNewSize() - Method in class net.risingworld.api.events.player.world.PlayerEditConstructionEvent
-
Gets the new size (x, y, z) of the construction element as a Vector3f.
- getNewSpawnName() - Method in class net.risingworld.api.events.player.PlayerSetSpawnPointEvent
- getNewSpawnPosition() - Method in class net.risingworld.api.events.player.PlayerSetSpawnPointEvent
- getNewSpawnRotation() - Method in class net.risingworld.api.events.player.PlayerSetSpawnPointEvent
- getNewStack() - Method in class net.risingworld.api.events.player.PlayerProcessItemEvent
-
Gets the new stack size of the item.
- getNewStack() - Method in class net.risingworld.api.events.world.ItemTransformEvent
-
Gets the new stack size of the item.
- getNewState() - Method in class net.risingworld.api.events.player.PlayerChangeStateEvent
-
Gets the new player state.
- getNewStatus() - Method in class net.risingworld.api.events.player.PlayerProcessItemEvent
-
Gets the optional new status for the item.
- getNewStatus() - Method in class net.risingworld.api.events.player.world.PlayerChangeObjectStatusEvent
-
Gets the new object status.
- getNewStatus() - Method in class net.risingworld.api.events.world.MetaObjectStatusChangeEvent
-
Gets the new object status.
- getNewSurfaceOffset() - Method in class net.risingworld.api.events.player.world.PlayerEditConstructionEvent
- getNewSurfaceScale() - Method in class net.risingworld.api.events.player.world.PlayerEditConstructionEvent
- getNewText() - Method in class net.risingworld.api.events.player.ui.PlayerUITextFieldChangeEvent
-
Gets the new text field value (after the player entered/removed a character).
- getNewTexture() - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryItemEditEvent
-
Gets the new item texture (if the texture was changed with this action).
- getNewTexture() - Method in class net.risingworld.api.events.player.world.PlayerEditConstructionEvent
-
Gets the new texture of the construction element.
- getNewTextureScale() - Method in class net.risingworld.api.events.player.world.PlayerEditConstructionEvent
- getNewThickness() - Method in class net.risingworld.api.events.player.world.PlayerEditConstructionEvent
- getNewTypeID() - Method in class net.risingworld.api.events.npc.NpcTransformEvent
-
Gets the new target npc type ID.
- getNewTypeID() - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryItemEditEvent
-
Gets the new type id.
- getNewTypeID() - Method in class net.risingworld.api.events.player.PlayerProcessItemEvent
-
Gets the new target item type ID.
- getNewTypeID() - Method in class net.risingworld.api.events.player.world.PlayerEditConstructionEvent
-
Gets the new type ID of the construction element.
- getNewTypeID() - Method in class net.risingworld.api.events.world.ItemTransformEvent
-
Gets the new target item type ID.
- getNewValue() - Method in class net.risingworld.api.events.player.PlayerProcessItemEvent
-
Gets the optional new value for the item.
- getNewVariant() - Method in class net.risingworld.api.events.npc.NpcTransformEvent
-
Gets the new target npc variant.
- getNewWorldPartCoordinates() - Method in class net.risingworld.api.events.player.PlayerEnterWorldPartEvent
-
Gets the coordinates of the new world part.
Note: World parts only have two dimensional x and z coordinates (horizontally).
Since the coordinates are stored in aVector2i
, the z coordinate will be stored in the y value. - getNextGrowthTime() - Method in class net.risingworld.api.events.world.PlantGrowthEvent
-
Gets the growth time for the next plant stage (in seconds).
- getNextNpcGroupID() - Static method in class net.risingworld.api.World
-
Gets the next "free" (unused) group ID for npcs.
- getNextPowerOfTwo(int) - Static method in class net.risingworld.api.utils.Utils.MathUtils
-
Gets the next power of two value (rounded up).
- getNextStagePlantDefinition() - Method in class net.risingworld.api.events.world.PlantGrowthEvent
- getNextStageTypeID() - Method in class net.risingworld.api.events.world.PlantGrowthEvent
-
Gets the next type ID of the plant, i.e of the next growth stage.
- getNextWeather() - Method in class net.risingworld.api.events.world.WeatherChangeEvent
-
Gets the next, target weather.
- getNextWeather() - Static method in class net.risingworld.api.Server
-
Gets the next weather type.
- getNormals() - Method in class net.risingworld.api.assets.MeshAsset
- getNpc() - Method in class net.risingworld.api.events.npc.NpcAddClothesEvent
-
Gets the affected npc.
- getNpc() - Method in class net.risingworld.api.events.npc.NpcAddSaddleBagEvent
-
Gets the npc/mount a saddle bag will be attached to.
- getNpc() - Method in class net.risingworld.api.events.npc.NpcAddSaddleEvent
-
Gets the npc/mount a saddle will be added to.
- getNpc() - Method in class net.risingworld.api.events.npc.NpcDamageEvent
-
Gets the npc which died.
- getNpc() - Method in class net.risingworld.api.events.npc.NpcDeathEvent
-
Gets the npc which died.
- getNpc() - Method in class net.risingworld.api.events.npc.NpcHitNpcEvent
-
Gets the target npc, i.e the npc which was hit by the attacker.
- getNpc() - Method in class net.risingworld.api.events.npc.NpcRemoveClothesEvent
-
Gets the affected npc.
- getNpc() - Method in class net.risingworld.api.events.npc.NpcRemoveSaddleBagEvent
-
Gets the npc/mount the saddle bag is about to be removed from.
- getNpc() - Method in class net.risingworld.api.events.npc.NpcRemoveSaddleEvent
-
Gets the npc/mount the saddle is about to be removed from.
- getNpc() - Method in class net.risingworld.api.events.npc.NpcSpawnEvent
-
Gets the npc that is about to spawn.
- getNpc() - Method in class net.risingworld.api.events.npc.NpcTransformEvent
-
Gets the npc that's about to transform.
- getNpc() - Method in class net.risingworld.api.events.player.PlayerHitNpcEvent
-
Gets the target npc, i.e the npc which was hit by the player.
- getNpc() - Method in class net.risingworld.api.events.player.PlayerMountNpcEvent
- getNpc() - Method in class net.risingworld.api.events.player.PlayerNpcEvent
-
Gets the npc.
- getNpc(long) - Static method in class net.risingworld.api.World
-
Gets the npc with the provided id.
- getNpcDamage() - Method in class net.risingworld.api.events.world.ExplosionEvent
-
Sets the amount of damage this explosion deals for npcs (e.g animals).
- getNpcDefinition(int) - Static method in class net.risingworld.api.definitions.Definitions
-
Gets an npc definition by id.
- getNpcDefinition(String) - Static method in class net.risingworld.api.definitions.Definitions
-
Gets an npc definition by name, using the internal name (e.g "cow" or "goat" etc).
- getNpcInLineOfSight(float, Callback<Npc>) - Method in class net.risingworld.api.objects.Player
-
Gets the npc in line-of-sight of the player (i.e the npc the player is currently looking at).
- getNumItems() - Static method in class net.risingworld.api.World
-
Gets the current amount of global world items (i.e items that have either been spawned by calling
World.spawnItem(short, int, int, net.risingworld.api.utils.Vector3f, net.risingworld.api.utils.Quaternion, boolean)
, or items that have been dropped by players). - getNumNetworkChannels() - Static method in class net.risingworld.api.Internals
-
Gets the total amount of network channels.
- getNumNpcs() - Static method in class net.risingworld.api.World
-
Gets the current amount of npcs in the world.
- getNumStorages() - Static method in class net.risingworld.api.World
-
Gets the total amount of storages in the world.
- getNumVehicles() - Static method in class net.risingworld.api.World
-
Gets the current amount of vehicles in the world.
- getObject() - Method in class net.risingworld.api.events.player.PlayerObjectInteractionEvent
- getObject() - Method in class net.risingworld.api.events.player.world.PlayerChangeObjectColorEvent
- getObject() - Method in class net.risingworld.api.events.player.world.PlayerChangeObjectInfoEvent
- getObject() - Method in class net.risingworld.api.events.player.world.PlayerChangeObjectStatusEvent
- getObject() - Method in class net.risingworld.api.events.player.world.PlayerCreativeRemoveObjectEvent
- getObject() - Method in class net.risingworld.api.events.player.world.PlayerDestroyObjectEvent
- getObject() - Method in class net.risingworld.api.events.player.world.PlayerHitObjectEvent
- getObject() - Method in class net.risingworld.api.events.player.world.PlayerObjectEvent
-
Gets the object element.
- getObject() - Method in class net.risingworld.api.events.player.world.PlayerRemoveObjectEvent
- getObject(long, int, int, int) - Static method in class net.risingworld.api.World
-
Gets an object element that is placed in the world.
- getObjectChunkPosition() - Method in class net.risingworld.api.utils.RaycastResult
-
Gets the chunk coordinates where the element is located that was hit by this ray.
- getObjectCount() - Method in class net.risingworld.api.events.player.PlayerCreateBlueprintEvent
-
Gets the amount of objects (i.e furniture, doors, lamps etc) this blueprint contains.
- getObjectCount() - Method in class net.risingworld.api.events.player.world.PlayerPlaceBlueprintEvent
-
Gets the amount of objects (i.e furniture, doors, lamps etc) this blueprint contains.
- getObjectDefinition() - Method in class net.risingworld.api.events.player.world.PlayerObjectEvent
-
Gets the object definition for this item (this contains meta data about the object type).
- getObjectDefinition() - Method in class net.risingworld.api.objects.Item.ObjectItem
-
Gets the definition of the object that is represented by this item.
- getObjectDefinition(int) - Static method in class net.risingworld.api.definitions.Definitions
-
Gets an object definition by id.
- getObjectDefinition(String) - Static method in class net.risingworld.api.definitions.Definitions
-
Gets an object definition by name, using the internal name (e.g "workbench"), not the localized name!
- getObjectElementInLineOfSight(float, Callback<ObjectElement>) - Method in class net.risingworld.api.objects.Player
-
Gets the object element in line-of-sight of the player (i.e the object element the player is currently looking at).
- getObjectGlobalID() - Method in class net.risingworld.api.utils.RaycastResult
-
Gets the global ID (of the element the ray collided with).
- getObjectID() - Method in class net.risingworld.api.events.world.ItemTransformEvent
-
Gets the unique global ID of the meta object which processsed this item (e.g the furnace ID).
- getObjectID() - Method in class net.risingworld.api.objects.Item.ObjectItem
-
Gets the type ID of the object that is represented by this item.
- getObjectInfoDefinition() - Method in class net.risingworld.api.events.world.ItemTransformEvent
-
Gets the definition of the related meta object (which processes this item, e.g the furnace, grinder etc).
- getObjectInfoDefinition() - Method in class net.risingworld.api.objects.MetaObject
- getObjectInfoDefinition(String) - Static method in class net.risingworld.api.definitions.Definitions
- getObjectInfoDefinitionByTypeID(int) - Static method in class net.risingworld.api.definitions.Definitions
- getObjectName() - Method in class net.risingworld.api.objects.Item.ObjectItem
-
Gets the name of the object that is represented by this item.
- getObjectPosition() - Method in class net.risingworld.api.utils.RaycastResult
-
Gets the world position of the element that was hit by this ray.
- getObjectTypeID() - Method in class net.risingworld.api.events.world.ItemTransformEvent
-
Gets the type ID of the meta object.
- getOldBlockPosition() - Method in class net.risingworld.api.events.player.PlayerChangeBlockPositionEvent
-
Gets the old block position of the player.
- getOldBlockPosition() - Method in class net.risingworld.api.events.player.PlayerEnterChunkEvent
-
Gets the old block position of the player.
- getOldChunkCoordinates() - Method in class net.risingworld.api.events.player.PlayerEnterChunkEvent
-
Gets the coordinates of the old, previous chunk.
- getOldChunkPosition() - Method in class net.risingworld.api.events.player.PlayerChangeBlockPositionEvent
- getOldColor() - Method in class net.risingworld.api.events.player.world.PlayerChangeConstructionColorEvent
- getOldColor() - Method in class net.risingworld.api.events.player.world.PlayerChangeObjectColorEvent
- getOldInfoID() - Method in class net.risingworld.api.events.player.world.PlayerChangeObjectInfoEvent
-
Gets the old object info.
- getOldPlayerPosition() - Method in class net.risingworld.api.events.player.PlayerEnterAreaEvent
-
Gets the previous player position (still outside the area).
- getOldPlayerPosition() - Method in class net.risingworld.api.events.player.PlayerEnterChunkEvent
-
Gets the previous player position (within the previous chunk).
- getOldPlayerPosition() - Method in class net.risingworld.api.events.player.PlayerEnterSectorEvent
-
Gets the previous player position (within the previous sector).
- getOldPlayerPosition() - Method in class net.risingworld.api.events.player.PlayerEnterWorldPartEvent
-
Gets the previous player position (within the previous world part).
- getOldPlayerPosition() - Method in class net.risingworld.api.events.player.PlayerLeaveAreaEvent
-
Gets the previous player position (still inside the area).
- getOldRelatedObjectID() - Method in class net.risingworld.api.events.player.PlayerSetSpawnPointEvent
-
If the spawn point was previously tied to an object (e.g a tent or bed), this is the global object ID of this object.
- getOldScreenResolutionX() - Method in class net.risingworld.api.events.player.ui.PlayerChangeScreenResolutionEvent
- getOldScreenResolutionY() - Method in class net.risingworld.api.events.player.ui.PlayerChangeScreenResolutionEvent
- getOldSectorCoordinates() - Method in class net.risingworld.api.events.player.PlayerEnterSectorEvent
-
Gets the coordinates of the old, previous sector.
Note: Sectors only have two dimensional x and z coordinates (horizontally).
Since the coordinates are stored in aVector2i
, the z coordinate will be stored in the y value. - getOldSpawnName() - Method in class net.risingworld.api.events.player.PlayerSetSpawnPointEvent
- getOldSpawnPosition() - Method in class net.risingworld.api.events.player.PlayerSetSpawnPointEvent
-
Gets the previously set spawn position for this type (if any was set).
- getOldSpawnRotation() - Method in class net.risingworld.api.events.player.PlayerSetSpawnPointEvent
-
Gets the previously set spawn rotation for this type (if any was set).
- getOldState() - Method in class net.risingworld.api.events.player.PlayerChangeStateEvent
-
Gets the old player state.
- getOldStatus() - Method in class net.risingworld.api.events.player.world.PlayerChangeObjectStatusEvent
- getOldStatus() - Method in class net.risingworld.api.events.world.MetaObjectStatusChangeEvent
- getOldText() - Method in class net.risingworld.api.events.player.ui.PlayerUITextFieldChangeEvent
-
Gets the previous text field value (before the player entered/removed a character).
- getOldWorldPartCoordinates() - Method in class net.risingworld.api.events.player.PlayerEnterWorldPartEvent
-
Gets the coordinates of the old, previous world part.
Note: World parts only have two dimensional x and z coordinates (horizontally).
Since the coordinates are stored in aVector2i
, the z coordinate will be stored in the y value. - getOperatingSystem() - Method in class net.risingworld.api.objects.Player
-
Gets the operating system of the user.
- getOperatingSystem() - Static method in class net.risingworld.api.utils.Utils.SystemUtils
-
Gets the name of the operating system.
- getOption(String) - Static method in class net.risingworld.api.Server
-
Gets a server option from the "server.properties" file.
Note: This method cannot be used to retrieve passwords or login names. - getOption(String, Callback<String>) - Method in class net.risingworld.api.objects.Player
-
Gets a setting from the client (a setting from his config.properties file).
- getOreAmount() - Static method in class net.risingworld.api.World
-
Gets the ore amount (0-4).
- getOrigin() - Method in class net.risingworld.api.events.npc.NpcSpawnEvent
-
Gets the origin of this npc spawn, i.e the reason why this npc spawns (e.g natural spawn, or spawned via command etc).
- getOrigin() - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryAddItemEvent
-
Gets the origin of the item, i.e where the player got this item from (i.e if he picked it up, if he got the item by deconstructing an object or harvesting plants etc).
- getParent() - Method in class net.risingworld.api.ui.UIElement
-
Gets the current parent UI element, or null if this element has no parent.
- getParent() - Method in class net.risingworld.api.worldelements.GameObject
-
Gets the current parent UI element, or null if this element has no parent.
- getPassedSeconds() - Method in class net.risingworld.api.Timer
-
Gets the passed seconds (i.e how long this timer is already active).
- getPassenger(int) - Method in class net.risingworld.api.objects.Vehicle
-
Gets the passenger on a particular seat.
- getPassengers() - Method in class net.risingworld.api.objects.Vehicle
-
Gets an array of all passengers, or more precisely, an array containing the occupant of each seat.
- getPath() - Method in class net.risingworld.api.assets.Asset
-
Gets the path to the asset.
- getPath() - Method in interface net.risingworld.api.database.WorldDatabase
-
Gets the path to the database file.
- getPath() - Method in class net.risingworld.api.Plugin
-
Gets the path to the plugin folder (for example: "C:/Server/plugins/MyPlugin"), without a slash at the end.
- getPendingNetworkEvents(int) - Static method in class net.risingworld.api.Internals
-
Gets the amount of pending network events of a particular network channel.
- getPermissionGroup() - Method in class net.risingworld.api.objects.Player
-
Gets the current permission group name of the player.
- getPermissionValue(String, boolean) - Method in class net.risingworld.api.objects.Player
-
Gets a particular permission value (usually boolean, int, String) from the current player permission.
- getPickingInfo(String) - Static method in class net.risingworld.api.definitions.Definitions
- getPing() - Method in class net.risingworld.api.objects.Player
-
Gets the current ping of the player, in other words, the amount of time (in milliseconds) that passes until a player packet arrives at the server.
- getPitch() - Method in class net.risingworld.api.utils.Quaternion
-
Gets the pitch (aka attitude aka x euler angle) of this quaternion.
- getPlaceID() - Method in class net.risingworld.api.events.player.world.PlayerPlaceBlueprintEvent
- getPlant() - Method in class net.risingworld.api.events.player.world.PlayerCreativeRemoveVegetationEvent
- getPlant() - Method in class net.risingworld.api.events.player.world.PlayerDestroyVegetationEvent
- getPlant() - Method in class net.risingworld.api.events.player.world.PlayerHitVegetationEvent
- getPlant() - Method in class net.risingworld.api.events.player.world.PlayerRemoveVegetationEvent
- getPlant() - Method in class net.risingworld.api.events.player.world.PlayerVegetationEvent
-
Gets the plant.
- getPlant(long, int, int, int) - Static method in class net.risingworld.api.World
- getPlantCount() - Method in class net.risingworld.api.events.player.PlayerCreateBlueprintEvent
-
Gets the amount of plants (vegetation) this blueprint contains.
- getPlantCount() - Method in class net.risingworld.api.events.player.world.PlayerPlaceBlueprintEvent
-
Gets the amount of plants (vegetation) this blueprint contains.
- getPlantDefinition() - Method in class net.risingworld.api.events.player.world.PlayerVegetationEvent
- getPlantDefinition() - Method in class net.risingworld.api.events.world.PlantGrowthEvent
- getPlantDefinition(int) - Static method in class net.risingworld.api.definitions.Definitions
-
Gets a plant definition by id.
- getPlantDefinition(String) - Static method in class net.risingworld.api.definitions.Definitions
-
Gets a plant definition by name, using the internal name (e.g "tomato" or "spruceforest" etc).
- getPlantPosition() - Method in class net.risingworld.api.events.world.PlantGrowthEvent
-
Gets the world position of the plant as a Vector3f.
- getPlantRotation() - Method in class net.risingworld.api.events.world.PlantGrowthEvent
-
Gets the current rotation of the plant as a Quaternion.
- getPlantTypeID() - Method in class net.risingworld.api.events.world.PlantGrowthEvent
-
Gets the current type ID of the plant.
- getPlatform() - Method in class net.risingworld.api.objects.Player
-
Gets the type of version the player is using, e.g standalone version, Steam version etc.
- getPlatform() - Static method in class net.risingworld.api.Server
-
Gets the game/server platform.
- getPlayer() - Method in class net.risingworld.api.events.player.PlayerEvent
-
Gets the player object (the player who triggered this event).
- getPlayer() - Method in class net.risingworld.api.sounds.Sound
- getPlayer(int) - Static method in class net.risingworld.api.Server
-
Gets a player object representing the player with the provided playerid.
- getPlayerByDbID(int) - Static method in class net.risingworld.api.Server
-
Gets a player object representing the player with the provided unique database ID.
- getPlayerByName(String) - Static method in class net.risingworld.api.Server
-
Gets a player object representing the player with the provided playername.
- getPlayerByUID(String) - Static method in class net.risingworld.api.Server
-
Gets a player object representing the player with the provided unique ID (for Steam users, this is the SteamID64).
- getPlayerChatName() - Method in class net.risingworld.api.events.player.PlayerChatEvent
-
Gets the full player name (including all prefixes and color codes [if set]) in the chat.
- getPlayerCount() - Static method in class net.risingworld.api.Server
-
Gets the amount of players that are currently connected to this server.
- getPlayerDamage() - Method in class net.risingworld.api.events.world.ExplosionEvent
-
Gets the amount of damage this explosion deals for players.
- getPlayerDbID() - Method in class net.risingworld.api.objects.CustomImage
-
Gets the database ID of the player who uploaded this image.
- getPlayerDbID() - Method in class net.risingworld.api.objects.Inventory
-
Gets the database ID of the player this inventory belongs to.
- getPlayerDbID() - Method in class net.risingworld.api.objects.world.ConstructionElement
-
Gets the database ID of the player who placed the block.
- getPlayerDbID() - Method in class net.risingworld.api.objects.world.ObjectElement
-
Gets the database ID of the player who placed the object.
- getPlayerDbID() - Method in class net.risingworld.api.objects.world.Plant
-
Gets the database ID of the player who planted this plant.
- getPlayerDbID() - Method in class net.risingworld.api.sounds.Sound
- getPlayerInLineOfSight(float, Callback<Player>) - Method in class net.risingworld.api.objects.Npc
-
Gets the player in line-of-sight of the player (i.e the player animal is currently looking at).
- getPlayerName() - Method in class net.risingworld.api.events.general.AddAdminEvent
-
Gets the name of the player who was added to the admin list.
- getPlayerName() - Method in class net.risingworld.api.events.general.RemoveAdminEvent
-
Gets the name of the player who was removed from the admin list.
- getPlayerPermission(int) - Method in class net.risingworld.api.objects.Area
-
Gets the permission of a player in this area.
- getPlayerPermission(Player) - Method in class net.risingworld.api.objects.Area
-
Gets the permission of a player in this area.
- getPlayerUID() - Method in class net.risingworld.api.events.general.AddAdminEvent
-
Get the unique ID of the player who was added to the admin list.
- getPlayerUID() - Method in class net.risingworld.api.events.general.RemoveAdminEvent
-
Get the unique ID of the player who was removed from the admin list.
- getPlayerUID(int) - Static method in class net.risingworld.api.Server
-
Gets the UID of the player (irrespective of whether or not he's currently online) with the provided database ID.
- getPluginByID(int) - Method in class net.risingworld.api.Plugin
-
Finds a plugin by id.
- getPluginByName(String) - Method in class net.risingworld.api.Plugin
-
Finds a plugin with the according name and returns the instance.
- getPluginID() - Method in class net.risingworld.api.ui.UIElement
-
Gets the ID of the plugin which created this element.
- getPluginID() - Method in class net.risingworld.api.worldelements.GameObject
-
Gets the ID of the plugin which created this element.
- getPort() - Static method in class net.risingworld.api.Server
-
Gets the server port.
- getPosition() - Method in class net.risingworld.api.events.npc.NpcSpawnEvent
- getPosition() - Method in class net.risingworld.api.events.player.PlayerChangePositionEvent
-
Gets the new position of the player.
- getPosition() - Method in class net.risingworld.api.events.player.PlayerCreateBlueprintEvent
-
Gets the target world position of the blueprint, or more precisely, the center position of the affected area.
- getPosition() - Method in class net.risingworld.api.events.player.PlayerDropItemEvent
-
Gets the item drop position.
- getPosition() - Method in class net.risingworld.api.events.player.PlayerDropItemFromStorageEvent
-
Gets the item drop position.
- getPosition() - Method in class net.risingworld.api.events.player.world.PlayerPlaceBlueprintEvent
-
Gets the world position of the blueprint center (i.e where the blueprint will be placed).
- getPosition() - Method in class net.risingworld.api.events.player.world.PlayerPlaceObjectEvent
-
Gets the world position of the object as a Vector3f.
- getPosition() - Method in class net.risingworld.api.events.world.ExplosionEvent
-
Gets the global world position of the explosion.
- getPosition() - Method in class net.risingworld.api.events.world.ProjectileFireEvent
-
Gets the global world position where the projectile was launched.
- getPosition() - Method in class net.risingworld.api.objects.Npc
-
Gets the current world position of the npc.
- getPosition() - Method in class net.risingworld.api.objects.Player
-
Gets a Vector3f containing the current x, y and z coordinate of the player (world position).
- getPosition() - Method in class net.risingworld.api.objects.Vehicle
-
Gets the world position of the vehicle.
- getPosition() - Method in class net.risingworld.api.objects.WorldItem
-
Gets a Vector3f containing the current global x, y and z coordinate of this item.
- getPostProcessing() - Method in class net.risingworld.api.objects.Player
-
Gets an object representing post-processing overrides for this player.
- getPreviousHealth() - Method in class net.risingworld.api.events.npc.NpcDamageEvent
-
Gets the previous amount of health.
- getPreviousHealth() - Method in class net.risingworld.api.events.player.PlayerDamageEvent
-
Gets the previous amount of health.
- getPreviousItemSlot() - Method in class net.risingworld.api.events.player.PlayerChangeEquippedItemEvent
- getPreviousItemSlotType() - Method in class net.risingworld.api.events.player.PlayerChangeEquippedItemEvent
- getPreviousPermissionGroup() - Method in class net.risingworld.api.events.player.PlayerPermissionGroupChangeEvent
-
Gets the old permission group of the player.
- getPreviousPosition() - Method in class net.risingworld.api.objects.Player
-
Gets the previous position of the player (the player had the last frame).
- getPriority() - Method in class net.risingworld.api.events.player.PlayerCreateAreaEvent
-
Gets the area priority.
- getPriority() - Method in class net.risingworld.api.objects.Area
-
Gets the area priority.
- getPriority() - Method in class net.risingworld.api.worldelements.PostProcessingVolume
- getProcessingType() - Method in class net.risingworld.api.events.world.ItemTransformEvent
-
Gets the processing type (related to the meta object processing this item), i.e how the item was processed.
- getProcessorCores() - Static method in class net.risingworld.api.utils.Utils.SystemUtils
-
Gets the number of processors or cores available to the JVM.
- getProgress() - Method in class net.risingworld.api.objects.WorldItem
-
Only relevant if this item is processed by a meta object: Gets the current item progression value (e.g smelting/cooking progress etc).
- getProjectileDefinition() - Method in class net.risingworld.api.events.world.ProjectileFireEvent
-
Gets the definition of the projectile that was fired.
- getProjectileDefinition() - Method in class net.risingworld.api.events.world.ProjectileHitEvent
-
Gets the definition of the projectile that was fired.
- getProjectileDefinition(int) - Static method in class net.risingworld.api.definitions.Definitions
- getProjectileDefinition(String) - Static method in class net.risingworld.api.definitions.Definitions
- getPublicIP() - Static method in class net.risingworld.api.Server
-
Tries to get the public IP of the server.
- getQuickslotFocus() - Method in class net.risingworld.api.objects.Inventory
-
Gets the currently selected quickslot / hotbar slot.
- getRadius() - Method in class net.risingworld.api.collider.SphereCollider
- getRawCompressedLODTerrain() - Method in class net.risingworld.api.objects.world.Chunk
-
Gets the raw compressed LOD terrrain data.
- getRawCompressedTerrain() - Method in class net.risingworld.api.objects.world.ChunkPart
-
Gets the raw compressed terrrain data of this chunk part.
- getRawConstructions(int, int) - Static method in class net.risingworld.api.Internals
- getRawID(Terrain, float) - Static method in enum class net.risingworld.api.definitions.Terrain
- getRawLODTerrain() - Method in class net.risingworld.api.objects.world.Chunk
-
Gets the raw LOD terrain data.
- getRawObjects(int, int) - Static method in class net.risingworld.api.Internals
-
Gets the raw, serialized object data of a chunk (uncompressed).
- getRawPlants(int, int) - Static method in class net.risingworld.api.Internals
- getRawTerrain() - Method in class net.risingworld.api.objects.world.ChunkPart
-
Gets the raw terrain data of this chunk part.
- getRawTerrainID(int, int, int) - Method in class net.risingworld.api.objects.world.ChunkPart
-
Gets the raw terrain id at a particular index.
- getRawTerrainIndex(int, int, int) - Static method in class net.risingworld.api.objects.world.Chunk
- getRawTerrainIndex(int, int, int) - Static method in class net.risingworld.api.objects.world.ChunkPart
- getRawTextureData() - Method in class net.risingworld.api.objects.CustomImage
-
Gets the raw texture data, depending on the texture format (see
CustomImage.getTextureFormat()
). - getReason() - Method in class net.risingworld.api.events.player.PlayerBanEvent
-
Gets the reason why the player will be banned.
- getReason() - Method in class net.risingworld.api.events.player.PlayerKickEvent
-
Gets the reason why the player will be kicked.
- getRecipe() - Method in class net.risingworld.api.events.player.PlayerCraftItemEvent
-
Gets the related crafting recipe.
- getRecipe(String) - Static method in class net.risingworld.api.definitions.Definitions
-
Gets a crafting recipe by id.
- getRecipe(String, int) - Static method in class net.risingworld.api.definitions.Definitions
-
Gets a crafting recipe by id and texture.
- getRegisteredKeys(boolean) - Method in class net.risingworld.api.objects.Player
-
Gets all keys that are registered by this plugin.
- getRelatedItem() - Method in class net.risingworld.api.events.world.ExplosionEvent
-
Gets the related item which caused this explosion (e.g tnt).
- getRelatedMetaObject() - Method in class net.risingworld.api.objects.WorldItem
-
If this item belongs to a meta object (i.e if
WorldItemType
isWorldItemType.MetaObject
), this method returns the meta object. - getRelatedObject() - Method in class net.risingworld.api.objects.MetaObject
-
Gets the object element which represents this meta object in the world.
- getRelatedObject() - Method in class net.risingworld.api.objects.Sign
-
Gets the object element which represents this meta object in the world.
- getRelatedPlayer() - Method in class net.risingworld.api.events.npc.NpcAddClothesEvent
-
Gets the player who is involved in this action (or null if no player is involved).
- getRelatedPlayer() - Method in class net.risingworld.api.events.npc.NpcAddSaddleBagEvent
-
Gets the player who wants to put the saddle bag on the mount.
- getRelatedPlayer() - Method in class net.risingworld.api.events.npc.NpcAddSaddleEvent
-
Gets the player who wants to put the saddle on the mount.
- getRelatedPlayer() - Method in class net.risingworld.api.events.npc.NpcRemoveClothesEvent
-
Gets the player who is involved in this action (or null if no player is involved).
- getRelatedPlayer() - Method in class net.risingworld.api.events.npc.NpcRemoveSaddleBagEvent
-
Gets the player who wants to remove the saddle from the mount.
- getRelatedPlayer() - Method in class net.risingworld.api.events.npc.NpcRemoveSaddleEvent
-
Gets the player who wants to remove the saddle from the mount.
- getRelatedPlayer() - Method in class net.risingworld.api.events.npc.NpcSpawnEvent
-
Returns the related player.
- getRelatedPlayer() - Method in class net.risingworld.api.events.npc.NpcTransformEvent
-
Gets the player who was involved in this transformation.
- getRelatedPlayer() - Method in class net.risingworld.api.events.world.ExplosionEvent
-
Gets the player who is responsible for this explosion.
- getRelatedPlayer() - Method in class net.risingworld.api.objects.WorldItem
-
This function returns the player that is related to this item.
- getRelativeMousePositionX() - Method in class net.risingworld.api.events.player.ui.PlayerUIElementClickEvent
-
Gets the relative (0-100 percent) x (horizontal) position of the mouse cursor (within the UI element).
- getRelativeMousePositionY() - Method in class net.risingworld.api.events.player.ui.PlayerUIElementClickEvent
-
Gets the relative (0-100 percent) y (vertical) position of the mouse cursor (within the UI element).
- getRelativePositionX(float, int) - Static method in class net.risingworld.api.utils.Utils.ChunkUtils
- getRelativePositionY(float, int) - Static method in class net.risingworld.api.utils.Utils.ChunkUtils
- getRelativePositionZ(float, int) - Static method in class net.risingworld.api.utils.Utils.ChunkUtils
- getRepetitions() - Method in class net.risingworld.api.Timer
-
Gets how often the timer is supposed to trigger / repeat.
- getRider() - Method in class net.risingworld.api.objects.Npc
-
Gets the rider of the npc, if present.
- getRoll() - Method in class net.risingworld.api.utils.Quaternion
-
Gets the roll (aka bank aka z euler angle) of this quaternion.
- getRotation() - Method in class net.risingworld.api.events.npc.NpcSpawnEvent
- getRotation() - Method in class net.risingworld.api.events.player.PlayerChangePositionEvent
- getRotation() - Method in class net.risingworld.api.events.player.PlayerDropItemEvent
-
Gets the item drop rotation (rotation of the item).
- getRotation() - Method in class net.risingworld.api.events.player.PlayerDropItemFromStorageEvent
-
Gets the item drop rotation (rotation of the item).
- getRotation() - Method in class net.risingworld.api.events.player.world.PlayerPlaceBlueprintEvent
-
Gets the world rotation of the blueprint.
- getRotation() - Method in class net.risingworld.api.events.player.world.PlayerPlaceObjectEvent
-
Gets the rotation of the object as a Quaternion.
- getRotation() - Method in class net.risingworld.api.objects.Npc
-
Gets the current rotation of the npc.
- getRotation() - Method in class net.risingworld.api.objects.Player
-
Gets the current player rotation.
- getRotation() - Method in class net.risingworld.api.objects.Vehicle
-
Gets the rotation of the vehicle.
- getRotation() - Method in class net.risingworld.api.objects.world.ConstructionElement
-
Gets the rotation of this construction element.
- getRotation() - Method in class net.risingworld.api.objects.world.ObjectElement
-
Gets the rotation of this object.
- getRotation() - Method in class net.risingworld.api.objects.world.Plant
-
Gets the rotation of this plant.
- getRotation() - Method in class net.risingworld.api.objects.WorldItem
-
Gets a Quaternion containing the current rotation of this item.
- getRoundness() - Method in class net.risingworld.api.objects.visuals.Vignette
- getRunningTime() - Method in class net.risingworld.api.Plugin
-
Gets the total running time of the game/server in seconds.
- getRunningTime() - Static method in class net.risingworld.api.Server
-
Gets the amount of seconds that have passed since game/server start.
- getSaddleBagID() - Method in class net.risingworld.api.events.npc.NpcAddSaddleBagEvent
-
Gets the clothing ID of the saddle bag.
- getSaddleBagID() - Method in class net.risingworld.api.events.npc.NpcRemoveSaddleBagEvent
-
Gets the clothing ID of the saddle bag that's about to be removed.
- getSaddleID() - Method in class net.risingworld.api.events.npc.NpcAddSaddleEvent
-
Gets the clothing ID of the saddle.
- getSaddleID() - Method in class net.risingworld.api.events.npc.NpcRemoveSaddleEvent
-
Gets the clothing ID of the saddle that's about to be removed.
- getScale() - Method in class net.risingworld.api.events.player.world.PlayerPlaceBlueprintEvent
-
Gets the scale factor of the blueprint.
- getScale() - Method in class net.risingworld.api.events.player.world.PlayerPlaceObjectEvent
-
Gets the scale factor of the object along the x, y and z axis.
- getScale() - Method in class net.risingworld.api.objects.world.ConstructionElement
-
Gets the scale (along x, y and z) of this construction element.
- getScale() - Method in class net.risingworld.api.objects.world.ObjectElement
-
Gets the scale (along x, y and z) of this object.
- getScale() - Method in class net.risingworld.api.objects.world.Plant
-
Gets the scale (along x, y and z) of this plant.
- getScreenResolutionX() - Method in class net.risingworld.api.objects.Player
-
Gets the current screen width (horizontal resolution) the player set for his game.
- getScreenResolutionY() - Method in class net.risingworld.api.objects.Player
-
Gets the current screen height (vertical resolution) the player set for his game.
- getScrollViewMode() - Method in class net.risingworld.api.ui.UIScrollView
-
Gets the scroll view mode.
- getSeason() - Method in class net.risingworld.api.events.world.SeasonChangeEvent
-
Gets the new season.
- getSeat() - Method in class net.risingworld.api.events.player.PlayerEnterVehicleEvent
- getSecondaryItem() - Method in class net.risingworld.api.objects.Npc
-
Gets the currently equipped secondary item (i.e the optional additional item the npc currently holds in his hands), or null if no secondary item is equipped.
- getSeconds() - Method in class net.risingworld.api.objects.Time
-
Gets the seconds (0-59)
- getSectorPosition() - Method in class net.risingworld.api.objects.Player
-
Gets a Vector2i containing the x and z coordinates of the current sector the player is in.
- getSeed() - Static method in class net.risingworld.api.World
-
Gets the world seed, as a string.
- getSenderName() - Method in class net.risingworld.api.events.player.PlayerBanEvent
-
Gets the name of the player who wants to ban this player.
- getSenderName() - Method in class net.risingworld.api.events.player.PlayerKickEvent
-
Gets the name of the player who wants to kick this player.
- getServerUID() - Static method in class net.risingworld.api.Server
-
Gets the UID of the server.
- getSign() - Method in class net.risingworld.api.events.player.PlayerSetSignTextEvent
-
Gets the related sign object.
- getSign(long) - Static method in class net.risingworld.api.World
-
Gets a sign instance.
- getSignID() - Method in class net.risingworld.api.events.player.PlayerSetSignTextEvent
-
Gets the related sign ID.
- getSize() - Method in class net.risingworld.api.collider.BoxCollider
- getSize() - Method in class net.risingworld.api.objects.Area
- getSize() - Method in class net.risingworld.api.objects.Item.ConstructionItem
- getSkin() - Method in class net.risingworld.api.objects.Npc
-
Gets a
Skin
object which represents the appearance of the npc, i.e gender, haircut, skin color, hair color etc. - getSkin() - Method in class net.risingworld.api.objects.Player
-
Gets a
Skin
object which represents the appearance of the character, i.e gender, haircut, skin color, hair color etc. - getSkinColor() - Method in class net.risingworld.api.objects.Skin
-
Gets the skin color of the character.
- getSkippedMinutes() - Method in class net.risingworld.api.events.general.SkipNightEvent
-
Gets the amount of minutes that will be skipped.
- getSlotCount() - Method in class net.risingworld.api.objects.Storage
-
Gets the amount of slots the storage has.
- getSlotCount(Inventory.SlotType) - Method in class net.risingworld.api.objects.Inventory
-
Gets the amount of slots the particular inventory/slot type has.
- getSlotType(int) - Static method in class net.risingworld.api.objects.Inventory
-
Converts a total index to the according inventory slot type.
- getSmoothness() - Method in class net.risingworld.api.objects.visuals.Vignette
- getSource() - Method in class net.risingworld.api.assets.Asset
- getSpawnName(SpawnPointType) - Method in class net.risingworld.api.objects.Player
-
Gets the optional spawn name for a spawn point of this player.
- getSpawnPosition() - Method in class net.risingworld.api.events.player.PlayerRespawnEvent
-
Gets the spawn position.
- getSpawnPosition() - Method in class net.risingworld.api.events.player.PlayerSpawnEvent
-
Gets the spawn coordinates (where the player will spawn this time).
- getSpawnPosition(SpawnPointType) - Method in class net.risingworld.api.objects.Player
-
Gets the spawn position for this player (i.e where the player would respawn upon death).
- getSpawnRotation() - Method in class net.risingworld.api.events.player.PlayerRespawnEvent
-
Gets the spawn rotation.
- getSpawnRotation() - Method in class net.risingworld.api.events.player.PlayerSpawnEvent
-
Gets the spawn rotation.
- getSpawnRotation(SpawnPointType) - Method in class net.risingworld.api.objects.Player
-
Gets the spawn rotation for this player (i.e where the player would respawn upon death).
- getSpawnType() - Method in class net.risingworld.api.events.player.PlayerRespawnEvent
-
Gets the type of the spawn point where the player wants to respawn.
- getSpawnType() - Method in class net.risingworld.api.events.player.PlayerSetSpawnPointEvent
-
Gets the type of the spawn point the player changes/updates.
- getSQLiteConnection(String) - Method in class net.risingworld.api.Plugin
-
Creates a new SQLite database connection (in thread-safe mode).
- getStack() - Method in class net.risingworld.api.objects.Item
-
Gets the current stack size of the item.
- getStack() - Method in class net.risingworld.api.objects.WorldItem
-
Gets the current stack size of the item.
- getStamina() - Method in class net.risingworld.api.objects.Player
-
Gets the player stamina.
- getStartBlockPosition() - Method in class net.risingworld.api.objects.Area
- getStartChunkPosition() - Method in class net.risingworld.api.objects.Area
- getStartPosition() - Method in class net.risingworld.api.events.player.PlayerCreateAreaEvent
-
Gets the selected start position for the area.
- getStartPosition() - Method in class net.risingworld.api.objects.Area
-
Gets the start world position of the area.
- getState() - Method in class net.risingworld.api.objects.Player
-
Gets the current player state (determines if player is currently sitting, lying etc).
- getStatistic(String) - Method in class net.risingworld.api.objects.Player
-
Gets the value of a statistic (e.g distance walked, trees cut etc).
- getStatus() - Method in class net.risingworld.api.events.player.world.PlayerPlaceObjectEvent
-
Gets the current status of the object.
- getStatus() - Method in class net.risingworld.api.objects.Item
-
Gets the current status of the item.
- getStatus() - Method in class net.risingworld.api.objects.MetaObject
-
Gets the current status of the meta object.
- getStatus() - Method in class net.risingworld.api.objects.world.ObjectElement
-
Gets the current status of the object.
- getStatus() - Method in class net.risingworld.api.objects.WorldItem
-
Gets the current status of the item.
- getStorage() - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryToStorageEvent
-
Gets the target storage.
- getStorage() - Method in class net.risingworld.api.events.player.inventory.PlayerStorageMoveItemEvent
-
Gets the storage.
- getStorage() - Method in class net.risingworld.api.events.player.inventory.PlayerStorageToInventoryEvent
-
Gets the storage.
- getStorage() - Method in class net.risingworld.api.events.player.PlayerDropItemFromStorageEvent
-
Gets the storage.
- getStorage() - Method in class net.risingworld.api.events.player.PlayerStorageAccessEvent
- getStorage() - Method in class net.risingworld.api.events.player.ui.PlayerToggleInventoryEvent
-
If a storage is accessed, this is the particular storage.
- getStorage(long) - Static method in class net.risingworld.api.World
-
Gets the storage with the provided id (i.e the content of the storage).
- getStorageDefinition(String) - Static method in class net.risingworld.api.definitions.Definitions
-
Gets a storage definition by name, using the internal name (e.g "chest1" or "leathertrunk" etc).
- getStorageID() - Method in class net.risingworld.api.events.npc.NpcAddSaddleBagEvent
-
Gets the storage ID that will be assigned to the saddle bag.
- getStorageID() - Method in class net.risingworld.api.events.npc.NpcRemoveSaddleBagEvent
-
Gets the storage ID of the saddle bag.
- getStorageID() - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryToStorageEvent
-
Gets the ID of the target storage.
- getStorageID() - Method in class net.risingworld.api.events.player.inventory.PlayerStorageMoveItemEvent
-
Gets the ID of the storage.
- getStorageID() - Method in class net.risingworld.api.events.player.inventory.PlayerStorageToInventoryEvent
-
Gets the ID of the storage.
- getStorageID() - Method in class net.risingworld.api.events.player.PlayerDropItemFromStorageEvent
-
Gets the ID of the storage.
- getStorageID() - Method in class net.risingworld.api.events.player.PlayerStorageAccessEvent
-
Gets the storage ID.
- getStorageSlot() - Method in class net.risingworld.api.events.player.inventory.PlayerStorageMoveItemEvent
-
Gets the slot of the item that is about to be moved.
- getStorageSlot() - Method in class net.risingworld.api.events.player.inventory.PlayerStorageToInventoryEvent
-
Gets the item slot in the storage (where the player got the item from).
- getStorageSlot() - Method in class net.risingworld.api.events.player.PlayerDropItemFromStorageEvent
-
Gets the item slot in the storage (where the player got the item from).
- getStrength() - Method in class net.risingworld.api.objects.Vehicle
- getStrength() - Method in class net.risingworld.api.objects.world.ConstructionElement
-
Gets the remaining strength of the construction element (if strength goes to 0, e.g after hitting the construction element, it will break).
- getStrength() - Method in class net.risingworld.api.objects.world.ObjectElement
-
Gets the remaining strength of the object (if strength goes to 0, e.g after hitting the object, the object breaks).
- getStrength() - Method in class net.risingworld.api.objects.world.Plant
-
Gets the remaining strength of the plant (if strength goes to 0, e.g after hitting the plant, the plant breaks - or in case of trees, it falls).
- getSubMeshCount() - Method in class net.risingworld.api.assets.MeshAsset
- getSurfaceOffset() - Method in class net.risingworld.api.objects.world.ConstructionElement
- getSurfaceScale() - Method in class net.risingworld.api.objects.world.ConstructionElement
- getSystemLanguage() - Method in class net.risingworld.api.objects.Player
-
Gets the current system language of the player.
- getTangents() - Method in class net.risingworld.api.assets.MeshAsset
- getTargetHour() - Method in class net.risingworld.api.events.general.SkipNightEvent
-
Gets the target time (hour), i.e the new time after skipping the night.
- getTargetInventorySlot() - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryMoveItemEvent
-
Gets the target slot, i.e the slot the item will be moved to.
- getTargetInventorySlot() - Method in class net.risingworld.api.events.player.inventory.PlayerStorageToInventoryEvent
-
Gets the target inventory slot (where the item will be moved to).
- getTargetInventorySlot() - Method in class net.risingworld.api.events.player.PlayerPickupItemEvent
-
Gets the destinated slot in the players inventory where the item will be added to.
- getTargetInventorySlotType() - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryMoveItemEvent
-
Gets the target slot type (e.g quickslot, equipment etc) where the item will be moved to.
- getTargetInventorySlotType() - Method in class net.risingworld.api.events.player.inventory.PlayerStorageToInventoryEvent
-
Gets the target inventory slot type (e.g quickslot, equipment etc) where the item will be moved to.
- getTargetInventorySlotType() - Method in class net.risingworld.api.events.player.PlayerPickupItemEvent
-
Gets the destinated inventory / slot type in the players inventory where the item will be added to.
- getTargetItem() - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryMoveItemEvent
-
Gets the item in the target slot in the storage, i.e the item that will be exchanged with the first item.
- getTargetItem() - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryToStorageEvent
-
Gets the target item in the storage (i.e the item in the target slot).
- getTargetItem() - Method in class net.risingworld.api.events.player.inventory.PlayerStorageMoveItemEvent
-
Gets the item in the target slot, i.e the item that will be exchanged with the first item.
- getTargetItem() - Method in class net.risingworld.api.events.player.inventory.PlayerStorageToInventoryEvent
-
Gets the item in the target slot in the inventory, i.e the item that will be exchanged with the first item.
- getTargetMinutes() - Method in class net.risingworld.api.events.general.SkipNightEvent
-
Gets the target time (minutes), i.e the new time after skipping the night.
- getTargetPlayer() - Method in class net.risingworld.api.events.player.PlayerHitPlayerEvent
-
Gets the target player, i.e the player who was hit.
- getTargetPlayer() - Method in class net.risingworld.api.events.player.PlayerPlayerInteractionEvent
-
Gets the target player (i.e the other player the player interacts with).
- getTargetPlayer() - Method in class net.risingworld.api.events.player.PlayerPrivateMessageEvent
-
Gets the recipient of the message.
- getTargetPosition() - Method in class net.risingworld.api.events.player.PlayerTeleportEvent
-
Gets the new position of the player.
- getTargetStorageSlot() - Method in class net.risingworld.api.events.player.inventory.PlayerInventoryToStorageEvent
-
Gets the slot in the target storage where the item will be moved to.
- getTargetStorageSlot() - Method in class net.risingworld.api.events.player.inventory.PlayerStorageMoveItemEvent
-
Gets the target slot, i.e the slot the item will be moved to.
- getTask() - Method in class net.risingworld.api.Timer
-
Gets the task which will be executed once the timer triggers, or null if no task was set for this timer.
- getTemperature() - Method in class net.risingworld.api.events.player.PlayerUpdateStatusEvent
-
Gets the new temperature value.
- getTemperature() - Method in class net.risingworld.api.objects.Player
-
Gets the current player temperature (in celsius).
- getTemperature() - Method in class net.risingworld.api.objects.visuals.WhiteBalance
- getTemperature(float, float, float) - Static method in class net.risingworld.api.World
-
Gets the current environment temperature at a given location.
- getTerrain() - Method in class net.risingworld.api.objects.world.ChunkPart
-
Gets the 3d terrain voxel data as a flattened byte array.
- getTerrainID() - Method in class net.risingworld.api.events.player.world.PlayerCreativeTerrainEditEvent
-
Gets the terrain id the player wants to place.
- getTerrainID() - Method in class net.risingworld.api.events.player.world.PlayerDestroyTerrainEvent
-
Gets the terrain id the player is going to destroy.
- getTerrainID() - Method in class net.risingworld.api.events.player.world.PlayerPlaceTerrainEvent
-
Gets the terrain id the player wants to place.
- getTerrainID(int, int, int) - Method in class net.risingworld.api.objects.world.ChunkPart
-
Gets the terrain id at a particular index.
- getTerrainIndex(int, int) - Static method in class net.risingworld.api.objects.world.Chunk
- getTerrainIndex(int, int, int) - Static method in class net.risingworld.api.objects.world.ChunkPart
- getText() - Method in class net.risingworld.api.events.player.PlayerSetSignTextEvent
-
Gets the text the player wants to set for this sign.
- getText() - Method in class net.risingworld.api.events.player.ui.PlayerUIInputTextEvent
-
Gets the text the player has entered.
- getText() - Method in class net.risingworld.api.objects.Sign
-
Gets the text of this sign.
- getText() - Method in class net.risingworld.api.ui.UILabel
-
Gets the currently set text of the label.
- getText() - Method in class net.risingworld.api.worldelements.Text3D
- getTextAnchor() - Method in class net.risingworld.api.objects.Sign
-
Gets the text anchor, i.e the pivot positioni of the text.
- getTexture() - Method in class net.risingworld.api.events.player.PlayerCraftItemEvent
-
Gets the texture of the item/recipe.
- getTexture() - Method in class net.risingworld.api.events.player.world.PlayerConstructionEvent
-
Gets the texture of the construction element.
- getTexture() - Method in class net.risingworld.api.objects.world.ConstructionElement
- getTextureFormat() - Method in class net.risingworld.api.objects.CustomImage
-
Gets the internal texture format.
- getTexturePixelData() - Method in class net.risingworld.api.objects.CustomImage
-
Gets the image pixel data.
- getTextureScale() - Method in class net.risingworld.api.assets.MaterialAsset
- getTextureScale() - Method in class net.risingworld.api.objects.world.ConstructionElement
- getTextWrappingMode() - Method in class net.risingworld.api.worldelements.Text3D
- getThirst() - Method in class net.risingworld.api.events.player.PlayerUpdateStatusEvent
-
Gets the new thirst value.
- getThirst() - Method in class net.risingworld.api.objects.Npc
-
Gets the current thirst level of the npc.
- getThirst() - Method in class net.risingworld.api.objects.Player
-
Gets the current thirst level of the player.
- getTick() - Method in class net.risingworld.api.Timer
-
Used internally! Returns the current "tick" of this timer.
- getTime(Time.Unit) - Method in class net.risingworld.api.objects.Time
- getTint() - Method in class net.risingworld.api.objects.visuals.WhiteBalance
- getTotalCount() - Method in class net.risingworld.api.events.player.world.PlayerPlaceConstructionEvent
-
Gets the total amount of elements the player is about to place.
- getTotalPlayerCount() - Static method in class net.risingworld.api.Server
-
Gets the total amount of players that were ever connected to this server in the past.
- getTotalPlayTime() - Method in class net.risingworld.api.objects.Player
-
Gets the total amount of time the player has spent on this server (or more precisely, the amount of time the player has spent on this world).
- getTpf() - Method in class net.risingworld.api.events.general.LateUpdateEvent
-
Gets the time-per-frame, i.e the amount of seconds between the last call and this call.
- getTpf() - Method in class net.risingworld.api.events.general.UpdateEvent
-
Gets the time-per-frame, i.e the amount of seconds between the last call and this call.
- getTrackDuration() - Method in class net.risingworld.api.events.player.PlayGameMusicEvent
-
Gets the duration of the music track, in milliseconds
- getTrackName() - Method in class net.risingworld.api.events.player.PlayGameMusicEvent
-
Gets the name of the music track.
- getTriangleIndex() - Method in class net.risingworld.api.utils.RaycastResult
-
Gets the triangle index of the hit element mesh.
- getTrigger() - Method in class net.risingworld.api.events.npc.NpcTransformEvent
-
Gets the trigger of the npc transformation, i.e what caused the npc to transform.
- getTrigger() - Method in class net.risingworld.api.events.world.ItemTransformEvent
-
Gets the trigger of the item transformation, i.e what caused the item to transform.
- getType() - Method in class net.risingworld.api.assets.Asset
- getType() - Method in class net.risingworld.api.collider.Collider
-
Gets the collider type.
- getType() - Method in interface net.risingworld.api.database.Database
-
Gets the database type.
- getType() - Method in class net.risingworld.api.events.player.PlayerUpdateStatusEvent
-
Gets the update type.
- getType() - Static method in class net.risingworld.api.Server
-
Gets the current type of the server.
- getTypeID() - Method in class net.risingworld.api.events.npc.NpcSpawnEvent
-
Gets the type ID of the npc.
- getTypeID() - Method in class net.risingworld.api.events.player.world.PlayerConstructionEvent
-
Gets the type ID of the construction element.
- getTypeID() - Method in class net.risingworld.api.events.player.world.PlayerObjectEvent
-
Gets the type ID of the object.
- getTypeID() - Method in class net.risingworld.api.events.player.world.PlayerVegetationEvent
-
Gets the type ID of the plant.
- getTypeID() - Method in class net.risingworld.api.objects.Item
-
Gets the type ID of the item.
- getTypeID() - Method in class net.risingworld.api.objects.Npc
-
Gets the type ID of the npc, i.e the internal ID of the npc in the definitions database.
- getTypeID() - Method in class net.risingworld.api.objects.Vehicle
-
Gets the type ID of the vehicle.
- getTypeID() - Method in class net.risingworld.api.objects.world.ConstructionElement
- getTypeID() - Method in class net.risingworld.api.objects.world.ObjectElement
-
Gets the object type ID.
- getTypeID() - Method in class net.risingworld.api.objects.world.Plant
- getTypeID() - Method in class net.risingworld.api.objects.WorldItem
-
Gets the type ID of the item.
- getUID() - Method in class net.risingworld.api.objects.Player
-
Gets the globally unique ID of the player.
- getUIElement() - Method in class net.risingworld.api.events.player.ui.PlayerUIElementClickEvent
-
Gets the UI element that was clicked.
- getUITextField() - Method in class net.risingworld.api.events.player.ui.PlayerUIInputTextEvent
-
Gets the text field element where the player has entered text.
- getUITextField() - Method in class net.risingworld.api.events.player.ui.PlayerUITextFieldChangeEvent
-
Gets the text field element that was changed.
- getUnit() - Method in class net.risingworld.api.ui.style.StyleLength
- getUnitX() - Method in class net.risingworld.api.ui.style.StyleTransformOrigin
- getUnitX() - Method in class net.risingworld.api.ui.style.StyleTranslate
- getUnitY() - Method in class net.risingworld.api.ui.style.StyleTransformOrigin
- getUnitY() - Method in class net.risingworld.api.ui.style.StyleTranslate
- getUnixTimestamp() - Static method in class net.risingworld.api.utils.Utils.GeneralUtils
- getUVs(int) - Method in class net.risingworld.api.assets.MeshAsset
- getValue() - Method in class net.risingworld.api.objects.Item
-
Gets the current value of the item.
- getValue() - Method in class net.risingworld.api.objects.WorldItem
-
Gets the current value of the item.
- getVariant() - Method in class net.risingworld.api.events.player.PlayerCraftItemEvent
-
Gets the variant of the item/recipe.
- getVariant() - Method in class net.risingworld.api.objects.Item
-
Gets the item variant, i.e the texture of the item.
- getVariant() - Method in class net.risingworld.api.objects.Npc
-
Gets the variant of the npc.
- getVariant() - Method in class net.risingworld.api.objects.world.ObjectElement
-
Gets the object variant.
- getVariant() - Method in class net.risingworld.api.objects.WorldItem
-
Gets the item variant, i.e the texture of the item.
- getVariant(int) - Method in class net.risingworld.api.definitions.Items.ItemDefinition
-
Gets a item variant.
- getVariant(int) - Method in class net.risingworld.api.definitions.Objects.ObjectDefinition
-
Gets an object variant.
- getVariation() - Method in class net.risingworld.api.events.npc.NpcSpawnEvent
- getVariation() - Method in class net.risingworld.api.objects.Skin
-
Gets the variation of the skin.
- getVectorToNearestPlayer() - Method in class net.risingworld.api.objects.Npc
-
Gets a normalized vector from the npc position to the position of the nearest player.
- getVehicle() - Method in class net.risingworld.api.events.player.PlayerVehicleEvent
-
Gets the vehicle.
- getVehicle() - Method in class net.risingworld.api.objects.Player
-
If the player is currently passenger in a vehicle, this method returns the vehicle.
- getVehicle(long) - Static method in class net.risingworld.api.World
-
Gets the vehicle with the provided id.
- getVehicleAssembly(String, int) - Static method in class net.risingworld.api.definitions.Definitions
-
Gets a vehicle assembly definition by vehicle name and construction stage.
- getVehicleDefinition(int) - Static method in class net.risingworld.api.definitions.Definitions
-
Gets a vehicle definition by id.
- getVehicleDefinition(String) - Static method in class net.risingworld.api.definitions.Definitions
-
Gets a vehicle definition by name.
- getVersion() - Static method in class net.risingworld.api.Server
-
Gets the current game version as a String (e.g "0.9.1.5").
- getVertexCount() - Method in class net.risingworld.api.assets.MeshAsset
-
Gets the amount of vertices that are currently set (i.e the length of the internal vertex list).
- getVerticalPageSize() - Method in class net.risingworld.api.ui.UIScrollView
- getVerticalScrollerVisibility() - Method in class net.risingworld.api.ui.UIScrollView
-
Gets the visibility setting for the vertical scroll element.
- getVertices() - Method in class net.risingworld.api.assets.MeshAsset
- getViewDirection() - Method in class net.risingworld.api.objects.Npc
-
Gets the current view direction of the npc as a normalized vector.
- getViewDirection() - Method in class net.risingworld.api.objects.Player
-
Gets the current view direction of the player.
- getViewPosition() - Method in class net.risingworld.api.objects.Player
-
Gets the view position of the player, i.e the world position of the player eyes.
- getW() - Method in class net.risingworld.api.utils.Quaternion
-
Returns the W value of this Quaternion.
- getW() - Method in class net.risingworld.api.utils.Vector4f
-
Returns the w value of this vector.
- getWaitTime() - Method in class net.risingworld.api.events.player.PlayerStartFishingEvent
-
Gets the time (in seconds) the player has to wait until a fish bites.
- getWaterDepth() - Method in class net.risingworld.api.events.player.PlayerStartFishingEvent
-
Gets the current water depth.
- getWaterID() - Method in class net.risingworld.api.events.player.PlayerStartFishingEvent
-
Gets the water ID, i.e salt water, fresh water etc.
- getWaterID() - Method in class net.risingworld.api.events.player.world.PlayerPlaceWaterEvent
-
Gets the id of the water block the player wants to place.
- getWaterID() - Method in class net.risingworld.api.events.player.world.PlayerRemoveWaterEvent
-
Gets the id of the water block the player is going to destroy.
- getWeapon() - Method in class net.risingworld.api.events.player.PlayerWeaponFireEvent
-
Gets the weapon item.
- getWeapon() - Method in class net.risingworld.api.events.player.PlayerWeaponReloadEvent
-
Gets the related item (the weapon that is reloaded).
- getWeaponDefinition(String) - Static method in class net.risingworld.api.definitions.Definitions
- getWeather(int) - Static method in class net.risingworld.api.definitions.Definitions
-
Gets a weather definition by id.
- getWeather(String) - Static method in class net.risingworld.api.definitions.Definitions
-
Gets a weather definition by name, using the internal name (e.g "overcast" or "default" etc).
- getWeatherTransition() - Static method in class net.risingworld.api.Server
-
Gets the transition between the current weather type (0.0) and the next weather type (1.0).
- getWeight() - Method in class net.risingworld.api.worldelements.PostProcessingVolume
- getWetness() - Method in class net.risingworld.api.objects.Player
-
Gets the current damp/wetness level of the player (0-100).
- getWidth() - Method in class net.risingworld.api.objects.CustomImage
-
Gets the width of the texture.
- getWorldDamage() - 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.
- getWorldDatabase(WorldDatabase.Target) - Method in class net.risingworld.api.Plugin
-
Gets an interface providing access to the world database.
- getWorldFolder() - Static method in class net.risingworld.api.World
-
Gets the world folder, i.e the folder of the currently loaded world, e.g
/Rising World/Worlds/New World/
- getWorldItem() - Method in class net.risingworld.api.events.player.PlayerDropItemEvent
-
Gets the newly created world item representation of the item that is about to be dropped.
- getWorldItem() - Method in class net.risingworld.api.events.player.PlayerDropItemFromStorageEvent
-
Gets the newly created world item representation of the item that is about to be dropped.
- getWorldItemType() - Method in class net.risingworld.api.objects.WorldItem
- getWorldPartPosition() - Method in class net.risingworld.api.objects.Player
-
Gets a Vector2i containing the x and z coordinates of the current world part the player is in.
- getWorldPosition() - Method in class net.risingworld.api.events.player.PlayerDrinkWaterEvent
-
Gets the world position of the water source.
- getWorldPosition() - Method in class net.risingworld.api.objects.MetaObject
-
Gets the world position of the object.
- getWorldPosition() - Method in class net.risingworld.api.objects.Sign
-
Gets the world position of the sign.
- getWorldPosition() - Method in class net.risingworld.api.objects.world.ConstructionElement
-
Gets the world position of this element.
- getWorldPosition() - Method in class net.risingworld.api.objects.world.ObjectElement
-
Gets the world position of this object.
- getWorldPosition() - Method in class net.risingworld.api.objects.world.Plant
-
Gets the world position of this plant.
- getWorldsFolder() - Static method in class net.risingworld.api.World
-
Gets the main worlds folder, i.e the folder where all worlds are located.
- getWorldType() - Static method in class net.risingworld.api.World
-
Gets the world type (e.g "Superflat").
- getX() - Method in class net.risingworld.api.ui.style.StyleScale
- getX() - Method in class net.risingworld.api.ui.style.StyleTransformOrigin
- getX() - Method in class net.risingworld.api.ui.style.StyleTranslate
- getX() - Method in class net.risingworld.api.utils.Quaternion
-
Returns the X value of this Quaternion.
- getX() - Method in class net.risingworld.api.utils.Vector2f
-
Returns the x value of this vector.
- getX() - Method in class net.risingworld.api.utils.Vector2i
-
Returns the x value of this vector.
- getX() - Method in class net.risingworld.api.utils.Vector3f
-
Returns the x value of this vector.
- getX() - Method in class net.risingworld.api.utils.Vector3i
-
Returns the x value of this vector.
- getX() - Method in class net.risingworld.api.utils.Vector4f
-
Returns the x value of this vector.
- getXExtent() - Method in class net.risingworld.api.utils.Bounds
-
Gets the (half) extent along the x axis.
- getXYZInFrontOfPlayer(Player, float) - Static method in class net.risingworld.api.utils.Utils.VectorUtils
-
Gets the position in front of the player (with the given distance to the player).
- getXYZInFrontOfPlayer(Player, float, Vector3f) - Static method in class net.risingworld.api.utils.Utils.VectorUtils
-
Gets the position in front of the player (with the given distance to the player).
- getXZInFrontOfPlayer(Player, float) - Static method in class net.risingworld.api.utils.Utils.VectorUtils
- getXZInFrontOfPlayer(Player, float, Vector3f) - Static method in class net.risingworld.api.utils.Utils.VectorUtils
- getY() - Method in class net.risingworld.api.ui.style.StyleScale
- getY() - Method in class net.risingworld.api.ui.style.StyleTransformOrigin
- getY() - Method in class net.risingworld.api.ui.style.StyleTranslate
- getY() - Method in class net.risingworld.api.utils.Quaternion
-
Returns the Y value of this Quaternion.
- getY() - Method in class net.risingworld.api.utils.Vector2f
-
Returns the y value of this vector.
- getY() - Method in class net.risingworld.api.utils.Vector2i
-
Returns the y value of this vector.
- getY() - Method in class net.risingworld.api.utils.Vector3f
-
Returns the y value of this vector.
- getY() - Method in class net.risingworld.api.utils.Vector3i
-
Returns the y value of this vector.
- getY() - Method in class net.risingworld.api.utils.Vector4f
-
Returns the y value of this vector.
- getYaw() - Method in class net.risingworld.api.utils.Quaternion
-
Gets the yaw (aka heading aka y euler angle) of this quaternion.
- getYear() - Method in class net.risingworld.api.objects.Time
-
Gets the current year (initial year is 0)
- getYExtent() - Method in class net.risingworld.api.utils.Bounds
-
Gets the (half) extent along the y axis.
- getZ() - Method in class net.risingworld.api.utils.Quaternion
-
Returns the Z value of this Quaternion.
- getZ() - Method in class net.risingworld.api.utils.Vector3f
-
Returns the z value of this vector.
- getZ() - Method in class net.risingworld.api.utils.Vector3i
-
Returns the z value of this vector.
- getZ() - Method in class net.risingworld.api.utils.Vector4f
-
Returns the z value of this vector.
- getZExtent() - Method in class net.risingworld.api.utils.Bounds
-
Gets the (half) extent along the z axis.
- Glass - Enum constant in enum class net.risingworld.api.definitions.Constructions.BlockType
- Glass - Enum constant in enum class net.risingworld.api.definitions.Crafting.SubCategory
- Glass - Enum constant in enum class net.risingworld.api.definitions.Items.Group
- Glass - Enum constant in enum class net.risingworld.api.definitions.Items.Material
- Glass - Enum constant in enum class net.risingworld.api.definitions.Objects.Material
- Glass - Enum constant in enum class net.risingworld.api.definitions.Vehicles.Material
- Godly - Enum constant in enum class net.risingworld.api.definitions.Items.Modifier
-
Legendary
- Gold - Enum constant in enum class net.risingworld.api.definitions.Terrain
- Gothic - Enum constant in enum class net.risingworld.api.ui.style.Font
- Gothic2 - Enum constant in enum class net.risingworld.api.ui.style.Font
- Grass - Enum constant in enum class net.risingworld.api.definitions.Items.Material
- Grass - Enum constant in enum class net.risingworld.api.definitions.Objects.Material
- Grass - Enum constant in enum class net.risingworld.api.definitions.Plants.TerrainMaterialType
- Grass - Enum constant in enum class net.risingworld.api.definitions.Terrain
- GRASS - Static variable in class net.risingworld.api.utils.Layer
- GrassArid - Enum constant in enum class net.risingworld.api.definitions.Terrain
- GrassAridForest - Enum constant in enum class net.risingworld.api.definitions.Terrain
- GrassDead - Enum constant in enum class net.risingworld.api.definitions.Terrain
- GrassDry - Enum constant in enum class net.risingworld.api.definitions.Terrain
- GrassForest - Enum constant in enum class net.risingworld.api.definitions.Terrain
- GrassFrozen - Enum constant in enum class net.risingworld.api.definitions.Terrain
- GrassJungle - Enum constant in enum class net.risingworld.api.definitions.Terrain
- GrassSea - Enum constant in enum class net.risingworld.api.definitions.Terrain
- GrassSeaweed - Enum constant in enum class net.risingworld.api.definitions.Terrain
- Gravel - Enum constant in enum class net.risingworld.api.definitions.Plants.TerrainMaterialType
- Gravel1 - Enum constant in enum class net.risingworld.api.definitions.Terrain
- Gravel2 - Enum constant in enum class net.risingworld.api.definitions.Terrain
- Gravel3 - Enum constant in enum class net.risingworld.api.definitions.Terrain
- Green - Static variable in class net.risingworld.api.utils.ColorRGBA
-
Green color (0, 1, 0)
- Grey - Static variable in class net.risingworld.api.utils.ColorRGBA
-
Grey color (0.5, 0.5, 0.5)
- Grill - Enum constant in enum class net.risingworld.api.definitions.Objects.Type
- Grinder - Enum constant in enum class net.risingworld.api.definitions.Objects.Type
- Grindstone - Enum constant in enum class net.risingworld.api.definitions.Objects.Type
- Ground - Enum constant in enum class net.risingworld.api.definitions.Objects.Pedestal
- grounddot - Variable in class net.risingworld.api.definitions.Npcs.NpcDefinition
-
Max steepness (result of the dot product between terrain normal and up vector) of terrain where the npc can still walk.
- group - Variable in class net.risingworld.api.definitions.Crafting.Recipe.Ingredient
-
Group of the related item.
- group - Variable in class net.risingworld.api.definitions.Items.ItemDefinition
-
Item group flags
- Growing - Enum constant in enum class net.risingworld.api.definitions.Plants.Stage
- growingseasons - Variable in class net.risingworld.api.definitions.Plants.PlantDefinition
-
Seasons during which the plant can grow.
- Growth - Enum constant in enum class net.risingworld.api.events.npc.NpcTransformEvent.Trigger
-
Baby npc grows up
- growthtime - Variable in class net.risingworld.api.definitions.Plants.PlantDefinition
-
Duration (seconds) until the next growth stage is reached
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form