Class LbaModCompatLoader
java.lang.Object
alexiil.mc.lib.attributes.misc.compat.mod.LbaModCompatLoader
- Direct Known Subclasses:
DankItemInvCompatLoader,TransferFluidInvCompatLoader,TransferItemInvCompatLoader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static Class<?>protected static booleanhasOldMethod(Class<?> cls, String name, Class<?>[] args, Class<?> ret) protected static voidrequireClassExtends(Class<?> cls, Class<?> expectedParent) protected static voidrequireField(Class<?> cls, String name, Class<?> type) protected static voidrequireMethod(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
-