Package de.mrjulsen.dragnsounds.net.cts
Class RemoveMetadataPacket
java.lang.Object
de.mrjulsen.dragnsounds.net.cts.RemoveMetadataPacket
- All Implemented Interfaces:
de.mrjulsen.mcdragonlib.net.IPacketBase<RemoveMetadataPacket>
public class RemoveMetadataPacket
extends Object
implements de.mrjulsen.mcdragonlib.net.IPacketBase<RemoveMetadataPacket>
-
Constructor Summary
ConstructorDescriptionRemoveMetadataPacket
(String id, SoundLocation location, Set<String> metadata) RemoveMetadataPacket
(String id, net.minecraft.nbt.CompoundTag nbt, Set<String> metadata) -
Method Summary
Modifier and TypeMethodDescriptiondecode
(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)
-
Constructor Details
-
RemoveMetadataPacket
public RemoveMetadataPacket() -
RemoveMetadataPacket
-
RemoveMetadataPacket
-
-
Method Details
-
encode
- Specified by:
encode
in interfacede.mrjulsen.mcdragonlib.net.IPacketBase<RemoveMetadataPacket>
-
decode
- Specified by:
decode
in interfacede.mrjulsen.mcdragonlib.net.IPacketBase<RemoveMetadataPacket>
-
handle
public void handle(RemoveMetadataPacket packet, Supplier<dev.architectury.networking.NetworkManager.PacketContext> contextSupplier) - Specified by:
handle
in interfacede.mrjulsen.mcdragonlib.net.IPacketBase<RemoveMetadataPacket>
-