Package net.minecraft.registry.tag
Class TagGroupLoader<T>
java.lang.Object
net.minecraft.registry.tag.TagGroupLoader<T>
- Mappings:
Namespace Name named net/minecraft/registry/tag/TagGroupLoader
intermediary net/minecraft/class_3503
official awv
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static final record
static final record
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTagGroupLoader
(Function<Identifier, Optional<? extends T>> registryGetter, String dataType) -
Method Summary
Modifier and TypeMethodDescriptionload
(ResourceManager manager) loadTags
(ResourceManager resourceManager) private com.mojang.datafixers.util.Either
<Collection<TagGroupLoader.TrackedEntry>, Collection<T>> resolveAll
(TagEntry.ValueGetter<T> valueGetter, List<TagGroupLoader.TrackedEntry> entries)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/registry/tag/TagGroupLoader;LOGGER:Lorg/slf4j/Logger;
intermediary field_15607
Lnet/minecraft/class_3503;field_15607:Lorg/slf4j/Logger;
official a
Lawv;a:Lorg/slf4j/Logger;
-
registryGetter
- Mappings:
Namespace Name Mixin selector named registryGetter
Lnet/minecraft/registry/tag/TagGroupLoader;registryGetter:Ljava/util/function/Function;
intermediary field_15609
Lnet/minecraft/class_3503;field_15609:Ljava/util/function/Function;
official b
Lawv;b:Ljava/util/function/Function;
-
dataType
- Mappings:
Namespace Name Mixin selector named dataType
Lnet/minecraft/registry/tag/TagGroupLoader;dataType:Ljava/lang/String;
intermediary field_15605
Lnet/minecraft/class_3503;field_15605:Ljava/lang/String;
official c
Lawv;c:Ljava/lang/String;
-
-
Constructor Details
-
TagGroupLoader
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/registry/tag/TagGroupLoader;<init>(Ljava/util/function/Function;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_3503;<init>(Ljava/util/function/Function;Ljava/lang/String;)V
official <init>
Lawv;<init>(Ljava/util/function/Function;Ljava/lang/String;)V
-
-
Method Details
-
loadTags
- Mappings:
Namespace Name Mixin selector named loadTags
Lnet/minecraft/registry/tag/TagGroupLoader;loadTags(Lnet/minecraft/resource/ResourceManager;)Ljava/util/Map;
intermediary method_33174
Lnet/minecraft/class_3503;method_33174(Lnet/minecraft/class_3300;)Ljava/util/Map;
official a
Lawv;a(Laue;)Ljava/util/Map;
-
resolveAll
private com.mojang.datafixers.util.Either<Collection<TagGroupLoader.TrackedEntry>,Collection<T>> resolveAll(TagEntry.ValueGetter<T> valueGetter, List<TagGroupLoader.TrackedEntry> entries) - Mappings:
Namespace Name Mixin selector named resolveAll
Lnet/minecraft/registry/tag/TagGroupLoader;resolveAll(Lnet/minecraft/registry/tag/TagEntry$ValueGetter;Ljava/util/List;)Lcom/mojang/datafixers/util/Either;
intermediary method_43952
Lnet/minecraft/class_3503;method_43952(Lnet/minecraft/class_3497$class_7474;Ljava/util/List;)Lcom/mojang/datafixers/util/Either;
official a
Lawv;a(Laws$a;Ljava/util/List;)Lcom/mojang/datafixers/util/Either;
-
buildGroup
public Map<Identifier,Collection<T>> buildGroup(Map<Identifier, List<TagGroupLoader.TrackedEntry>> tags) - Mappings:
Namespace Name Mixin selector named buildGroup
Lnet/minecraft/registry/tag/TagGroupLoader;buildGroup(Ljava/util/Map;)Ljava/util/Map;
intermediary method_18242
Lnet/minecraft/class_3503;method_18242(Ljava/util/Map;)Ljava/util/Map;
official a
Lawv;a(Ljava/util/Map;)Ljava/util/Map;
-
load
- Mappings:
Namespace Name Mixin selector named load
Lnet/minecraft/registry/tag/TagGroupLoader;load(Lnet/minecraft/resource/ResourceManager;)Ljava/util/Map;
intermediary method_33176
Lnet/minecraft/class_3503;method_33176(Lnet/minecraft/class_3300;)Ljava/util/Map;
official b
Lawv;b(Laue;)Ljava/util/Map;
-