diff --git a/src/main/java/io/github/fabriccommunity/events/mixin/client/MixinBackgroundRenderer.java b/src/main/java/io/github/fabriccommunity/events/mixin/client/MixinBackgroundRenderer.java index 78f7538..b323ded 100644 --- a/src/main/java/io/github/fabriccommunity/events/mixin/client/MixinBackgroundRenderer.java +++ b/src/main/java/io/github/fabriccommunity/events/mixin/client/MixinBackgroundRenderer.java @@ -4,7 +4,7 @@ import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Redirect; -import io.github.fabriccommunity.events.render.BackgroundRenderCallback; +import io.github.fabriccommunity.events.render.BackgroundRenderEvents; import net.minecraft.client.render.BackgroundRenderer; import net.minecraft.client.world.ClientWorld; import net.minecraft.world.biome.Biome; @@ -17,6 +17,6 @@ public class MixinBackgroundRenderer { method = "method_24873(Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/world/biome/source/BiomeAccess;FIII)Lnet/minecraft/util/math/Vec3d;" ) private static int modifyFogColour(Biome self, ClientWorld world, BiomeAccess biomeAccess, float sunHeight, int genX, int genY, int genZ) { - return BackgroundRenderCallback.BIOME_FOG_COLOR.invoker().modifyFogColor(world, self, genX, genY, genZ, self.getFogColor()); + return BackgroundRenderEvents.BIOME_FOG_COLOR.invoker().modifyFogColor(world, self, genX, genY, genZ, self.getFogColor()); } }