SafeSounds
-
SafeSounds is currently a work in progress. This wiki is still being set-up.
Safe-Sounds is an Open Source Resource for Developers to safely use 1.8 sounds for 1.9 and 1.10 by using dedicated ID's instead of regular enumerator names that frequently change depending on the version.
In Minecraft 1.8 there are 194 usable Spigot Sounds, in Minecraft 1.9 and 1.10 there are 465 usable Spigot Sounds, and all of those 194 1.8 Sounds have changed their names.
An example of how the normal enum for Sounds doesn't work with other versions of Minecraft and or Spigot:
Code (Text):// 1.8 Version of Level Up Sound
Sound.LEVEL_UP
// 1.9 and 1.10 Version of Level Up Sound
Sound.ENTITY_PLAYER_LEVELUP
Code (Text):// 1.8, 1.9, 1.10 SafeSounds version of Playing LEVEL_UP sound
SafeSounds.playSound(location, 337, 1f, 1f); - Loading...
- Loading...
XenCarta PRO
© Jason Axelrod from 8WAYRUN.COM