[1.21.1] Bonemealing Wheat Doesn't Give Grow XP
SomewhatDamaged opened this issue ยท 7 comments
Describe the bug
When you bonemeal wheat seeds, you don't get the GROW XP amount.
Expected behavior
Getting farming XP for bonemealing wheat.
To Reproduce
Steps to reproduce the behavior:
- Plant a bunch of wheat seeds
- Bonemeal one, let the others grow naturally
- Get no farming XP for bonemealing, but the others give XP
Versions:
- Minecraft: 1.21.1
- Loader: NeoForge 21.1.97
- PMMO: 1.21.1-2.6.23
Additional context
Add any other context about the problem here.
Pidg.Shows.Cat.mp4
okay, so xp for bonemealing would be new. if you want XP for bonemealing, you can put ACTIVATE_ITEM xp on bonemeal to get XP. Like other features, this won't be context-aware, so you won't get different XP for the block interacted with from doing so.
Adding ACTIVATE_ITEM on the bonemeal doesn't trigger when you right click the wheat (but does in the open air). Adding BLOCK_INTERACTED works, but then you get the XP from any right-clicking on the wheat, not just a successful action.
i'm looking now. there's a separate event specifically for bonemeal. i'm going to implement that as part of the GROW event pipeline.