Skip to content

Crystal-Nest/harvest-with-ease

Repository files navigation

Harvest with ease banner


Minecraft1.20.4Separator1.20.2Separator1.20.1Separator1.19.4Separator1.19.2Separator1.18.2

LoaderNeoForgeSeparatorForgeSeparatorFabric

Overlay

IssuesGitHub


Description

Harvesting crops is such a pain, breaking them all to get the drops and then having to replant each one.
With this mod you can just right-click on your crops to harvest and replant them in one go!
It's also compatible with almost any modded crops, to ease your mind of one more thing!

Although it's stated that the mod is required server-side only, when a client that does not have the mod connects to a server that does and tries to harvest a crop while holding a block, it causes block flashing.
The only way to prevent this glitch is to set require hoe to true.

Features

  • Right-click to harvest any crop, works with both Vanilla and modded out of the box!
    Harvesting wheat
  • Works on nether warts and cocoa beans too!
    Harvesting cocoa Harvesting nether wart
  • Correctly consumes 1 crop seed to simulate replanting!
  • Right-click while holding an item with fortune to increase drops!
  • Highly configurable! See next section for more details.

Configuration

  • require hoe: whether holding a hoe (either hands) is required to right-click harvest, defaults to false.
  • damage on harvest: how much damage the hoe should receive upon use, effective only if > 0 and require hoe is enabled.
  • exp on harvest: how many experience points should be granted when right-click harvesting or break-harvesting, effective only if > 0 (note it's exp points and not exp levels).
  • multi-harvest starting tier:
    Tool tier starting from which it is possible to harvest multiple crops at once.
    All tiers that cannot multi-harvest will have a 1x1 square area of effect (a single crop).
    If starting harvest area size is set to single and area increment step to none multi-harvest will be effectively disabled, regardless of this config option value.
    When set to none multi-harvest will be enabled without a tool too. Note that require hoe takes precedence.
  • starting harvest area size:
    Starting multi-harvest area size (square side length).
    The area is always a square centered on the right-clicked crop.
    Setting this to single and area increment step to none will effectively disable multi-harvest.
  • area increment step:
    Increment step for the harvest area size with higher tool tiers.
    Setting this to none and starting harvest area size to single will effectively disable multi-harvest.
  • crops: list of additional in-game IDs for crops that are not supported out of the box, defaults to an empty list.
    This last config option is just a safety measure, so far no crop needs it.
  • blacklist: list in-game IDs for crops that under no condition can be right-click harvested.

Dependencies

Mod Loader Requirement
Cobweb All Required
Forge Config API Port Fabric; Forge ≥ 1.20.2 Required

License and right of use

Feel free to use this mod for any modpack or video, just be sure to give credit and possibly link here.
This project is published under the GNU General Public License v3.0.

For developers

Your modded crops will work with this mod out of the box only if they extend the CropBlock class, which is how it should be.
If you can't extend that class, the crops config option is there for you. Just add the in-game ID of your crop(s) to make it work, however note that this will work only if your crops have an Integer Property whose name is set to be "age" and represents the age values your crops can have, from 0 to a max value.

Since v6.0.0.0, an API is available to better integrate your mod with this one, if needed.
Since v9.0.0, it's possible to blacklist crops via datapack.
To learn how to use the provided API and the datapack feature, follow the Wiki.

Support us

Crystal Nest WebsiteDiscordPatreonKo-fiOur other projectsModrinthCurseForge

Bisect Hosting