Package de.mrjulsen.dragnsounds.net.stc
Klasse PlaySoundPacket
java.lang.Object
de.mrjulsen.dragnsounds.net.stc.PlaySoundPacket
- Alle implementierten Schnittstellen:
de.mrjulsen.mcdragonlib.net.IPacketBase<PlaySoundPacket>
public class PlaySoundPacket
extends Object
implements de.mrjulsen.mcdragonlib.net.IPacketBase<PlaySoundPacket>
-
Konstruktorübersicht
KonstruktorBeschreibungPlaySoundPacket
(long soundId, int triggerIndex, SoundFile file, PlaybackConfig config, long clientCallbackRequestId) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdecode
(net.minecraft.network.FriendlyByteBuf buf) void
encode
(PlaySoundPacket packet, net.minecraft.network.FriendlyByteBuf buf) void
handle
(PlaySoundPacket packet, Supplier<dev.architectury.networking.NetworkManager.PacketContext> contextSupplier)
-
Konstruktordetails
-
PlaySoundPacket
public PlaySoundPacket() -
PlaySoundPacket
public PlaySoundPacket(long soundId, int triggerIndex, SoundFile file, PlaybackConfig config, long clientCallbackRequestId)
-
-
Methodendetails
-
encode
- Angegeben von:
encode
in Schnittstellede.mrjulsen.mcdragonlib.net.IPacketBase<PlaySoundPacket>
-
decode
- Angegeben von:
decode
in Schnittstellede.mrjulsen.mcdragonlib.net.IPacketBase<PlaySoundPacket>
-
handle
public void handle(PlaySoundPacket packet, Supplier<dev.architectury.networking.NetworkManager.PacketContext> contextSupplier) - Angegeben von:
handle
in Schnittstellede.mrjulsen.mcdragonlib.net.IPacketBase<PlaySoundPacket>
-