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