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 Details

    • UploadFailedPacket

      public UploadFailedPacket()
    • UploadFailedPacket

      public UploadFailedPacket(long requestId, de.mrjulsen.mcdragonlib.data.StatusResult error)
  • Method Details

    • encode

      public void encode(UploadFailedPacket packet, net.minecraft.network.FriendlyByteBuf buf)
      Specified by:
      encode in interface de.mrjulsen.mcdragonlib.net.IPacketBase<UploadFailedPacket>
    • decode

      public UploadFailedPacket decode(net.minecraft.network.FriendlyByteBuf buf)
      Specified by:
      decode in interface de.mrjulsen.mcdragonlib.net.IPacketBase<UploadFailedPacket>
    • handle

      public void handle(UploadFailedPacket packet, Supplier<dev.architectury.networking.NetworkManager.PacketContext> contextSupplier)
      Specified by:
      handle in interface de.mrjulsen.mcdragonlib.net.IPacketBase<UploadFailedPacket>