Examples of makeController()


Examples of buildcraft.api.gates.IGateExpansion.makeController()

    NBTTagList exList = nbt.getTagList("expansions", Constants.NBT.TAG_COMPOUND);
    for (int i = 0; i < exList.tagCount(); i++) {
      NBTTagCompound conNBT = exList.getCompoundTagAt(i);
      IGateExpansion ex = GateExpansions.getExpansion(conNBT.getString("type"));
      if (ex != null) {
        GateExpansionController con = ex.makeController(pipe.container);
        con.readFromNBT(conNBT.getCompoundTag("data"));
        gate.expansions.put(ex, con);
      }
    }
View Full Code Here

Examples of org.codehaus.groovy.classgen.asm.WriterControllerFactory.makeController()

    public void visitClass(ClassNode classNode) {
        referencedClasses.clear();
        WriterControllerFactory factory = (WriterControllerFactory) classNode.getNodeMetaData(WriterControllerFactory.class);
        WriterController normalController = new WriterController();
        if (factory!=null) {
            this.controller = factory.makeController(normalController);
        } else {
            this.controller = normalController;
        }
        this.controller.init(this, context, cv, classNode);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.