Klasse SoundDopplerPacket

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

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

    • SoundDopplerPacket

      public SoundDopplerPacket()
    • SoundDopplerPacket

      public SoundDopplerPacket(SoundFile file, long requestId, float doppler, net.minecraft.world.phys.Vec3 velocity)
  • Methodendetails

    • encode

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

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

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