mirror of
https://github.com/TeamMidnightDust/CullLeaves.git
synced 2025-12-15 14:15:08 +01:00
Port to 1.21.4
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id "architectury-plugin" version "3.4-SNAPSHOT"
|
id "architectury-plugin" version "3.4-SNAPSHOT"
|
||||||
id "dev.architectury.loom" version "1.6-SNAPSHOT" apply false
|
id "dev.architectury.loom" version "1.9-SNAPSHOT" apply false
|
||||||
id "me.shedaniel.unified-publishing" version "0.1.+" apply false
|
id "me.shedaniel.unified-publishing" version "0.1.+" apply false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,23 +1,23 @@
|
|||||||
org.gradle.jvmargs=-Xmx4096M
|
org.gradle.jvmargs=-Xmx4096M
|
||||||
|
|
||||||
minecraft_version=1.21.1
|
minecraft_version=1.21.4
|
||||||
yarn_mappings=1.21.1+build.3
|
yarn_mappings=1.21.4+build.2
|
||||||
enabled_platforms=fabric,neoforge
|
enabled_platforms=fabric,neoforge
|
||||||
|
|
||||||
archives_base_name=cullleaves
|
archives_base_name=cullleaves
|
||||||
mod_version=4.0.0
|
mod_version=4.0.1
|
||||||
maven_group=eu.midnightdust
|
maven_group=eu.midnightdust
|
||||||
release_type=release
|
release_type=release
|
||||||
curseforge_id=423254
|
curseforge_id=423254
|
||||||
modrinth_id=GNxdLCoP
|
modrinth_id=GNxdLCoP
|
||||||
|
|
||||||
midnightlib_version=1.6.3
|
midnightlib_version=1.6.6
|
||||||
sodium_version=mc1.21.1-0.6.5
|
sodium_version=mc1.21.4-0.6.5
|
||||||
|
|
||||||
fabric_loader_version=0.16.9
|
fabric_loader_version=0.16.9
|
||||||
fabric_api_version=0.110.0+1.21.1
|
fabric_api_version=0.112.2+1.21.4
|
||||||
|
|
||||||
neoforge_version=21.1.82
|
neoforge_version=21.4.41-beta
|
||||||
yarn_mappings_patch_neoforge_version = 1.21+build.4
|
yarn_mappings_patch_neoforge_version = 1.21+build.4
|
||||||
|
|
||||||
quilt_loader_version=0.18.9
|
quilt_loader_version=0.18.9
|
||||||
|
|||||||
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -1,6 +1,6 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11-bin.zip
|
||||||
networkTimeout=10000
|
networkTimeout=10000
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
package eu.midnightdust.cullleaves.neoforge.mixin.sodium;
|
package eu.midnightdust.cullleaves.neoforge.mixin.sodium;
|
||||||
|
|
||||||
|
import eu.midnightdust.cullleaves.CullLeavesClient;
|
||||||
import eu.midnightdust.cullleaves.config.CullLeavesConfig;
|
import eu.midnightdust.cullleaves.config.CullLeavesConfig;
|
||||||
import net.caffeinemc.mods.sodium.client.gui.SodiumGameOptionPages;
|
import net.caffeinemc.mods.sodium.client.gui.SodiumGameOptionPages;
|
||||||
import net.caffeinemc.mods.sodium.client.gui.options.OptionFlag;
|
import net.caffeinemc.mods.sodium.client.gui.options.OptionFlag;
|
||||||
@@ -31,7 +32,7 @@ public class MixinSodiumGameOptionPages {
|
|||||||
.setControl(TickBoxControl::new)
|
.setControl(TickBoxControl::new)
|
||||||
.setBinding((opts, value) -> {
|
.setBinding((opts, value) -> {
|
||||||
CullLeavesConfig.enabled = value;
|
CullLeavesConfig.enabled = value;
|
||||||
CullLeavesConfig.write("cullleaves");
|
CullLeavesConfig.write(CullLeavesClient.MOD_ID);
|
||||||
}, opts -> CullLeavesConfig.enabled)
|
}, opts -> CullLeavesConfig.enabled)
|
||||||
.setFlags(OptionFlag.REQUIRES_RENDERER_RELOAD)
|
.setFlags(OptionFlag.REQUIRES_RENDERER_RELOAD)
|
||||||
.setImpact(OptionImpact.MEDIUM)
|
.setImpact(OptionImpact.MEDIUM)
|
||||||
@@ -42,7 +43,7 @@ public class MixinSodiumGameOptionPages {
|
|||||||
.setControl(TickBoxControl::new)
|
.setControl(TickBoxControl::new)
|
||||||
.setBinding((opts, value) -> {
|
.setBinding((opts, value) -> {
|
||||||
CullLeavesConfig.cullRoots = value;
|
CullLeavesConfig.cullRoots = value;
|
||||||
CullLeavesConfig.write("cullleaves");
|
CullLeavesConfig.write(CullLeavesClient.MOD_ID);
|
||||||
}, opts -> CullLeavesConfig.cullRoots)
|
}, opts -> CullLeavesConfig.cullRoots)
|
||||||
.setFlags(OptionFlag.REQUIRES_RENDERER_RELOAD)
|
.setFlags(OptionFlag.REQUIRES_RENDERER_RELOAD)
|
||||||
.setImpact(OptionImpact.MEDIUM)
|
.setImpact(OptionImpact.MEDIUM)
|
||||||
|
|||||||
Reference in New Issue
Block a user