Class ReflectSupportAE
java.lang.Object
me.jay.GravesX.util.pluginsWithoutMavenReposOrUsefulApiDocsThatCauseBugs.ReflectSupportAE
Reflected class for AEAPI because you have to pay to use the API. What dumbass thinks that is a good idea.
We only include this because people want it.
Java 17–compatible, no functional changes: just caches reflective lookups and fails closed.
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
hasWhitScroll
(org.bukkit.inventory.ItemStack itemStack) Checks if the given ItemStack has the "WhitScroll" enchantment, without ever statically linking against AEAPI.static boolean
isSoulbound
(org.bukkit.inventory.ItemStack itemStack) Checks if the given ItemStack has the "Soulbound" enchantment, without ever statically linking against AEAPI.
-
Method Details
-
isSoulbound
public static boolean isSoulbound(org.bukkit.inventory.ItemStack itemStack) Checks if the given ItemStack has the "Soulbound" enchantment, without ever statically linking against AEAPI. -
hasWhitScroll
public static boolean hasWhitScroll(org.bukkit.inventory.ItemStack itemStack) Checks if the given ItemStack has the "WhitScroll" enchantment, without ever statically linking against AEAPI.
-