1.12.2 How tf do u rotate stairs

Discussion in 'Spigot Plugin Development' started by KeskorianHD, Feb 19, 2020.

  1. Code (Text):
    block.setType(Material.WOOD_STAIRS);
    Stairs s = (Stairs) block.getState();
    s.setFacingDirection(BlockFace.EAST);
    this is what i have till now. It doesnt do anything. And if i try other things with .getData / .setData it will just give out an error. Directional doesnt seem to work too. Im clueless :? Anyone know how to solve this problem?
     
  2. Did you call s.update() afterwards?
     
  3. I mean i would....
     

    Attached Files:

  4. Think they meant block.getState().update()
     
  5. drives_a_ford

    Moderator