Package net.minecraft.tag
Class RegistryTagManager
java.lang.Object
net.minecraft.tag.RegistryTagManager
- All Implemented Interfaces:
ResourceReloadListener
public class RegistryTagManager 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 RegistryTagContainer<Block>blocksprivate RegistryTagContainer<EntityType<?>>entityTypesprivate RegistryTagContainer<Fluid>fluidsprivate RegistryTagContainer<Item>items -
Constructor Summary
Constructors Constructor Description RegistryTagManager() -
Method Summary
Modifier and Type Method Description voidapply()RegistryTagContainer<Block>blocks()RegistryTagContainer<EntityType<?>>entityTypes()RegistryTagContainer<Fluid>fluids()static RegistryTagManagerfromPacket(PacketByteBuf buf)RegistryTagContainer<Item>items()CompletableFuture<Void>reload(ResourceReloadListener.Synchronizer synchronizer, ResourceManager manager, Profiler prepareProfiler, Profiler applyProfiler, Executor prepareExecutor, Executor applyExecutor)voidtoPacket(PacketByteBuf buf)
-
Field Details
-
Constructor Details
-
RegistryTagManager
public RegistryTagManager()
-
-
Method Details
-
blocks
-
items
-
fluids
-
entityTypes
-
toPacket
-
fromPacket
-
reload
public CompletableFuture<Void> reload(ResourceReloadListener.Synchronizer synchronizer, ResourceManager manager, Profiler prepareProfiler, Profiler applyProfiler, Executor prepareExecutor, Executor applyExecutor)- Specified by:
reloadin interfaceResourceReloadListener
-
apply
public void apply()
-