Adjusted and created settings for Cannon Bow <@114932850507120641> #40
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue