Class MachineEngineAccess
java.lang.Object
fr.robie.machineengine.api.MachineEngineAccess
Holds the registrations submitted before the engine starts and the running engine afterwards.
The only static mutable state of MachineEngine (ยง8.3). Addons use
MachineEngine.register(AddonRegistration)
and MachineEngine.get(); the platform uses the internal methods.-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull List<AddonRegistration> Closes registration and hands the submitted registrations to the platform.static voidinstall(@Nullable MachineEngine running) static voidinstallConfig(@Nullable ConfigValues loaded) The loadedconfig.yml; installed inonLoad, before addons register.static voidinstallSchedulers(@Nullable Function<org.bukkit.plugin.Plugin, Scheduler> perPlugin) The platform's schedulers, one per plugin (D35); installed inonLoad.static voidreset()Resets everything, e.g.
-
Method Details
-
installSchedulers
-
installConfig
The loadedconfig.yml; installed inonLoad, before addons register. -
closeRegistration
Closes registration and hands the submitted registrations to the platform. -
install
-
reset
@Internal public static void reset()Resets everything, e.g. when the plugin is disabled.
-