Package de.mrjulsen.dragnsounds.net.stc
Klasse SoundUploadCommandPacket
java.lang.Object
de.mrjulsen.dragnsounds.net.stc.SoundUploadCommandPacket
- Alle implementierten Schnittstellen:
de.mrjulsen.mcdragonlib.net.IPacketBase<SoundUploadCommandPacket>
public class SoundUploadCommandPacket
extends Object
implements de.mrjulsen.mcdragonlib.net.IPacketBase<SoundUploadCommandPacket>
-
Konstruktorübersicht
KonstruktorBeschreibungSoundUploadCommandPacket
(SoundFile.Builder builder, AudioSettings settings, boolean showProgress) SoundUploadCommandPacket
(net.minecraft.nbt.CompoundTag nbt, AudioSettings settings, boolean showProgress) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdecode
(net.minecraft.network.FriendlyByteBuf buf) void
encode
(SoundUploadCommandPacket packet, net.minecraft.network.FriendlyByteBuf buf) void
handle
(SoundUploadCommandPacket packet, Supplier<dev.architectury.networking.NetworkManager.PacketContext> contextSupplier)
-
Konstruktordetails
-
SoundUploadCommandPacket
public SoundUploadCommandPacket() -
SoundUploadCommandPacket
public SoundUploadCommandPacket(SoundFile.Builder builder, AudioSettings settings, boolean showProgress) -
SoundUploadCommandPacket
public SoundUploadCommandPacket(net.minecraft.nbt.CompoundTag nbt, AudioSettings settings, boolean showProgress)
-
-
Methodendetails
-
encode
- Angegeben von:
encode
in Schnittstellede.mrjulsen.mcdragonlib.net.IPacketBase<SoundUploadCommandPacket>
-
decode
- Angegeben von:
decode
in Schnittstellede.mrjulsen.mcdragonlib.net.IPacketBase<SoundUploadCommandPacket>
-
handle
public void handle(SoundUploadCommandPacket packet, Supplier<dev.architectury.networking.NetworkManager.PacketContext> contextSupplier) - Angegeben von:
handle
in Schnittstellede.mrjulsen.mcdragonlib.net.IPacketBase<SoundUploadCommandPacket>
-