Package net.minecraft.tags
Class TagManager
java.lang.Object
net.minecraft.tags.TagManager
- All Implemented Interfaces:
PreparableReloadListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
PreparableReloadListener.PreparationBarrier
-
Field Summary
Modifier and TypeFieldDescriptionprotected Map<ResourceLocation,TagLoader<?>>
private static org.apache.logging.log4j.Logger
private RegistryAccess
private TagContainer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate <T> TagManager.LoaderInfo<T>
createLoader(ResourceManager p_144576_, Executor p_144577_, StaticTagHelper<T> p_144578_)
getTags()
reload(PreparableReloadListener.PreparationBarrier p_13482_, ResourceManager p_13483_, ProfilerFiller p_13484_, ProfilerFiller p_13485_, Executor p_13486_, Executor p_13487_)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
getName
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
registryAccess
-
customTagTypeReaders
-
tags
-
-
Constructor Details
-
TagManager
-
-
Method Details
-
getTags
-
reload
public CompletableFuture<Void> reload(PreparableReloadListener.PreparationBarrier p_13482_, ResourceManager p_13483_, ProfilerFiller p_13484_, ProfilerFiller p_13485_, Executor p_13486_, Executor p_13487_)- Specified by:
reload
in interfacePreparableReloadListener
-
createLoader
@Nullable private <T> TagManager.LoaderInfo<T> createLoader(ResourceManager p_144576_, Executor p_144577_, StaticTagHelper<T> p_144578_)
-