Class ClientboundNoteSoundPayload
-
- All Implemented Interfaces:
-
net.minecraft.network.protocol.common.custom.CustomPacketPayload
@JvmRecord() public final class ClientboundNoteSoundPayload extends Record implements CustomPacketPayload
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classClientboundNoteSoundPayload.Companion
-
Field Summary
Fields Modifier and Type Field Description private final BytenoteOrdinalprivate final Booleanplayingprivate final UUIDplayerpublic final static ClientboundNoteSoundPayload.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description ClientboundNoteSoundPayload(Byte noteOrdinal, Boolean playing, UUID player)
-
Method Summary
Modifier and Type Method Description final BytegetNoteOrdinal()final BooleangetPlaying()final UUIDgetPlayer()CustomPacketPayload.Type<out CustomPacketPayload>type()-
-
Method Detail
-
getNoteOrdinal
final Byte getNoteOrdinal()
-
getPlaying
final Boolean getPlaying()
-
type
CustomPacketPayload.Type<out CustomPacketPayload> type()
-
-
-
-