#752: Add the ability to retrieve hit, step, fall, and other sounds from blocks.

By: Martoph <sager1018@gmail.com>
This commit is contained in:
CraftBukkit/Spigot
2020-11-26 09:36:57 +11:00
parent ec41049c8d
commit d9f5dbb3e6
7 changed files with 99 additions and 1012 deletions

View File

@@ -13,7 +13,7 @@ public class SoundTest extends AbstractTestingBase {
@Test
public void testGetSound() {
for (Sound sound : Sound.values()) {
assertThat(sound.name(), CraftSound.getSound(sound), is(not(nullValue())));
assertThat(sound.name(), CraftSound.getSoundEffect(sound), is(not(nullValue())));
}
}