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