该库的功能包括:
- 动态资源包工具 一套实用工具,允许创建动态运行时资源包和数据包。同时也方便地重新绘制和重新纹理化现有贴图,特别适用于添加基于木材的新方块。
-
动态方块组注册 允许模组指定一个方块组(例如某种木材类型)。模组随后将扫描所有已注册的方块并填充该方块组,之后才允许其他模组注册依赖于此的方块。
使用传统方法很难做到这一点,因为木材组本身依赖于已注册的方块,因此注册必须在非常特定的时机进行。此工具使这一任务变得可能且易于操作。请注意,这仍然是一种动态注册形式,可能会有一些缺点。
简而言之,你可以为你的方块提供动态木材类型支持。木材组类型已经内置。
-
自定义地图标记: 一个完整的系统,允许轻松实现和添加地图装饰与地图标记,并控制其各个方面,如渲染。它还允许在地图数据中存储简单数据,并提供一些钩子来使用这些数据,例如物品提示框。 该系统还提供了一种简单的数据驱动实现方式,意味着你可以轻松地通过数据包注册新的标记!
-
动态村民 AI 一个辅助系统,能够以兼容的方式轻松且动态地添加任务和修改村民日程,而无需覆盖整个现有的 AI。还允许正确添加记忆类型。
- 自定义第一人称和第三人称动画: 允许模组制作者在其物品中实现一个简单的接口,使其拥有自定义的第三人称和第一人称动画(如弩)。 包含简单易用的接口,可以让您控制第一人称和第三人称动画,以及一个用于直接在您的物品类中渲染物品本身的回调函数(类似于望远镜)。
-
研钵成就触发器: 模组添加了一个自定义触发器,当物品被放入研钵时会调用它,您可以在模组的进度 JSON 中使用这个触发器。
-
软流体系统: 一个完全数据驱动的自定义虚拟流体系统,基于 Forge 的流体系统设计,旨在更好地融入原版 Minecraft,并具有主要功能:支持多种流体容器物品,如瓶子、碗和水桶,同时支持可以直接从流体罐中饮用的炖菜和饮料。与 Forge 的流体系统不同,它的基本单位是 1 个 Minecraft 瓶(250 Forge mb)。该系统还会自动生成所有已注册 Forge 流体所需的流体,并允许用户轻松覆盖或扩展它们。流体是虚拟的,因此只能存在于为其专门设计的模组容器中。
-
发射器工具: 一些代码,允许轻松注册发射器行为,而不会覆盖已有的行为。还附带内置的刷怪蛋和方块放置行为。
Features of this library are:
- Dynamic resource pack utilities A set of utilities that allow creating dynamic runtime resource packs and datapacks. Also easily allows respriting and retexturing existing textures, specifically useful to add new wood based blocks.
- Dynamic block set registration Allows mods to specify a block set (which can be for example a wood type). The mod then will scan all registered blocks and fill the block set up only to then allow mods to register blocks that depend on it.
This can't be easily done using traditional methods since the wood set itself depends on the registered blocks so registration must happen at a very specific time. This utility makes that task possible and easy to do. Note that it is still a form of dynamic registration which might have some drawbacks.
In a nutshell you have dynamic wood type support for your blocks. The wood set type already comes built-in.
-
Custom map markers: A complete system that allows to easily implement and add map decoration and map markers as well as control every aspect of them like rendering. Also allows storing simple data inside maps data offering a couple of hooks to use it too like on item tooltip. This system also offers a simple Data Driven implementation meaning you can easily register new markers with datapacks!
-
Dynamic Villager AI A helper system to easily and dynamically add tasks and modify villager schedules in a compatible way without overriding the whole existing AI. Also allows to properly add memory types
- Custom first and third person animations: Allows modders to implement a simple interface in their items to allow it to have custom third and first person animations (like crossbows). Includes simple and easy to use interfaces that can let you control first person and third person animations as well as a callback for rendering the item itself (similar to spyglass) directly in your item class
-
Grindstone achievement triggers: The mod adds a custom trigger that gets called when an item is passed through a grindstone that you can call in your mods advancements jsons
-
Soft fluid system: An entirely Data Driven custom virtual fluid system that goes on top of forge one and is designed to fit better in vanilla minecraft and having as main feature the ability to have multiple fluid containers items like bottles, bowls and buckets, as well as providing support for stews and drinks that can be consumed directly from a fluid tank. As opposed to the forge fluid system it has a base unit of 1 minecraft bottle (250 forge mb). The system also automatically generates all the needed fluids for already registered forge fluids and allows the user to override them or add to them easily. Fluids are virtual so they can only exist in modded container specifically for them
-Dispenser utilities: Some code that allows to easily register dispenser behaviors without overriding already existing ones. Also comes with builtin spawn egg and block placement behaviors
下载 Moonlight Lib
下载 Moonlight Lib
下载 Moonlight Lib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Moonlight Lib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Moonlight Lib
下载 Moonlight Lib
下载 Moonlight Lib
下载 Moonlight Lib
下载 Moonlight Lib
下载 Moonlight Lib
- 修复了一些生命周期问题,仅在世界屏幕上存在轻微泄漏
- 修复了许多旧问题,并将来自 1.21.1 的修复移植过来
- 修复了一个并发问题
小修复
小修复
修复了纹理操作相关的问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
评论 0
登录后参与评分
还没有评论,来抢沙发吧