Klasse SoundPositionPacket

java.lang.Object
de.mrjulsen.dragnsounds.net.stc.modify.SoundPositionPacket
Alle implementierten Schnittstellen:
de.mrjulsen.mcdragonlib.net.IPacketBase<SoundPositionPacket>

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

    • SoundPositionPacket

      public SoundPositionPacket()
    • SoundPositionPacket

      public SoundPositionPacket(SoundFile file, long requestId, net.minecraft.world.phys.Vec3 pos)
  • Methodendetails

    • encode

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

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

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