Package de.mrjulsen.dragnsounds.net.stc
Class SoundPlayingCheckPacket
java.lang.Object
de.mrjulsen.dragnsounds.net.stc.SoundPlayingCheckPacket
- All Implemented Interfaces:
de.mrjulsen.mcdragonlib.net.IPacketBase<SoundPlayingCheckPacket>
public class SoundPlayingCheckPacket
extends Object
implements de.mrjulsen.mcdragonlib.net.IPacketBase<SoundPlayingCheckPacket>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondecode
(net.minecraft.network.FriendlyByteBuf buf) void
encode
(SoundPlayingCheckPacket packet, net.minecraft.network.FriendlyByteBuf buf) void
handle
(SoundPlayingCheckPacket packet, Supplier<dev.architectury.networking.NetworkManager.PacketContext> contextSupplier)
-
Constructor Details
-
SoundPlayingCheckPacket
public SoundPlayingCheckPacket() -
SoundPlayingCheckPacket
public SoundPlayingCheckPacket(long requestId, long soundId)
-
-
Method Details
-
encode
- Specified by:
encode
in interfacede.mrjulsen.mcdragonlib.net.IPacketBase<SoundPlayingCheckPacket>
-
decode
- Specified by:
decode
in interfacede.mrjulsen.mcdragonlib.net.IPacketBase<SoundPlayingCheckPacket>
-
handle
public void handle(SoundPlayingCheckPacket packet, Supplier<dev.architectury.networking.NetworkManager.PacketContext> contextSupplier) - Specified by:
handle
in interfacede.mrjulsen.mcdragonlib.net.IPacketBase<SoundPlayingCheckPacket>
-