Package net.minecraft.tag
Class RequiredTagList<T>
java.lang.Object
net.minecraft.tag.RequiredTagList<T>
Stores all required tags of a given type, so they can be updated to point to the new tag instances on datapack reload
- Mappings:
Namespace Name official afy
intermediary net/minecraft/class_5120
named net/minecraft/tag/RequiredTagList
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
private RegistryKey<? extends Registry<T>>
private List<RequiredTagList.TagWrapper<T>>
-
Constructor Summary
ConstructorDescriptionRequiredTagList(RegistryKey<? extends Registry<T>> registryKey, String dataType)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addToManager(TagManager.Builder manager)
void
getGroup()
getMissingTags(TagManager tagManager)
Gets the required tags which are not supplied by the current datapacks.RegistryKey<? extends Registry<T>>
void
updateTagManager(TagManager tagManager)
-
Field Details
-
registryKey
- Mappings:
Namespace Name Mixin selector official a
Lafy;a:Lwv;
intermediary field_28301
Lnet/minecraft/class_5120;field_28301:Lnet/minecraft/class_5321;
named registryKey
Lnet/minecraft/tag/RequiredTagList;registryKey:Lnet/minecraft/util/registry/RegistryKey;
-
dataType
- Mappings:
Namespace Name Mixin selector official b
Lafy;b:Ljava/lang/String;
intermediary field_28302
Lnet/minecraft/class_5120;field_28302:Ljava/lang/String;
named dataType
Lnet/minecraft/tag/RequiredTagList;dataType:Ljava/lang/String;
-
group
- Mappings:
Namespace Name Mixin selector official c
Lafy;c:Lagb;
intermediary field_23682
Lnet/minecraft/class_5120;field_23682:Lnet/minecraft/class_5414;
named group
Lnet/minecraft/tag/RequiredTagList;group:Lnet/minecraft/tag/TagGroup;
-
tags
- Mappings:
Namespace Name Mixin selector official d
Lafy;d:Ljava/util/List;
intermediary field_23683
Lnet/minecraft/class_5120;field_23683:Ljava/util/List;
named tags
Lnet/minecraft/tag/RequiredTagList;tags:Ljava/util/List;
-
-
Constructor Details
-
RequiredTagList
- Mappings:
Namespace Name Mixin selector official <init>
Lafy;<init>(Lwv;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_5120;<init>(Lnet/minecraft/class_5321;Ljava/lang/String;)V
named <init>
Lnet/minecraft/tag/RequiredTagList;<init>(Lnet/minecraft/util/registry/RegistryKey;Ljava/lang/String;)V
-
-
Method Details
-
add
- Mappings:
Namespace Name Mixin selector official a
Lafy;a(Ljava/lang/String;)Laga$e;
intermediary method_26773
Lnet/minecraft/class_5120;method_26773(Ljava/lang/String;)Lnet/minecraft/class_3494$class_5123;
named add
Lnet/minecraft/tag/RequiredTagList;add(Ljava/lang/String;)Lnet/minecraft/tag/Tag$Identified;
-
clearAllTags
public void clearAllTags()- Mappings:
Namespace Name Mixin selector official a
Lafy;a()V
intermediary method_27061
Lnet/minecraft/class_5120;method_27061()V
named clearAllTags
Lnet/minecraft/tag/RequiredTagList;clearAllTags()V
-
updateTagManager
- Mappings:
Namespace Name Mixin selector official a
Lafy;a(Lagc;)V
intermediary method_26771
Lnet/minecraft/class_5120;method_26771(Lnet/minecraft/class_5415;)V
named updateTagManager
Lnet/minecraft/tag/RequiredTagList;updateTagManager(Lnet/minecraft/tag/TagManager;)V
-
getGroup
- Mappings:
Namespace Name Mixin selector official b
Lafy;b()Lagb;
intermediary method_26770
Lnet/minecraft/class_5120;method_26770()Lnet/minecraft/class_5414;
named getGroup
Lnet/minecraft/tag/RequiredTagList;getGroup()Lnet/minecraft/tag/TagGroup;
-
getMissingTags
Gets the required tags which are not supplied by the current datapacks.- Mappings:
Namespace Name Mixin selector official b
Lafy;b(Lagc;)Ljava/util/Set;
intermediary method_29224
Lnet/minecraft/class_5120;method_29224(Lnet/minecraft/class_5415;)Ljava/util/Set;
named getMissingTags
Lnet/minecraft/tag/RequiredTagList;getMissingTags(Lnet/minecraft/tag/TagManager;)Ljava/util/Set;
-
getRegistryKey
- Mappings:
Namespace Name Mixin selector official c
Lafy;c()Lwv;
intermediary method_33148
Lnet/minecraft/class_5120;method_33148()Lnet/minecraft/class_5321;
named getRegistryKey
Lnet/minecraft/tag/RequiredTagList;getRegistryKey()Lnet/minecraft/util/registry/RegistryKey;
-
getDataType
- Mappings:
Namespace Name Mixin selector official d
Lafy;d()Ljava/lang/String;
intermediary method_33149
Lnet/minecraft/class_5120;method_33149()Ljava/lang/String;
named getDataType
Lnet/minecraft/tag/RequiredTagList;getDataType()Ljava/lang/String;
-
addToManager
- Mappings:
Namespace Name Mixin selector official a
Lafy;a(Lagc$a;)V
intermediary method_33147
Lnet/minecraft/class_5120;method_33147(Lnet/minecraft/class_5415$class_5749;)V
named addToManager
Lnet/minecraft/tag/RequiredTagList;addToManager(Lnet/minecraft/tag/TagManager$Builder;)V
-