diff --git a/src/main/java/org/blockartistry/mod/DynSurround/mixins/early/MixinSoundManager.java b/src/main/java/org/blockartistry/mod/DynSurround/mixins/early/MixinSoundManager.java index 502f411..689705a 100644 --- a/src/main/java/org/blockartistry/mod/DynSurround/mixins/early/MixinSoundManager.java +++ b/src/main/java/org/blockartistry/mod/DynSurround/mixins/early/MixinSoundManager.java @@ -23,7 +23,7 @@ public abstract class MixinSoundManager { * @reason Cache urls? */ @Overwrite - public static URL getURLForSoundResource(ResourceLocation p_148612_0_) { + private static URL getURLForSoundResource(ResourceLocation p_148612_0_) { return SoundCache.getURLForSoundResource(p_148612_0_); } @@ -32,7 +32,7 @@ public static URL getURLForSoundResource(ResourceLocation p_148612_0_) { * @reason Handle pitch ourselves */ @Overwrite - public float getNormalizedPitch(ISound p_148606_1_, SoundPoolEntry p_148606_2_) { + private float getNormalizedPitch(ISound p_148606_1_, SoundPoolEntry p_148606_2_) { return org.blockartistry.mod.DynSurround.client.sound.SoundManager.getNormalizedPitch(p_148606_1_, p_148606_2_); } @@ -41,7 +41,7 @@ public float getNormalizedPitch(ISound p_148606_1_, SoundPoolEntry p_148606_2_) * @reason Handle volume ourselves */ @Overwrite - public float getNormalizedVolume(ISound p_148594_1_, SoundPoolEntry p_148594_2_, SoundCategory p_148594_3_) { + private float getNormalizedVolume(ISound p_148594_1_, SoundPoolEntry p_148594_2_, SoundCategory p_148594_3_) { return org.blockartistry.mod.DynSurround.client.sound.SoundManager.getNormalizedVolume(p_148594_1_, p_148594_2_, p_148594_3_); } diff --git a/src/main/resources/mixins.dsurround.early.json b/src/main/resources/mixins.dsurround.early.json index 11fc6bb..4796e97 100644 --- a/src/main/resources/mixins.dsurround.early.json +++ b/src/main/resources/mixins.dsurround.early.json @@ -4,5 +4,8 @@ "package": "org.blockartistry.mod.DynSurround.mixins.early", "refmap": "mixins.dsurround.refmap.json", "target": "@env(DEFAULT)", - "compatibilityLevel": "JAVA_8" + "compatibilityLevel": "JAVA_8", + "overwrites": { + "conformVisibility": true + } }