Zine 是一个旨在满足我(EightSidedSquare)模组开发需求的“小型图书馆”模组。你可以将其用于你自己的项目,但请注意,由于该库模组可能会频繁变更,请视其为不稳定版本。
注册
- RegistryHelper 类:包含所有注册表的辅助方法
- RegistryQueue 类:用于排队注册值
数据生成
- 粒子纹理数据提供者
- 音效列表数据提供者(在 Fabric API 自身实现音效提供者之前制作,我认为这个版本的代码更简洁)
数据
- DataHelper 类:用于读取和写入可变对象的数据缓冲区与字节缓冲区
- RegistryCodecGroup 类:用于将动态注册表的相关编解码器分组
进度
- 修改进度事件
- VanillaAdvancementModifications 辅助类:用于对原版进度进行简单修改(例如,为“均衡饮食”进度添加食物物品作为要求)
动画
- 源自 Geckolib 的额外插值算法
精灵图集
- Generator 精灵图集源:用于生成噪声和渐变纹理
- Remap 精灵图集源:给定基础纹理时,用于将多个纹理映射在一起
- Connected textures atlas source for stitching 5 textures into all connected texture permutations(连接纹理图集源:将 5 个纹理拼接成所有可能的连接纹理排列组合)
- Modify sources atlas source event:修改源图集源事件
- AtlasSourceUtil 类
- PalettedPermutationsAtlasSource 扩展:用于修改其值
模型
- ModelsEvents.ADD_UNBAKED 事件:在资源包加载时创建未烘焙模型
- ItemModelEvents.BEFORE_BAKE 事件:在烘焙前修改物品模型(类似于 Fabric API 的实现,不同之处在于此功能可以解析对模型的引用)
- ItemModelEvents.ADD_UNBAKED 事件:在资源包加载时创建未烘焙物品模型
- 所有原版未烘焙物品模型的扩展:用于修改其值
- 连接和三角剖分方块模型类型
- 自定义变体、自定义多部分以及直接方块模型定义创建器
- BlockModelDefinitions 辅助类
- BlockModelParts 辅助类
- BlockStateModels 辅助类
其他
- 客户端护甲纹饰注册表:以兼容安全的方式添加纹饰材料和图案
- 基于噪声的生成条件
- 许多谓词的扩展:用于修改其值
- 进度条件的扩展:用于修改其值
- 许多结构相关类的扩展:用于修改其值
- 物品设置的扩展:简化组件添加
- AlternativeCodec:用于具有多种可能编码方式的编解码器
- CodecUtil 类
- 修改翻译回调
- 修改方块声音组回调
Zine is a "Little Library" mod made to suit my (EightSidedSquare) modding needs. You may use it for your own projects but please do consider this entire library mod unstable as changes are likely.
Registration
- RegistryHelper class with helper methods for all registries
- RegistryQueue class for queueing the registration of values
Data Generation
- Particle Texture data provider
- Sound List data provider (made before Fabric API implemented a sould provider itself, I consider this one to be less verbose)
Data
- DataHelper class for reading and writing to data and byte buffers for mutable objects
- RegistryCodecGroup class for grouping together relevant codecs for a dynamic registry
Advancements
- Modify Advancement event
- VanillaAdvancementModifications helper class for simple modifications to vanilla advancements (i.e. adding a food item as a requirement for the "Balanced Diet" advancement)
Animations
- Extra interpolations derived from Geckolib
Sprite Atlases
- Generator sprite atlas source for generating noise and gradient textures
- Remap sprite atlas source for mapping multiple textures together given a base texture
- Connected textures atlas source for stitching 5 textures into all connected texture permutations
- Modify sources atlas source event
- AtlasSourceUtil class
- PalettedPermutationsAtlasSource extensions for modifying its values
Models
- ModelsEvents.ADD_UNBAKED event for creating unbaked models on resource pack load
- ItemModelEvents.BEFORE_BAKE event for modifying item models before baking (similar to the Fabric API implemtation, except this can resolve references to models)
- ItemModelEvents.ADD_UNBAKED event for creating unbaked item models on resource pack load
- Extensions for all vanilla unbaked item models for modifying their values
- Connected and tessellating block model types
- Custom variants, custom multipart, and direct block model definition creators
- BlockModelDefinitions helper class
- BlockModelParts helper class
- BlockStateModels helper class
Misc
- Client armor trim registry to add trim materials and patterns in a compatibility-safe manner
- Noise-based spawn condition
- Extensions for many predicates to modify their values
- Extensions for advancement criterions to modify their values
- Extensions for many structure-related classes to modify their values
- Extensions for item settings to simply component additions
- AlternativeCodec for codecs with multiple possible encodings
- CodecUtil class
- Modify Translations callback
- Modify block sound group callback
下载 Zine
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Zine
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Zine
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Zine
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Zine
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Zine
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Zine
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Zine
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Zine
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Zine
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
更多物品操作
数据驱动的道具动作
移除进度 API,改用 Fabric API 中添加的进度 API
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧