mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-27 11:07:44 +01:00
Added Bat takeoff sound when using a Chimaera Wing
This commit is contained in:
parent
0292d3eefb
commit
69bf17a619
@ -82,6 +82,7 @@ public final class ChimaeraWing {
|
||||
|
||||
UserManager.getPlayer(player).actualizeLastChimaeraTeleport();
|
||||
MetricsManager.chimeraWingUsed();
|
||||
player.playSound(location, Sound.BAT_TAKEOFF, Misc.BAT_VOLUME, Misc.BAT_PITCH);
|
||||
player.sendMessage(LocaleLoader.getString("Item.ChimaeraWing.Pass"));
|
||||
}
|
||||
}
|
||||
|
@ -26,6 +26,8 @@ public final class Misc {
|
||||
public static final float FIZZ_VOLUME = 0.5F;
|
||||
public static final float POP_PITCH = ((getRandom().nextFloat() - getRandom().nextFloat()) * 0.7F + 1.0F) * 2.0F;
|
||||
public static final float POP_VOLUME = 0.2F;
|
||||
public static final float BAT_VOLUME = 1.0F;
|
||||
public static final float BAT_PITCH = 0.6F;
|
||||
|
||||
private Misc() {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user