AreaPlanter
只需右键点击,即可在可配置区域内种植作物!
AreaPlanter 是一款 Bukkit/Spigot/Paper 插件,通过允许玩家右键点击一次即可在指定区域种植作物,从而提升 Minecraft 中的耕种体验。再也不用 tedious 地逐个方块种植了!
半径设置为 5 时的种植示例:
功能特性
- 区域种植: 手持种子右键点击耕地,即可在被点击方块周围的配置区域内种植作物。
- 可自定义半径: 服务器管理员可以通过编辑
config.yml文件轻松调整种植半径。 - 种子高效利用: 插件仅根据实际种植区域和可用耕地数量消耗相应数量的种子。
- 原生种子支持: 支持所有可以在耕地上种植的原生 Minecraft 种子。
- 优先从背包消耗种子: 优先从玩家的背包中消耗种子,尽可能保留手中的物品堆。
安装步骤
- 下载: 从 Releases 页面下载最新的
AreaPlanter.jar文件。 - 安装: 将
AreaPlanter.jar文件放入服务器的plugins文件夹中。 - 启动/重载: 启动或重载服务器以启用该插件。
- 配置: 在
plugins/AreaPlanter文件夹中生成的config.yml文件里调整种植半径和种子消耗行为。
配置说明
位于 plugins/AreaPlanter 文件夹中的 config.yml 文件允许你自定义插件的行为:
- planting-radius: 设置默认种植半径(默认值:3)。请确保使用奇数,以保证中心种植方块居中。
- consume-from-inventory-first: 启用或禁用优先从背包中消耗种子的功能(默认值:
true)。
工作原理
- 右键点击: 当玩家手持种子右键点击耕地时,插件会根据配置的半径检查周围区域。
- 种植: 如果有足够的耕地和可用的种子,插件会在被点击的方块周围种植作物。
- 种子消耗:
- 如果启用了
consume-from-inventory-first,插件将首先尝试从玩家的背包中消耗种子,如果可能,则保持手中物品堆完整。 - 否则,它将直接从玩家手中消耗种子。
- 如果启用了
贡献代码
欢迎贡献!如有任何问题或建议,请在 GitHub 上提交 Issue 或 Pull Request。
许可证
本插件采用 MIT License 许可。详情请参阅 LICENSE 文件。
AreaPlanter
Plant crops in a configurable area with a single right-click!
AreaPlanter is a Bukkit/Spigot/Paper plugin that enhances the farming experience in Minecraft by allowing players to plant crops in a specified area with a single right-click. No more tedious block-by-block planting!
Example of Planting with radius set to 5:
Features
- Area Planting: Right-click on farmland with seeds to plant crops in a configurable area around the clicked block.
- Customizable Radius: Server admins can easily adjust the planting radius by editing the
config.ymlfile. - Seed Efficiency: The plugin consumes only the necessary number of seeds based on the actual planting area and available farmland.
- Vanilla Seed Support: Supports all vanilla Minecraft seeds that can be planted on farmland.
- Prioritized Seed Consumption: Seeds are consumed from the player's inventory first, preserving the stack in their hand whenever possible.
Installation
- Download: Download the latest
AreaPlanter.jarfile from the Releases page. - Install: Place the
AreaPlanter.jarfile into your server'spluginsfolder. - Start/Reload: Start or reload your server to enable the plugin.
- Configure: Adjust the planting radius and seed consumption behavior in the generated
config.ymlfile within theplugins/AreaPlanterfolder.
Configuration
The config.yml file in the plugins/AreaPlanter folder allows you to customize the plugin's behavior:
- planting-radius: Sets the default planting radius (default: 3). Make sure to use an odd number to ensure a central planting block.
- consume-from-inventory-first: Enables or disables prioritizing seed consumption from the inventory (default:
true).
How it Works
- Right-Click: When a player right-clicks on farmland with seeds in their hand, the plugin checks the surrounding area based on the configured radius.
- Planting: If there's enough farmland and seeds available, the plugin plants crops around the clicked block.
- Seed Consumption:
- If
consume-from-inventory-firstis enabled, the plugin will first attempt to consume seeds from the player's inventory, leaving the stack in their hand intact if possible. - Otherwise, it will consume seeds directly from the player's hand.
- If
Contributing
Contributions are welcome! Feel free to open issues or submit pull requests on GitHub.
License
This plugin is licensed under the MIT License. See the LICENSE file for details.
下载 AreaPlanter
下载 AreaPlanter
下载 AreaPlanter
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AreaPlanter
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AreaPlanter
下载 AreaPlanter
已为 Minecraft 26.2 更新。基于 paper-api 26.2.build.102-stable 构建;api-version 升级至 26.2。无行为变更。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧