Auto Replant Tree
在你破坏原木方块时自动重新种植树苗。适用于服务器端——无需安装客户端模组。
功能特性
- 所有原版树木 — 橡木、云杉、白桦、丛林、金合欢、深色橡木、红树林、樱桃、苍白橡木
- 下界树木 — 绯红菌索和诡异菌索会在基岩上分别重新种植对应的真菌
- 支持 2x2 布局 — 深色橡木和丛林树以 2x2 网格形式重新种植
- 潜行取消 — 在破坏时按住潜行键可跳过重新种植
- 无树苗模式 — 设置
requireSapling: false可在不消耗树苗的情况下进行种植 - 识别去皮与木材变体 — 识别所有原木、去皮原木、木材以及菌核体(hyphae)变体
- 完整背包搜索 — 在任何位置(包括副手)查找树苗
- 单树配置 — 通过
config/autoreplant.json启用或禁用特定树木
支持版本
| Minecraft | Fabric | Forge | NeoForge |
|---|---|---|---|
| 26.1.x | ✅ | ✅ | ✅ |
| 1.21.4 | ✅ | — | ✅ |
| 1.20.1 | ✅ | ✅ | — |
工作原理
- 破坏一个原木方块
- 是否按住潜行?(如果
sneakToDisable: true)→ 跳过 - 背包中是否有匹配的树苗?(如果
requireSapling: false则跳过检查) - 地面是否合法?(泥土、草方、下界岩等)
- 种植树苗,从背包中消耗一个(如果
requireSapling: false则不消耗)
支持的树木
| Log Type | Sapling Planted | 2x2 |
|---|---|---|
| Oak | Oak Sapling | No |
| Spruce | Spruce Sapling | No |
| Birch | Birch Sapling | No |
| Jungle | Jungle Sapling | Yes |
| Acacia | Acacia Sapling | No |
| Dark Oak | Dark Oak Sapling | Yes |
| Mangrove | Mangrove Propagule | No |
| Cherry | Cherry Sapling | No |
| Pale Oak | Pale Oak Sapling | No |
| Crimson Stem | Crimson Fungus | No |
| Warped Stem | Warped Fungus | No |
配置说明
配置文件位于 config/autoreplant.json:
{
"sneakToDisable": true,
"requireSapling": true,
"trees": {
"oak": true, "spruce": true, "birch": true,
"jungle": true, "acacia": true, "dark_oak": true,
"mangrove": true, "cherry": true, "pale_oak": true,
"crimson": true, "warped": true
}
}
- 将任何树木设置为
false以禁用其自动重新种植 sneakToDisable: false→ 无论是否蹲伏始终重新种植requireSapling: false→ 种植时不消耗树苗
安装方法
将 jar 文件放入服务器的 mods/ 文件夹中。仅适用于服务端——无需在客户端安装。
许可证
MIT
Auto Replant Tree
Automatically replants saplings when you break a log block. Works on the server — no client mod needed.
Features
- All vanilla trees — Oak, Spruce, Birch, Jungle, Acacia, Dark Oak, Mangrove, Cherry, Pale Oak
- Nether trees — Crimson and Warped stems replant their respective fungi on nylium
- 2x2 support — Dark Oak and Jungle trees replanted as a 2x2 grid
- Sneak to cancel — Hold sneak while breaking to skip replanting
- No-sapling mode — Set
requireSapling: falseto plant without consuming saplings - Stripped & wood variants — Recognizes all log, stripped log, wood, and hyphae variants
- Full inventory search — Finds saplings anywhere including offhand
- Per-tree config — Enable/disable specific trees via
config/autoreplant.json
Supported Versions
| Minecraft | Fabric | Forge | NeoForge |
|---|---|---|---|
| 26.1.x | ✅ | ✅ | ✅ |
| 1.21.4 | ✅ | — | ✅ |
| 1.20.1 | ✅ | ✅ | — |
How It Works
- Break a log block
- Holding sneak? (if
sneakToDisable: true) → Skip - Matching sapling found in inventory? (skipped if
requireSapling: false) - Ground valid? (dirt, grass, nylium, etc.)
- Sapling planted, one consumed from inventory (none consumed if
requireSapling: false)
Supported Trees
| Log Type | Sapling Planted | 2x2 |
|---|---|---|
| Oak | Oak Sapling | No |
| Spruce | Spruce Sapling | No |
| Birch | Birch Sapling | No |
| Jungle | Jungle Sapling | Yes |
| Acacia | Acacia Sapling | No |
| Dark Oak | Dark Oak Sapling | Yes |
| Mangrove | Mangrove Propagule | No |
| Cherry | Cherry Sapling | No |
| Pale Oak | Pale Oak Sapling | No |
| Crimson Stem | Crimson Fungus | No |
| Warped Stem | Warped Fungus | No |
Configuration
Config file at config/autoreplant.json:
{
"sneakToDisable": true,
"requireSapling": true,
"trees": {
"oak": true, "spruce": true, "birch": true,
"jungle": true, "acacia": true, "dark_oak": true,
"mangrove": true, "cherry": true, "pale_oak": true,
"crimson": true, "warped": true
}
}
- Set any tree to
falseto disable its auto-replant sneakToDisable: false→ always replant regardless of crouchingrequireSapling: false→ plant without consuming saplings
Installation
Drop the jar into your server's mods/ folder. Works server-side only — no client installation needed.
License
MIT
下载 Auto Replant Tree
下载 Auto Replant Tree
下载 Auto Replant Tree
下载 Auto Replant Tree
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Auto Replant Tree
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Auto Replant Tree
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Auto Replant Tree
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Auto Replant Tree
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Auto Replant Tree
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Auto Replant Tree
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧