public class ModContainerFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.Map<org.objectweb.asm.Type,java.lang.reflect.Constructor<? extends ModContainer>> |
modTypes |
Modifier and Type | Method and Description |
---|---|
ModContainer |
build(ASMModParser modParser,
java.io.File modSource,
ModCandidate container) |
static ModContainerFactory |
instance() |
void |
registerContainerType(org.objectweb.asm.Type type,
java.lang.Class<? extends ModContainer> container) |
public static java.util.Map<org.objectweb.asm.Type,java.lang.reflect.Constructor<? extends ModContainer>> modTypes
public static ModContainerFactory instance()
public void registerContainerType(org.objectweb.asm.Type type, java.lang.Class<? extends ModContainer> container)
@Nullable public ModContainer build(ASMModParser modParser, java.io.File modSource, ModCandidate container)