Package net.minecraft.tag
Class TagEntry
java.lang.Object
net.minecraft.tag.TagEntry
- Mappings:
Namespace Name official akx
intermediary net/minecraft/class_3497
named net/minecraft/tag/TagEntry
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<TagEntry>
private static final com.mojang.serialization.Codec<TagEntry>
private final Identifier
private final boolean
private final boolean
-
Constructor Summary
ModifierConstructorDescriptionprivate
TagEntry
(Codecs.TagEntryId id, boolean required) private
TagEntry
(Identifier id, boolean tag, boolean required) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canAdd
(Predicate<Identifier> directEntryPredicate, Predicate<Identifier> tagEntryPredicate) static TagEntry
create
(Identifier id) static TagEntry
static TagEntry
static TagEntry
createTag
(Identifier id) void
forEachOptionalTagId
(Consumer<Identifier> idConsumer) void
forEachRequiredTagId
(Consumer<Identifier> idConsumer) private Codecs.TagEntryId
<T> boolean
resolve
(TagEntry.ValueGetter<T> valueGetter, Consumer<T> idConsumer) toString()
-
Field Details
-
ENTRY_CODEC
- Mappings:
Namespace Name Mixin selector official b
Lakx;b:Lcom/mojang/serialization/Codec;
intermediary field_39266
Lnet/minecraft/class_3497;field_39266:Lcom/mojang/serialization/Codec;
named ENTRY_CODEC
Lnet/minecraft/tag/TagEntry;ENTRY_CODEC:Lcom/mojang/serialization/Codec;
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lakx;a:Lcom/mojang/serialization/Codec;
intermediary field_39265
Lnet/minecraft/class_3497;field_39265:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/tag/TagEntry;CODEC:Lcom/mojang/serialization/Codec;
-
id
- Mappings:
Namespace Name Mixin selector official c
Lakx;c:Labb;
intermediary field_15584
Lnet/minecraft/class_3497;field_15584:Lnet/minecraft/class_2960;
named id
Lnet/minecraft/tag/TagEntry;id:Lnet/minecraft/util/Identifier;
-
tag
private final boolean tag- Mappings:
Namespace Name Mixin selector official d
Lakx;d:Z
intermediary field_39267
Lnet/minecraft/class_3497;field_39267:Z
named tag
Lnet/minecraft/tag/TagEntry;tag:Z
-
required
private final boolean required- Mappings:
Namespace Name Mixin selector official e
Lakx;e:Z
intermediary field_39268
Lnet/minecraft/class_3497;field_39268:Z
named required
Lnet/minecraft/tag/TagEntry;required:Z
-
-
Constructor Details
-
TagEntry
- Mappings:
Namespace Name Mixin selector official <init>
Lakx;<init>(Labb;ZZ)V
intermediary <init>
Lnet/minecraft/class_3497;<init>(Lnet/minecraft/class_2960;ZZ)V
named <init>
Lnet/minecraft/tag/TagEntry;<init>(Lnet/minecraft/util/Identifier;ZZ)V
-
TagEntry
- Mappings:
Namespace Name Mixin selector official <init>
Lakx;<init>(Lalq$d;Z)V
intermediary <init>
Lnet/minecraft/class_3497;<init>(Lnet/minecraft/class_5699$class_7476;Z)V
named <init>
Lnet/minecraft/tag/TagEntry;<init>(Lnet/minecraft/util/dynamic/Codecs$TagEntryId;Z)V
-
-
Method Details
-
getIdForCodec
- Mappings:
Namespace Name Mixin selector official a
Lakx;a()Lalq$d;
intermediary method_43936
Lnet/minecraft/class_3497;method_43936()Lnet/minecraft/class_5699$class_7476;
named getIdForCodec
Lnet/minecraft/tag/TagEntry;getIdForCodec()Lnet/minecraft/util/dynamic/Codecs$TagEntryId;
-
create
- Mappings:
Namespace Name Mixin selector official a
Lakx;a(Labb;)Lakx;
intermediary method_43937
Lnet/minecraft/class_3497;method_43937(Lnet/minecraft/class_2960;)Lnet/minecraft/class_3497;
named create
Lnet/minecraft/tag/TagEntry;create(Lnet/minecraft/util/Identifier;)Lnet/minecraft/tag/TagEntry;
-
createOptional
- Mappings:
Namespace Name Mixin selector official b
Lakx;b(Labb;)Lakx;
intermediary method_43942
Lnet/minecraft/class_3497;method_43942(Lnet/minecraft/class_2960;)Lnet/minecraft/class_3497;
named createOptional
Lnet/minecraft/tag/TagEntry;createOptional(Lnet/minecraft/util/Identifier;)Lnet/minecraft/tag/TagEntry;
-
createTag
- Mappings:
Namespace Name Mixin selector official c
Lakx;c(Labb;)Lakx;
intermediary method_43945
Lnet/minecraft/class_3497;method_43945(Lnet/minecraft/class_2960;)Lnet/minecraft/class_3497;
named createTag
Lnet/minecraft/tag/TagEntry;createTag(Lnet/minecraft/util/Identifier;)Lnet/minecraft/tag/TagEntry;
-
createOptionalTag
- Mappings:
Namespace Name Mixin selector official d
Lakx;d(Labb;)Lakx;
intermediary method_43947
Lnet/minecraft/class_3497;method_43947(Lnet/minecraft/class_2960;)Lnet/minecraft/class_3497;
named createOptionalTag
Lnet/minecraft/tag/TagEntry;createOptionalTag(Lnet/minecraft/util/Identifier;)Lnet/minecraft/tag/TagEntry;
-
resolve
- Mappings:
Namespace Name Mixin selector official a
Lakx;a(Lakx$a;Ljava/util/function/Consumer;)Z
intermediary method_26790
Lnet/minecraft/class_3497;method_26790(Lnet/minecraft/class_3497$class_7474;Ljava/util/function/Consumer;)Z
named resolve
Lnet/minecraft/tag/TagEntry;resolve(Lnet/minecraft/tag/TagEntry$ValueGetter;Ljava/util/function/Consumer;)Z
-
forEachRequiredTagId
- Mappings:
Namespace Name Mixin selector official a
Lakx;a(Ljava/util/function/Consumer;)V
intermediary method_32831
Lnet/minecraft/class_3497;method_32831(Ljava/util/function/Consumer;)V
named forEachRequiredTagId
Lnet/minecraft/tag/TagEntry;forEachRequiredTagId(Ljava/util/function/Consumer;)V
-
forEachOptionalTagId
- Mappings:
Namespace Name Mixin selector official b
Lakx;b(Ljava/util/function/Consumer;)V
intermediary method_43944
Lnet/minecraft/class_3497;method_43944(Ljava/util/function/Consumer;)V
named forEachOptionalTagId
Lnet/minecraft/tag/TagEntry;forEachOptionalTagId(Ljava/util/function/Consumer;)V
-
canAdd
public boolean canAdd(Predicate<Identifier> directEntryPredicate, Predicate<Identifier> tagEntryPredicate) - Mappings:
Namespace Name Mixin selector official a
Lakx;a(Ljava/util/function/Predicate;Ljava/util/function/Predicate;)Z
intermediary method_32832
Lnet/minecraft/class_3497;method_32832(Ljava/util/function/Predicate;Ljava/util/function/Predicate;)Z
named canAdd
Lnet/minecraft/tag/TagEntry;canAdd(Ljava/util/function/Predicate;Ljava/util/function/Predicate;)Z
-
toString
-