Tweak API
一个功能强大的 Minecraft Fabric 模组开发扩展 API,提供丰富的回调和事件系统。
? 安装
对于开发者
在 build.gradle 中添加依赖:
dependencies {
modImplementation "io.github.zhengzhengyiyi.tweak_api:tweak:${project.tweak_version}"
}
gradle.properties
tweak_version=1.0.3
# 使用与 Modrinth 上版本相同的版本号
包内代码
import io.github.zhengzhengyiyi.tweak_api.*;
? 可用的回调
GameOptionsChangedCallback- 当游戏选项被更改时触发EntityHurtCallback- 当实体受到伤害时触发ScreenOpenCallback- 在任何屏幕打开之前触发CommandExecuteCallback- 在执行命令之前触发
? 许可证
Apache License 2.0
? 链接
- 源代码: GitHub Repository
- 问题追踪: GitHub Issues
? 报告问题
请在我们的 GitHub Issue Tracker 上报告任何问题。
此模组需要 Fabric API 才能正常运行。
Tweak API
A powerful extension API for Minecraft Fabric mod developers, providing rich callback and event systems.
? Installation
For Developers
Add dependency in build.gradle:
dependencies {
modImplementation "io.github.zhengzhengyiyi.tweak_api:tweak:${project.tweak_version}"
}
gradle.properties
tweak_version=1.0.3
# use same version number as the versions on modrinth
package inside
import io.github.zhengzhengyiyi.tweak_api.*;
? Available Callbacks
GameOptionsChangedCallback- Triggered when game options are changedEntityHurtCallback- Triggered when an entity takes damageScreenOpenCallback- Triggered before any screen opensCommandExecuteCallback- Triggered before command execution
? License
Apache License 2.0
? Links
- Source Code: GitHub Repository
- Issue Tracker: GitHub Issues
? Reporting Issues
Please report any issues on our GitHub Issue Tracker.
This mod requires Fabric API to function properly.
版本游戏版本平台发布时间本站下载
正式版
1.0.3-1.21.5
1.21.5 Fabric 1 年前 ·
0
1.21.5
Fabric
1 年前
0
下载 tweak-api
正式版
1.0.3-1.20.6
1.20.6 Fabric 1 年前 ·
0
1.20.6
Fabric
1 年前
0
下载 tweak-api
正式版
1.0.3-1.21.7
1.21.7 Fabric 1 年前 ·
0
1.21.7
Fabric
1 年前
0
下载 tweak-api
正式版
1.0.3-1.21.8
1.21.8 Fabric 1 年前 ·
0
1.21.8
Fabric
1 年前
0
下载 tweak-api
正式版
1.0.3-1.20.1
1.20.1 Fabric 1 年前 ·
0
1.20.1
Fabric
1 年前
0
下载 tweak-api
正式版
1.0.3
1.20.6 Fabric 1 年前 ·
0
1.20.6
Fabric
1 年前
0
下载 tweak-api
正式版
1.0.2
1.20.6 Fabric 1 年前 ·
0
1.20.6
Fabric
1 年前
0
下载 tweak-api
测试版
1.0.1
1.20.6 Fabric 1 年前 ·
0
1.20.6
Fabric
1 年前
0
下载 tweak-api
开发版
1.0.0
tweak-api 1.0.0
1.20.6 Fabric 1 年前 ·
0
1.20.6
Fabric
1 年前
0
下载 tweak-api
1.0.3-1.21.5
正式版
2025-09-09
未指定更新日志。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
Woot Revived
pharuxtan
一个用于收集生物掉落物的多区块模组。
生物科技
349
模组
玉Jade ?
Snownee
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
实用前置
247
模组
物品管理器Just Enough Items (JEI)
mezz
查看物品与配方
前置实用
229
模组
Xaero的小地图
thexaero
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
冒险交通
196
模组
KubeJS
Lat
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
前置实用
181
模组
AAA Particles
ChloePrime
适用于 MC 1.18+ 的 Effekseer 加载器
前置装饰
173
评论 0
登录后参与评分
还没有评论,来抢沙发吧