mirror of
https://github.com/TeamMidnightDust/CullLeaves.git
synced 2025-12-16 14:15:10 +01:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b9f0eeaacb | ||
|
|
e13f28af5c | ||
|
|
b0953e80fe | ||
|
|
8c6b995c46 | ||
|
|
2179c3eb05 |
10
build.gradle
10
build.gradle
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
}
|
||||
5
src/main/resources/assets/cullleaves/lang/pt_br.json
Normal file
5
src/main/resources/assets/cullleaves/lang/pt_br.json
Normal 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"
|
||||
}
|
||||
5
src/main/resources/assets/cullleaves/lang/ru_ru.json
Normal file
5
src/main/resources/assets/cullleaves/lang/ru_ru.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"cullleaves.midnightconfig.title":"Конфиг Cull Leaves",
|
||||
"cullleaves.midnightconfig.enabled.tooltip":"После изменения этого параметра необходимо обновить все чанки (F3 + A)",
|
||||
"cullleaves.midnightconfig.enabled":"Включен"
|
||||
}
|
||||
@@ -22,9 +22,6 @@
|
||||
"entrypoints": {
|
||||
"client": [
|
||||
"eu.midnightdust.cullleaves.CullLeavesClient"
|
||||
],
|
||||
"modmenu": [
|
||||
"eu.midnightdust.cullleaves.config.ModMenuIntegration"
|
||||
]
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user