- Umschließende Klasse:
SoundPlayingCallback
- Funktionsschnittstelle:
- Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.
-
Methodenübersicht
void
Called when the client received a sound data packet.
-
Methodendetails
-
run
Called when the client received a sound data packet.
- Parameter:
player - The player.
soundId - The id of the custom sound.
status - true if the client has started playing the sound, false when the client has only received the first data packet.