How to tilt a falling block

Discussion in 'Spigot Plugin Development' started by El_Chupe, May 30, 2017.

  1. What I want to do is spawn a falling block and then tilt it, as in adjusting the pitch and yaw. For instance, spawn a glass pane falling block and then make it look like a rod pointing the direction the player is looking. I have seen other plugins do this like Vehicles, so I know that it's possible. Does anyone know how to do this?
     
  2. Can't do it with falling blocks, but you could put a block on armor stand's head and adjust the head pose.
     
    • Agree Agree x 1
  3. ScarabCoder

    ScarabCoder Retired Resource Staff
    Retired

    There's a special kind of Minecart with a block in it, and you can set the Y offset of the block to be above the minecart.
    You can see how this works with command blocks: