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