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 and Description |
|---|---|
static class |
ServerResourcesReloadedEvent.Cause |
Event.Result| Modifier and Type | Field and Description |
|---|---|
static HandlerList |
HANDLER_LIST |
| Constructor and Description |
|---|
ServerResourcesReloadedEvent(@NotNull ServerResourcesReloadedEvent.Cause cause) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull ServerResourcesReloadedEvent.Cause |
getCause()
Gets the cause of the resource reload.
|
static @NotNull HandlerList |
getHandlerList() |
@NotNull HandlerList |
getHandlers() |
callEvent, getEventName, isAsynchronouspublic static final HandlerList HANDLER_LIST
public ServerResourcesReloadedEvent(@NotNull @NotNull ServerResourcesReloadedEvent.Cause cause)
@NotNull public @NotNull ServerResourcesReloadedEvent.Cause getCause()
@NotNull public static @NotNull HandlerList getHandlerList()
@NotNull public @NotNull HandlerList getHandlers()
getHandlers in class EventCopyright © 2021. All rights reserved.