| Package | Description |
|---|---|
| net.risingworld.api.utils | |
| net.risingworld.api.worldelements |
| Modifier and Type | Method and Description |
|---|---|
static Crosshair |
Crosshair.getCrosshair(byte id)
Gets the
crosshair which has the provided id. |
static Crosshair |
Crosshair.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Crosshair[] |
Crosshair.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Crosshair |
World3DModel.getInteractionCrosshair()
Gets the current crosshair that will be shown to the player when he looks
at this element (as long as
World3DModel.setInteractable(boolean) is set to true). |
| Modifier and Type | Method and Description |
|---|---|
void |
World3DModel.setInteractionCrosshair(Crosshair crosshair)
Sets the crosshair for this element.
|