@FunctionalInterface public static interface ServerLifecycleEvents.EndDataPackReload
Modifier and Type | Method and Description |
---|---|
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.
|
void endDataPackReload(net.minecraft.server.MinecraftServer server, net.minecraft.resource.ServerResourceManager serverResourceManager, boolean success)
If the reload was not successful, the old data packs will be kept.
server
- the serverserverResourceManager
- the server resource managersuccess
- if the reload was successful