Uses of Class
net.risingworld.api.sounds.Sound
-
Uses of Sound in net.risingworld.api.objects
Modifier and TypeMethodDescriptionPlayer.playSound
(SoundAsset sound) Plays a custom 2D sound (i.e it can be heard everywhere, but only by this player).Player.playSound
(SoundAsset sound, boolean loop, float volume, float pitch, float minDistance, float maxDistance, Vector3f position) Plays a custom 3D sound at the given position.Player.playSound
(SoundAsset sound, boolean loop, float volume, float pitch, Vector3f position) Plays a custom 3D sound at the given position.Player.playSound
(SoundAsset sound, Vector3f position) Plays a custom 3D sound at the given position.