2026-02-28 21:10:56 -03:00

12 lines
615 B
JavaScript

// NativeEvents.onEvent("net.neoforged.neoforge.client.event.RegisterDimensionSpecialEffectsEvent", event => {
// event.register("allthemodium:the_other", new JavaAdapter(Java.loadClass("net.minecraft.client.renderer.DimensionSpecialEffects"), {
// "getBrightnessDependentFogColor": (fogColor, brightness) => {
// //console.log(`Querying getBrightnessDependentFogColor with args [${fogColor}, ${brightness}]`)
// return fogColor
// },
// "isFoggyAt": (x, y) => {
// //console.log(`Querying isFoggyAt with args [${x}, ${y}]`)
// return false
// }
// }, 339, true, "NORMAL", false, false))
// })