feat: Implement TinyTorch command system and configuration integration
Some checks failed
build / build (push) Failing after 0s

- Added TinyTorchCommands class to handle command registration and execution for configuration management.
- Implemented commands for reloading, showing, and setting various configuration options such as torch light level, held light level, flicker speed, and dynamic lighting features.
- Introduced TinyTorchModMenuIntegration class for integration with Mod Menu, allowing users to configure settings through a user-friendly interface.
- Created language files for multiple languages (de_de, en_us, es_mx, fr_fr, ja_jp, pt_br, ru_ru, zh_cn) to support internationalization of mod descriptions and configuration options.
This commit is contained in:
2025-11-04 20:06:29 +00:00
committed by GitHub
parent 6af3422ac3
commit 2f98d1a386
17 changed files with 632 additions and 49 deletions

View File

@@ -16,6 +16,17 @@ repositories {
// Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
// See https://docs.gradle.org/current/userguide/declaring_repositories.html
// for more information about repositories.
// ModMenu repository
maven {
name = "TerraformersMC"
url = "https://maven.terraformersmc.com/"
}
// Cloth Config repository
maven {
name = "shedaniel"
url = "https://maven.shedaniel.me/"
}
}
fabricApi {
@@ -33,6 +44,12 @@ dependencies {
// Fabric API. This is technically optional, but you probably want it anyway.
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
// ModMenu for configuration screen - using stable version for 1.21.1
modImplementation "com.terraformersmc:modmenu:${project.modmenu_version}"
// Cloth Config for settings GUI - using stable version for 1.21.1
modImplementation "me.shedaniel.cloth:cloth-config-fabric:${project.cloth_config_version}"
include "me.shedaniel.cloth:cloth-config-fabric:${project.cloth_config_version}"
}
processResources {