improved "whoosh" knockback effects; use /wb whoosh <on|off> to enable/disable the effect, and try crossing the border to see it in action

This commit is contained in:
Brettflan 2012-02-23 01:17:44 -06:00
parent c0fc603e5f
commit 06e2ed40db

View File

@ -49,10 +49,13 @@ public class BorderCheckTask implements Runnable
Location newLoc = newLocation(player, loc, border); Location newLoc = newLocation(player, loc, border);
if (Config.whooshEffect()) if (Config.whooshEffect())
{ // show some smoke and play the extinguish sound effect where the player was beyond the border { // give some particle and sound effects where the player was beyond the border
world.playEffect(loc, Effect.ENDER_SIGNAL, 0);
world.playEffect(loc, Effect.ENDER_SIGNAL, 0);
world.playEffect(loc, Effect.SMOKE, 4); world.playEffect(loc, Effect.SMOKE, 4);
world.playEffect(loc, Effect.SMOKE, 4); world.playEffect(loc, Effect.SMOKE, 4);
world.playEffect(loc, Effect.EXTINGUISH, 0); world.playEffect(loc, Effect.SMOKE, 4);
world.playEffect(loc, Effect.GHAST_SHOOT, 0);
} }
if (returnLocationOnly) if (returnLocationOnly)