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