Beispiel #1
0
 /**
  * Test if the foot location is passable (not the bounding box). <br>
  * The result is cached.
  *
  * @return
  */
 public boolean isPassable() {
   if (passable == null) {
     passable = BlockProperties.isPassable(blockCache, x, y, z, getTypeId());
     //          passable = BlockProperties.isPassableExact(blockCache, x, y, z, getTypeId());
   }
   return passable;
 }
 /**
  * Simple at the spot passability test, no bounding boxes.
  *
  * @return
  */
 public boolean isPassable() {
   if (passable == null)
     passable = BlockProperties.isPassable(getBlockAccess(), x, y, z, getTypeId());
   return passable;
 }