Package net.minecraft.tag
Class Tag<T>
java.lang.Object
net.minecraft.tag.Tag<T>
- Direct Known Subclasses:
class_4475.class_4476,FluidTags.CachingTag,ItemTags.class_4480
- Mappings:
Namespace Name official wzintermediary net/minecraft/class_4482named net/minecraft/tag/Tag
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic interfacestatic class -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTag(Identifier identifier) Tag(Identifier identifier, Collection<Tag.Entry<T>> collection, boolean useLinkedSet) -
Method Summary
-
Field Details
-
identifier
- Mappings:
Namespace Name Mixin selector official aLwz;a:Lpc;intermediary field_22225Lnet/minecraft/class_4482;field_22225:Lnet/minecraft/class_1653;named identifierLnet/minecraft/tag/Tag;identifier:Lnet/minecraft/util/Identifier;
-
values
- Mappings:
Namespace Name Mixin selector official bLwz;b:Ljava/util/Set;intermediary field_22226Lnet/minecraft/class_4482;field_22226:Ljava/util/Set;named valuesLnet/minecraft/tag/Tag;values:Ljava/util/Set;
-
entries
- Mappings:
Namespace Name Mixin selector official cLwz;c:Ljava/util/Collection;intermediary field_22227Lnet/minecraft/class_4482;field_22227:Ljava/util/Collection;named entriesLnet/minecraft/tag/Tag;entries:Ljava/util/Collection;
-
-
Constructor Details
-
Tag
- Mappings:
Namespace Name Mixin selector official <init>Lwz;<init>(Lpc;)Vintermediary <init>Lnet/minecraft/class_4482;<init>(Lnet/minecraft/class_1653;)Vnamed <init>Lnet/minecraft/tag/Tag;<init>(Lnet/minecraft/util/Identifier;)V
-
Tag
- Mappings:
Namespace Name Mixin selector official <init>Lwz;<init>(Lpc;Ljava/util/Collection;Z)Vintermediary <init>Lnet/minecraft/class_4482;<init>(Lnet/minecraft/class_1653;Ljava/util/Collection;Z)Vnamed <init>Lnet/minecraft/tag/Tag;<init>(Lnet/minecraft/util/Identifier;Ljava/util/Collection;Z)V
-
-
Method Details
-
toJson
- Mappings:
Namespace Name Mixin selector official aLwz;a(Ljava/util/function/Function;)Lcom/google/gson/JsonObject;intermediary method_21464Lnet/minecraft/class_4482;method_21464(Ljava/util/function/Function;)Lcom/google/gson/JsonObject;named toJsonLnet/minecraft/tag/Tag;toJson(Ljava/util/function/Function;)Lcom/google/gson/JsonObject;
-
contains
- Mappings:
Namespace Name Mixin selector official aLwz;a(Ljava/lang/Object;)Zintermediary method_21462Lnet/minecraft/class_4482;method_21462(Ljava/lang/Object;)Znamed containsLnet/minecraft/tag/Tag;contains(Ljava/lang/Object;)Z
-
values
- Mappings:
Namespace Name Mixin selector official aLwz;a()Ljava/util/Collection;intermediary method_21461Lnet/minecraft/class_4482;method_21461()Ljava/util/Collection;named valuesLnet/minecraft/tag/Tag;values()Ljava/util/Collection;
-
entries
- Mappings:
Namespace Name Mixin selector official bLwz;b()Ljava/util/Collection;intermediary method_21465Lnet/minecraft/class_4482;method_21465()Ljava/util/Collection;named entriesLnet/minecraft/tag/Tag;entries()Ljava/util/Collection;
-
getRandom
- Mappings:
Namespace Name Mixin selector official aLwz;a(Ljava/util/Random;)Ljava/lang/Object;intermediary method_21463Lnet/minecraft/class_4482;method_21463(Ljava/util/Random;)Ljava/lang/Object;named getRandomLnet/minecraft/tag/Tag;getRandom(Ljava/util/Random;)Ljava/lang/Object;
-
getId
- Mappings:
Namespace Name Mixin selector official cLwz;c()Lpc;intermediary method_21466Lnet/minecraft/class_4482;method_21466()Lnet/minecraft/class_1653;named getIdLnet/minecraft/tag/Tag;getId()Lnet/minecraft/util/Identifier;
-