- Enclosing class:
- SoundPlayingCallback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
void
Called when the client received a sound data packet.
-
Method Details
-
run
Called when the client received a sound data packet.
- Parameters:
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.