Examples of addCollisionBoxesToList()


Examples of net.minecraft.block.Block.addCollisionBoxesToList()

    for (int x = minX; x < maxX; x++) {
      for (int z = minZ; z < maxZ; z++) {
        for (int y = minY; y < maxY; y++) {
          Block block = world.getBlock(x, y, z);
          if(block != null) {
            block.addCollisionBoxesToList(world, x, y, z, entityBounds, collidingBoundingBoxes, entity);
          }
        }
      }
    }
    return collidingBoundingBoxes;
View Full Code Here

Examples of net.minecraft.block.Block.addCollisionBoxesToList()

            for (int y = ystart; y < maxY; y++) {
              int blkid = chunk.getBlockID(x - cx, y, z - cz);
              if (blkid > 0) {
                Block block = Block.blocksList[blkid];
                if (block != null) {
                  block.addCollisionBoxesToList(this, x, y, z, par2AxisAlignedBB, collidingBoundingBoxes, par1Entity);
                }
                if (!collidingBoundingBoxes.isEmpty()) {
                  return true;
                }
              }
View Full Code Here

Examples of net.minecraft.block.Block.addCollisionBoxesToList()

            for (int y = ystart; y < maxY; y++) {
              int blkid = chunk.getBlockID(x - cx, y, z - cz);
              if (blkid > 0) {
                Block block = Block.blocksList[blkid];
                if (block != null) {
                  block.addCollisionBoxesToList(this, x, y, z, par2AxisAlignedBB, collidingBoundingBoxes, par1Entity);
                }
              }
            }
          }
        }
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.