Project MMO

Project MMO

10M Downloads

[Farmer's Delight] Consume XP incompatability

Elaski6573 opened this issue ยท 4 comments

commented

Describe the bug
Some of Items witch is drankable doesn't give experience when they used.

Expected behavior
make a new tag to define consumable or not.

To Reproduce
Steps to reproduce the behavior:

  1. Add XP Value
    image
  2. Consume This Item
  3. Experience doesn't increased

Screenshots
ezgif com-video-to-gif

Versions:

  • Minecraft : 1.19.2
  • Loader : 43.2.21
  • PMMO: 1.19.2-3.1.3
commented

Ah you are right. They are not potions.
I should have marked it as a Interaction/Compat, not a bug.

commented

Just adding some info to make this easier to triage.
I have tested and can confirm this with:

Using the following datapack:
melon_drink_test.zip

commented

I tried your datapack but it doesn't work.

I think there is different logic when using potions.
Food Items are defined by EatFoodEvent.java but I cannot find potions.
Am I missing something?

commented

I was posting it there for Caltinor (the PMMO dev).

Looking at Farmers Delight, I don't think they're food or potions, but their own usable item. I'll leave it to Caltonor to figure out what exactly is going on.