Package io.papermc.paper.event.server
Class ServerResourcesReloadedEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.server.ServerEvent
io.papermc.paper.event.server.ServerResourcesReloadedEvent
Called when resources such as datapacks are reloaded (e.g. /minecraft:reload)
 
Intended for use to re-register custom recipes, advancements that may be lost during a reload like this.
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class org.bukkit.event.EventEvent.Result
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescription
- 
Method SummaryModifier and TypeMethodDescriptiongetCause()Gets the cause of the resource reload.static @NotNull HandlerListMethods inherited from class org.bukkit.event.EventcallEvent, getEventName, isAsynchronous
- 
Field Details- 
HANDLER_LIST
 
- 
- 
Constructor Details- 
ServerResourcesReloadedEvent
 
- 
- 
Method Details- 
getCauseGets the cause of the resource reload.- Returns:
- the reload cause
 
- 
getHandlerList
- 
getHandlers- Specified by:
- getHandlersin class- Event
 
 
-