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.LifecycledResourceManager resourceManager, 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.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 serverresourceManager
- the resource managersuccess
- if the reload was successful
-