Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fog/build.fabric.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {

stonecutter {
replacements.string {
direction = minecraftVersion == "26.3"
direction = minecraftVersion >= "26.2"
replace("gameRenderer.getMainCamera()", "gameRenderer.mainCamera()")
replace(".gui.getChat()", ".gui.hud.getChat()")
replace(".gui.getBossOverlay()", ".gui.hud.getBossOverlay()")
Expand All @@ -24,7 +24,7 @@ dependencies {
implementation(mcLibrary("yacl-fabric"))
implementation(mcLibrary("modmenu"))
compileOnly(mcLibrary("iris-fabric"))
if (minecraftVersion == "26.1.2") {
if (minecraftVersion == "26.1.2" || minecraftVersion == "26.2") {
compileOnly(mcLibrary("polytone-fabric"))
add(polytoneLibraries.name, mcLibrary("polytone-fabric"))
compileOnly(files(provider {
Expand Down
4 changes: 2 additions & 2 deletions fog/build.neoforge.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {

stonecutter {
replacements.string {
direction = minecraftVersion == "26.3"
direction = minecraftVersion >= "26.2"
replace("gameRenderer.getMainCamera()", "gameRenderer.mainCamera()")
replace(".gui.getChat()", ".gui.hud.getChat()")
replace(".gui.getBossOverlay()", ".gui.hud.getBossOverlay()")
Expand All @@ -23,7 +23,7 @@ dependencies {
implementation(project(mruProject.path))
implementation(mcLibrary("yacl-neoforge"))
compileOnly(mcLibrary("iris-neoforge"))
if (minecraftVersion == "26.1.2") {
if (minecraftVersion == "26.1.2" || minecraftVersion == "26.2") {
compileOnly(mcLibrary("polytone-neoforge"))
add(polytoneLibraries.name, mcLibrary("polytone-neoforge"))
compileOnly(files(provider {
Expand Down
1 change: 1 addition & 0 deletions fog/src/main/resources/META-INF/neoforge.mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ version="${version}"
displayName="Fog"
displayURL="https://imb11.dev/"
logoFile="assets/fog/icon.png"
iconFile="assets/fog/icon.png"
authors="IMB11,Steveplays"
description="An expansive and dynamic overhaul to Minecraft's fog rendering system."

Expand Down
4 changes: 4 additions & 0 deletions gradle/minecraft/26.2.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ map-atlases = "6345967"
modmenu = "20.0.3"
neoforge = "26.2.0.88"
ohmega = "1.5.19-mc26.2"
polytone-fabric = "q9pM3nyE"
polytone-neoforge = "5ip5zpRo"
porting-lib-transfer = "2.3.9+1.20.1"
rrv = "8.10.9+26.2"
satchels = "1.7"
Expand Down Expand Up @@ -52,6 +54,8 @@ modmenu = { module = "com.terraformersmc:modmenu", version.ref = "modmenu" }
neoforge = { module = "net.neoforged:neoforge", version.ref = "neoforge" }
ohmega-fabric = { module = "io.github.swackyy:ohmega-fabric", version.ref = "ohmega" }
ohmega-neoforge = { module = "io.github.swackyy:ohmega-neoforge", version.ref = "ohmega" }
polytone-fabric = { module = "maven.modrinth:polytone", version.ref = "polytone-fabric" }
polytone-neoforge = { module = "maven.modrinth:polytone", version.ref = "polytone-neoforge" }
porting-lib-transfer = { module = "io.github.fabricators_of_create.Porting-Lib:transfer", version.ref = "porting-lib-transfer" }
rrv-fabric = { module = "cc.cassian.rrv:reliable-recipe-viewer-fabric", version.ref = "rrv" }
rrv-neoforge = { module = "cc.cassian.rrv:reliable-recipe-viewer-neoforge", version.ref = "rrv" }
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ plugins {
rootProject.name = "JavaEditionMods"

val modTargets = mapOf(
"fog" to listOf("26.1.2", "26.3"),
"fog" to listOf("26.1.2", "26.2", "26.3"),
"mru" to listOf("26.1.2", "26.2", "26.3"),
"sounds" to listOf("26.1.2", "26.3"),
"shields" to listOf("26.3")
Expand Down
Loading