Пример #1
0
 private boolean blockRegolith(BlockType block, BlockType self) {
   if (block.equals(BlockTypes.DIRT)
       || block.equals(BlockTypes.GRASS)
       || block.equals(BlockTypes.GRAVEL)
       || block.equals(BlockTypes.SAND)
       || block.equals(self)) return true;
   else return false;
 }
Пример #2
0
 private boolean blockStone(BlockType intermediate) {
   if (intermediate.equals(BlockTypes.STONE)) return true;
   else return false;
 }
Пример #3
0
 private boolean blockAir(BlockType intermediate) {
   if (intermediate.equals(BlockTypes.AIR) || intermediate.equals(BlockTypes.WATER)) {
     return true;
   } else return false;
 }