Launching a Snowball

Discussion in 'Plugin Development' started by Skyost, Oct 19, 2013.

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

    Skyost

    Hi !
    I want to launch a snow ball in front of me when I make a right click.
    I know I have to use the onPlayerInteractEvent and check if the action is Action.RIGHT_CLICK_AIR but I don't know how to launch a Snowball (without the MCShot lib).
    If anyone know how to, please tell it here :)

    Thanks !

    EDIT : Solved using setVelocity(...) !
     
  2. Offline

    viper_monster

Thread Status:
Not open for further replies.

Share This Page