Allowing Minecarts to travel on any surface?

Discussion in 'Plugin Development' started by Cyber_Pigeon, Oct 23, 2014.

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

    Cyber_Pigeon

    Hello fellow developers. I was just wondering, is it possible to allow minecarts to travel on any surface like cars using packets or anything? If not, could a custom method work for this?
    Thanks, Tony.
     
  2. Offline

    TheCodingCat

    You don't event have to use packets Cyber_Pigeon just listen for the PlayerMoveEvent check if they are in a vehicle that is a minecart, then set their vehicles velocity to the players direction plus about I'd say 100
     
  3. Offline

    Cyber_Pigeon

    Ok, great! Thanks.
    Although, wouldnt this be a bit choppy? I want it to be as smooth as possible.
     
  4. Offline

    fireblast709

Thread Status:
Not open for further replies.

Share This Page