JinxedLib 是一个库模组,旨在帮助创作者更轻松地制作多加载器模组。此模组还附带了一些数据包工具,可能也会为整合包创作者提供帮助!
大多数方法和类都包含注释以帮助开发者,但如果你遇到困难,欢迎加入我的 Discord 服务器,我会为你提供协助!
其中一些功能与 NeoForge 的功能类似,移植这些功能的原因是为了让这些功能可以在 Fabric 或通用(common)包中使用。
开始使用
你可以在这里找到 Wiki,该 Wiki 解释了所有功能以及如何设置此模组!
功能
-
注册表工具:使注册内容变得更加简单,现在你每次创建新的多加载器项目时,都不必再为注册表设置服务了!
-
数据驱动的堆肥物品:你现在可以使用数据包使物品具备堆肥属性。
-
数据驱动的熔炉燃料:你现在可以使用数据包使物品成为熔炉燃料。
-
公共通用方块类:在使用 Vanilla Gradle 时,像
StairBlock这样的类具有受保护访问权限,但通过本库,你可以使用CommonStairBlock类来绕过这一限制! -
Jinxed 调色板排列组合:借助此功能,在使用调色板排列组合时可以将目录用作精灵源。我在 Arts & Crafts 中就是用这个功能来制作染色装饰罐的!
-
Invoker Mixin:使你能够在通用包中使用私有的注册表方法!
-
告示牌工具:使用本库后,你不再需要 mixin 到告示牌的
isValid方法中,只需将你的告示牌添加到内置列表中即可! -
创造模式分类工具:通过此类,你可以使用 for 循环将染色方块添加到创造模式分类中,并且它们会按正确顺序放置,甚至支持自定义染料模组!
-
易燃方块类:这些类在 NeoForge 端已经处理好了易燃相关的方法,你只需要在 Fabric 端处理易燃功能即可!
-
NeoForge 自定义战利品修饰符。
致谢
- 衷心感谢 Yirmiri 在注册表修复方面提供的帮助![Github 页面链接]
JinxedLib is a library mod designed to help creators make multi-loader mods easier. This mod also comes with some data pack tools that may help modpack creators as well!
Most methods and classes have comments to help developers but if you get stuck feel free to join my discord server where I can help you!
Some of these features are similar to NeoForge features, the reason for porting them is so these features can be used in the fabric or common package.
Getting started
You can find the wiki here, this wiki explains all the features and how to get the mod setup!
Features
-
Registry utils to make registering things easier and now you don't have to setup services for registries every time you make a new multi-loader project!
-
Data driven compostable items, you can now make an item compostable using data packs.
-
Data driven furnace fuels, you can now make an item a furnace fuel using data packs.
-
Public common block classes, when using the vanilla gradle some classes like the 'StairBlock' class has protected access, but with this library you can use the 'CommonStairBlock' class to get around this!
-
Jinxed paletted permutations, with this you can use directories as a sprite source when using paletted permutations. I used this to make dyed decorated pots in Arts & Crafts!
-
Invoker mixins so you can use private registry methods in the common package!
-
Sign utils, with this library you no longer need to mixin into the sign 'isValid' method, instead you can just add your sign into a built in list!
-
Creative category utils, with this class you can add dyed blocks to the creative category with a for loop and it places them in the correct order, it even has support for custom dye mods!
-
Flammable block classes, these classes have the flammable methods already sorted out on the NeoForge side, you will just have to handle the flammable functionality on the Fabric side!
-
Custom loot modifiers for NeoForge.
Credits
- A massive thanks to Yirmiri for helping me with registry fixes! [Github Page Link]
下载 JinxedLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 JinxedLib
下载 JinxedLib
下载 JinxedLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 JinxedLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 JinxedLib
下载 JinxedLib
下载 JinxedLib
下载 JinxedLib
下载 JinxedLib
V1.0.7
- 修复了 Creative Category Helper
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧