All versions
1.0.1
Release
BanChest 1.0.13 months ago 30
Compatibility
Minecraft: Java Edition
26.2
26.1.x
1.21.x
Platforms
Paper
Purpur
Changes
1.0.1
Fixed
- Offline players are no longer skipped. The reader called three NBT methods that Mojang
removed in 1.21.5 (
CompoundTag.getList(String, int),ListTag.getCompound(int),ItemStack.parseOptional). On anything newer than 1.21.4 this threwNoSuchMethodError, which the command'scatch (Exception)didn't cover — so every offline player reported "had no items to redistribute" and their data was left untouched. - Armour and off-hand items were being left behind. Since 1.21.9 they live in a separate
equipmentcompound instead of inventory slots 100–103/150; both layouts are now read and cleared. - Player data is resolved from the main world's folder rather than the first world with a
NORMALenvironment, which could pick the wrong directory on multi-world setups.
Changed
- Items are deserialised through
ItemStack.CODEC, and the NBT accessors that changed shape across versions are resolved at runtime, so a single jar covers 1.21.1 through 26.x. - Online players' items are collected as storage + armour + off-hand explicitly instead of
relying on
getContents(). - Failures now report what actually happened instead of looking like an empty inventory:
a missing
.datnames the path that was checked, and an unrecognised server version says so and leaves player data untouched. - Offline reads log a breakdown (inventory / ender chest / equipped) to the console.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:CN3CmIu9:4BnYgmh8"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:CN3CmIu9:4BnYgmh8"
}

