Class UploadSuccessPacket

java.lang.Object
de.mrjulsen.dragnsounds.net.stc.UploadSuccessPacket
All Implemented Interfaces:
de.mrjulsen.mcdragonlib.net.IPacketBase<UploadSuccessPacket>

public class UploadSuccessPacket extends Object implements de.mrjulsen.mcdragonlib.net.IPacketBase<UploadSuccessPacket>
  • Constructor Details

    • UploadSuccessPacket

      public UploadSuccessPacket()
    • UploadSuccessPacket

      public UploadSuccessPacket(long requestId, SoundFile file)
  • Method Details

    • encode

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

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

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