1 2 3 4 5 6 7 8 9 10 11 12
package tectech.util; public class FaceVisibility { public boolean front = true, back = true; public boolean left = true, right = true; public boolean top = true, bottom = true; public boolean isEntireObscured() { return !front && !back && !left && !right && !top && !bottom; } }