Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-12-27 00:22:53 +01:00
Modify pitch instead of changing volume (-:
Dieser Commit ist enthalten in:
Ursprung
258ca46428
Commit
d330b64bba
@ -56,7 +56,7 @@ public class SoundPackets1_11 extends SoundRewriter<Protocol1_10To1_11> {
|
|||||||
wrapper.cancel();
|
wrapper.cancel();
|
||||||
else {
|
else {
|
||||||
if (hasPitch(oldId))
|
if (hasPitch(oldId))
|
||||||
wrapper.set(Type.FLOAT, 0, handlePitch(oldId));
|
wrapper.set(Type.FLOAT, 1, handlePitch(oldId));
|
||||||
wrapper.set(Type.VAR_INT, 0, newId);
|
wrapper.set(Type.VAR_INT, 0, newId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -56,7 +56,7 @@ public class SoundPackets1_12 extends SoundRewriter<Protocol1_11_1To1_12> {
|
|||||||
wrapper.cancel();
|
wrapper.cancel();
|
||||||
else {
|
else {
|
||||||
if (hasPitch(oldId))
|
if (hasPitch(oldId))
|
||||||
wrapper.set(Type.FLOAT, 0, handlePitch(oldId));
|
wrapper.set(Type.FLOAT, 1, handlePitch(oldId));
|
||||||
wrapper.set(Type.VAR_INT, 0, newId);
|
wrapper.set(Type.VAR_INT, 0, newId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -97,7 +97,7 @@ public class SoundPackets1_12 extends SoundRewriter<Protocol1_11_1To1_12> {
|
|||||||
added(319, 133, 0.6f); // entity.parrot.ambient -> entity.bat.ambient
|
added(319, 133, 0.6f); // entity.parrot.ambient -> entity.bat.ambient
|
||||||
added(320, 134, 1.7f); // entity.parrot.death -> entity.bat.death
|
added(320, 134, 1.7f); // entity.parrot.death -> entity.bat.death
|
||||||
added(321, 219, 1.5f); // entity.parrot.eat -> entity.generic.eat
|
added(321, 219, 1.5f); // entity.parrot.eat -> entity.generic.eat
|
||||||
added(322, -1); // entity.parrot.fly -> nothing
|
added(322, 136, 0.7f); // entity.parrot.fly -> entity.bat.loop
|
||||||
added(323, 135, 1.6f); // entity.parrot.hurt -> entity.bat.hurt
|
added(323, 135, 1.6f); // entity.parrot.hurt -> entity.bat.hurt
|
||||||
added(324, 138, 1.5f); // entity.parrot.imitate.blaze -> entity.blaze.ambient
|
added(324, 138, 1.5f); // entity.parrot.imitate.blaze -> entity.blaze.ambient
|
||||||
added(325, 163, 1.5f); // entity.parrot.imitate.creeper -> entity.creeper.primed
|
added(325, 163, 1.5f); // entity.parrot.imitate.creeper -> entity.creeper.primed
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren