feat: Implement TinyTorch command system and configuration integration
Some checks failed
build / build (push) Failing after 0s
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:
17
build.gradle
17
build.gradle
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user