Green Cuts Mod
你是否曾在多人服务器(SMP)中游玩,发现出生点周围的森林随时间推移逐渐变得没有树木?
此模组会自动尝试将掉落在地面上的树苗物品种植下去!
常见问题解答
关于本项目的常见问题
我可以将此模组放入我的整合包中吗?
当然可以!任何人都可以在整合包或公共服务器中使用此模组。
你能将此模组移植到其他版本吗?
我的时间非常有限,且我所有的模组项目都是“出于娱乐目的”。 因此,如果当前没有对应版本的移植,请在该项目的 GitHub 上提交一个 Issue,请求移植到某个版本,以告知我这是大家所期待的!
如果你有编程经验并希望自行将此模组移植到其他版本,请随时提交拉取请求(Pull Request)。
如果我的服务器安装了此模组,未安装模组的客户端能否加入?
理论上可以!此功能已在 Fabric 服务器上针对未安装模组的玩家进行了测试并验证可用。 在 NeoForge 上目前尚未进行测试,但可能也可以工作!
它是如何工作的?
当树苗作为物品掉落在地面上时(包括树叶自然腐烂掉落的情况),greencuts 会等待 Config.autoPlantDelay 刻(ticks)。
如果掉落的树苗所在的位置无法种植,它会被随机方向推动,然后重新开始计时。 如果经过几次推动后树苗仍然无法种植,它将被标记为“种植失败”,并被视为普通的掉落物品处理。
如果掉落的树苗运气较好,在等待 Config.autoPlantDelay 刻后,它将在掉落位置被种植。一旦种植成功,掉落堆叠中的树苗数量将减少 1(如果堆叠中有多于 1 个树苗)。掉落堆叠中剩余的树苗将继续被推动并最终被种植。
Green Cuts Mod
Have you ever been playing on a SMP and find that the forests around spawn become tree-free over time?
This mod automatically tries to plant sapling items that are dropped onto the ground!
FAQ
Common questions about this project
Can I put this in my modpack?
Absolutely! Anyone can use this mod in a modpack or a public server.
Can you port this mod to another version?
I have extremely limited time and all of my mod projects are 'for fun'. With that said, please submit an issue on this project's GitHub asking for a port to a version if there isn't one already to let me know its wanted!
If you have programming experience and would like to port this mod to another version yourself, please feel free to submit a pull request.
Can non-modded clients join my server if this mod is installed?
In theory, yes! This is tested to work on Fabric servers with non-modded players. With NeoForge it is currently untested, but it may work!
How does it work?
When a sapling is dropped as a item onto the ground (including leaf decay)
greencuts will wait Config.autoPlantDelay ticks.
If the dropped sapling item is somewhere it cannot be planted, it will be nudged in a random direction and the waiting starts again. If the sapling still cant be planted after a couple of nudges, it will then be marked as a 'failed plant' and treated as a normal dropped item.
If a dropped sapling is lucky, it will be planted where it was dropped after waiting
Config.autoPlantDelay ticks. Once planted, 1 sapling will be removed from the
dropped stack of saplings(if more than 1 in the stack). Any remaining saplings
in the dropped stack will continue to be nudged around and planted.
下载 Green Cuts
下载 Green Cuts
下载 Green Cuts
下载 Green Cuts
下载 Green Cuts
下载 Green Cuts
下载 Green Cuts
下载 Green Cuts
未指定更新日志。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧