title: How to change a piston direction?
body: <p>I need some help to change a piston direction while placing it programmatically.</p>
  
  <p>I use this method to set my block type to a piston:</p>
  
  <pre><code>block.setType(Material.PISTON_BASE);
  </code></pre>
  
  <p>But I can't find a method to change its direction, and point it down.</p>