Package net.minecraft.registry.tag
Class TagEntry
java.lang.Object
net.minecraft.registry.tag.TagEntry
- Mappings:
Namespace Name named net/minecraft/registry/tag/TagEntry
intermediary net/minecraft/class_3497
official awk
-
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 named ENTRY_CODEC
Lnet/minecraft/registry/tag/TagEntry;ENTRY_CODEC:Lcom/mojang/serialization/Codec;
intermediary field_39266
Lnet/minecraft/class_3497;field_39266:Lcom/mojang/serialization/Codec;
official b
Lawk;b:Lcom/mojang/serialization/Codec;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/registry/tag/TagEntry;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_39265
Lnet/minecraft/class_3497;field_39265:Lcom/mojang/serialization/Codec;
official a
Lawk;a:Lcom/mojang/serialization/Codec;
-
id
- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/registry/tag/TagEntry;id:Lnet/minecraft/util/Identifier;
intermediary field_15584
Lnet/minecraft/class_3497;field_15584:Lnet/minecraft/class_2960;
official c
Lawk;c:Lakk;
-
tag
private final boolean tag- Mappings:
Namespace Name Mixin selector named tag
Lnet/minecraft/registry/tag/TagEntry;tag:Z
intermediary field_39267
Lnet/minecraft/class_3497;field_39267:Z
official d
Lawk;d:Z
-
required
private final boolean required- Mappings:
Namespace Name Mixin selector named required
Lnet/minecraft/registry/tag/TagEntry;required:Z
intermediary field_39268
Lnet/minecraft/class_3497;field_39268:Z
official e
Lawk;e:Z
-
-
Constructor Details
-
TagEntry
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/registry/tag/TagEntry;<init>(Lnet/minecraft/util/Identifier;ZZ)V
intermediary <init>
Lnet/minecraft/class_3497;<init>(Lnet/minecraft/class_2960;ZZ)V
official <init>
Lawk;<init>(Lakk;ZZ)V
-
TagEntry
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/registry/tag/TagEntry;<init>(Lnet/minecraft/util/dynamic/Codecs$TagEntryId;Z)V
intermediary <init>
Lnet/minecraft/class_3497;<init>(Lnet/minecraft/class_5699$class_7476;Z)V
official <init>
Lawk;<init>(Laxo$c;Z)V
-
-
Method Details
-
getIdForCodec
- Mappings:
Namespace Name Mixin selector named getIdForCodec
Lnet/minecraft/registry/tag/TagEntry;getIdForCodec()Lnet/minecraft/util/dynamic/Codecs$TagEntryId;
intermediary method_43936
Lnet/minecraft/class_3497;method_43936()Lnet/minecraft/class_5699$class_7476;
official a
Lawk;a()Laxo$c;
-
create
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/registry/tag/TagEntry;create(Lnet/minecraft/util/Identifier;)Lnet/minecraft/registry/tag/TagEntry;
intermediary method_43937
Lnet/minecraft/class_3497;method_43937(Lnet/minecraft/class_2960;)Lnet/minecraft/class_3497;
official a
Lawk;a(Lakk;)Lawk;
-
createOptional
- Mappings:
Namespace Name Mixin selector named createOptional
Lnet/minecraft/registry/tag/TagEntry;createOptional(Lnet/minecraft/util/Identifier;)Lnet/minecraft/registry/tag/TagEntry;
intermediary method_43942
Lnet/minecraft/class_3497;method_43942(Lnet/minecraft/class_2960;)Lnet/minecraft/class_3497;
official b
Lawk;b(Lakk;)Lawk;
-
createTag
- Mappings:
Namespace Name Mixin selector named createTag
Lnet/minecraft/registry/tag/TagEntry;createTag(Lnet/minecraft/util/Identifier;)Lnet/minecraft/registry/tag/TagEntry;
intermediary method_43945
Lnet/minecraft/class_3497;method_43945(Lnet/minecraft/class_2960;)Lnet/minecraft/class_3497;
official c
Lawk;c(Lakk;)Lawk;
-
createOptionalTag
- Mappings:
Namespace Name Mixin selector named createOptionalTag
Lnet/minecraft/registry/tag/TagEntry;createOptionalTag(Lnet/minecraft/util/Identifier;)Lnet/minecraft/registry/tag/TagEntry;
intermediary method_43947
Lnet/minecraft/class_3497;method_43947(Lnet/minecraft/class_2960;)Lnet/minecraft/class_3497;
official d
Lawk;d(Lakk;)Lawk;
-
resolve
- Mappings:
Namespace Name Mixin selector named resolve
Lnet/minecraft/registry/tag/TagEntry;resolve(Lnet/minecraft/registry/tag/TagEntry$ValueGetter;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
official a
Lawk;a(Lawk$a;Ljava/util/function/Consumer;)Z
-
forEachRequiredTagId
- Mappings:
Namespace Name Mixin selector named forEachRequiredTagId
Lnet/minecraft/registry/tag/TagEntry;forEachRequiredTagId(Ljava/util/function/Consumer;)V
intermediary method_32831
Lnet/minecraft/class_3497;method_32831(Ljava/util/function/Consumer;)V
official a
Lawk;a(Ljava/util/function/Consumer;)V
-
forEachOptionalTagId
- Mappings:
Namespace Name Mixin selector named forEachOptionalTagId
Lnet/minecraft/registry/tag/TagEntry;forEachOptionalTagId(Ljava/util/function/Consumer;)V
intermediary method_43944
Lnet/minecraft/class_3497;method_43944(Ljava/util/function/Consumer;)V
official b
Lawk;b(Ljava/util/function/Consumer;)V
-
canAdd
public boolean canAdd(Predicate<Identifier> directEntryPredicate, Predicate<Identifier> tagEntryPredicate) - Mappings:
Namespace Name Mixin selector named canAdd
Lnet/minecraft/registry/tag/TagEntry;canAdd(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
official a
Lawk;a(Ljava/util/function/Predicate;Ljava/util/function/Predicate;)Z
-
toString
-