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>
-
Konstruktorübersicht
KonstruktorBeschreibungSoundDopplerPacket
(SoundFile file, long requestId, float doppler, net.minecraft.world.phys.Vec3 velocity) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdecode
(net.minecraft.network.FriendlyByteBuf buf) void
encode
(SoundDopplerPacket packet, net.minecraft.network.FriendlyByteBuf buf) void
handle
(SoundDopplerPacket packet, Supplier<dev.architectury.networking.NetworkManager.PacketContext> contextSupplier)
-
Konstruktordetails
-
SoundDopplerPacket
public SoundDopplerPacket() -
SoundDopplerPacket
public SoundDopplerPacket(SoundFile file, long requestId, float doppler, net.minecraft.world.phys.Vec3 velocity)
-
-
Methodendetails
-
encode
- Angegeben von:
encode
in Schnittstellede.mrjulsen.mcdragonlib.net.IPacketBase<SoundDopplerPacket>
-
decode
- Angegeben von:
decode
in Schnittstellede.mrjulsen.mcdragonlib.net.IPacketBase<SoundDopplerPacket>
-
handle
public void handle(SoundDopplerPacket packet, Supplier<dev.architectury.networking.NetworkManager.PacketContext> contextSupplier) - Angegeben von:
handle
in Schnittstellede.mrjulsen.mcdragonlib.net.IPacketBase<SoundDopplerPacket>
-