Project MMO

Project MMO

11M Downloads

[1.21.1] Bonemealing Wheat Doesn't Give Grow XP

SomewhatDamaged opened this issue ยท 7 comments

commented

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:

  1. Plant a bunch of wheat seeds
  2. Bonemeal one, let the others grow naturally
  3. 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
commented

Was this a feature before the latest update?

commented

Yeah, tested 22 and still had the issue.

commented

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.

commented

Shouldn't you get the grow XP for it, though? Like you do with saplings.

commented

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.

commented

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.

commented

tbh it would be nice to have a toggle option so bonemeal grants xp if enabled, thanks