Class SoundSystemMixin

java.lang.Object
dev.jaxydog.astral.mixin.client.SoundSystemMixin

public abstract class SoundSystemMixin extends Object
Un-clamps the sounds played when receiving the right packet type.
Since:
1.7.0
  • Constructor Details

    • SoundSystemMixin

      public SoundSystemMixin()
  • Method Details

    • getSoundVolume

      protected abstract float getSoundVolume(@Nullable @Nullable net.minecraft.sound.SoundCategory category)
      Returns the given category's sound volume.
      Parameters:
      category - The sound category.
      Returns:
      The volume.
      Since:
      1.7.0