java.lang.Object
com.ranull.graves.util.pluginsthatgoabandonedandtheirlicenseiscrapsoreflectionitis.ChestSortAPI

@Deprecated public final class ChestSortAPI extends Object
Deprecated.
Unmaintained upstream. see see here Minimal reflective bridge to de.jeff_media.chestsort.api.ChestSortAPI. This was done due to the actual jar wanting to use jeff-media repo that now resolves to nothing. This is a messy way to call it, but fuk it
  • Field Details

    • PLUGIN_NAME

      private static final String PLUGIN_NAME
      Deprecated.
      See Also:
    • API_CLASS

      private static final String API_CLASS
      Deprecated.
      See Also:
    • lookedUp

      private static volatile boolean lookedUp
      Deprecated.
    • classAvailable

      private static volatile boolean classAvailable
      Deprecated.
    • MH_sortInventory_Inv

      private static MethodHandle MH_sortInventory_Inv
      Deprecated.
  • Constructor Details

    • ChestSortAPI

      private ChestSortAPI()
      Deprecated.
  • Method Details

    • sortInventory

      @Deprecated public static void sortInventory(org.bukkit.inventory.Inventory inventory)
      Deprecated.
      Unmaintained upstream. see here. Sorts an Inventory.
      Parameters:
      inventory - inventory to sort (non-null)
    • ensureLookup

      private static void ensureLookup()
      Deprecated.
      One-time reflective lookup of ChestSort API methods.
    • staticHandle

      private static MethodHandle staticHandle(MethodHandles.Lookup lookup, Class<?> owner, Class<?>... params)
      Deprecated.
      Gets a MethodHandle for a public static method or null.
    • invokeStaticVoid

      private static void invokeStaticVoid(MethodHandle mh, Object... args)
      Deprecated.
      Invokes a static void handle.
    • isEnabled

      private static boolean isEnabled()
      Deprecated.
      Returns:
      true if ChestSort plugin is present and enabled.