Commits

Martoph authored and md_5 committed 424598d2943
#752: Add the ability to retrieve hit, step, fall, and other sounds from blocks.
No tags

nms-patches/SoundEffectType.patch

Added
1 +--- a/net/minecraft/server/SoundEffectType.java
2 ++++ b/net/minecraft/server/SoundEffectType.java
3 +@@ -51,10 +51,10 @@
4 + public static final SoundEffectType U = new SoundEffectType(1.0F, 1.0F, SoundEffects.BLOCK_GILDED_BLACKSTONE_BREAK, SoundEffects.BLOCK_GILDED_BLACKSTONE_STEP, SoundEffects.BLOCK_GILDED_BLACKSTONE_PLACE, SoundEffects.BLOCK_GILDED_BLACKSTONE_HIT, SoundEffects.BLOCK_GILDED_BLACKSTONE_FALL);
5 + public final float V;
6 + public final float W;
7 +- private final SoundEffect X;
8 ++ public final SoundEffect X; // PAIL private -> public, rename breakSound
9 + private final SoundEffect Y;
10 + private final SoundEffect Z;
11 +- private final SoundEffect aa;
12 ++ public final SoundEffect aa; // PAIL private -> public, rename hitSound
13 + private final SoundEffect ab;
14 +
15 + public SoundEffectType(float f, float f1, SoundEffect soundeffect, SoundEffect soundeffect1, SoundEffect soundeffect2, SoundEffect soundeffect3, SoundEffect soundeffect4) {

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut