Class NoteSoundPayload
-
- All Implemented Interfaces:
-
net.minecraft.network.protocol.common.custom.CustomPacketPayload
@JvmRecord() public final class NoteSoundPayload extends Record implements CustomPacketPayload
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classNoteSoundPayload.Companion
-
Field Summary
Fields Modifier and Type Field Description private final BytenoteOrdinalprivate final Booleanplayingpublic final static NoteSoundPayload.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description NoteSoundPayload(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()
-
-
-
-