Crystal-Nest / harvest-with-ease

Don't break crops, right click them!
https://modrinth.com/mod/harvest-with-ease
GNU General Public License v3.0
5 stars 1 forks source link

Iguana Tweaks Reborn Interaction Request/Bug #40

Closed Lonemind closed 1 month ago

Lonemind commented 4 months ago

Describe the bug Kind of a bug, kind of a request. It'd be great if you could add compatibility with Iguana Tweaks Reborn. ITR adds carrot seeds and rooted potatoes (potato seeds). Harvest With Ease doesn't seem to detect them when they're harvested and instead plants a carrot or a potato instead of the seeds, reducing the crop yield by one. That's not an issue unless you're trying to make the game harder by only providing 1 vegetable per crop which would then provide nothing but a new seed instead of any fruit.

To Reproduce Set Iguana Tweaks Reborn to install the carrot seed/rooted potato datapack under the Farming > Crops category. Harvest a carrot or potato crop and receive the seeds/rooted potato instead of the vegetable.

Expected behavior The hoe should plant the carrot seed/rooted potato instead of the vegetable. The seed/root should be planted.

Screenshots If applicable, add screenshots to help explain your problem.

Stacktrace and logs If applicable, copy and paste relevant logs.

System information: Forge - 47.2.20 Harvest With Ease - 8.0.1.0 Iguana Tweaks Reborn - 3.3.0 Minecraft - 1.20.1

Crystal-Spider commented 4 months ago

HWE provides an API.
You should open an issue with ITR asking to add HWE as optional dependency and implement its API.
Most likely, they will want to handle the harvest drops event and change the drops.

Lonemind commented 4 months ago

Excellent. I'll do just that. Thank you Crystal-Spider. Here's a link to the issue I posted over there for your reference. Compatibility with Harvest With Ease

Crystal-Spider commented 1 month ago

Since v9.0.0.3-beta it's possible to add either a configuration option or a datapack to blacklist certain crops from interacting with this mod.
This can "solve" any incompatibility by blacklisting the crops that do not work.
Still, to add proper compatibility, the other mod would need to implement HWE events.

Closing this for now.

Insane96 commented 2 weeks ago

Thanks. Can I use HWE events for both blacklisting and changing the seed or I have to use both data pack and event?

Crystal-Spider commented 1 week ago

If you use the events you can prevent any harvest with the Harvest Check event.