Minecraft Data Packs / Game Mechanic

[Kyleong's KeepInventory] Control your amount of items drop!

    • 4,485 views, 21 today
    • 294 downloads, 3 today
    kyleong avatar kyleong
    Level 57 : Grandmaster Engineer
    108
    (*Please note that 1.17 and 1.16 below uses two different versions, due to the change of the /replaceitem command. Please let me know if you cannot download the version you need for some reason.)

    Kyleong's KeepInventory is a datapack that make experiences and a limited amount of item drop when /gamerule keepInventory is set to true. This datapack makes keep inventory less powerful and has some kind of drawback.


    The drop slots are randomly selected

    This datapack is multiplayer compatible

    -the number of XP drops obeys vanilla Minecraft: drop XP point value (maximum 100) = XP level when alive * 7

    about settings

    click the button (blue) on the /reload message or type command /function kyleong_keepinventory:settings/menu
    [Kyleong's KeepInventory] Control your amount of items drop! Minecraft Data Pack



    just click the green/ red button to change options.
    [Kyleong's KeepInventory] Control your amount of items drop! Minecraft Data Pack
    Drop Xp and Drop Item can be set to True/ False

    There are 3 Drop Item Mode: Drop All, Keep First Slot and Keep Armor

    The Number of Slots Drop can be set from 41 to 1. (player only have 41 slots in total)


    It is possible to exclude specific players from the effect of this datapack (making them keep all items and xp, vanilla keepinventory behavior):

    enter this command to exclude:

    /scoreboard players set "Name of the excluding player" kki_exclude 1

    enter this command to undo:

    /scoreboard players set "Name of the player" kki_exclude 0

    Example:

    /scoreboard players set kyleong kki_exclude 1







    please do /function kyleong_keepinventory:uninstall before uninstalling this datapack (remove the .zip file).
    Creditmy friend againsttt and Loot Table Generator, made by Misode
    CompatibilityMinecraft 1.15
    toMinecraft 1.17
    Tags

    3 Update Logs

    Update v1.3 : 07/11/2021 6:41:25 amJul 11th

    release version for 1.17

    (*Please note that 1.17 and 1.16 below uses two different versions, due to the change of the /replaceitem command. Please let me know if you cannot download the version you need for some reason.)

    now possible to only enable dropping item to certain player

    make the system slightly efficent
    LOAD MORE LOGS

    Create an account or sign in to comment.

    2
    05/23/2021 12:34 am
    Level 26 : Expert Princess
    Kate1902019
    Kate1902019 avatar
    Can you do a 1.17 version after the full release of 1.17- Caves & Cliffs update came out?
    2
    05/24/2021 7:07 pm
    Level 57 : Grandmaster Engineer
    kyleong
    kyleong avatar
    Yes I definately will.
    2
    04/01/2021 2:42 pm
    Level 1 : New Miner
    User3522941G
    User3522941G avatar
    Fantastic datapack! Thank you for your work.

    One request I'd make is the ability to exempt specific players. Some of us more hardcore folks enjoy a challenge when we play alongside our more casual friends.
    2
    02/06/2021 3:09 pm
    Level 1 : New Explorer
    CanadianHockey
    CanadianHockey avatar
    Awesome datapack! One thing that could be useful is adding a command like the /scoreboard players set .drop_xp kki_option -1 where it disables armour dropping. Maybe something like: /scoreboard players set .drop_armor kki_option -1

    If this is possible, that would be awesome! Even if it isn't, it's still an awesome datapack and very useful!
    3
    11/25/2020 2:30 am
    Level 11 : Journeyman Engineer
    Guris
    Guris avatar
    Hey, nice datapack. Can you add an option to keep a certain kind of items? For example, if I set not to drop diamond in the inventory, the diamonds are always in the inventory and not dropped when I die.
    3
    11/25/2020 5:08 am
    Level 57 : Grandmaster Engineer
    kyleong
    kyleong avatar
    That is a pretty good idea! I don’t know if this is possible but I will work on that. Thanks!
    2
    01/18/2021 6:34 amhistory
    Level 1 : New Miner
    User3386947G
    User3386947G avatar
    Hey, the commands do not work for 1.16.5. Could you please give me the new commands? I really need them. Nice Addon by the way! :)

    Edit: I figured it out. I just wnated to ask you now can I decide which item-slots can be dropped and which cant? Like could i make the first hotbar slot a "save-slot" so that you never loose this item?
    1
    01/20/2021 8:01 pm
    Level 57 : Grandmaster Engineer
    kyleong
    kyleong avatar
    I just updated it so the first slot of the hot bar can be set to "save-slot". Unfortunately, I can't be able to make the position of the save slot customizable, hope I could figure it out soon.

    Also, I know why the command won't work for you at first now--- it is because I spell scoreboard into "scoreborad" by accident above, so it won't work if you copy & paste it. it has been fixed.
    1
    01/19/2021 6:39 pm
    Level 57 : Grandmaster Engineer
    kyleong
    kyleong avatar
    I am glad that you figured out the settings. For specific save-slot, I think I could make an update for it but may take a while since I am currently busy with my education.
    Planet Minecraft

    Website

    © 2010 - 2021
    www.planetminecraft.com

    Welcome