"The blocks for the door to the sides have to be the same.");
}
// Detect whether the door needs to be opened
if (toOpen == null) {
toOpen = !canPassThrough(world.getId(pt.add(vertDir.multiply(2))));
}
Vector cur = pt.add(vertDir.multiply(2));
boolean found = false;
int dist = 0;