diff --git a/build.gradle.kts b/build.gradle.kts index 1dd0b33..3660bfa 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -11,8 +11,6 @@ val fabricKotlinVersion: String by project val fabricKotlinVersionId: String by project val completeConfigVersion: String by project val completeConfigVersionId: String by project -val clothConfigVersion: String by project -val clothConfigVersionId: String by project val mavenGroup: String by project val modId: String by project val modVersion: String by project @@ -47,7 +45,6 @@ dependencies { modImplementation("net.fabricmc", "fabric-loader", loaderVersion) modImplementation("net.fabricmc.fabric-api", "fabric-api", fabricVersion) modImplementation("net.fabricmc", "fabric-language-kotlin", fabricKotlinVersion) - modImplementation("com.gitlab.Lortseam.completeconfig", "base", completeConfigVersion) modImplementation("com.gitlab.Lortseam.completeconfig", "gui-cloth", completeConfigVersion) } @@ -65,7 +62,7 @@ tasks { processResources { inputs.property("version", project.version) - filesMatching("fabric.mod.json") { expand(mutableMapOf("version" to project.version)) } + filesMatching("fabric.mod.json") { expand(mapOf("version" to project.version)) } } java { @@ -87,7 +84,8 @@ tasks { required.version(fabricVersionId) required.version(fabricKotlinVersionId) required.version(completeConfigVersionId) - optional.version(clothConfigVersionId) + optional.project("cloth-config") + optional.project("modmenu") } // syncBodyFrom.set(rootProject.file("README.md").toString()) } diff --git a/changelogs/1.2.0-beta+fabric-1.19.md b/changelogs/1.2.0-beta+fabric-1.19.md new file mode 100644 index 0000000..bd2ceb6 --- /dev/null +++ b/changelogs/1.2.0-beta+fabric-1.19.md @@ -0,0 +1,10 @@ +Now with config! + +**Added**: +- Implement CompleteConfig to allow players to configure levels and limit breaks. +- Configuration UI in game client for single player (using cloth config and mod menu) +- Configuration files in client config directory +- Configuration files in server config directory +- Server configuration synced to client during multiplayer sessions + +**Full Changelog**: https://github.com/eth0net/enchant-menu/compare/v1.1.1+fabric-1.19...v1.2.0-beta+fabric-1.19 diff --git a/gradle.properties b/gradle.properties index dc93e2c..8f6298c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -16,12 +16,9 @@ fabricKotlinVersionId=5Aq3SFbi # Complete Config completeConfigVersion=2.0.0 completeConfigVersionId=zaC01d1T -# Cloth Config -clothConfigVersion=7.0.73 -clothConfigVersionId=ehzvjLXC # Mod Properties mavenGroup=com.github.eth0net modId=enchant-menu -modVersion=1.2.0-alpha+fabric-1.19 -modVersionName=1.2.0 Alpha Fabric 1.19 -modVersionType=alpha +modVersion=1.2.0-beta+fabric-1.19 +modVersionName=1.2.0 Beta Fabric 1.19 +modVersionType=beta diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index b73d82f..d89cfd5 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -34,7 +34,12 @@ "fabricloader": ">=0.14.8", "fabric": "*", "fabric-language-kotlin": ">=1.8.2+kotlin.1.7.10", + "completeconfig": "^2.0.0", "minecraft": "1.19.x", "java": ">=17" + }, + "recommends": { + "cloth-config": "*", + "modmenu": "*" } }