Package net.minecraft.registry.tag
Class TagBuilder
java.lang.Object
net.minecraft.registry.tag.TagBuilder
A builder class to ease the creation of tags. It can also be used as a
mutable form of a tag.
- Mappings:
Namespace Name official ang
intermediary net/minecraft/class_3495
named net/minecraft/registry/tag/TagBuilder
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd
(Identifier id) addTag
(Identifier id) build()
static TagBuilder
create()
-
Field Details
-
entries
- Mappings:
Namespace Name Mixin selector official a
Lang;a:Ljava/util/List;
intermediary field_23688
Lnet/minecraft/class_3495;field_23688:Ljava/util/List;
named entries
Lnet/minecraft/registry/tag/TagBuilder;entries:Ljava/util/List;
-
-
Constructor Details
-
TagBuilder
public TagBuilder()
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Lang;a()Lang;
intermediary method_26778
Lnet/minecraft/class_3495;method_26778()Lnet/minecraft/class_3495;
named create
Lnet/minecraft/registry/tag/TagBuilder;create()Lnet/minecraft/registry/tag/TagBuilder;
-
build
- Mappings:
Namespace Name Mixin selector official b
Lang;b()Ljava/util/List;
intermediary method_26782
Lnet/minecraft/class_3495;method_26782()Ljava/util/List;
named build
Lnet/minecraft/registry/tag/TagBuilder;build()Ljava/util/List;
-
add
- Mappings:
Namespace Name Mixin selector official a
Lang;a(Lanh;)Lang;
intermediary method_27064
Lnet/minecraft/class_3495;method_27064(Lnet/minecraft/class_3497;)Lnet/minecraft/class_3495;
named add
Lnet/minecraft/registry/tag/TagBuilder;add(Lnet/minecraft/registry/tag/TagEntry;)Lnet/minecraft/registry/tag/TagBuilder;
-
add
- Mappings:
Namespace Name Mixin selector official a
Lang;a(Lacq;)Lang;
intermediary method_26784
Lnet/minecraft/class_3495;method_26784(Lnet/minecraft/class_2960;)Lnet/minecraft/class_3495;
named add
Lnet/minecraft/registry/tag/TagBuilder;add(Lnet/minecraft/util/Identifier;)Lnet/minecraft/registry/tag/TagBuilder;
-
addOptional
- Mappings:
Namespace Name Mixin selector official b
Lang;b(Lacq;)Lang;
intermediary method_34891
Lnet/minecraft/class_3495;method_34891(Lnet/minecraft/class_2960;)Lnet/minecraft/class_3495;
named addOptional
Lnet/minecraft/registry/tag/TagBuilder;addOptional(Lnet/minecraft/util/Identifier;)Lnet/minecraft/registry/tag/TagBuilder;
-
addTag
- Mappings:
Namespace Name Mixin selector official c
Lang;c(Lacq;)Lang;
intermediary method_26787
Lnet/minecraft/class_3495;method_26787(Lnet/minecraft/class_2960;)Lnet/minecraft/class_3495;
named addTag
Lnet/minecraft/registry/tag/TagBuilder;addTag(Lnet/minecraft/util/Identifier;)Lnet/minecraft/registry/tag/TagBuilder;
-
addOptionalTag
- Mappings:
Namespace Name Mixin selector official d
Lang;d(Lacq;)Lang;
intermediary method_34892
Lnet/minecraft/class_3495;method_34892(Lnet/minecraft/class_2960;)Lnet/minecraft/class_3495;
named addOptionalTag
Lnet/minecraft/registry/tag/TagBuilder;addOptionalTag(Lnet/minecraft/util/Identifier;)Lnet/minecraft/registry/tag/TagBuilder;
-