Package valorless.rarespawns.hooks
Class mcmmoHook
java.lang.Object
valorless.rarespawns.hooks.mcmmoHook
Integration helper for mcMMO.
Provides detection, logging, and access to the plugin instance.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.plugin.java.JavaPluginReturns the mcMMO plugin instance.static voidHook()Attempts to detect mcMMO and logs whether integration is active.static booleanisHooked()Returns true when mcMMO is present on the server.static voidsetBlockIneligible(org.bukkit.block.Block block) Marks a block as ineligible for mcMMO exploitation/skill gain.
-
Constructor Details
-
mcmmoHook
public mcmmoHook()
-
-
Method Details
-
Hook
public static void Hook()Attempts to detect mcMMO and logs whether integration is active. -
isHooked
public static boolean isHooked()Returns true when mcMMO is present on the server. -
getPlugin
public static org.bukkit.plugin.java.JavaPlugin getPlugin()Returns the mcMMO plugin instance. -
setBlockIneligible
public static void setBlockIneligible(org.bukkit.block.Block block) Marks a block as ineligible for mcMMO exploitation/skill gain.- Parameters:
block- the block to mark
-