Class ModWriterFabric
java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter
mods.thecomputerizer.theimpossiblelibrary.fabric.core.asm.ModWriterFabric
public abstract class ModWriterFabric
extends mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter
-
Field Summary
FieldsFields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter
core, EMPTY_METHOD_DESC, entryPoint, entryPointDesc, entryPointInternal, entryPointMethods, entryPointMethodTypes, info, javaVersion, modType, modTypeDesc, modTypeInternal -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedModWriterFabric(mods.thecomputerizer.theimpossiblelibrary.api.core.CoreAPI core, mods.thecomputerizer.theimpossiblelibrary.api.core.loader.MultiVersionModInfo info, int javaVersion) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddEntryHooks(org.objectweb.asm.MethodVisitor visitor, boolean isStatic, String method) protected Map.Entry<org.objectweb.asm.ClassWriter, org.objectweb.asm.Type> addInnerEntryPoint(org.objectweb.asm.ClassVisitor outerClass, boolean client, String innerName) protected org.objectweb.asm.TypegetEventMethod(String className) protected voidprotected voidMethods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter
addClassAnnotations, addEntryHooks, addFields, addInnerClass, addInnerClass, buildModClass, classInit, constructor, finishWritingClass, generatedModType, getConstructor, getInfo, mapEntryPointMethod, modInterfaces, writeAnnotationArray, writeClassAnnotation, writeClassInit, writeConstructor, writeConstructor, writeInnerClass, writeInnerClass, writeMethod, writeMethodAnnotation
-
Field Details
-
FABRIC_HELPER_INTERNAL
-
FINALIZER_DESC
-
-
Constructor Details
-
ModWriterFabric
protected ModWriterFabric(mods.thecomputerizer.theimpossiblelibrary.api.core.CoreAPI core, mods.thecomputerizer.theimpossiblelibrary.api.core.loader.MultiVersionModInfo info, int javaVersion)
-
-
Method Details
-
addEntryHooks
protected void addEntryHooks(org.objectweb.asm.MethodVisitor visitor, boolean isStatic, String method) -
addInnerEntryPoint
-
getEventMethod
- Specified by:
getEventMethodin classmods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter
-
mappedEntryPointMethods
-
writeMod
-