Package net.minecraft.registry.tag
Class TagPacketSerializer.Serialized
java.lang.Object
net.minecraft.registry.tag.TagPacketSerializer.Serialized
- Enclosing class:
- TagPacketSerializer
A serialization-friendly POJO representation of a registry entry list of tags.
 This allows easy transport of tags over Minecraft network protocol.
 
This stores tag entries with raw integer IDs and requires a registry for raw ID access to serialize or deserialize tags.
- Mappings:
- Namespace - Name - named - net/minecraft/registry/tag/TagPacketSerializer$Serialized- intermediary - net/minecraft/class_6864$class_5748- official - axh$a
- 
Field SummaryFieldsModifier and TypeFieldDescription(package private) final Map<Identifier, IntList> static final TagPacketSerializer.Serialized
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfromBuf(PacketByteBuf buf) booleanisEmpty()intsize()<T> TagGroupLoader.RegistryTags<T> toRegistryTags(Registry<T> registry) voidwriteBuf(PacketByteBuf buf) 
- 
Field Details- 
NONE- Mappings:
- Namespace - Name - Mixin selector - named - NONE- Lnet/minecraft/registry/tag/TagPacketSerializer$Serialized;NONE:Lnet/minecraft/registry/tag/TagPacketSerializer$Serialized;- intermediary - field_52388- Lnet/minecraft/class_6864$class_5748;field_52388:Lnet/minecraft/class_6864$class_5748;- official - a- Laxh$a;a:Laxh$a;
 
- 
contents- Mappings:
- Namespace - Name - Mixin selector - named - contents- Lnet/minecraft/registry/tag/TagPacketSerializer$Serialized;contents:Ljava/util/Map;- intermediary - field_28304- Lnet/minecraft/class_6864$class_5748;field_28304:Ljava/util/Map;- official - b- Laxh$a;b:Ljava/util/Map;
 
 
- 
- 
Constructor Details- 
SerializedSerialized(Map<Identifier, IntList> contents) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/registry/tag/TagPacketSerializer$Serialized;<init>(Ljava/util/Map;)V- intermediary - <init>- Lnet/minecraft/class_6864$class_5748;<init>(Ljava/util/Map;)V- official - <init>- Laxh$a;<init>(Ljava/util/Map;)V
 
 
- 
- 
Method Details- 
writeBuf- Mappings:
- Namespace - Name - Mixin selector - named - writeBuf- Lnet/minecraft/registry/tag/TagPacketSerializer$Serialized;writeBuf(Lnet/minecraft/network/PacketByteBuf;)V- intermediary - method_33159- Lnet/minecraft/class_6864$class_5748;method_33159(Lnet/minecraft/class_2540;)V- official - a- Laxh$a;a(Lvl;)V
 
- 
fromBuf- Mappings:
- Namespace - Name - Mixin selector - named - fromBuf- Lnet/minecraft/registry/tag/TagPacketSerializer$Serialized;fromBuf(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/registry/tag/TagPacketSerializer$Serialized;- intermediary - method_33160- Lnet/minecraft/class_6864$class_5748;method_33160(Lnet/minecraft/class_2540;)Lnet/minecraft/class_6864$class_5748;- official - b- Laxh$a;b(Lvl;)Laxh$a;
 
- 
isEmptypublic boolean isEmpty()- Mappings:
- Namespace - Name - Mixin selector - named - isEmpty- Lnet/minecraft/registry/tag/TagPacketSerializer$Serialized;isEmpty()Z- intermediary - method_61315- Lnet/minecraft/class_6864$class_5748;method_61315()Z- official - a- Laxh$a;a()Z
 
- 
sizepublic int size()- Mappings:
- Namespace - Name - Mixin selector - named - size- Lnet/minecraft/registry/tag/TagPacketSerializer$Serialized;size()I- intermediary - method_64601- Lnet/minecraft/class_6864$class_5748;method_64601()I- official - b- Laxh$a;b()I
 
- 
toRegistryTags- Mappings:
- Namespace - Name - Mixin selector - named - toRegistryTags- Lnet/minecraft/registry/tag/TagPacketSerializer$Serialized;toRegistryTags(Lnet/minecraft/registry/Registry;)Lnet/minecraft/registry/tag/TagGroupLoader$RegistryTags;- intermediary - method_61316- Lnet/minecraft/class_6864$class_5748;method_61316(Lnet/minecraft/class_2378;)Lnet/minecraft/class_3503$class_6863;- official - a- Laxh$a;a(Lke;)Laxg$c;
 
 
-