HomeJavaDatapacksBetter Keep Inventory datapack
DatapacksJava

Better Keep Inventory datapack

by MatHieusz · on Modrinth

⬇ Download on Modrinth

What does it do?

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
  3. 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.
  4. 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

Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more