Verwendungen von Klasse
net.risingworld.api.sounds.Sound
-
Verwendungen von Sound in net.risingworld.api.objects
Modifizierer und TypMethodeBeschreibungPlayer.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.