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