SimpleHarvest

Harvest

Adds right click crop harvesting that is configurable via a JSON file.

As of build 1.0.1-7 for 1.9.4 and above, this mod is not required on the clientside. The only missing feature will be the player's arm swinging after harvesting a crop.

1.14/Snapshots

Harvest currently supports the 1.14 snapshots via the Fabric mod loader. Please see the changelog on this file for information.

Default Config

{
  "crops": [
    {
      "initialBlock": {
        "blockName": "minecraft:wheat",
        "meta": 7
      }
    },
    {
      "initialBlock": {
        "blockName": "minecraft:carrots",
        "meta": 7
      }
    },
    {
      "initialBlock": {
        "blockName": "minecraft:potatoes",
        "meta": 7
      }
    },
    {
      "initialBlock": {
        "blockName": "minecraft:beetroots",
        "meta": 3
      }
    },
    {
      "initialBlock": {
        "blockName": "minecraft:nether_wart",
        "meta": 3
      }
    }
  ],
  "exhaustionPerHarvest": 0.005,
  "additionalLogging": false,
  "checkForCrops": false
}

Developers

If you have a crop that requires special handling, you can register an IReplantHandler for it. An example is included in the class as the default implementation. This still requires your Crop to be added to the Crop map (either through the configuration or programatically)


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    240783
  • Created
    Jan 14, 2016
  • Last Released File
    Dec 12, 2018
  • Total Downloads
    4,476,386
  • License

Categories

Members