How to make a moving block?

Discussion in 'Plugin Development' started by WishMachine, May 28, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    WishMachine

    I am working on a small project where I need it so that when the player presses a key, a block will shoot out in front of his feet and continue going forward at a velocity. I'm just wondering how exactly to do this? Can you just spawn a block in front of the character and then teleport it forward one block at a time, or can you give it some sort of velocity..? I just need a general idea on the best way to do this.
    Thanks
     
  2. Offline

    RainoBoy97

    Use a falling sand entity :)
     
  3. Offline

    Agentleader1

    @RainoBoy97 Lol, you beat me to it. But at best, probably use a packet.
     
Thread Status:
Not open for further replies.

Share This Page