net.minecraft.tags

public class TagLoader<T>

ala
net.minecraft.tags.TagLoader
net.minecraft.class_3503
net.minecraft.tag.TagGroupLoader
net.minecraft.src.C_161_
net.minecraft.tags.TagDataPack

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_15607
LOGGER
f_13445_
private static final String
b
PATH_SUFFIX
field_29827
JSON_EXTENSION
f_144491_
private static final int
c
PATH_SUFFIX_LENGTH
field_15603
JSON_EXTENSION_LENGTH
f_13447_
final Function<ResourceLocation, Optional<T>>
d
idToValue
field_15609
registryGetter
f_13448_
private final String
e
directory
field_15605
dataType
f_13449_

Constructor summary

ModifierConstructor
public (Function<ResourceLocation, Optional<T>> registryGetter, String dataType)

Method summary

Modifier and TypeMethod
public Map<ResourceLocation, List<TagLoader$EntryWithSource>>
a(aim arg0)
load(ResourceManager arg0)
method_33174(class_3300 arg0)
loadTags(ResourceManager manager)
m_144495_(C_77_ arg0)
private static void
a(Map<abb, List<ala$a>> arg0, com.google.common.collect.Multimap<abb, abb> arg1, Set<abb> arg2, abb arg3, BiConsumer<abb, List<ala$a>> arg4)
visitDependenciesAndElement(Map<ResourceLocation, List<TagLoader$EntryWithSource>> arg0, com.google.common.collect.Multimap<ResourceLocation, ResourceLocation> arg1, Set<ResourceLocation> arg2, ResourceLocation arg3, BiConsumer<ResourceLocation, List<TagLoader$EntryWithSource>> arg4)
method_32839(Map<class_2960, List<class_3503$class_5145>> arg0, com.google.common.collect.Multimap<class_2960, class_2960> arg1, Set<class_2960> arg2, class_2960 arg3, BiConsumer<class_2960, List<class_3503$class_5145>> arg4)
resolveAll(Map<Identifier, List<TagGroupLoader$TrackedEntry>> tags, com.google.common.collect.Multimap<Identifier, Identifier> referencedTagIdsByTagId, Set<Identifier> alreadyResolved, Identifier tagId, BiConsumer<Identifier, List<TagGroupLoader$TrackedEntry>> resolver)
m_144523_(Map<C_5265_, List<C_161_$C_212965_>> p_144524_, com.google.common.collect.Multimap<C_5265_, C_5265_> p_144525_, Set<C_5265_> p_144526_, C_5265_ p_144527_, BiConsumer<C_5265_, List<C_161_$C_212965_>> p_144528_)
private static boolean
a(com.google.common.collect.Multimap<abb, abb> arg0, abb arg1, abb arg2)
isCyclic(com.google.common.collect.Multimap<ResourceLocation, ResourceLocation> arg0, ResourceLocation arg1, ResourceLocation arg2)
method_32836(com.google.common.collect.Multimap<class_2960, class_2960> arg0, class_2960 arg1, class_2960 arg2)
hasCircularDependency(com.google.common.collect.Multimap<Identifier, Identifier> referencedTagIdsByTagId, Identifier tagId, Identifier referencedTagId)
m_144501_(com.google.common.collect.Multimap<C_5265_, C_5265_> p_144502_, C_5265_ p_144503_, C_5265_ p_144504_)
private static void
b(com.google.common.collect.Multimap<abb, abb> arg0, abb arg1, abb arg2)
addDependencyIfNotCyclic(com.google.common.collect.Multimap<ResourceLocation, ResourceLocation> arg0, ResourceLocation arg1, ResourceLocation arg2)
method_32844(com.google.common.collect.Multimap<class_2960, class_2960> arg0, class_2960 arg1, class_2960 arg2)
addReference(com.google.common.collect.Multimap<Identifier, Identifier> referencedTagIdsByTagId, Identifier tagId, Identifier referencedTagId)
m_144550_(com.google.common.collect.Multimap<C_5265_, C_5265_> p_144551_, C_5265_ p_144552_, C_5265_ p_144553_)
private com.mojang.datafixers.util.Either<Collection<TagLoader$EntryWithSource>, Collection<T>>
a(akx$a<T> arg0, List<ala$a> arg1)
build(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)
m_215978_(C_212961_$C_212962_<T> p_215980_, List<C_161_$C_212965_> arg1)
public Map<ResourceLocation, Collection<T>>
a(Map<abb, List<ala$a>> 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)
m_203898_(Map<C_5265_, List<C_161_$C_212965_>> arg0)
public Map<ResourceLocation, Collection<T>>
b(aim arg0)
loadAndBuild(ResourceManager arg0)
method_33176(class_3300 arg0)
load(ResourceManager manager)
m_203900_(C_77_ arg0)