Project MMO Support
andr9528 opened this issue ยท 6 comments
Bug description
Right clicking a crop to harvest it with the use of this mod, does not yield farming experience in Project MMO.
From my bug report to them (on their discord server), they say that the correct Forge events are not being fired on harvest by my right-click harvest mod ie. this mod.
Steps to reproduce the issue
- Install Project MMO
- Install Reap
- Load up a world
- Right-click a harvestable crop
- Notice that no experience in farming is gained.
Expected behavior
I'd expect to gain experience farming whether i break and replace or right click the crop to harvest it.
Log files
No logs for this problem.
Versions
- Minecraft version: 1.18
- Forge version: 38.0.14
- Mod version: reap-1.18-1.0.1
Other mods
- Project MMO version Project_MMO-1.18-3.65.1
Screenshots (Optional)
Screenshots of the issue.
Posting this event should have no impact on your mod. That might only be the case if you wanted the event to be cancellable, in which case you would want to check the event result prior to executing your code. Adding this at any point during your reap logic will suffice. MinecraftForge.EVENT_BUS.post(new BreakEvent(...));
(I left out the event parameters for brevity)
Reap does what it should - allowing right click to harvest crops... However it doesn't fire the necessary forge events for other mods to register that a crop was harvested. As such Project MMO does not award the farming experience that is normally gained when breaking/replacing a crop.
My config, for Reap, for the world where i noticed this is below
EDIT: I was just harvesting Wheat
Which config are you refering to? Project MMO or Reap?
I am gaining experience for breaking the crops normally.
Also the ModRepo for this mod links to the wrong issue page when you click 'Issues' just fyi.
Which config are you refering to? Project MMO or Reap?
Every non vanilla crop needs to be added to the reap config.
I am gaining experience for breaking the crops normally.
This is not a feature of this mod.
Also the ModRepo for this mod links to the wrong issue page when you click 'Issues' just fyi.
Alright, thanks, I will look into that