我所有模组中常用代码的合集。
包含:
- FlorianMichael 的 ImGui Fabric 模组 的精简版本
- 物品渲染 API
- 允许你在渲染物品时渲染任意模型,或禁用基础物品的渲染
- 其效果类似于 Geckolib 处理其物品渲染的方式,但本实现并不依赖 Geckolib
- 允许你在渲染物品时渲染任意模型,或禁用基础物品的渲染
- 原版风格的程序化 GUI 控件
- 盒型 Widget 容器
任何 API 的实现都可能随任何版本发布而更改,因此请谨慎依赖此模组! 给定版本也可能无法正常工作。发现无法使用的版本将被移除和/或更新。
如何包含:
// gradle.properties
...
imgui_version=(查看左侧标签页中的版本号)
...
// build.gradle
dependencies {
modImplementation [faelib api maven]
// 以下配置仅在需要使用 ImGui API 时才需要。
// 库本身已包含在 Faelib 中
compileOnly("io.github.spair:imgui-java-binding:${project.imgui_version}")
compileOnly("io.github.spair:imgui-java-lwjgl3:${project.imgui_version}")
compileOnly("io.github.spair:imgui-java-natives-windows:${project.imgui_version}")
compileOnly("io.github.spair:imgui-java-natives-linux:${project.imgui_version}")
compileOnly("io.github.spair:imgui-java-natives-macos:${project.imgui_version}")
}
A compilation of commonly used code in all of my mods.
Includes:
- Stripped version of FlorianMichael's ImGui fabric mod
- Item Rendering APIs
- Allows you to render arbitrary models when rendering items, or disable rendering base items
- Effectively how Geckolib handles its' item rendering, but this doesn't use Geckolib
- Allows you to render arbitrary models when rendering items, or disable rendering base items
- Vanilla-style procedural GUI widgets
- Box-type Widget containers Implementations of any API could change with any release, so be careful depending on this mod! Any given version could also not work. Versions found not working will be removed and/or updated.
How to include:
// gradle.properties
...
imgui_version=(see version on left tab)
...
// build.gradle
dependencies {
modImplementation [faelib api maven]
// The following is only required if you need to use the ImGui API.
// The libraries themselves are included in Faelib
compileOnly("io.github.spair:imgui-java-binding:${project.imgui_version}")
compileOnly("io.github.spair:imgui-java-lwjgl3:${project.imgui_version}")
compileOnly("io.github.spair:imgui-java-natives-windows:${project.imgui_version}")
compileOnly("io.github.spair:imgui-java-natives-linux:${project.imgui_version}")
compileOnly("io.github.spair:imgui-java-natives-macos:${project.imgui_version}")
}
版本游戏版本平台发布时间本站下载
正式版
1.1.7-1.20.1
Faelib APIs 1.1.7-1.20.1
1.20.1 Fabric 1 年前 ·
0
1.20.1
Fabric
1 年前
0
下载 Faelib APIs
正式版
1.1.6-1.20.1
Faelib APIs 1.1.6-1.20.1
1.20.1 Fabric 1 年前 ·
0
1.20.1
Fabric
1 年前
0
下载 Faelib APIs
正式版
1.1.5-1.20.1
Faelib APIs 1.1.5-1.20.1
1.20.1 Fabric 1 年前 ·
0
1.20.1
Fabric
1 年前
0
下载 Faelib APIs
正式版
1.1.4-1.20.1
Faelib APIs 1.1.4-1.20.1
1.20.1 Fabric 1 年前 ·
0
1.20.1
Fabric
1 年前
0
下载 Faelib APIs
正式版
1.1.3-1.20.1
Faelib APIs 1.1.3-1.20.1
1.20.1 Fabric 1 年前 ·
0
1.20.1
Fabric
1 年前
0
下载 Faelib APIs
正式版
1.1.2-1.20.1
Faelib APIs 1.1.2-1.20.1
1.20.1 Fabric 1 年前 ·
0
1.20.1
Fabric
1 年前
0
下载 Faelib APIs
正式版
1.1.1-1.20.1
Faelib APIs 1.1.1-1.20.1
1.20.1 Fabric 1 年前 ·
0
1.20.1
Fabric
1 年前
0
下载 Faelib APIs
正式版
1.1.0-1.20.1
Faelib APIs 1.1.0-1.20.1 b
1.20.1 Fabric 1 年前 ·
0
1.20.1
Fabric
1 年前
0
下载 Faelib APIs
正式版
1.1.0-1.20.1
Faelib APIs 1.1.0-1.20.1 s
1.20.1 Fabric 1 年前 ·
0
1.20.1
Fabric
1 年前
0
下载 Faelib APIs
正式版
1.1.0-1.20.1
Faelib APIs 1.1.0-1.20.1
1.20.1 Fabric 1 年前 ·
0
1.20.1
Fabric
1 年前
0
下载 Faelib APIs
1.1.7-1.20.1
正式版
2025-02-19
为 BoxContainerWidget 添加了旁白
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
Woot Revived
pharuxtan
一个用于收集生物掉落物的多区块模组。
生物科技
349
模组
玉Jade ?
Snownee
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
实用前置
339
模组
KubeJS
Lat
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
前置实用
239
模组
物品管理器Just Enough Items (JEI)
mezz
查看物品与配方
前置实用
239
模组
Xaero的小地图
thexaero
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
冒险交通
238
模组
Applied Energistics 2
shartte
AE2:一款流行的自动化与存储模组
存储科技
217
评论 0
登录后参与评分
还没有评论,来抢沙发吧