public class ServerResourcesReloadedEvent extends ServerEvent
Intended for use to re-register custom recipes, advancements that may be lost during a reload like this.
| Modifier and Type | Class | Description |
|---|---|---|
static class |
ServerResourcesReloadedEvent.Cause |
Event.Result| Modifier and Type | Field | Description |
|---|---|---|
static HandlerList |
HANDLER_LIST |
| Constructor | Description |
|---|---|
ServerResourcesReloadedEvent(ServerResourcesReloadedEvent.Cause cause) |
| Modifier and Type | Method | Description |
|---|---|---|
ServerResourcesReloadedEvent.Cause |
getCause() |
Gets the cause of the resource reload.
|
static HandlerList |
getHandlerList() |
|
HandlerList |
getHandlers() |
callEvent, getEventName, isAsynchronouspublic static final HandlerList HANDLER_LIST
public ServerResourcesReloadedEvent(@NotNull ServerResourcesReloadedEvent.Cause cause)
@NotNull public ServerResourcesReloadedEvent.Cause getCause()
@NotNull public static HandlerList getHandlerList()
@NotNull public HandlerList getHandlers()
getHandlers in class EventCopyright © 2021. All rights reserved.