Uses of Class
ke.ric.api.HeirloomAPI
Packages that use HeirloomAPI
Package
Description
Public entry point and addon lifecycle contracts for integrating with Heirloom.
-
Uses of HeirloomAPI in ke.ric.api
Methods in ke.ric.api that return HeirloomAPIModifier and TypeMethodDescriptionstatic HeirloomAPIHeirloomAPI.getInstance()Get the HeirloomAPI instance.Methods in ke.ric.api with parameters of type HeirloomAPIModifier and TypeMethodDescriptionvoidHeirloomAddon.onEnable(HeirloomAPI api) Called when the addon is enabled and registered with Heirloom.Method parameters in ke.ric.api with type arguments of type HeirloomAPIModifier and TypeMethodDescriptionvoidHeirloomAPI.registerAddon(String addonId, String version, org.bukkit.plugin.Plugin owningPlugin, Consumer<HeirloomAPI> registrationCallback) Register an addon with Heirloom using a callback.voidHeirloomAPI.registerAddon(String addonId, String version, org.bukkit.plugin.Plugin owningPlugin, Consumer<HeirloomAPI> registrationCallback, Runnable reloadCallback) Register an addon with Heirloom using callbacks for enable and reload.voidHeirloomAPI.registerAddon(String addonId, String version, org.bukkit.plugin.Plugin owningPlugin, Consumer<HeirloomAPI> registrationCallback, Runnable reloadCallback, Runnable disableCallback) Callback variant including owner cleanup when the addon is removed independently of its plugin.