• check_circle Functions
  • 25,436 views, 3 today
  • 4,613 downloads, 0 today
  • 40
  • 37
  • 33
RevonZev's Avatar RevonZev
Level 62 : High Grandmaster Dragon
76
Want to drop XP from harvested crops? WELL NOW YOU CAN. This data pack will let you do it! Just harvest crops like you normally would and it will drop XP... sometime.

How to install

Chance config
Default chance is 5%

In XP Harvest/data/xph/predicates/chance.json
{
"condition": "minecraft:random_chance",
"chance": 0.05
}

Edit the "chance": 0.05 to your liking.

Support Right Click Harvest
Support Left Click Harvest
Support Glance Harvest

Crops:
  • Carrot
  • Potato
  • Wheat
  • Beetroot
  • Nether Wart
Tested in 1.15.2 single player
REPORT BUGS IN THE COMMENT BELOW.
CompatibilityMinecraft 1.15
toMinecraft 1.16
Tags

3 Update Logs

v1.2 : by RevonZev 03/19/2020 11:45:31 pmMar 19th, 2020

If you are updating to this version, please do /function xph:uninstall before putting this in your data pack.
- Optimizations.
- Nether Wart is now supported.
- Removed xph-break_... scoreboard.
- Bug report by KapceRBLX: not fully crop can drop XP, fixed by using loot tables.
- Lowered XP drop chance from 10% to 5% due to report of it being op.
- Added made by information
LOAD MORE LOGS

Create an account or sign in to comment.

1
05/26/2021 11:36 pm
Level 1 : New Miner
PlushSaku
PlushSaku's Avatar
Is it possible to edit how much exp points you get from harvesting?

How much exp is it by default?
1
05/28/2021 3:37 am
Level 62 : High Grandmaster Dragon
RevonZev
RevonZev's Avatar
Yes, it is possible.
1
04/20/2021 3:32 am
Level 1 : New Explorer
Cika
Cika's Avatar
Hi, I want to add this datapack to a pack of datapack.
I will attach URL and producer, may I ?
Sorry about my poor English.
1
12/29/2020 1:34 am
Level 1 : New Miner
hossain123
hossain123's Avatar
Hello, he does not get the XP if I got the transplant, why?
1
12/29/2020 9:01 pm
Level 62 : High Grandmaster Dragon
RevonZev
RevonZev's Avatar
transplant?
1
08/30/2020 10:34 pm
Level 1 : New Explorer
Pieindasky
Pieindasky's Avatar
Hi, this is a really nice data pack and I use it all the time on my world now! It's mainly because I'm more of a farmer, but I also like how it's like rlcraft. I do have one question though, how do I change how much XP is spawned? If anyone could answer that would be great, once again great data pack definitely leaving a like.
1
08/31/2020 6:06 pm
Level 62 : High Grandmaster Dragon
RevonZev
RevonZev's Avatar
See Chance config spoiler in the description (click it)
1
06/06/2020 3:41 am
Level 1 : New Miner
FreshBanana
FreshBanana's Avatar
I tried changing the chances in the files using notepad, but every time I save and close notepad, it still stays at 0.05 chance
1
06/06/2020 6:59 pm
Level 62 : High Grandmaster Dragon
RevonZev
RevonZev's Avatar
That's a notepad side software issue. are you sure you saved it?
05/08/2020 10:38 pm
This reply was removed by the poster or a moderator.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome