Tags
Creators
Details
All versions
2.0.0-b2+1.21.7
Beta
PartialKeepInventory 2.0.0-b2+1.21.7last year 28
Compatibility
Minecraft: Java Edition
1.21.7
Platform
Fabric
Supported environments
Server-side
Singleplayer
Required content
Any compatible version
Changes
- Changed gamerule
- Gamerule has been renamed to
partialKeepInventory - Gamerule is now a boolean value, to enable and disable this mod's functionality.
- Gamerule has been renamed to
- Added
partialKeepInventorycommand- Fully modular feature enabling with
partialKeepInventory featuressubcommand - Add items to a list to preserve specific items on death with the
customListfeature and theitemListsubcommand.
- Fully modular feature enabling with
Feature List:
- Equipment - All items currently equipped in your armor slots.
- Equippables - All items that can be equipped in your armor slots.
- Tools - All items with a tool component attached (pickaxes, shovels, swords, bows ...etc.)
- Hotbar - All items currently in your hotbar.
- Offhand - Item currently equipped in your offhand.
- Epic Items - All items with an "Epic" rarity (purple name).
- Rare Items - All items with a "Rare" rarity (teal name).
- Uncommon Items - All items with a "Uncommon" rarity (yellow name).
- Common Items - All items with a "Common" rarity (white name).
- Experience - XP and Levels are conserved.
- Custom List - Individual items added to the
itemListusing it's subcommand.
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:g7BM7Ox2:aJanuddu"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:g7BM7Ox2:aJanuddu"
}

