Easy way to rotate/flip a block?

Discussion in 'Plugin Development' started by nathanthesnooper, Nov 6, 2017.

Thread Status:
Not open for further replies.
  1. I want a block to rotate and or flip around a center block. I have finished that, but how do I rotate or flip the block (like stairs) so that it is symmetrical? (Like WorldEdit)
     
  2. Offline

    MightyOne

    A blocks rotation is set with setData(short) I hope. So there are stairs that have like 4 faces. You can e.g. rotate stone stairs with 0 - 3 but also upside down with 4 - 7 but logs e.g. oak wood only has y-axis facing with 0, x-axis facing with 4 and z-axis with 8. Slabs only have top and bottom half e.g the normal stone slab with top 0 and bottom 8. Sry if that is just mixed up with world edit but im sure it is the same with set data xD
     
Thread Status:
Not open for further replies.

Share This Page