java.lang.Object
me.jay.GravesX.util.pluginsWithoutMavenReposOrUsefulApiDocsThatCauseBugs.ReflectSupportAE

public final class ReflectSupportAE extends Object
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 Type
    Method
    Description
    static 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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.