Minecraft Data Packs / Game Mechanic

XpStorage - Store EXP into Items and back! [1.14]

  • check_circle Functions
  • 8,497 views, 2 today
  • 839 downloads, 0 today
  • 11
  • 15
  • 3
TheDiamondPlayables's Avatar TheDiamondPlayables
Level 82 : Elite Programmer
839
- Having loads of Experience can be a virtue at times. You might die, lose all of it but when you get back to where you died there's only a little of it left. You also can't give your Experience to others or store it in a safe area to return to it later on.
Introducing: "XpStorage" Datapack!
- You can now store Experience from your Experience Bar into Experience Jars to store it in containers or share with your friends!
- You can also withdraw the experience from the stored Experience Jars back to your experience bar! The process is lossless!
- You can also check your current Experience Points as well as the total Experience Points stored within the Experience Jars that you are holding!
Instructions: <click to view>
Storing Experience to Experience Jars:
- Stand inside a fully-watered cauldron, then use this command:
/trigger xps_extract set <value>

<value>
stands for the amount of Experience you wish to be stored into an Experience Jar! Should always be bigger than 0!

- Note that if your Experience is lower than what you've requested then it will store all of your Experience into the Experience Jar!
Withdrawing Experience from Experience Jars:
- Hold the Experience Jar you wish to withdraw from, then use this command:
/trigger xps_withdraw set <value>

<value>
stands for the amount of Experience you wish to be withdrawn from the Experience Jar! Should always be bigger than 0!

- Note that if the stored Experience from the jars is lower than what you've requested then it will withdraw all of the stored experience from the Experience Jar!
Checking Experience Values:
- Simply use this command: /trigger xps_checkxp set 1


- Experience Jars changes color depending on how much Experience it stores.
- Experience Jars storing the same amount of Experience can also be stacked!
- Can be installed in combination with my other datapacks!
- Can be installed in Multiplayer!
- You can use /trigger info, then click into the datapack name to know more about the datapack!
(It only shows you what you can do without cheats enabled!)
Installation Notes: <Click to open>

- If you have problems in installing the datapack, try opening the downloaded .zip file, then drag the first thing you see and drop it to the datapacks folder of your world. Works for all my datapacks!
- Use /function #main:remove and follow the instructions to uninstall the datapack completely!
- You can also use /function #main:remove, then delete the old version then install the new version, use /reload afterwards to update the datapack.
Also, join the Behind The Datapacks Discord Server for more info on the datapack!
<click the blue letters above to join>

For those who wants to install this datapack in older versions of Minecraft:
Note: The same datapack that was designed for older Minecraft versions can be found in my submissions list <click the blue letters, find the datapack that has the same name as this one> with all of this version's features remained.


If you really liked my work and want to support me, click here!
- You can now support me via Patreon!
<click the blue letters to go to my Patreon Page>

- Donate how much you think is right, to help me on my journey to make Minecraft Datapacks as a living!
- With your help, I'll be able to make better datapacks more often!
- And if you can't, don't worry! My datapacks will always be free for everyone to use! Consider donating in the future to help me out okay?
CreditThanks to Minecraft Heads for the Experience Jars!
CompatibilityMinecraft 1.14
Tags

1 Update Logs

Update #1 : by TheDiamondPlayables 05/13/2019 7:49:19 pmMay 13th, 2019

- Lots of bugfixes!
+ Missing lore in Experience Orbs after withdrawal
+ EXP Reporting message shows up an additional Stored Experience message even though the player doesn't have an Experience Jar
- Performance Improvements!

Create an account or sign in to comment.

1
05/26/2021 2:22 am
Level 1 : New Miner
Agnarrr
Agnarrr's Avatar
Will you ever revisit this for 1.16? Still works on 1.16.5, although the player head does not display as an experience jar, and the amount of experience in a jar sometimes does not sync with the actual XP points/levels (shows 10000+ XP when i have 0 XP levels).
1
05/26/2021 3:45 am
Level 82 : Elite Programmer
TheDiamondPlayables
TheDiamondPlayables's Avatar
Yeah, I'd need to store some experience in a jar again pretty soon.
1
05/28/2021 1:04 am
Level 1 : New Miner
Agnarrr
Agnarrr's Avatar
Well.. It just sounds strange when you say it like that
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome