Adjusted and created settings for Cannon Bow <@114932850507120641> #40

Merged
alisolarflare merged 5 commits from Feature into master 2016-12-22 04:17:37 +00:00
Showing only changes of commit bde2256262 - Show all commits

View file

@ -58,7 +58,8 @@ public class CannonBowListener implements Listener {
Vector playerVector = player.getEyeLocation().getDirection().normalize(); Vector playerVector = player.getEyeLocation().getDirection().normalize();
if (event.getForce() < minforce){ if (event.getForce() < minforce){
arrow.getWorld().spawnParticle(Particle.SMOKE_NORMAL, player.getLocation(), 30);
arrow.getWorld().playSound(player.getLocation(), Sound.BLOCK_LADDER_BREAK, 1.0F, -14);
}else{ }else{
TNTPrimed tnt = (TNTPrimed) arrow.getWorld().spawnEntity(arrow.getLocation(), EntityType.PRIMED_TNT); TNTPrimed tnt = (TNTPrimed) arrow.getWorld().spawnEntity(arrow.getLocation(), EntityType.PRIMED_TNT);