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