| Package | Description |
|---|---|
| net.risingworld.api.objects |
| Modifier and Type | Method and Description |
|---|---|
int |
Player.playSound(SoundInformation sound)
Plays a custom 2D sound (i.e. it can be heard everywhere, but only by this player).
|
int |
Player.playSound(SoundInformation sound,
boolean loop,
float volume,
float pitch,
float minDistance,
float maxDistance,
Vector3f position)
Plays a custom 3D sound at the given position.
|
int |
Player.playSound(SoundInformation sound,
Vector3f position)
Plays a custom 3D sound at the given position.
|