net.minecraft.tags

public class TagLoader<T>

ams
net.minecraft.tags.TagLoader
net.minecraft.class_3503
net.minecraft.registry.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_
final Function<ResourceLocation, Optional<? extends T>>
b
idToValue
field_15609
registryGetter
f_13448_
private final String
c
directory
field_15605
dataType
f_13449_

Constructor summary

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

Method summary

Modifier and TypeMethod
public Map<ResourceLocation, List<TagLoader$EntryWithSource>>
a(ake arg0)
load(ResourceManager arg0)
method_33174(class_3300 arg0)
loadTags(ResourceManager resourceManager)
m_144495_(C_77_ arg0)
private static void
a(Map<acf, List<ams$a>> arg0, com.google.common.collect.Multimap<acf, acf> arg1, Set<acf> arg2, acf arg3, BiConsumer<acf, List<ams$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<acf, acf> arg0, acf arg1, acf 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<acf, acf> arg0, acf arg1, acf 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(amp$a<T> arg0, List<ams$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<acf, List<ams$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(ake arg0)
loadAndBuild(ResourceManager arg0)
method_33176(class_3300 arg0)
load(ResourceManager manager)
m_203900_(C_77_ arg0)