public class NetworkTagManager extends java.lang.Object implements IFutureReloadListener
Modifier and Type | Class and Description |
---|---|
static class |
NetworkTagManager.ReloadResults |
IFutureReloadListener.IStage
Modifier and Type | Field and Description |
---|---|
private NetworkTagCollection<Block> |
blocks |
private NetworkTagCollection<EntityType<?>> |
entityTypes |
private NetworkTagCollection<Fluid> |
fluids |
private NetworkTagCollection<Item> |
items |
Constructor and Description |
---|
NetworkTagManager() |
Modifier and Type | Method and Description |
---|---|
NetworkTagCollection<Block> |
getBlocks() |
NetworkTagCollection<EntityType<?>> |
getEntityTypes() |
NetworkTagCollection<Fluid> |
getFluids() |
NetworkTagCollection<Item> |
getItems() |
static NetworkTagManager |
read(PacketBuffer buffer) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
reload(IFutureReloadListener.IStage stage,
IResourceManager resourceManager,
IProfiler preparationsProfiler,
IProfiler reloadProfiler,
java.util.concurrent.Executor backgroundExecutor,
java.util.concurrent.Executor gameExecutor) |
void |
write(PacketBuffer buffer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
func_225594_i_
private final NetworkTagCollection<Block> blocks
private final NetworkTagCollection<Item> items
private final NetworkTagCollection<Fluid> fluids
private final NetworkTagCollection<EntityType<?>> entityTypes
public NetworkTagCollection<Block> getBlocks()
public NetworkTagCollection<Item> getItems()
public NetworkTagCollection<Fluid> getFluids()
public NetworkTagCollection<EntityType<?>> getEntityTypes()
public void write(PacketBuffer buffer)
public static NetworkTagManager read(PacketBuffer buffer)
public java.util.concurrent.CompletableFuture<java.lang.Void> reload(IFutureReloadListener.IStage stage, IResourceManager resourceManager, IProfiler preparationsProfiler, IProfiler reloadProfiler, java.util.concurrent.Executor backgroundExecutor, java.util.concurrent.Executor gameExecutor)
reload
in interface IFutureReloadListener