diff --git a/.gitignore b/.gitignore index c476faf..38ab43c 100644 --- a/.gitignore +++ b/.gitignore @@ -31,6 +31,7 @@ bin/ # fabric run/ +run-server/ # java diff --git a/README.md b/README.md index 1db6465..d4400cd 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,9 @@ server. ## Scheduled features list - [x] anvilItemCostRollupAlgorithm -- [x] anvilCostAlgorithm +- [x] anvilAlgorithm +- [x] anvilCustomNameSerializer +- [ ] anvilCustomNameMaxLength - [x] anvilUseItemCost - [x] anvilRenameCost -- only implements the on/off yet, and have bugs picking up when cost is 0 - [x] anvilTooExpensiveLimit -- have bugs picking up diff --git a/build.gradle b/build.gradle index e78b2c6..a6a7f81 100644 --- a/build.gradle +++ b/build.gradle @@ -15,6 +15,12 @@ repositories { name "wsMcMods" url "https://mvn.sukazyo.cc/mc-mods" } + // for adventure platform api + maven { + name = "sonatype-oss-snapshots1" + url = "https://s01.oss.sonatype.org/content/repositories/snapshots/" + mavenContent { snapshotsOnly() } + } } loom { @@ -47,8 +53,7 @@ dependencies { modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}" modImplementation "carpet:fabric-carpet:${project.carpet_minecraft_version}-${project.carpet_core_version}" - implementation "net.kyori:adventure-text-minimessage:4.17.0" - implementation "net.kyori:adventure-text-serializer-gson:4.17.0" + modImplementation include("net.kyori:adventure-platform-fabric:5.9.0") } diff --git a/gradle.properties b/gradle.properties index 86350cd..84e9269 100644 --- a/gradle.properties +++ b/gradle.properties @@ -12,7 +12,7 @@ loader_version=0.15.11 fabric_version=0.92.2+1.20.1 # Mod Properties -mod_version=0.4.0 +mod_version=0.4.1 maven_group=cc.sukazyo archives_base_name=carpet_nukos_addition diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index a79e5c4..70ac670 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -33,7 +33,8 @@ "fabricloader": ">=0.15.10", "minecraft": "~1.20", "java": ">=21", - "carpet": "*" + "carpet": "*", + "fabric-api": "*" }, "suggests": { }