Better Farmland 旨在改善你的农田体验。 同时,它也包含一些其他功能,供希望获得更华丽效果的玩家使用。 如果你对本插件/模组有任何建议,请使用 Discussion 功能。
此模组也有对应的 Spigot 插件版本。
对于开发者:如果你想扩展我的模组或使其兼容,可以使用我的 仓库。
示例 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
}
]
}
}
}
文档
文件
Config » config/betterfarmland/config.json
配置
{
"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:设置为当前的配置文件版本。
prevent:是否让插件取消该事件。效果:农田不会发生任何变化。
change 和 changes:在 change 中你可以指定是否要启用 changes 函数。changes 函数决定了当实体/玩家跳到农田上时会发生什么。
# rightClickHarvest(右键收获):
use:是否启用右键功能。
sounds:当作物被收获时播放哪些音效。
# landedUpon(踩踏):
use:此规则是否生效。
sound:启用此规则时播放的音效。
from:从哪个方块开始。
to:变为哪个方块。
drop:你可以指定掉落哪种物品。
newAge:你可以更改新方块的成熟度。-1 = 与旧方块相同。
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
下载 [ARCHIVED] Better Farmland
下载 [ARCHIVED] Better Farmland
下载 [ARCHIVED] Better Farmland
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [ARCHIVED] Better Farmland
下载 [ARCHIVED] Better Farmland
下载 [ARCHIVED] Better Farmland
下载 [ARCHIVED] Better Farmland
下载 [ARCHIVED] Better Farmland
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [ARCHIVED] Better Farmland
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧