Data Packs Game Mechanic

KeepInventory Lose XP

  • 12.4k views 0 today
  • save_alt 1.1k downloads
Compatibility
Minecraft 1.13
to version
Minecraft 1.19
Changes include
    • 20
    • 19
    • 6
    kyleong
    Lvl 74Legendary System
    291
    *Please go check out Full XP Drop On Death Datapack by Bertiecrafter, his datapack and mine do similar but different things to death on keepInventory (he make it drop full XP). His datapacks are all amazing and his tutorials are very good for datapack beginners!


    SUPER SIMPLE datapack that make you drop XP in /gamerule keepInventory
    so that keepInventory will be less op and player less likely to abuse it.

    *amount of XP drop obeys vanilla Minecraft formula, which is value=levels*7 with 100 points limit.

    please do /function kyleong_klxp:uninstall before uninstalling this datapack.

    unnecessary words:
    I found bertiecrafter's datapack right before I upload this, luckily two datapacks do different jobs. I should search before I make things, so again please go check his datapack out that will make me feel less guilty.


    There is another datapack that I made called Kyleong's KeepInventory, which includes features of this datapack, and also makes a limited amount of item drop. Click here to check it out! But if you only want to drop XP, you can stick with this datapack.(although very minimal, this pack does cause lesser lag, if there are any.)

    1 Update Logs

    Update v1.0.1 : by kyleong 07/22/2022 7:58:14 amJuly 22, 2022 @ 11:58 am UTC

    -checked version compatibility: Minecraft 1.13 to 1.19

    -naming id changed

    -now only use 1 single scoreboard objective

    -update pack.png

    More like this

      Have something to say?

    Kraggle09
    06/05/2024 11:36 am
    He/They • Level 45 : Master Procrastinator
    I've been using this for a few weeks now on a private server with my brother, and something I've noticed is it seems to always drop exactly 7 levels of XP. I'll do further testing in a few days.
    1
    User4630385G
    07/21/2023 4:54 am
    Level 1 : New Miner
    Is it any ways to drop all xp, or just more than 7 levels? Becouse "Full XP Drop On Death Datapack" by Bertiecrafter doesn't work for me. I'm using 1.19.2 forge
    1
    YellowHawk
    10/24/2020 3:36 pm
    Level 1 : New Miner
    Thank you for this. I have been looking for a datapack like this for so long. Works perfectly in 1.16.3
    2
    kyleong
    10/26/2020 11:20 am
    Level 74 : Legendary System
    I am glad to hear that :)
    1
    kyleong
    09/12/2020 10:25 am
    Level 74 : Legendary System
    history
    Hello everyone! I made a new datapack called Kyleong's KeepInventory, which includes features of this datapack, and also makes a limited amount of item drop.

    Click here to check it out!

    However, if you only want to drop xp, feel free to stick with this pack or use Bertiecrafter's Full XP Drop On Death Datapack
    1
    Bertiecrafter
    09/08/2020 11:31 am
    Level 72 : Legendary System
    Hahaha, don't worry, it's alright. Good job on recreating vanilla behaviour on dropping the xp.
    2

    Welcome