Class ModWriterNeoForge1_21

java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter
mods.thecomputerizer.theimpossiblelibrary.neoforge.core.asm.ModWriterNeoForge
mods.thecomputerizer.theimpossiblelibrary.neoforge.v21.core.asm.ModWriterNeoForge1_21

public class ModWriterNeoForge1_21 extends mods.thecomputerizer.theimpossiblelibrary.neoforge.core.asm.ModWriterNeoForge
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final org.objectweb.asm.Type
     
    protected static final org.objectweb.asm.Type
     

    Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.neoforge.core.asm.ModWriterNeoForge

    DIST, EVENT_BUS, 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
    ModWriterNeoForge1_21(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.Type
     
    protected org.objectweb.asm.Type
     
    protected org.objectweb.asm.Type
     
    protected void
    writeMod(org.objectweb.asm.ClassWriter writer, List<Map.Entry<String,byte[]>> classBytes)
     

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.neoforge.core.asm.ModWriterNeoForge

    addClassAnnotations, addEntryHooks, addEventSubscriber, addInnerEventSubscriber, getConstructor, mappedEntryPointMethods, writeConstructor

    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
  • Field Details

    • EVENT_SUBSCRIBER

      protected static final org.objectweb.asm.Type EVENT_SUBSCRIBER
    • EVENT_SUBSCRIBER_BUS

      protected static final org.objectweb.asm.Type EVENT_SUBSCRIBER_BUS
  • Constructor Details

    • ModWriterNeoForge1_21

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

    • getEventMethod

      protected org.objectweb.asm.Type getEventMethod(String className)
      Overrides:
      getEventMethod in class mods.thecomputerizer.theimpossiblelibrary.neoforge.core.asm.ModWriterNeoForge
    • getEventSubscriberBusType

      protected org.objectweb.asm.Type getEventSubscriberBusType()
      Overrides:
      getEventSubscriberBusType in class mods.thecomputerizer.theimpossiblelibrary.neoforge.core.asm.ModWriterNeoForge
    • getEventSubscriberType

      protected org.objectweb.asm.Type getEventSubscriberType()
      Overrides:
      getEventSubscriberType in class mods.thecomputerizer.theimpossiblelibrary.neoforge.core.asm.ModWriterNeoForge
    • 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