Description
Harvesting crops is such a pain, breaking them all to get the drops and then having to replant each one.
Well, not anymore! With this mod you can just right click on your crops to harvest them and leaving a new plant to grow!
It's also compatible with any modded crops, to ease your mind of one thing more!
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
This mod works already out of the box, configuration is only for further tweakings
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 greater than0
andrequire hoe
is enabled.exp on harvest
: how many experience points should be granted when right-click harvesting, effective only if greater than0
(note it's exp points and not exp levels).play sound
: whether to play a sound when harvesting a crop, defaults totrue
.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.
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, for whatever reason, you can't extend that class the crops
config option is there exactly 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.