Class ChestSortAPI
java.lang.Object
dev.cwhead.GravesX.util.pluginsthatgoabandonedandtheirlicenseiscrapsoreflectionitis.ChestSortAPI
Deprecated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final StringDeprecated.private static booleanDeprecated.private static booleanDeprecated.private static MethodHandleDeprecated.private static final StringDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidDeprecated.One-time reflective lookup of ChestSort API methods.private static voidinvokeStaticVoid(MethodHandle mh, Object... args) Deprecated.Invokes a static void handle.private static booleanDeprecated.static voidsortInventory(org.bukkit.inventory.Inventory inventory) Deprecated.Unmaintained upstream. see here.private static MethodHandlestaticHandle(MethodHandles.Lookup lookup, Class<?> owner, Class<?>... params) Deprecated.Gets aMethodHandlefor a public static method ornull.
-
Field Details
-
PLUGIN_NAME
Deprecated.- See Also:
-
API_CLASS
Deprecated.- See Also:
-
lookedUp
private static volatile boolean lookedUpDeprecated. -
classAvailable
private static volatile boolean classAvailableDeprecated. -
MH_sortInventory_Inv
Deprecated.
-
-
Constructor Details
-
ChestSortAPI
private ChestSortAPI()Deprecated.
-
-
Method Details
-
sortInventory
Deprecated.Unmaintained upstream. see here. Sorts anInventory.- 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 aMethodHandlefor a public static method ornull. -
invokeStaticVoid
Deprecated.Invokes a static void handle. -
isEnabled
private static boolean isEnabled()Deprecated.- Returns:
- true if ChestSort plugin is present and enabled.
-
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