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