Interface ISimpleReloadListener

All Superinterfaces:
net.minecraft.server.packs.resources.PreparableReloadListener
All Known Implementing Classes:
ClientResourceReloadListener
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ISimpleReloadListener extends net.minecraft.server.packs.resources.PreparableReloadListener
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener

    net.minecraft.server.packs.resources.PreparableReloadListener.PreparationBarrier
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onReload(net.minecraft.server.packs.resources.ResourceManager resourceManager, net.minecraft.util.profiling.ProfilerFiller profiler)
     
    reload(net.minecraft.server.packs.resources.PreparableReloadListener.PreparationBarrier stage, net.minecraft.server.packs.resources.ResourceManager resourceManager, net.minecraft.util.profiling.ProfilerFiller prepareProfiler, net.minecraft.util.profiling.ProfilerFiller applyProfiler, Executor prepareExecutor, Executor applyExecutor)
     

    Methods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener

    getName
  • Method Details

    • reload

      default CompletableFuture<Void> reload(net.minecraft.server.packs.resources.PreparableReloadListener.PreparationBarrier stage, net.minecraft.server.packs.resources.ResourceManager resourceManager, net.minecraft.util.profiling.ProfilerFiller prepareProfiler, net.minecraft.util.profiling.ProfilerFiller applyProfiler, Executor prepareExecutor, Executor applyExecutor)
      Specified by:
      reload in interface net.minecraft.server.packs.resources.PreparableReloadListener
    • onReload

      void onReload(net.minecraft.server.packs.resources.ResourceManager resourceManager, net.minecraft.util.profiling.ProfilerFiller profiler)