Package net.minecraftforge.event
Class AddReloadListenerEvent.WrappedStateAwareListener
java.lang.Object
net.minecraftforge.event.AddReloadListenerEvent.WrappedStateAwareListener
- All Implemented Interfaces:
PreparableReloadListener
- Enclosing class:
AddReloadListenerEvent
private static class AddReloadListenerEvent.WrappedStateAwareListener
extends Object
implements PreparableReloadListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
PreparableReloadListener.PreparationBarrier
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprivate
-
Method Summary
Modifier and TypeMethodDescriptionreload
(PreparableReloadListener.PreparationBarrier stage, ResourceManager resourceManager, ProfilerFiller preparationsProfiler, ProfilerFiller reloadProfiler, Executor backgroundExecutor, Executor gameExecutor) 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
-
wrapped
-
-
Constructor Details
-
WrappedStateAwareListener
-
-
Method Details
-
reload
public CompletableFuture<Void> reload(PreparableReloadListener.PreparationBarrier stage, ResourceManager resourceManager, ProfilerFiller preparationsProfiler, ProfilerFiller reloadProfiler, Executor backgroundExecutor, Executor gameExecutor) - Specified by:
reload
in interfacePreparableReloadListener
-