Package net.minecraft.tag
Class Tag.OptionalTagEntry
java.lang.Object
net.minecraft.tag.Tag.OptionalTagEntry
- All Implemented Interfaces:
Tag.Entry
public static class Tag.OptionalTagEntry extends Object implements Tag.Entry
- Mappings:
Namespace Name official afc$g
intermediary net/minecraft/class_3494$class_5480
named net/minecraft/tag/Tag$OptionalTagEntry
-
Field Summary
Fields Modifier and Type Field Description private Identifier
id
-
Constructor Summary
Constructors Constructor Description OptionalTagEntry(Identifier id)
-
Method Summary
Modifier and Type Method Description void
addToJson(JsonArray json)
boolean
method_32832(Predicate<Identifier> predicate, Predicate<Identifier> predicate2)
void
method_32833(Consumer<Identifier> consumer)
<T> boolean
resolve(Function<Identifier,Tag<T>> tagGetter, Function<Identifier,T> objectGetter, Consumer<T> collector)
String
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
method_32831
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector official a
Lafc$g;a:Lwb;
intermediary field_26384
Lnet/minecraft/class_3494$class_5480;field_26384:Lnet/minecraft/class_2960;
named id
Lnet/minecraft/tag/Tag$OptionalTagEntry;id:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
OptionalTagEntry
- Mappings:
Namespace Name Mixin selector official <init>
Lafc$g;<init>(Lwb;)V
intermediary <init>
Lnet/minecraft/class_3494$class_5480;<init>(Lnet/minecraft/class_2960;)V
named <init>
Lnet/minecraft/tag/Tag$OptionalTagEntry;<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
Lafc$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
Lafc$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
- Overrides:
toString
in classObject
- Mappings:
Namespace Name Mixin selector official toString
Lafc$g;toString()Ljava/lang/String;
intermediary toString
Lnet/minecraft/class_3494$class_5480;toString()Ljava/lang/String;
named toString
Lnet/minecraft/tag/Tag$OptionalTagEntry;toString()Ljava/lang/String;
-
method_32833
- Specified by:
method_32833
in interfaceTag.Entry
- Mappings:
Namespace Name Mixin selector official b
Lafc$d;b(Ljava/util/function/Consumer;)V
intermediary method_32833
Lnet/minecraft/class_3494$class_3496;method_32833(Ljava/util/function/Consumer;)V
named method_32833
Lnet/minecraft/tag/Tag$Entry;method_32833(Ljava/util/function/Consumer;)V
-
method_32832
- Specified by:
method_32832
in interfaceTag.Entry
- Mappings:
Namespace Name Mixin selector official a
Lafc$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 method_32832
Lnet/minecraft/tag/Tag$Entry;method_32832(Ljava/util/function/Predicate;Ljava/util/function/Predicate;)Z
-