mirror of
https://github.com/PryPurity/WorldBorder.git
synced 2024-11-15 10:25:14 +01:00
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:
parent
c0fc603e5f
commit
06e2ed40db
@ -49,10 +49,13 @@ public class BorderCheckTask implements Runnable
|
||||
Location newLoc = newLocation(player, loc, border);
|
||||
|
||||
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.EXTINGUISH, 0);
|
||||
world.playEffect(loc, Effect.SMOKE, 4);
|
||||
world.playEffect(loc, Effect.GHAST_SHOOT, 0);
|
||||
}
|
||||
|
||||
if (returnLocationOnly)
|
||||
|
Loading…
Reference in New Issue
Block a user