Compatibility
Minecraft: Java Edition
Platforms
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
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!
- Works on nether warts and cocoa beans too!
- 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 tofalse
.damage on harvest
: how much damage the hoe should receive upon use, effective only if> 0
andrequire 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).
Ifstarting harvest area size
is set tosingle
andarea increment step
tonone
multi-harvest will be effectively disabled, regardless of this config option value.
When set tonone
multi-harvest will be enabled without a tool too. Note thatrequire 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 tosingle
andarea increment step
tonone
will effectively disable multi-harvest.area increment step
:
Increment step for the harvest area size with higher tool tiers.
Setting this tonone
andstarting harvest area size
tosingle
will effectively disable multi-harvest.use seeds from inventory
: whether to use seeds from the player's inventory to replant crops if seeds are not dropped, for example with the pitcher crop.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.tiers
: since 1.21, Minecraft removed the concept of tier levels, so you need to specify yourself the tier order. A default one is provided.
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.