Class StopAllSoundsPacket

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

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

    • StopAllSoundsPacket

      public StopAllSoundsPacket()
  • Method Details

    • encode

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

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

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