Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Mixin(SoundSystem.class)
- public abstract class SoundSystemMixin {
- @ModifyArg(method = "getAdjustedPitch(Lnet/minecraft/client/sound/SoundInstance;)F",
- at = @At(value = "INVOKE", target = "Lnet/minecraft/util/math/MathHelper;clamp(FFF)F"),
- index = 1)
- private float yeetLowerLimit() {
- return Float.MIN_VALUE;
- }
- @ModifyArg(method = "getAdjustedPitch(Lnet/minecraft/client/sound/SoundInstance;)F",
- at = @At(value = "INVOKE", target = "Lnet/minecraft/util/math/MathHelper;clamp(FFF)F"),
- index = 2)
- private float yeetUpperLimit() {
- return Float.MAX_VALUE;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement