#752: Add the ability to retrieve hit, step, fall, and other sounds from blocks.
By: Martoph <sager1018@gmail.com>
This commit is contained in:
15
paper-server/nms-patches/SoundEffectType.patch
Normal file
15
paper-server/nms-patches/SoundEffectType.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
--- a/net/minecraft/server/SoundEffectType.java
|
||||
+++ b/net/minecraft/server/SoundEffectType.java
|
||||
@@ -51,10 +51,10 @@
|
||||
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);
|
||||
public final float V;
|
||||
public final float W;
|
||||
- private final SoundEffect X;
|
||||
+ public final SoundEffect X; // PAIL private -> public, rename breakSound
|
||||
private final SoundEffect Y;
|
||||
private final SoundEffect Z;
|
||||
- private final SoundEffect aa;
|
||||
+ public final SoundEffect aa; // PAIL private -> public, rename hitSound
|
||||
private final SoundEffect ab;
|
||||
|
||||
public SoundEffectType(float f, float f1, SoundEffect soundeffect, SoundEffect soundeffect1, SoundEffect soundeffect2, SoundEffect soundeffect3, SoundEffect soundeffect4) {
|
||||
Reference in New Issue
Block a user