Klasse SoundConeDirectionPacket
java.lang.Object
de.mrjulsen.dragnsounds.net.stc.modify.SoundConeDirectionPacket
- Alle implementierten Schnittstellen:
de.mrjulsen.mcdragonlib.net.IPacketBase<SoundConeDirectionPacket>
public class SoundConeDirectionPacket
extends Object
implements de.mrjulsen.mcdragonlib.net.IPacketBase<SoundConeDirectionPacket>
-
Konstruktorübersicht
KonstruktorBeschreibungSoundConeDirectionPacket
(SoundFile file, long requestId, float angleA, float angleB, float outerGain, net.minecraft.world.phys.Vec3 direction) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdecode
(net.minecraft.network.FriendlyByteBuf buf) void
encode
(SoundConeDirectionPacket packet, net.minecraft.network.FriendlyByteBuf buf) void
handle
(SoundConeDirectionPacket packet, Supplier<dev.architectury.networking.NetworkManager.PacketContext> contextSupplier)
-
Konstruktordetails
-
SoundConeDirectionPacket
public SoundConeDirectionPacket() -
SoundConeDirectionPacket
public SoundConeDirectionPacket(SoundFile file, long requestId, float angleA, float angleB, float outerGain, net.minecraft.world.phys.Vec3 direction)
-
-
Methodendetails
-
encode
- Angegeben von:
encode
in Schnittstellede.mrjulsen.mcdragonlib.net.IPacketBase<SoundConeDirectionPacket>
-
decode
- Angegeben von:
decode
in Schnittstellede.mrjulsen.mcdragonlib.net.IPacketBase<SoundConeDirectionPacket>
-
handle
public void handle(SoundConeDirectionPacket packet, Supplier<dev.architectury.networking.NetworkManager.PacketContext> contextSupplier) - Angegeben von:
handle
in Schnittstellede.mrjulsen.mcdragonlib.net.IPacketBase<SoundConeDirectionPacket>
-