Interface ServerLifecycleEvents.EndDataPackReload

Enclosing class:
ServerLifecycleEvents
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 static interface ServerLifecycleEvents.EndDataPackReload
  • Method Details

    • endDataPackReload

      void endDataPackReload(MinecraftServer server, LifecycledResourceManager resourceManager, boolean success)
      Called after data packs on a Minecraft server have been reloaded.

      If the reload was not successful, the old data packs will be kept.

      Parameters:
      server - the server
      resourceManager - the resource manager
      success - if the reload was successful