Class MachineEngineReloadEvent
java.lang.Object
org.bukkit.event.Event
fr.robie.machineengine.api.paper.event.MachineEngineReloadEvent
public final class MachineEngineReloadEvent
extends org.bukkit.event.Event
A reloadable registry (recipes, tags …) was reloaded, or its reload was rejected.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionMachineEngineReloadEvent(@NotNull RegistryType<?> registry, boolean accepted, @NotNull ValidationReport report) -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull org.bukkit.event.HandlerList@NotNull org.bukkit.event.HandlerList@NotNull RegistryType<?> @NotNull ValidationReportbooleanWhether the new content is live; if not, the previous content stays and the report says why.Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
MachineEngineReloadEvent
public MachineEngineReloadEvent(@NotNull @NotNull RegistryType<?> registry, boolean accepted, @NotNull @NotNull ValidationReport report)
-
-
Method Details
-
getRegistry
-
isAccepted
public boolean isAccepted()Whether the new content is live; if not, the previous content stays and the report says why. -
getReport
-
getHandlerList
@NotNull public static @NotNull org.bukkit.event.HandlerList getHandlerList() -
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlersin classorg.bukkit.event.Event
-