Package dev.architectury.loom.forge
Class ModDirTransformerDiscovererPatch
java.lang.Object
org.objectweb.asm.ClassVisitor
dev.architectury.loom.forge.ModDirTransformerDiscovererPatch
public final class ModDirTransformerDiscovererPatch
extends org.objectweb.asm.ClassVisitor
Patches
ModDirTransformerDiscovererPatch in Forge 49.0.50+ so that it doesn't try to create modules
directly out of UnionFS root paths created by Union Relauncher. SecureModules can't infer the module names
from those paths, so the game crashes without this patch.-
Field Summary
Fields inherited from class org.objectweb.asm.ClassVisitor
api, cv -
Constructor Summary
ConstructorsConstructorDescriptionModDirTransformerDiscovererPatch(org.objectweb.asm.ClassVisitor classVisitor) -
Method Summary
Modifier and TypeMethodDescriptionorg.objectweb.asm.MethodVisitorvisitMethod(int access, String name, String descriptor, String signature, String[] exceptions) Methods inherited from class org.objectweb.asm.ClassVisitor
getDelegate, visit, visitAnnotation, visitAttribute, visitEnd, visitField, visitInnerClass, visitModule, visitNestHost, visitNestMember, visitOuterClass, visitPermittedSubclass, visitRecordComponent, visitSource, visitTypeAnnotation
-
Constructor Details
-
ModDirTransformerDiscovererPatch
public ModDirTransformerDiscovererPatch(org.objectweb.asm.ClassVisitor classVisitor)
-
-
Method Details