• check_circle Functions
  • 22,202 views, 54 today
  • 4,308 downloads, 6 today
  • 40
  • 38
  • 33
RevonZev avatar RevonZev
Level 60 : High Grandmaster Dragon
74
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 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 60 : High Grandmaster Dragon
RevonZev
RevonZev avatar
Yes, it is possible.
1
04/20/2021 3:32 am
Level 1 : New Explorer
Cika
Cika 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 avatar
Hello, he does not get the XP if I got the transplant, why?
1
12/29/2020 9:01 pm
Level 60 : High Grandmaster Dragon
RevonZev
RevonZev avatar
transplant?
1
08/30/2020 10:34 pm
Level 1 : New Explorer
Pieindasky
Pieindasky 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 60 : High Grandmaster Dragon
RevonZev
RevonZev avatar
See Chance config spoiler in the description (click it)
1
06/06/2020 3:41 am
Level 1 : New Miner
FreshBanana
FreshBanana 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 60 : High Grandmaster Dragon
RevonZev
RevonZev avatar
That's a notepad side software issue. are you sure you saved it?
1
04/10/2020 6:16 pm
Level 1 : New Explorer
Shyning
Shyning avatar
Would it be possible either for you or ourselves to add mods support ?
For instance, I want to use your datapack but I'm also using mods, like Pam's Crops (1.15.2 for Pam's Harvestcraft) that I would like to make compatible with your datapack.
Is it even possible to do this, considering they are not native Minecraft items ?
Planet Minecraft

Website

© 2010 - 2022
www.planetminecraft.com

Welcome