Class ClientboundUpdateTagsPacket
java.lang.Object
net.minecraft.network.protocol.common.ClientboundUpdateTagsPacket
- All Implemented Interfaces:
Packet<ClientCommonPacketListener>
public class ClientboundUpdateTagsPacket
extends Object
implements Packet<ClientCommonPacketListener>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, ClientboundUpdateTagsPacket> private final Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> -
Constructor Summary
ConstructorsModifierConstructorDescriptionClientboundUpdateTagsPacket(Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> tags) private -
Method Summary
Modifier and TypeMethodDescriptionMap<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> getTags()voidhandle(ClientCommonPacketListener handler) Passes this Packet on to the PacketListener for processing.type()private voidwrite(FriendlyByteBuf buffer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.Packet
isSkippable, isTerminal
-
Field Details
-
STREAM_CODEC
-
tags
-
-
Constructor Details
-
ClientboundUpdateTagsPacket
public ClientboundUpdateTagsPacket(Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> tags) -
ClientboundUpdateTagsPacket
-
-
Method Details
-
write
-
type
- Specified by:
typein interfacePacket<ClientCommonPacketListener>
-
handle
Passes this Packet on to the PacketListener for processing.- Specified by:
handlein interfacePacket<ClientCommonPacketListener>
-
getTags
-