Class StopSoundRequest

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

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

    • StopSoundRequest

      public StopSoundRequest()
    • StopSoundRequest

      public StopSoundRequest(long soundId)
  • Method Details

    • encode

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

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

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