Skip to content

Commit

Permalink
fix mini-message unavailable by imported adverture-api mod
Browse files Browse the repository at this point in the history
  • Loading branch information
Eyre-S committed Jun 21, 2024
1 parent b188e7c commit c9081d2
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ bin/
# fabric

run/
run-server/

# java

Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 7 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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")

}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"fabricloader": ">=0.15.10",
"minecraft": "~1.20",
"java": ">=21",
"carpet": "*"
"carpet": "*",
"fabric-api": "*"
},
"suggests": {
}
Expand Down

0 comments on commit c9081d2

Please sign in to comment.