Package valorless.rarespawns.hooks
Class HavenBagsHook
java.lang.Object
valorless.rarespawns.hooks.HavenBagsHook
Integration helper for HavenBags.
Provides detection, logging, and access to the plugin instance.
Notes:
Uses HavenBags' own Lang for parsing and localization
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.inventory.ItemStackcreateBag(int size) static org.bukkit.inventory.ItemStackcreateBag(int size, boolean binding) static org.bukkit.inventory.ItemStackcreateUnboundBag(String bagID) static valorless.havenbags.datamodels.DatagetBagData(String bagID) static valorless.havenbags.datamodels.DatagetBagData(org.bukkit.inventory.ItemStack item) static valorless.valorlessutils.config.Configstatic org.bukkit.plugin.java.JavaPluginReturns the HavenBags plugin instance.static voidHook()Attempts to detect HavenBags and logs whether integration is active.static booleanisHooked()Returns true when HavenBags is present on the server.
-
Constructor Details
-
HavenBagsHook
public HavenBagsHook()
-
-
Method Details
-
Hook
public static void Hook()Attempts to detect HavenBags and logs whether integration is active. -
isHooked
public static boolean isHooked()Returns true when HavenBags is present on the server. -
getInstance
public static org.bukkit.plugin.java.JavaPlugin getInstance()Returns the HavenBags plugin instance. -
createBag
public static org.bukkit.inventory.ItemStack createBag(int size) -
createUnboundBag
-
getBagData
public static valorless.havenbags.datamodels.Data getBagData(org.bukkit.inventory.ItemStack item) -
getBagData
-
getConfig
public static valorless.valorlessutils.config.Config getConfig() -
createBag
public static org.bukkit.inventory.ItemStack createBag(int size, boolean binding)
-