Class LbaModCompatLoader
java.lang.Object
alexiil.mc.lib.attributes.misc.compat.mod.LbaModCompatLoader
- Direct Known Subclasses:
DankItemInvCompatLoader
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static Class<?>
protected static boolean
hasOldMethod
(Class<?> cls, String name, Class<?>[] args, Class<?> ret) protected static void
requireField
(Class<?> cls, String name, Class<?> type) protected static void
requireMethod
(Class<?> cls, String name, Class<?>[] args, Class<?> ret)
-
Constructor Details
-
LbaModCompatLoader
public LbaModCompatLoader()
-
-
Method Details
-
c
- Throws:
ClassNotFoundException
-
requireField
protected static void requireField(Class<?> cls, String name, Class<?> type) throws ReflectiveOperationException - Throws:
ReflectiveOperationException
-
requireMethod
protected static void requireMethod(Class<?> cls, String name, Class<?>[] args, Class<?> ret) throws ReflectiveOperationException - Throws:
ReflectiveOperationException
-
hasOldMethod
-