Klasse StartUploadSoundPacket

java.lang.Object
de.mrjulsen.dragnsounds.net.cts.StartUploadSoundPacket
Alle implementierten Schnittstellen:
de.mrjulsen.mcdragonlib.net.IPacketBase<StartUploadSoundPacket>

public class StartUploadSoundPacket extends Object implements de.mrjulsen.mcdragonlib.net.IPacketBase<StartUploadSoundPacket>
  • Konstruktordetails

    • StartUploadSoundPacket

      public StartUploadSoundPacket()
    • StartUploadSoundPacket

      public StartUploadSoundPacket(long requestId, int maxSize)
  • Methodendetails

    • encode

      public void encode(StartUploadSoundPacket packet, net.minecraft.network.FriendlyByteBuf buf)
      Angegeben von:
      encode in Schnittstelle de.mrjulsen.mcdragonlib.net.IPacketBase<StartUploadSoundPacket>
    • decode

      public StartUploadSoundPacket decode(net.minecraft.network.FriendlyByteBuf buf)
      Angegeben von:
      decode in Schnittstelle de.mrjulsen.mcdragonlib.net.IPacketBase<StartUploadSoundPacket>
    • handle

      public void handle(StartUploadSoundPacket packet, Supplier<dev.architectury.networking.NetworkManager.PacketContext> contextSupplier)
      Angegeben von:
      handle in Schnittstelle de.mrjulsen.mcdragonlib.net.IPacketBase<StartUploadSoundPacket>
    • getRequestId

      public long getRequestId()
    • getMaxSize

      public int getMaxSize()