5 Commits

Author SHA1 Message Date
Motschen
b9f0eeaacb 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
2021-09-25 12:43:12 +02:00
Motschen
e13f28af5c Merge pull request #14 from Percario/patch-1
add pt-br
2021-09-24 16:57:59 +00:00
Motschen
b0953e80fe Merge pull request #13 from Disguys/patch-1
Add support Russian language
2021-09-24 16:57:48 +00:00
Maneschy
8c6b995c46 add pt-br 2021-09-11 10:53:51 -03:00
Disguys
2179c3eb05 Add support Russian language 2021-09-07 01:35:51 +05:00
7 changed files with 23 additions and 29 deletions

View File

@@ -14,8 +14,9 @@ minecraft {
} }
repositories { repositories {
maven { url "https://maven.terraformersmc.com/releases" } maven {
maven { url "https://jitpack.io" } url = "https://api.modrinth.com/maven"
}
} }
dependencies { dependencies {
@@ -25,8 +26,9 @@ dependencies {
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}" modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_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 { processResources {

View File

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

View File

@@ -14,7 +14,7 @@ public class CullLeavesClient implements ClientModInitializer {
CullLeavesConfig.init("cullleaves", CullLeavesConfig.class); CullLeavesConfig.init("cullleaves", CullLeavesConfig.class);
FabricLoader.getInstance().getModContainer("cullleaves").ifPresent(modContainer -> { 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

@@ -0,0 +1,5 @@
{
"cullleaves.midnightconfig.title":"Definições do Cull Leaves",
"cullleaves.midnightconfig.enabled.tooltip":"Recarregue os chunks (F3 + A) ao alterar essa opção",
"cullleaves.midnightconfig.enabled":"Ativado"
}

View File

@@ -0,0 +1,5 @@
{
"cullleaves.midnightconfig.title":"Конфиг Cull Leaves",
"cullleaves.midnightconfig.enabled.tooltip":"После изменения этого параметра необходимо обновить все чанки (F3 + A)",
"cullleaves.midnightconfig.enabled":"Включен"
}

View File

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