implemented minecraft obstacle sensors