Package | Description |
---|---|
net.risingworld.api.events.player | |
net.risingworld.api.events.world | |
net.risingworld.api.objects | |
net.risingworld.api.worldelements |
Modifier and Type | Method and Description |
---|---|
WorldElement |
PlayerElementCollisionEvent.getWorldElement()
Gets the world element.
|
WorldElement |
PlayerElementHitEvent.getWorldElement()
Gets the world element that was hit by the player.
|
WorldElement |
PlayerElementInteractionEvent.getWorldElement()
Gets the world element the player was interacting with.
|
Constructor and Description |
---|
PlayerElementCollisionEvent(Player player,
WorldElement worldElement,
boolean colliding,
float appliedImpulse) |
PlayerElementHitEvent(Player player,
WorldElement worldElement,
Vector3f hitPosition,
Vector3f hitNormal) |
PlayerElementInteractionEvent(Player player,
WorldElement worldElement) |
Modifier and Type | Method and Description |
---|---|
WorldElement |
ItemElementCollisionEvent.getWorldElement()
Gets the world element.
|
Constructor and Description |
---|
ItemElementCollisionEvent(WorldItem item,
WorldElement worldElement,
boolean colliding,
float appliedImpulse) |
Modifier and Type | Method and Description |
---|---|
java.util.List<WorldElement> |
Player.getAllWorldElements() |
Modifier and Type | Method and Description |
---|---|
void |
Player.addWorldElement(WorldElement worldElement)
Adds the provided
WorldElement to the player's world. |
void |
Player.removeWorldElement(WorldElement worldElement)
Removes a
WorldElement from the player's world. |
Modifier and Type | Class and Description |
---|---|
class |
World3DModel
A custom 3D model in the game world.
|
class |
World3DText
A 3D text in the game world.
|
class |
WorldArea
A world area in the game world.
|