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