CullLeaves 2.3.0 - MidnightLib, Brazilian & Russian Translations

This release includes the full, updated MidnightLib package, fixing bugs and allowing you to access the config  even without ModMenu installed.

The smart leaves pack is no longer enabled by default, resulting in better FPS on default settings.

Russian translations by @Disguys
Brazilian translations by @Percario
This commit is contained in:
Motschen
2021-09-25 12:43:12 +02:00
parent e13f28af5c
commit b9f0eeaacb
5 changed files with 13 additions and 29 deletions

View File

@@ -14,8 +14,9 @@ minecraft {
}
repositories {
maven { url "https://maven.terraformersmc.com/releases" }
maven { url "https://jitpack.io" }
maven {
url = "https://api.modrinth.com/maven"
}
}
dependencies {
@@ -25,8 +26,9 @@ dependencies {
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
modImplementation ("com.terraformersmc:modmenu:${project.mod_menu_version}")
modImplementation "maven.modrinth:midnightlib:${project.midnightlib_version}"
include "maven.modrinth:midnightlib:${project.midnightlib_version}"
}
processResources {

View File

@@ -3,16 +3,16 @@ org.gradle.jvmargs=-Xmx1G
# Fabric Properties
# check these on https://fabricmc.net/use
minecraft_version=1.17-rc1
yarn_mappings=1.17-rc1+build.5
loader_version=0.11.3
minecraft_version=1.17.1
yarn_mappings=1.17.1+build.61
loader_version=0.11.7
# Mod Properties
mod_version = 2.2.0
mod_version = 2.3.0
maven_group = eu.midnightdust
archives_base_name = cullleaves
# Dependencies
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
fabric_version=0.34.8+1.17
mod_menu_version = 2.0.0-beta.7
fabric_version=0.40.1+1.17
midnightlib_version=0.2.5

View File

@@ -14,7 +14,7 @@ public class CullLeavesClient implements ClientModInitializer {
CullLeavesConfig.init("cullleaves", CullLeavesConfig.class);
FabricLoader.getInstance().getModContainer("cullleaves").ifPresent(modContainer -> {
ResourceManagerHelper.registerBuiltinResourcePack(new Identifier("cullleaves:smartleaves"), modContainer, ResourcePackActivationType.DEFAULT_ENABLED);
ResourceManagerHelper.registerBuiltinResourcePack(new Identifier("cullleaves:smartleaves"), modContainer, ResourcePackActivationType.NORMAL);
});
}
}

View File

@@ -1,15 +0,0 @@
package eu.midnightdust.cullleaves.config;
import io.github.prospector.modmenu.api.ConfigScreenFactory;
import io.github.prospector.modmenu.api.ModMenuApi;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
@Environment(EnvType.CLIENT)
public class ModMenuIntegration implements ModMenuApi {
@Override
public ConfigScreenFactory<?> getModConfigScreenFactory() {
return parent -> CullLeavesConfig.getScreen(parent, "cullleaves");
}
}

View File

@@ -22,9 +22,6 @@
"entrypoints": {
"client": [
"eu.midnightdust.cullleaves.CullLeavesClient"
],
"modmenu": [
"eu.midnightdust.cullleaves.config.ModMenuIntegration"
]
},