Package net.minecraft.tag
Class TagManagerLoader
java.lang.Object
net.minecraft.tag.TagManagerLoader
- All Implemented Interfaces:
ResourceReloadListener
public class TagManagerLoader extends Object implements ResourceReloadListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.resource.ResourceReloadListener
ResourceReloadListener.Synchronizer
-
Field Summary
Fields Modifier and Type Field Description private TagGroupLoader<Block>
blocks
private TagGroupLoader<EntityType<?>>
entityTypes
private TagGroupLoader<Fluid>
fluids
private TagGroupLoader<Item>
items
private TagManager
tagManager
-
Constructor Summary
Constructors Constructor Description TagManagerLoader()
-
Method Summary
Modifier and Type Method Description TagManager
getTagManager()
CompletableFuture<Void>
reload(ResourceReloadListener.Synchronizer synchronizer, ResourceManager manager, Profiler prepareProfiler, Profiler applyProfiler, Executor prepareExecutor, Executor applyExecutor)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.resource.ResourceReloadListener
getName
-
Field Details
-
blocks
-
items
-
fluids
-
entityTypes
-
tagManager
-
-
Constructor Details
-
TagManagerLoader
public TagManagerLoader()
-
-
Method Details
-
getTagManager
-
reload
public CompletableFuture<Void> reload(ResourceReloadListener.Synchronizer synchronizer, ResourceManager manager, Profiler prepareProfiler, Profiler applyProfiler, Executor prepareExecutor, Executor applyExecutor)- Specified by:
reload
in interfaceResourceReloadListener
-