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