/** Checks the tile entity with all the protections */ public static boolean checkTileEntity(TileEntity te) { for (Protection prot : Protections.instance.getProtectionList()) if (prot.checkTileEntity(te)) return true; return false; }