Package de.Keyle.MyPet
package de.Keyle.MyPet
Static entry point to the MyPet API.
MyPetApi is the single hand-off point between an addon
and the running plugin: every manager, service and hook reachable from the API is
reached through one of its static accessors.
Nothing here is available before MyPet's own onEnable has run. Call the
API from your own onEnable rather than from onLoad or a constructor,
declare softdepend: [MyPet] in your plugin.yml, and guard optional
paths with MyPetApi.isReady(). Accessing a manager before the
plugin has loaded throws IllegalStateException.
-
ClassesClassDescriptionStatic entry point to the MyPet API: every manager, service and hook an addon can reach is reached through one of the accessors here.