net.minecraft.tags

public class TagLoader<T>

ayl
net.minecraft.tags.TagLoader
net.minecraft.class_3503
net.minecraft.registry.tag.TagGroupLoader
net.minecraft.tags.TagDataPack

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_15607
LOGGER
final TagLoader$ElementLookup<T>
b
elementLookup
field_54556
entrySupplier
private final String
c
directory
field_15605
dataType

Constructor summary

ModifierConstructor
public (TagLoader$ElementLookup<T> entrySupplier, String dataType)

Method summary

Modifier and TypeMethod
public Map<ResourceLocation, List<TagLoader$EntryWithSource>>
a(avv arg0)
load(ResourceManager arg0)
method_33174(class_3300 arg0)
loadTags(ResourceManager resourceManager)
private com.mojang.datafixers.util.Either<List<TagLoader$EntryWithSource>, List<T>>
a(ayi$a<T> arg0, List<ayl$b> arg1)
tryBuildTag(TagEntry$Lookup<T> arg0, List<TagLoader$EntryWithSource> arg1)
method_43952(class_3497$class_7474<T> arg0, List<class_3503$class_5145> arg1)
resolveAll(TagEntry$ValueGetter<T> valueGetter, List<TagGroupLoader$TrackedEntry> entries)
public Map<ResourceLocation, List<T>>
a(Map<alz, List<ayl$b>> arg0)
build(Map<ResourceLocation, List<TagLoader$EntryWithSource>> arg0)
method_18242(Map<class_2960, List<class_3503$class_5145>> arg0)
buildGroup(Map<Identifier, List<TagGroupLoader$TrackedEntry>> tags)
public static <T> void
a(aym$a arg0, km<T> arg1)
loadTagsFromNetwork(TagNetworkSerialization$NetworkPayload arg0, WritableRegistry<T> arg1)
method_61309(class_6864$class_5748 arg0, class_2385<T> arg1)
loadFromNetwork(TagPacketSerializer$Serialized tags, MutableRegistry<T> registry)
public static List<Registry$PendingTags<?>>
a(avv arg0, ke arg1)
loadTagsForExistingRegistries(ResourceManager arg0, RegistryAccess arg1)
method_61307(class_3300 arg0, class_5455 arg1)
startReload(ResourceManager resourceManager, DynamicRegistryManager registryManager)
public static <T> void
a(avv arg0, km<T> arg1)
loadTagsForRegistry(ResourceManager arg0, WritableRegistry<T> arg1)
method_61308(class_3300 arg0, class_2385<T> arg1)
loadInitial(ResourceManager resourceManager, MutableRegistry<T> registry)
private static <T> Map<TagKey<T>, List<Holder<T>>>
a(aly<? extends kd<T>> arg0, Map<alz, List<jq<T>>> arg1)
wrapTags(ResourceKey<? extends Registry<T>> arg0, Map<ResourceLocation, List<Holder<T>>> arg1)
method_61304(class_5321<? extends class_2378<T>> arg0, Map<class_2960, List<class_6880<T>>> arg1)
toTagKeyedMap(RegistryKey<? extends Registry<T>> registryRef, Map<Identifier, List<RegistryEntry<T>>> tags)
private static <T> Optional<Registry$PendingTags<T>>
a(avv arg0, kd<T> arg1)
loadPendingTags(ResourceManager arg0, Registry<T> arg1)
method_61305(class_3300 arg0, class_2378<T> arg1)
startReload(ResourceManager resourceManager, Registry<T> registry)
public static List<HolderLookup$RegistryLookup<?>>
a(ke$b arg0, List<kd$a<?>> arg1)
buildUpdatedLookups(RegistryAccess$Frozen arg0, List<Registry$PendingTags<?>> arg1)
method_61313(class_5455$class_6890 arg0, List<class_2378$class_10106<?>> arg1)
collectRegistries(DynamicRegistryManager$Immutable registryManager, List<Registry$PendingTagLoad<?>> tagLoads)
private static Registry$PendingTags<?>
a(List<kd$a<?>> arg0, aly<? extends kd<?>> arg1)
findTagsForRegistry(List<Registry$PendingTags<?>> arg0, ResourceKey<? extends Registry<?>> arg1)
method_61310(List<class_2378$class_10106<?>> arg0, class_5321<? extends class_2378<?>> arg1)
find(List<Registry$PendingTagLoad<?>> pendingTags, RegistryKey<? extends Registry<?>> registryRef)