点击此处获取旧版 NeoForge 版本(仅适用于1.20.4 - 1.21.1)
点击此处获取 Fabric 版本
这是一个用于 YUNG 的部分 Forge 模组的库模组。它本质上是一组共享的实用函数和数据抽象。对于 Minecraft 1.16.5+ 上的所有 YUNG 模组来说,它都是必需的。查看我的 CurseForge 个人资料,以查看我所有的模组!
致所有模组开发者 - 它提供了许多有用的东西,尤其是如果你是一名世界生成模组开发者的话!
该 API 包括以下内容:
- 自动注册系统(仅适用于1.18+)。只需一个简单的注解即可注册任何字段,与模组加载器无关!
- 对拼图管理器的自定义重新实现,具有更高的性能,以及具有各种新属性的自定义池元素类型。查看“更好的地牢”代码,以了解其实际运行情况。
- 用于安全定位任何结构的新条件触发器。如果给定的结构不存在,该触发器只会失败,而不会像原版那样立即通过。
- 具有内置类型适配器的 JSON 序列化和反序列化接口。
- 用于向量和列位置的简单、轻量级数学实用工具
- 方块状态随机化器 和 物品随机化器,这些数据抽象使得向你的结构中添加方块和物品随机化变得极其简单。我在我所有的模组中都使用了这些!
如果你好奇,可以查看我模组的代码(尤其是较新的那些),以了解其工作原理。随时在 Discord 上向我提问!
Click here for OLDER NeoForge versions (1.20.4 - 1.21.1 ONLY)
Click here for Fabric version
This is a library mod for some of YUNG's Forge mods. It's basically a collection of shared utility functions and data abstractions.It is required for all YUNG mods on Minecraft 1.16.5+. Check out my CurseForge profile to see all my mods!
For all you mod devs out there - This provides a lot of useful stuff, especially if you're a worldgen modder!
The API includes the following:
- AutoRegistration system (1.18+ only). Register any field with only a simple annotation, regardless of mod loader!
- Custom reimplementation of Jigsaw Manager with improved performance and custom pool element types with various new properties. Check out the Better Dungeons code to see it in action.
- New criteria trigger for safely locating any structure. If the given structure doesn't exist, the trigger simply fails rather than instantly passing (unlike vanilla).
- Interfaces for JSON serialization & deserialization with built-in type adapters.
- Simple, lightweight math utilities for vectors and column positions
- BlockStateRandomizer and ItemRandomizer, data abstractions that make adding block and item randomization to your structures incredibly simple. I use these for all of my mods!
If you're curious, you can check the code for my mods (especially the newer ones) to see how things work. Feel free to ask me any questions on Discord!
本站是资源分享站,资源均来自于互联网和用户自发分享,仅供学习和交流使用。如有版权问题,请联系管理员删除。
操作
创作者
待认领资源
成为此资源的创作者
其他链接
最近更新资源
通天之路
热度 297 | 2 天前更新
匠途闲境 - Create Craft & Quiet
热度 197 | 2 天前更新
VERITY.exe
热度 337 | 5 天前更新
咒术回战(咒术战斗)
热度 68933 | 5 天前更新
暮色森林精选 - The Best of Twilight Forest
热度 25593 | 5 天前更新
无限计划 0.1 - Project Infinity 0.1
热度 9743 | 5 天前更新
黑暗RPG - DarkRPG - Forge
热度 9574 | 5 天前更新
[TLWS]末世生辉 The Last World Shines
热度 9393 | 5 天前更新
简易小屋
热度 622 | 1 周前更新
灾厄巫咒
热度 660 | 2 周前更新
阿卡迪亚的天启
热度 2872 | 2 周前更新
寄生仙途
热度 801 | 2 周前更新
评论区 (0)
登录 后才能发表评论
快来发表第一条评论吧!