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 ayl
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static final record
private static final record
static final record
-
Field Summary
Modifier and TypeFieldDescriptionprivate final String
(package private) final TagGroupLoader.EntrySupplier
<T> private static final Logger
-
Constructor Summary
ConstructorDescriptionTagGroupLoader
(TagGroupLoader.EntrySupplier<T> entrySupplier, String dataType) -
Method Summary
Modifier and TypeMethodDescriptionMap
<Identifier, List<T>> static List
<RegistryWrapper.Impl<?>> collectRegistries
(DynamicRegistryManager.Immutable registryManager, List<Registry.PendingTagLoad<?>> tagLoads) private static Registry.PendingTagLoad
<?> find
(List<Registry.PendingTagLoad<?>> pendingTags, RegistryKey<? extends Registry<?>> registryRef) static <T> void
loadFromNetwork
(TagPacketSerializer.Serialized tags, MutableRegistry<T> registry) static <T> void
loadInitial
(ResourceManager resourceManager, MutableRegistry<T> registry) loadTags
(ResourceManager resourceManager) private com.mojang.datafixers.util.Either
<List<TagGroupLoader.TrackedEntry>, List<T>> resolveAll
(TagEntry.ValueGetter<T> valueGetter, List<TagGroupLoader.TrackedEntry> entries) static List
<Registry.PendingTagLoad<?>> startReload
(ResourceManager resourceManager, DynamicRegistryManager registryManager) private static <T> Optional
<Registry.PendingTagLoad<T>> startReload
(ResourceManager resourceManager, Registry<T> registry) private static <T> Map
<TagKey<T>, List<RegistryEntry<T>>> toTagKeyedMap
(RegistryKey<? extends Registry<T>> registryRef, Map<Identifier, List<RegistryEntry<T>>> tags)
-
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
Layl;a:Lorg/slf4j/Logger;
-
entrySupplier
- Mappings:
Namespace Name Mixin selector named entrySupplier
Lnet/minecraft/registry/tag/TagGroupLoader;entrySupplier:Lnet/minecraft/registry/tag/TagGroupLoader$EntrySupplier;
intermediary field_54556
Lnet/minecraft/class_3503;field_54556:Lnet/minecraft/class_3503$class_10272;
official b
Layl;b:Layl$a;
-
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
Layl;c:Ljava/lang/String;
-
-
Constructor Details
-
TagGroupLoader
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/registry/tag/TagGroupLoader;<init>(Lnet/minecraft/registry/tag/TagGroupLoader$EntrySupplier;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_3503;<init>(Lnet/minecraft/class_3503$class_10272;Ljava/lang/String;)V
official <init>
Layl;<init>(Layl$a;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
Layl;a(Lavv;)Ljava/util/Map;
-
resolveAll
private com.mojang.datafixers.util.Either<List<TagGroupLoader.TrackedEntry>,List<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
Layl;a(Layi$a;Ljava/util/List;)Lcom/mojang/datafixers/util/Either;
-
buildGroup
- 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
Layl;a(Ljava/util/Map;)Ljava/util/Map;
-
loadFromNetwork
public static <T> void loadFromNetwork(TagPacketSerializer.Serialized tags, MutableRegistry<T> registry) - Mappings:
Namespace Name Mixin selector named loadFromNetwork
Lnet/minecraft/registry/tag/TagGroupLoader;loadFromNetwork(Lnet/minecraft/registry/tag/TagPacketSerializer$Serialized;Lnet/minecraft/registry/MutableRegistry;)V
intermediary method_61309
Lnet/minecraft/class_3503;method_61309(Lnet/minecraft/class_6864$class_5748;Lnet/minecraft/class_2385;)V
official a
Layl;a(Laym$a;Lkm;)V
-
startReload
public static List<Registry.PendingTagLoad<?>> startReload(ResourceManager resourceManager, DynamicRegistryManager registryManager) - Mappings:
Namespace Name Mixin selector named startReload
Lnet/minecraft/registry/tag/TagGroupLoader;startReload(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/registry/DynamicRegistryManager;)Ljava/util/List;
intermediary method_61307
Lnet/minecraft/class_3503;method_61307(Lnet/minecraft/class_3300;Lnet/minecraft/class_5455;)Ljava/util/List;
official a
Layl;a(Lavv;Lke;)Ljava/util/List;
-
loadInitial
- Mappings:
Namespace Name Mixin selector named loadInitial
Lnet/minecraft/registry/tag/TagGroupLoader;loadInitial(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/registry/MutableRegistry;)V
intermediary method_61308
Lnet/minecraft/class_3503;method_61308(Lnet/minecraft/class_3300;Lnet/minecraft/class_2385;)V
official a
Layl;a(Lavv;Lkm;)V
-
toTagKeyedMap
private static <T> Map<TagKey<T>,List<RegistryEntry<T>>> toTagKeyedMap(RegistryKey<? extends Registry<T>> registryRef, Map<Identifier, List<RegistryEntry<T>>> tags) - Mappings:
Namespace Name Mixin selector named toTagKeyedMap
Lnet/minecraft/registry/tag/TagGroupLoader;toTagKeyedMap(Lnet/minecraft/registry/RegistryKey;Ljava/util/Map;)Ljava/util/Map;
intermediary method_61304
Lnet/minecraft/class_3503;method_61304(Lnet/minecraft/class_5321;Ljava/util/Map;)Ljava/util/Map;
official a
Layl;a(Laly;Ljava/util/Map;)Ljava/util/Map;
-
startReload
private static <T> Optional<Registry.PendingTagLoad<T>> startReload(ResourceManager resourceManager, Registry<T> registry) - Mappings:
Namespace Name Mixin selector named startReload
Lnet/minecraft/registry/tag/TagGroupLoader;startReload(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/registry/Registry;)Ljava/util/Optional;
intermediary method_61305
Lnet/minecraft/class_3503;method_61305(Lnet/minecraft/class_3300;Lnet/minecraft/class_2378;)Ljava/util/Optional;
official a
Layl;a(Lavv;Lkd;)Ljava/util/Optional;
-
collectRegistries
public static List<RegistryWrapper.Impl<?>> collectRegistries(DynamicRegistryManager.Immutable registryManager, List<Registry.PendingTagLoad<?>> tagLoads) - Mappings:
Namespace Name Mixin selector named collectRegistries
Lnet/minecraft/registry/tag/TagGroupLoader;collectRegistries(Lnet/minecraft/registry/DynamicRegistryManager$Immutable;Ljava/util/List;)Ljava/util/List;
intermediary method_61313
Lnet/minecraft/class_3503;method_61313(Lnet/minecraft/class_5455$class_6890;Ljava/util/List;)Ljava/util/List;
official a
Layl;a(Lke$b;Ljava/util/List;)Ljava/util/List;
-
find
@Nullable private static Registry.PendingTagLoad<?> find(List<Registry.PendingTagLoad<?>> pendingTags, RegistryKey<? extends Registry<?>> registryRef) - Mappings:
Namespace Name Mixin selector named find
Lnet/minecraft/registry/tag/TagGroupLoader;find(Ljava/util/List;Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/registry/Registry$PendingTagLoad;
intermediary method_61310
Lnet/minecraft/class_3503;method_61310(Ljava/util/List;Lnet/minecraft/class_5321;)Lnet/minecraft/class_2378$class_10106;
official a
Layl;a(Ljava/util/List;Laly;)Lkd$a;
-