Class LbaModCompatLoader
java.lang.Object
alexiil.mc.lib.attributes.misc.compat.mod.LbaModCompatLoader
- Direct Known Subclasses:
DankItemInvCompatLoader
,TransferFluidInvCompatLoader
,TransferItemInvCompatLoader
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static Class<?>
protected static boolean
hasOldMethod
(Class<?> cls, String name, Class<?>[] args, Class<?> ret) protected static void
requireClassExtends
(Class<?> cls, Class<?> expectedParent) 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
-
requireClassExtends
protected static void requireClassExtends(Class<?> cls, Class<?> expectedParent) throws ReflectiveOperationException - Throws:
ReflectiveOperationException
-
hasOldMethod
-