Package net.minecraft.tag
Class Tag.TagEntry
java.lang.Object
net.minecraft.tag.Tag.TagEntry
- All Implemented Interfaces:
Tag.Entry
- Mappings:
Namespace Name official ahl$h
intermediary net/minecraft/class_3494$class_3497
named net/minecraft/tag/Tag$TagEntry
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
canAdd
(Predicate<Identifier> existenceTest, Predicate<Identifier> duplicationTest) void
forEachTagId
(Consumer<Identifier> consumer) <T> boolean
resolve
(Function<Identifier, Tag<T>> tagGetter, Function<Identifier, T> objectGetter, Consumer<T> collector) toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.tag.Tag.Entry
forEachGroupId
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector official a
Lahl$h;a:Lyb;
intermediary field_15584
Lnet/minecraft/class_3494$class_3497;field_15584:Lnet/minecraft/class_2960;
named id
Lnet/minecraft/tag/Tag$TagEntry;id:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
TagEntry
- Mappings:
Namespace Name Mixin selector official <init>
Lahl$h;<init>(Lyb;)V
intermediary <init>
Lnet/minecraft/class_3494$class_3497;<init>(Lnet/minecraft/class_2960;)V
named <init>
Lnet/minecraft/tag/Tag$TagEntry;<init>(Lnet/minecraft/util/Identifier;)V
-
-
Method Details
-
resolve
public <T> boolean resolve(Function<Identifier, Tag<T>> tagGetter, Function<Identifier, T> objectGetter, Consumer<T> collector) - Specified by:
resolve
in interfaceTag.Entry
- Mappings:
Namespace Name Mixin selector official a
Lahl$d;a(Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/function/Consumer;)Z
intermediary method_26790
Lnet/minecraft/class_3494$class_3496;method_26790(Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/function/Consumer;)Z
named resolve
Lnet/minecraft/tag/Tag$Entry;resolve(Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/function/Consumer;)Z
-
addToJson
- Specified by:
addToJson
in interfaceTag.Entry
- Mappings:
Namespace Name Mixin selector official a
Lahl$d;a(Lcom/google/gson/JsonArray;)V
intermediary method_26789
Lnet/minecraft/class_3494$class_3496;method_26789(Lcom/google/gson/JsonArray;)V
named addToJson
Lnet/minecraft/tag/Tag$Entry;addToJson(Lcom/google/gson/JsonArray;)V
-
toString
-
canAdd
- Specified by:
canAdd
in interfaceTag.Entry
- Mappings:
Namespace Name Mixin selector official a
Lahl$d;a(Ljava/util/function/Predicate;Ljava/util/function/Predicate;)Z
intermediary method_32832
Lnet/minecraft/class_3494$class_3496;method_32832(Ljava/util/function/Predicate;Ljava/util/function/Predicate;)Z
named canAdd
Lnet/minecraft/tag/Tag$Entry;canAdd(Ljava/util/function/Predicate;Ljava/util/function/Predicate;)Z
-
forEachTagId
- Specified by:
forEachTagId
in interfaceTag.Entry
- Mappings:
Namespace Name Mixin selector official a
Lahl$d;a(Ljava/util/function/Consumer;)V
intermediary method_32831
Lnet/minecraft/class_3494$class_3496;method_32831(Ljava/util/function/Consumer;)V
named forEachTagId
Lnet/minecraft/tag/Tag$Entry;forEachTagId(Ljava/util/function/Consumer;)V
-