Class ModWriterForge1_20_6

java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter
mods.thecomputerizer.theimpossiblelibrary.forge.core.asm.ModWriterForge
mods.thecomputerizer.theimpossiblelibrary.forge.v20.core.asm.ModWriterForge1_20
mods.thecomputerizer.theimpossiblelibrary.forge.v20.m6.core.asm.ModWriterForge1_20_6

public class ModWriterForge1_20_6 extends mods.thecomputerizer.theimpossiblelibrary.forge.v20.core.asm.ModWriterForge1_20
  • Field Summary

    Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.forge.core.asm.ModWriterForge

    DIST, EVENT_SUBSCRIBER, EVENT_SUBSCRIBER_BUS, JAVA_LOADING_CONTEXT, MOD_ANNOTATION, SUBSCRIBE_EVENT

    Fields 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

    Constructors
    Constructor
    Description
    ModWriterForge1_20_6(mods.thecomputerizer.theimpossiblelibrary.api.core.CoreAPI core, mods.thecomputerizer.theimpossiblelibrary.api.core.loader.MultiVersionModInfo info)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.objectweb.asm.MethodVisitor
    getConstructor(org.objectweb.asm.ClassVisitor visitor)
     
    protected final void
    writeConstructor(org.objectweb.asm.ClassVisitor visitor)
    Sets the extraData field of CommonEntryPoint to the FMLJavaModLoadingContext passed into the constructor of the written class so that it is internally accessible

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.forge.v20.core.asm.ModWriterForge1_20

    getEventMethod, getOptionalContructorType, writeMod

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.forge.core.asm.ModWriterForge

    addClassAnnotations, addEntryHooks, addEventSubscriber, addInnerEventSubscriber, mappedEntryPointMethods

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter

    addEntryHooks, addFields, addInnerClass, addInnerClass, buildModClass, classInit, constructor, finishWritingClass, generatedModType, getInfo, mapEntryPointMethod, modInterfaces, writeAnnotationArray, writeClassAnnotation, writeClassInit, writeConstructor, writeInnerClass, writeInnerClass, writeMethod, writeMethodAnnotation

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ModWriterForge1_20_6

      public ModWriterForge1_20_6(mods.thecomputerizer.theimpossiblelibrary.api.core.CoreAPI core, mods.thecomputerizer.theimpossiblelibrary.api.core.loader.MultiVersionModInfo info)
  • Method Details

    • getConstructor

      protected org.objectweb.asm.MethodVisitor getConstructor(org.objectweb.asm.ClassVisitor visitor)
      Overrides:
      getConstructor in class mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter
    • writeConstructor

      protected final void writeConstructor(org.objectweb.asm.ClassVisitor visitor)
      Sets the extraData field of CommonEntryPoint to the FMLJavaModLoadingContext passed into the constructor of the written class so that it is internally accessible
      Overrides:
      writeConstructor in class mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter