跳到正文

[ARCHIVED] Better Farmland

作者:HttpRafa

Meant to improve your experience with your farmland

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

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

常见问题

[ARCHIVED] Better Farmland 支持哪些 Minecraft 版本?

[ARCHIVED] Better Farmland 支持 Minecraft Java 版 1.16.5–1.20.1,共 13 个版本,可用的加载器:Bukkit / Fabric / Forge / Paper / Purpur / Spigot。下载时注意选择和你游戏版本一致的文件。

[ARCHIVED] Better Farmland 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Bukkit / Fabric / Forge / Paper / Purpur / Spigot,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

HttpRafa 的其他作品

查看全部 →