public class ModContainerFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static ModContainerFactory |
INSTANCE |
static java.util.Map<org.objectweb.asm.Type,java.lang.reflect.Constructor<? extends ModContainer>> |
modTypes |
Modifier | Constructor and Description |
---|---|
private |
ModContainerFactory() |
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
private static ModContainerFactory INSTANCE
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)