get State
Captures the current state of this block. You may then cast that state into any accepted type, such as Furnace or Sign.
The returned object will never be updated, and you are not guaranteed that (for example) getClassById sign is still getClassById sign after you capture its state.
Return
BlockState with the current state of this block.