Package vazkii.botania.common.config
Class ConfigDataManagerImpl
java.lang.Object
vazkii.botania.common.config.ConfigDataManagerImpl
- All Implemented Interfaces:
net.minecraft.server.packs.resources.PreparableReloadListener,ConfigDataManager
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
net.minecraft.server.packs.resources.PreparableReloadListener.PreparationBarrier -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable LooniumStructureConfigurationgetEffectiveLooniumStructureConfiguration(net.minecraft.resources.ResourceLocation id) static void@NotNull CompletableFuture<Void> reload(@NotNull net.minecraft.server.packs.resources.PreparableReloadListener.PreparationBarrier barrier, @NotNull net.minecraft.server.packs.resources.ResourceManager manager, @NotNull net.minecraft.util.profiling.ProfilerFiller prepProfiler, @NotNull net.minecraft.util.profiling.ProfilerFiller reloadProfiler, @NotNull Executor backgroundExecutor, @NotNull Executor gameExecutor) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
getName
-
Constructor Details
-
ConfigDataManagerImpl
public ConfigDataManagerImpl()
-
-
Method Details
-
registerListener
public static void registerListener() -
getEffectiveLooniumStructureConfiguration
@Nullable public @Nullable LooniumStructureConfiguration getEffectiveLooniumStructureConfiguration(net.minecraft.resources.ResourceLocation id) - Specified by:
getEffectiveLooniumStructureConfigurationin interfaceConfigDataManager
-
reload
@NotNull public @NotNull CompletableFuture<Void> reload(@NotNull @NotNull net.minecraft.server.packs.resources.PreparableReloadListener.PreparationBarrier barrier, @NotNull @NotNull net.minecraft.server.packs.resources.ResourceManager manager, @NotNull @NotNull net.minecraft.util.profiling.ProfilerFiller prepProfiler, @NotNull @NotNull net.minecraft.util.profiling.ProfilerFiller reloadProfiler, @NotNull @NotNull Executor backgroundExecutor, @NotNull @NotNull Executor gameExecutor) - Specified by:
reloadin interfacenet.minecraft.server.packs.resources.PreparableReloadListener
-