How can i disable snowball slowdown

Discussion in 'Plugin Development' started by Supermater228fedya, Apr 21, 2021.

Thread Status:
Not open for further replies.
  1. Hi, im making plugin, and i need to spawn endlessly flying snowball. I can turn off gravity, but snowball slowdown
     
  2. Offline

    davidclue

    Custom projectile maybe?
     
  3. Offline

    SteveStage

    Create, launch snowball and set max velocity to it.
     
  4. Offline

    darthvader1925

    Code:
    Snowball snowball = (Snowball) world.spawnEntity(player.getLocation(), EntityType.SNOWBALL);
    snowball.setShooter(player);
    snowball.setVelocity(max vw);
     
Thread Status:
Not open for further replies.

Share This Page