AutoPlant 会自动将树苗物品放置在地面上,而不是让它们消失,从而无需额外操作即可创建自我维持的森林。
功能说明:
当树苗物品实体即将过期时(使用 NeoForge 的 ItemExpireEvent),AutoPlant 会拦截其消失过程,并尝试在该位置将其放置为可生长的树苗方块——前提是下方的地面能够支撑该方块。如果放置成功,物品会被消耗,树苗生根发芽。如果无法在那里存活(例如下方没有土壤),则会正常消失。
为何需要它:
砍伐一棵树后,树叶会像往常一样缓慢掉落树苗。如果没有这个模组,这些树苗最终会消失,导致森林逐渐缩小。有了 AutoPlant,所有落在有效地面上的掉落树苗都会自动种植,使单棵被砍伐的树木最终能繁衍出许多新树。这创造了一个真正沉浸式、自我再生的森林生态系统,完全不需要玩家干预。
支持范围:
所有标记为 minecraft:saplings 的物品(原版及使用标准标签的模组树苗)
可通过配置文件添加自定义方块以扩展行为
配置选项:
开启或关闭树苗自动种植功能
添加自定义方块/物品的注册名,以扩展超出 minecraft:saplings 标签的行为
依赖项:NeoForge (1.20.1+)
AutoPlant automatically plants sapling items on the ground instead of letting them despawn, creating self-sustaining forests with no extra effort.
What it does:
When a sapling item entity is about to expire (using NeoForge's ItemExpireEvent), AutoPlant intercepts the despawn and attempts to place the sapling as a living tree sapling block at that exact location — provided the ground beneath it can support the block. If the placement succeeds, the item is consumed and the sapling takes root. If it can't survive there (e.g., no soil beneath it), it despawns normally.
Why you'd want it:
Chop a tree, and the leaves will slowly drop saplings as usual. Without this mod, those saplings eventually despawn and the forest shrinks. With AutoPlant, every dropped sapling that lands on valid ground plants itself automatically, letting a single felled tree eventually become many. This creates a genuinely immersive, self-regenerating forest ecosystem with zero player intervention.
What it works on:
All items tagged minecraft:saplings (vanilla and modded saplings that use the standard tag)
Additional custom blocks can be configured via the config file
Configuration:
Toggle sapling auto-planting on or off
Add custom block/item registry names to extend behavior beyond the minecraft:saplings tag
Requires: NeoForge (1.20.1+)
评论 0
登录后参与评分
还没有评论,来抢沙发吧