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