Better Keep Inventory datapack

Quick rating

Better Keep Inventory datapack

No reviews yet

Control item and XP loss upon death

Mod Loaders
Datapack
Minecraft
26.1

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Optional
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
1.3
Authors

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.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

What does it do?

  • This datapack allows you to configure which items don't drop upon player death and how much is dropped from the rest.
    • Singular or unstackable items have random chance of dropping based on the same value how much plural items (means more than 1 item in the stack) are dropped.
    • It let you configure how xp behave after death. By default everything is dropped and 50% can be pick up at the place of death which is far more than vanilla and it's max 7 levels.
      • You can give players items with custom data always_drop:1b and never_drop:1b which take priority over general list.
    • Adjustable lifetime for items and xp (before they despawn).
    • Current settings can be seen by regular player by using /trigger check_keep_inventory. It shows on first join by default but can be turned off

Main purpose of this datapack was to create list of items that do not drop for a SMP. The datapack I was inspired by (Keep Some Inventory by PuckiSilver), was insufficient, easy to made but hard to use. So I made my own. Then I added rest of the features that were nice to have.

Priority of items settings

  1. components:{"minecraft:custom_data":{always_drop:1b}}

    Example command: /give @s minecraft:ender_chest[minecraft:custom_data={always_drop:1b}] 1

  2. components:{"minecraft:custom_data":{never_drop:1b}}
    • Works like Bedrock keep_on_death tag, unless the item als have curse of vanishing
  • List of items that do not drop.
    • Default list is inside bki:reset function, you can edit it there with text editor and than run the function or try using bki:settings function in game.
  • The rest is dropped. By default it is everything, but you can adjust drop percentage in the same way as the list above

To adjust the settings change values in file reset.mcfunction with text editor or use in game settings with

/function bki:settings

Photo misses adjustable lifetime feature Preview of in game settings for the datapack

There will be no updates of this datapack unless I will need it myself, but feel free to modify it yourself For that I'm leaving comments so future someone will be able to quickly understand what each part does

Compatability

  • This pack will most likely not work together with grave packs or packs doing anything to items on death.
  • It might work with modded items, but I haven't tested it.

Screenshots

Gallery

  • Settings
    Settings Datapack settings, but it misses lifetime setting

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

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~3,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works