Package mantle.world

Examples of mantle.world.CoordTuple


        activeTemps = tags.getIntArray("Temperature");
        meltingTemps = tags.getIntArray("Melting");
        fuelAmount = tags.getInteger("Fuel");
        int[] tank = tags.getIntArray("LavaTank");
        if (tank.length > 0)
            activeLavaTank = new CoordTuple(tank[0], tank[1], tank[2]);
    }
View Full Code Here


        TileEntity be = world.getTileEntity(x, y, z);
        if (be instanceof IServantLogic)
        {
            boolean ret = ((IServantLogic) be).setPotentialMaster(this.imaster, this.world, x, y, z);
            if (ret && block == TinkerSmeltery.lavaTank)
                lavaTanks.add(new CoordTuple(x, y, z));
            return ret;
        }

        return false;
    }
View Full Code Here

    {
        super.cleanup();
        Iterator i = airCoords.iterator();
        while (i.hasNext())
        {
            CoordTuple coord = (CoordTuple) i.next();
            TileEntity te = world.getTileEntity(coord.x, coord.y, coord.z);
            if (te != null && te instanceof IServantLogic)
            {
                ((IServantLogic) te).invalidateMaster(imaster, world, master.xCoord, master.yCoord, master.zCoord);
            }
View Full Code Here

            lavaTanks.clear();

            for (int i = 0; i < tanks.tagCount(); ++i)
            {
                int[] coord = tanks.func_150306_c(i);
                layerAirCoords.add(new CoordTuple(coord[0], coord[1], coord[2]));
            }
        }
    }
View Full Code Here

TOP

Related Classes of mantle.world.CoordTuple

Copyright © 2018 www.massapicom. 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.