Community listing page, reviews here may not be monitored by the author.
Smart Keep Inventory
No reviews yet
Configure when keep inventory should be enabled
Includes quality of life improvements and small tweaks to enhance and customize gameplay.
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
Fabric is a mod loader for versions 1.14+ of Minecraft, particularly popular for client side and optimization mods.
Community voices
Reviews
Filters
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
Runs entirely on the server. Also works in singleplayer.
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
Smart Keep Inventory
In vanilla you can only either have keep inventory enabled all time or not. Smart Keep Inventory allows you to decide under which conditions the players inventory should be kept upon death.
For example you can have it configured to only allow keep inventory if the player is killed by a specific mob.
By default this mod makes it so players will keep their inventory and experiences if they are killed by bosses (mobs tagged as c:bosses)
⚙️ Configuration
Configuration is done via a datapack.
Conditions are defined via a file under data/<namespace>/smart_keep_inventory/condition and have the following format:
{
"player": <EntityPredicate>, // Optional. This is the player that died
"killer": <EntityPredicate>, // Optional. This entity that killed the player. Directly or indirectly
"damage": <DamageSourcePredicate>, // Optional. The damagesource that killed the player
"keepExperience": <true | false>, // Default true. Whether to also keep the players experiences or not
"disabled": <true | false> // Optional. Only used to disable an EXISTING condition with the same id
}
For more information about predicates check out the minecraft wiki under https://minecraft.wiki/w/Predicate
The mod also allows you to invert EntityPredicate. The syntax for that is as follow:
// Instead of just <EntityPredicate> wrap it like this
{
"invert":true,
"predicate": <EntityPredicate>
}
Example:
This allows the player to keep their inventories if they are killed by a zombie but not their xp.
{
"killer": {
"type": "minecraft:zombie"
},
"keepExperience": false
}
The following is the default configuration of the mod applying to bosses:
{
"killer": {
"type": "#c:bosses"
}
}
Compability
This mod should support any mod adding inventories (Curios, Accessory etc.) provided they respected the gamerule already.
Gravestone mods should also be supported if they already check the gamerule. If a player keeps their inventory a grave should not be generated in that case.
Smart Keep Inventory
In vanilla you can only either have keep inventory enabled all time or not. Smart Keep Inventory allows you to decide under which conditions the players inventory should be kept upon death.
For example you can have it configured to only allow keep inventory if the player is killed by a specific mob.
By default this mod makes it so players will keep their inventory and experiences if they are killed by bosses (mobs tagged as c:bosses)
⚙️ Configuration
Configuration is done via a datapack.
Conditions are defined via a file under data/<namespace>/smart_keep_inventory/condition
and have the following format:
{
"player": <EntityPredicate>, // Optional. This is the player that died
"killer": <EntityPredicate>, // Optional. This entity that killed the player. Directly or indirectly
"damage": <DamageSourcePredicate>, // Optional. The damagesource that killed the player
"keepExperience": <true | false>, // Default true. Whether to also keep the players experiences or not
"disabled": <true | false> // Optional. Only used to disable an EXISTING condition with the same id
}
For more information about predicates check out the minecraft wiki under https://minecraft.wiki/w/Predicate
The mod also allows you to invert EntityPredicate. The syntax for that is as follow:
// Instead of just <EntityPredicate> wrap it like this
{
"invert":true,
"predicate": <EntityPredicate>
}
Example:
This allows the player to keep their inventories if they are killed by a zombie but not their xp.
{
"killer": {
"type": "minecraft:zombie"
},
"keepExperience": false
}
The following is the default configuration of the mod applying to bosses:
{
"killer": {
"type": "#c:bosses"
}
}
Compability
This mod should support any mod adding inventories (Curios, Accessory etc.) provided they respected the gamerule already.
Gravestone mods should also be supported if they already check the gamerule. If a player keeps their inventory a grave should not be generated in that case.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers