Package de.mrjulsen.dragnsounds.net.cts
Klasse SoundCreatedResponsePacket
java.lang.Object
de.mrjulsen.dragnsounds.net.cts.SoundCreatedResponsePacket
- Alle implementierten Schnittstellen:
de.mrjulsen.mcdragonlib.net.IPacketBase<SoundCreatedResponsePacket>
public class SoundCreatedResponsePacket
extends Object
implements de.mrjulsen.mcdragonlib.net.IPacketBase<SoundCreatedResponsePacket>
-
Konstruktorübersicht
KonstruktorBeschreibungSoundCreatedResponsePacket
(long soundId, SoundPlayingCallback.ESoundPlaybackStatus status) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdecode
(net.minecraft.network.FriendlyByteBuf buf) void
encode
(SoundCreatedResponsePacket packet, net.minecraft.network.FriendlyByteBuf buf) void
handle
(SoundCreatedResponsePacket packet, Supplier<dev.architectury.networking.NetworkManager.PacketContext> contextSupplier)
-
Konstruktordetails
-
SoundCreatedResponsePacket
public SoundCreatedResponsePacket() -
SoundCreatedResponsePacket
-
-
Methodendetails
-
encode
- Angegeben von:
encode
in Schnittstellede.mrjulsen.mcdragonlib.net.IPacketBase<SoundCreatedResponsePacket>
-
decode
- Angegeben von:
decode
in Schnittstellede.mrjulsen.mcdragonlib.net.IPacketBase<SoundCreatedResponsePacket>
-
handle
public void handle(SoundCreatedResponsePacket packet, Supplier<dev.architectury.networking.NetworkManager.PacketContext> contextSupplier) - Angegeben von:
handle
in Schnittstellede.mrjulsen.mcdragonlib.net.IPacketBase<SoundCreatedResponsePacket>
-