Class ModWriterForge
java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter
mods.thecomputerizer.theimpossiblelibrary.forge.core.asm.ModWriterForge
public abstract class ModWriterForge
extends mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.objectweb.asm.Typeprotected static final org.objectweb.asm.Typeprotected static final org.objectweb.asm.Typeprotected static final org.objectweb.asm.Typeprotected static final org.objectweb.asm.Typeprotected static final org.objectweb.asm.TypeFields 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
ConstructorsModifierConstructorDescriptionprotectedModWriterForge(mods.thecomputerizer.theimpossiblelibrary.api.core.CoreAPI core, mods.thecomputerizer.theimpossiblelibrary.api.core.loader.MultiVersionModInfo info, int javaVersion) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddClassAnnotations(org.objectweb.asm.ClassVisitor visitor) protected voidaddEntryHooks(org.objectweb.asm.MethodVisitor visitor, String method) protected voidaddEventSubscriber(org.objectweb.asm.ClassVisitor visitor, String modid, boolean modBus, boolean client, boolean server) protected Map.Entry<org.objectweb.asm.ClassWriter, org.objectweb.asm.Type> addInnerEventSubscriber(org.objectweb.asm.ClassVisitor outerClass, String modid, boolean modBus, boolean client, boolean server, String innerName, String... entryMethods) protected org.objectweb.asm.TypegetEventMethod(String className) protected voidMethods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter
addEntryHooks, addFields, addInnerClass, addInnerClass, buildModClass, classInit, constructor, finishWritingClass, generatedModType, getConstructor, getInfo, mapEntryPointMethod, modInterfaces, writeAnnotationArray, writeClassAnnotation, writeClassInit, writeConstructor, writeConstructor, writeInnerClass, writeInnerClass, writeMethod, writeMethodAnnotation, writeMod
-
Field Details
-
DIST
protected static final org.objectweb.asm.Type DIST -
EVENT_SUBSCRIBER
protected static final org.objectweb.asm.Type EVENT_SUBSCRIBER -
EVENT_SUBSCRIBER_BUS
protected static final org.objectweb.asm.Type EVENT_SUBSCRIBER_BUS -
JAVA_LOADING_CONTEXT
protected static final org.objectweb.asm.Type JAVA_LOADING_CONTEXT -
MOD_ANNOTATION
protected static final org.objectweb.asm.Type MOD_ANNOTATION -
SUBSCRIBE_EVENT
protected static final org.objectweb.asm.Type SUBSCRIBE_EVENT
-
-
Constructor Details
-
ModWriterForge
protected ModWriterForge(mods.thecomputerizer.theimpossiblelibrary.api.core.CoreAPI core, mods.thecomputerizer.theimpossiblelibrary.api.core.loader.MultiVersionModInfo info, int javaVersion)
-
-
Method Details
-
addClassAnnotations
protected void addClassAnnotations(org.objectweb.asm.ClassVisitor visitor) - Overrides:
addClassAnnotationsin classmods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter
-
addEntryHooks
-
addEventSubscriber
protected void addEventSubscriber(org.objectweb.asm.ClassVisitor visitor, String modid, boolean modBus, boolean client, boolean server) -
addInnerEventSubscriber
-
getEventMethod
- Specified by:
getEventMethodin classmods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter
-
mappedEntryPointMethods
-