Перейти к содержимому
Mineforgian

[ARCHIVED] Better Farmland

Meant to improve your experience with your farmland

Загрузки
7K
Подписчики
54
Обновлён
18 июня 2023 г.
Лицензия
MIT

Опубликован 4 августа 2022 г.

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

Центр версий

11 версий
  • Альфа27 КБ
  • Бета26 КБ
  • Бета27 КБ
  • Бета26 КБ
  • Бета27 КБ
  • Бета26 КБ
  • Релиз25 КБ
  • Релиз24 КБ
  • Релиз49 КБ
  • Релиз23 КБ
  • Бета19 КБ

Ченджлог

1.0.3-1.20.1Бета1.20, 1.20.1 · 18 июня 2023 г.

Updated to 1.20.1

1.0.2Релиз1.19.2 · 16 августа 2022 г.

View on Github

1.0.1Бета1.19.1, 1.19.2 · 4 августа 2022 г.

Fixed an error when the "to" setting is set to 0. The error caused the age of the plant to not be set to the change configure age.

Комментарии

Загружаем…