Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Snowball sN = p.launchProjectile(Snowball.class);
- sN.setVelocity(sN.getVelocity().multiply(1.5));
- Vector vector = sN.getVelocity();
- sN.setVelocity(sN.getVelocity().multiply(0));
- sN.remove();
- sN.eject();
- Entity s = p.getWorld().spawnEntity(p.getLocation(), EntityType.SNOWBALL);
- s.setCustomName(name);
- s.setVelocity(vector);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement