public boolean isInBox(Position position) {
   return ((position.getX() >= minX) && (position.getX() <= maxX))
       && ((position.getY() >= minY) && (position.getY() <= maxY))
       && ((position.getZ() >= minZ) && (position.getZ() <= maxZ))
       && Objects.equals(position.getLevel().getName(), getLevelName());
 }