Hello all, I am trying to place a ladder with code (#block#setType(Material)) however it isn't rotated correctly. How would I go about rotating it? Thanks!
You'll have to guess by setting the block data values [Block#setData(byte)]. One of the values should rotate it how you want. This would be pretty trivial is you were using a more updated version of the API as Ladder implements Directional
A three-bit field storing a value from 2 to 5: 2: Ladder facing north 3: Ladder facing south 4: Ladder facing west 5: Ladder facing east Invalid values default to 2.