Diagonal Leaves
此模组是为地形模组制作者或地图制作者提供的实用工具,允许树叶进行对角线连接,从而在如下场景中防止腐烂,而无需将树叶设置为持久状态:
在原版(红色显示)中,树叶永远找不到任何邻居,因此它们的距离为 7;而在本模组中(绿色显示),会检查距离并为每个轴向偏移增加 1,这意味着面连接会使距离增加 1,边连接增加 2,角连接增加 3。
好的,很酷,但为什么要这么做呢?
当创建偏离原版风格、更偏向通透且更写实的自然生成自定义树木时,原版 Minecraft 可能会非常令人恼火。
由于原版仅检查和传播与树叶仅面相邻的距离检测,边/顶点相邻的树叶将被排除在外,这意味着它们会腐烂,除非被设置为持久状态,但这意味着玩家需要手动清理它们。
本模组修复了这个问题,代价是循环会在周围所有 26 个方块上运行,而不是仅在 6 个面相邻的方块上运行。
兼容性
所有使用 LeavesBlock 类实现树叶(或未覆盖其放置、移除和更新方法地继承它)以及基于 RotatedPillarBlock 类实现的圆木(如果继承它也有同样的注意事项)并正确标记为 "minecraft:logs" 的模组,应该可以开箱即用。
注意:此模组显著改变了原版行为。可能会导致性能下降,并且你的一些建筑(如叶石结构)可能会损坏!特此警告。
Diagonal Leaves
This mod is a utility for terrain mod-makers or map-makers which allows leaves to connect diagonally, preventing decay in scenarios like this without leaves being persistent:
In vanilla (shown with red) the leaves never find any neighbours, so their distance is seven, while with the mod (shown in green) the distance is checked and increments by one for each axis-offset, meaning face connections increase distance by one, edge connections by two and corner connections by three.
Ok, cool but why, though?
Vanilla minecraft can be very annoying when it comes to creating naturally generating custom trees which stray from the vanilla style and more towards an airier, more realistic style.
Since vanilla only checks and propagates distance checks to leaves that are only face-adjacent, edge/vertex-adjacent leaves will be left out, which means they will decay unless set as persistent, but that means leaving the player with the task of manually cleaning them up.
This mod fixes this, although at the expense of making the loop run on all the 26 blocks surrounding the leaves instead of just the 6 face-adjacent ones.
Compatibility
All mods which implement leaves using the LeavesBlock class (or extending it without overriding its placement, removal and update methods) and logs based on the RotatedPillarBlock class (same caveat here if it extends it) properly tagged as "minecraft:logs" should work out of the box.
NOTE: This mod changes vanilla behaviour significantly. It may cause performance hits, and some of your builds (like leafstone) may break! You have been warned.
下载 Diagonal Leaves
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Diagonal Leaves
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Diagonal Leaves
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Diagonal Leaves
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Diagonal Leaves
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Diagonal Leaves
下载 Diagonal Leaves
下载 Diagonal Leaves
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Diagonal Leaves
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Diagonal Leaves
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧