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