Examples of modifyPositionFromSide()


Examples of micdoodle8.mods.galacticraft.api.vector.BlockVec3.modifyPositionFromSide()

                    if (tileEntity.getWorldObj().getTileEntity(tileEntity.xCoord, tileEntity.yCoord, tileEntity.zCoord) == tileEntity)
                    {
                        for (ForgeDirection direction : ForgeDirection.VALID_DIRECTIONS)
                        {
                            BlockVec3 tileVec = new BlockVec3(tileEntity);
                            TileEntity tile = tileVec.modifyPositionFromSide(direction, 1).getTileEntity(tileEntity.getWorldObj());

                            if (((IOxygenReceiver) tileEntity).canConnect(direction, NetworkType.OXYGEN) && this.pipes.contains(tile))
                            {
                                requests.add(((IOxygenReceiver) tileEntity).getOxygenRequest(direction));
                            }
View Full Code Here

Examples of micdoodle8.mods.galacticraft.api.vector.Vector3.modifyPositionFromSide()

            for (ForgeDirection dir : ForgeDirection.VALID_DIRECTIONS)
            {
                if (dir != ForgeDirection.UP && dir != ForgeDirection.DOWN)
                {
                    Vector3 thisVec = new Vector3(x, y, z);
                    thisVec = thisVec.modifyPositionFromSide(dir);
                    Block blockID = thisVec.getBlock(world);

                    if (blockID == GCBlocks.airLockFrame || blockID == GCBlocks.airLockSeal)
                    {
                        adjacentCount++;
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.