Examples of newVecSide()


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

            }
        }
        BlockVec3 inFront = new BlockVec3(this);
        for (int i = 0; i < 5; i++)
        {
            inFront = inFront.newVecSide(this.facingSide).newVecSide(sideskip1 ^ 1);
            Block b = inFront.getBlockIDsafe_noChunkLoad(world);
            if (b != null && b.getLightOpacity() < 15)
            {
                currentLayer.add(inFront);
            }
View Full Code Here

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

          left++;
          TileEntity newTile = vec.getTileEntityOnSide(this.worldObj, leftside);
          if (newTile instanceof TileEntityScreen)
          {
            tile = (TileEntityScreen) newTile;
            vec = vec.newVecSide(leftside);
          }
          else
          {
            System.out.println("Debug - connected left to a non-screen tile");
            tile.connectedLeft = false;
View Full Code Here

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

          right++;
          TileEntity newTile = vec.getTileEntityOnSide(this.worldObj, rightside);
          if (newTile instanceof TileEntityScreen)
          {
            tile = (TileEntityScreen) newTile;
            vec = vec.newVecSide(rightside);
          }
          else
          {
            System.out.println("Debug - connected right to a non-screen tile");
            tile.connectedRight = false;
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.