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