net.minecraft.tags

public class TagLoader<T>

axg
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 TagLoader$ElementLookup<T>
b
elementLookup
field_54556
entrySupplier
f_348338_
private final String
c
directory
field_15605
dataType
f_13449_

Constructor summary

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

Method summary

Modifier and TypeMethod
public Map<ResourceLocation, List<TagLoader$EntryWithSource>>
a(aup arg0)
load(ResourceManager arg0)
method_33174(class_3300 arg0)
loadTags(ResourceManager resourceManager)
m_144495_(C_77_ arg0)
private com.mojang.datafixers.util.Either<List<TagLoader$EntryWithSource>, List<T>>
a(axd$a<T> arg0, List<axg$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)
m_215978_(C_212961_$C_212962_<T> p_215980_, List<C_161_$C_212965_> arg1)
public Map<ResourceLocation, List<T>>
a(Map<akv, List<axg$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)
m_203898_(Map<C_5265_, List<C_161_$C_212965_>> arg0)
public static <T> void
a(axh$a arg0, kn<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)
m_352889_(C_203210_$C_203211_ p_363340_, C_4714_<T> p_362274_)
public static List<Registry$PendingTags<?>>
a(aup arg0, kf arg1)
loadTagsForExistingRegistries(ResourceManager arg0, RegistryAccess arg1)
method_61307(class_3300 arg0, class_5455 arg1)
startReload(ResourceManager resourceManager, DynamicRegistryManager registryManager)
m_357043_(C_77_ p_363516_, C_4706_ p_365200_)
public static <T> void
a(aup arg0, kn<T> arg1)
loadTagsForRegistry(ResourceManager arg0, WritableRegistry<T> arg1)
method_61308(class_3300 arg0, class_2385<T> arg1)
loadInitial(ResourceManager resourceManager, MutableRegistry<T> registry)
m_353985_(C_77_ p_361002_, C_4714_<T> p_369889_)
private static <T> Map<TagKey<T>, List<Holder<T>>>
a(aku<? extends ke<T>> arg0, Map<akv, List<jr<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)
m_354792_(C_5264_<? extends C_4705_<T>> p_369888_, Map<C_5265_, List<C_203228_<T>>> p_362414_)
private static <T> Optional<Registry$PendingTags<T>>
a(aup arg0, ke<T> arg1)
loadPendingTags(ResourceManager arg0, Registry<T> arg1)
method_61305(class_3300 arg0, class_2378<T> arg1)
startReload(ResourceManager resourceManager, Registry<T> registry)
m_355143_(C_77_ p_366215_, C_4705_<T> p_369074_)
public static List<HolderLookup$RegistryLookup<?>>
a(kf$b arg0, List<ke$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)
m_357388_(C_4706_$C_203240_ p_361092_, List<C_4705_$C_346172_<?>> p_361987_)
private static Registry$PendingTags<?>
a(List<ke$a<?>> arg0, aku<? extends ke<?>> 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)
m_353560_(List<C_4705_$C_346172_<?>> p_361794_, C_5264_<? extends C_4705_<?>> p_361930_)