Class ModWriter1_12_2

java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter
mods.thecomputerizer.theimpossiblelibrary.legacy.v12.m2.core.asm.ModWriter1_12_2

public class ModWriter1_12_2 extends mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter
  • Field Summary

    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
    ModWriter1_12_2(mods.thecomputerizer.theimpossiblelibrary.api.core.CoreAPI core, mods.thecomputerizer.theimpossiblelibrary.api.core.loader.MultiVersionModInfo info)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    addClassAnnotations(org.objectweb.asm.ClassVisitor visitor)
     
    protected org.objectweb.asm.Type
     
    protected void
    mappedEntryPointMethods(Map<String,String[]> redirects, Map<String, org.objectweb.asm.Type> types)
     
    protected void
    writeMod(org.objectweb.asm.ClassWriter writer, List<Map.Entry<String,byte[]>> classBytes)
     

    Methods 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

    Methods inherited from class java.lang.Object

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

    • ModWriter1_12_2

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

    • addClassAnnotations

      protected void addClassAnnotations(org.objectweb.asm.ClassVisitor visitor)
      Overrides:
      addClassAnnotations in class mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter
    • getEventMethod

      protected org.objectweb.asm.Type getEventMethod(String className)
      Specified by:
      getEventMethod in class mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter
    • mappedEntryPointMethods

      protected void mappedEntryPointMethods(Map<String,String[]> redirects, Map<String, org.objectweb.asm.Type> types)
      Specified by:
      mappedEntryPointMethods in class mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter
    • writeMod

      protected void writeMod(org.objectweb.asm.ClassWriter writer, List<Map.Entry<String,byte[]>> classBytes)
      Overrides:
      writeMod in class mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter