跳到正文

RandomLeaf

作者:CASA_ASCII

let the facing of the leaf become random

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Mod Features: – Minecraft Java Edition 1.21.1 Fabric mod – Randomly flips all types of vanilla leaves on their models – Covers three scenarios: world generation, sapling growth, and player placement – Deterministic hash based on world seed and coordinates ensures the same flip at the same location during world generation – True randomness used for player placement and sapling growth – Injects a ‘variant’ property (0-7) into LeavesBlock via Mixin, enabling 8 rotational variants through blockstate JSON

Random Leaf is a Minecraft Java 1.21.1 Fabric mod that adds a model random flip effect to all types of vanilla leaves (oak, spruce, birch, jungle, acacia, dark oak, redwood, cherry, rhododendron, and flowering rhododendron). The mod injects a ‘variant’ property (0-7) into LeavesBlock with Mixin and uses custom blockstate configurations to create 8 Y-axis rotations and texture direction variants, giving each leaf a unique orientation and breaking the uniform appearance of vanilla leaves.

It covers three generation scenarios: during world generation, the SplitMix64 deterministic hash based on the world seed and block coordinates ensures that leaves at the same location always have the same flip; for sapling growth and player placement, true random numbers are used for different results each time. Two layers of Mixin (World and Chunk) naturally route variant==0, allowing precise distinction of generation and interaction paths without scenario flags, achieving stable and conflict-free random flipping.

常见问题

RandomLeaf 支持哪些 Minecraft 版本?

RandomLeaf 支持 Minecraft Java 版 1.21.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

RandomLeaf 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

CASA_ASCII 的其他作品

查看全部 →