Minecraft Data Packs / Adventure

100% XP Drop (Players drop all of their experience)

  • check_circle Advancements
  • check_circle Functions
  • check_circle Predicates
  • 3,286 views, 21 today
  • 1,063 downloads, 5 today
  • 34
  • 25
  • 11
Astrune avatar Astrune
Level 56 : Grandmaster Programmer
130
Players now drop a custom percentage of their xp in the form of experience orbs.

Commands
/trigger xp_info - shows your xp in points and levels and the XP Drop Percentage (default 100%)

Managing my data packs
CompatibilityMinecraft 1.16
toMinecraft 1.17 Snapshot
Tags

1 Update Logs

Update 1 : 01/09/2021 1:57:57 pmJan 9th

January 9th, 2020
Optimized and improved xp value system so that all values are possible
Added a command to check your experience and the XP Drop Percentage

1
01/04/2021 5:21 pm
Level 1 : New Miner
Dark_Matter1
Dark_Matter1 avatar
I downloaded this datapack and tested it out in a single player world along with the graves datapack from vanilla tweaks. When I died with levels over 150, it would not give me all my levels back. it gives maybe two thirds, i didnt do the exact math. Is this a bug? or is this something to do with the fact I have the graves datapack on?
1
01/10/2021 11:12 am
Level 56 : Grandmaster Programmer
Astrune
Astrune avatar
I fixed the bug with xp not dropping correctly if over a certain level (102 to be exact). It should work now. As for the compatibility with the graves data pack, I have reached out to the creator for information on how the system works. If he doesnt respond, then I will have to try to understand it myself which could take a while.
1
01/05/2021 5:05 pmhistory
Level 56 : Grandmaster Programmer
Astrune
Astrune avatar
I tested it up to levels in the thousands and it worked fine, but it may have problems at specific values. It may also not work if you gained levels shortly before dying. The graves data pack could also be a factor. I have not worked on making it compatible yet.

EDIT: I fixed the level issue, the creator of the Graves data pack plans to release their own full xp drop data pack that is compatible
1
12/27/2020 2:28 pm
Level 1 : New Miner
BarrieAndDave
BarrieAndDave avatar
I LOVE THIS DATAPACK!

But the guys on my server think it is OP, is there a way to set it to 50% exp return???
2
12/27/2020 10:11 pm
Level 56 : Grandmaster Programmer
Astrune
Astrune avatar
I am planning on adding a feature like this soon
1
12/18/2020 10:28 pm
Level 1 : New Miner
EpicnicityWasTaken
EpicnicityWasTaken avatar
I play an SMP with my friends but I have the graves datapack on, I had 20 levels but when I took the stuff out of the grave, it only gave me the usual seven levels.
1
12/19/2020 8:00 pm
Level 56 : Grandmaster Programmer
Astrune
Astrune avatar
I dont know how that data pack works and I have not made it compatible
1
12/16/2020 12:05 am
Level 22 : Expert Miner
Kate1902019
Kate1902019 avatar
Does this compatible with Vanilla Tweaks' Graves datapack?
1
12/16/2020 12:24 pm
Level 56 : Grandmaster Programmer
Astrune
Astrune avatar
The xp orbs will spawn, but they wont be kept in the grave
1
12/15/2020 10:46 am
Level 5 : Apprentice Explorer
GordonPlayingExperience
GordonPlayingExperience avatar
for multiplayer, won't this crash the game if like two high level players die
2
12/15/2020 11:13 am
Level 56 : Grandmaster Programmer
Astrune
Astrune avatar
No. I am currently using it on a multiplayer server and there are no issues. The way the data pack works is that it summons experience orbs in powers of 2 until it reaches your level. Because of this, only about 20 xp orbs can spawn, but its usually much lower. They will still despawn if you wait long enough, but this gives players the chance to get all their levels back if they find where they died fast enough.
Planet Minecraft Logo

Website

© 2010 - 2021
www.planetminecraft.com

Welcome