Better Farmland has been archived. Better Farmland will not receive any further updates unless the author decides to unarchive the project.
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Better Farmland is meant to improve your experience with your farmland. But there are also other functions for people who want something fancy. If you have any suggestions for the plugin/mod, please use the Discussion function.

This mod also exists as a plugin for spigot.

For developers: If you want to extend my mod or make it compatible you can use my repo.

Example 1

{
  "configVersion": 1,
  "mod": {},
  "event": {
    "prevent": true,
    "crops": {
      "change": true,
      "changes": [
        {
          "use": true,
          "sound": {
            "sound": "minecraft:block.crop.break",
            "volume": 1.0,
            "pitch": 1.0
          },
          "from": 0,
          "to": "minecraft:air",
          "drop": {
            "item": 0,
            "amount": -1
          },
          "newAge": -1
        },
        {
          "use": false,
          "sound": {
            "sound": "minecraft:block.crop.break",
            "volume": 1.0,
            "pitch": 1.0
          },
          "from": 0,
          "to": 0,
          "drop": null,
          "newAge": 0
        }
      ]
    }
  }
}

Documentation

Files

Config » config/betterfarmland/config.json

Config

{
  "configVersion": 2,
  "mod": {},
  "rightClickHarvest": {
    "use": false,
    "sounds": [
      {
        "sound": "minecraft:block.crop.break",
        "volume": 1.0,
        "pitch": 1.0
      },
      {
        "sound": "minecraft:block.pumpkin.carve",
        "volume": 0.75,
        "pitch": 1.0
      }
    ]
  },
  "landedUpon": {
    "preventBreak": true,
    "crops": {
      "change": false,
      "changes": [
        {
          "use": false,
          "sound": {
            "sound": "minecraft:block.crop.break",
            "volume": 1.0,
            "pitch": 1.0
          },
          "from": 0,
          "to": "minecraft:air",
          "drop": {
            "item": 0,
            "amount": -1
          },
          "newAge": -1
        },
        {
          "use": false,
          "sound": {
            "sound": "minecraft:block.crop.break",
            "volume": 1.0,
            "pitch": 1.0
          },
          "from": 0,
          "to": 0,
          "drop": null,
          "newAge": 0
        }
      ]
    }
  }
}
configVersion: Is set to the current config version.
prevent: Is whether the plugin should cancel the event or not. Effect: nothing happens to the farmland.
change and changes: In change you can specify whether you want to use the changes function. The changes function determines what should happen when an entity / player jumps onto the farmland.

# rightClickHarvest:
use: Whether you want to use the right-click function.
sounds: Which sounds should be played when a plant is harvested.

# landedUpon:
use: Whether this rule should come into force.
sound: What sound to play when this rule is used.
from: From which block
to: To which block
drop: You can specify which item should be dropped.
newAge: You can change the age of the new block. -1 = same as old

External resources



Project members

HttpRafa

Owner


Technical information

License
MIT
Project ID