模组特性:- Minecraft Java 版 1.21.1 Fabric 模组 - 随机翻转所有原版树叶模型类型 - 覆盖三种场景:世界生成、树苗生长和玩家放置 - 基于世界种子和坐标的确定性哈希确保在世界生成时同一位置的翻转一致 - 玩家放置和树苗生长使用真随机数 - 通过 Mixin 向 LeavesBlock 注入 'variant' 属性(0-7),通过 blockstate JSON 实现 8 种旋转变体
Random Leaf 是一个 Minecraft Java 1.21.1 Fabric 模组,为所有类型的原版树叶(橡树、云杉、白桦、丛林、金合欢、深色橡树、红木、樱花、杜鹃花和开花杜鹃花)添加模型随机翻转效果。该模组通过 Mixin 向 LeavesBlock 注入 'variant' 属性(0-7),并使用自定义 blockstate 配置创建 8 种 Y 轴旋转和纹理方向变体,使每片树叶具有独特朝向,打破原版树叶的均匀外观。
它覆盖三种生成场景:在世界生成期间,基于世界种子和方块坐标的 SplitMix64 确定性哈希确保相同位置的树叶始终具有相同的翻转;对于树苗生长和玩家放置,使用真随机数以获得不同结果。两层 Mixin(World 和 Chunk)自然路由 variant==0,无需场景标志即可精确区分生成和交互路径,实现稳定且无冲突的随机翻转。
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.
评论 0
登录后参与评分
还没有评论,来抢沙发吧