Get the Door's Top or Bottom Half

Discussion in 'Spigot Help' started by PRLL001, Feb 23, 2020.

  1. I'm currently trying to get a door's location, this includes it's top and bottom half. I tried using the "deprecated" method of Door.isTopHalf() but it would always return false, it didn't matter which half I was clicking/looking at.

    I already get the location correctly of whichever half i'm looking at, and i already have a working conditional which will evaluate if the block is a door or not. I'm just missing a way to find out if i'm looking/clicking at the door's bottom or top half.

    Is there any way this could be done?

    Thanks in advance to any advice!