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.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
endDataPackReload(net.minecraft.server.MinecraftServer server, net.minecraft.resource.ServerResourceManager serverResourceManager, boolean success)
Called after data packs on a Minecraft server have been reloaded.
-
Method Details
-
endDataPackReload
void endDataPackReload(net.minecraft.server.MinecraftServer server, net.minecraft.resource.ServerResourceManager serverResourceManager, 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 serverserverResourceManager
- the server resource managersuccess
- if the reload was successful
-