init: 完成

This commit is contained in:
TheWhiteDog9487
2026-09-07 10:02:18 +08:00
commit 08781de949
33 changed files with 1140 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 453 B

@@ -0,0 +1,20 @@
{
"modmenu.nameTranslation.whoprovidethiskeybind": "Who Provides This Keybind?",
"modmenu.descriptionTranslation.whoprovidethiskeybind": "Adds hover information on keybind change buttons in the keybinding settings screen to show which mod provides the keybind\nTip: If you need to use the config menu, install the YetAnotherConfigLib mod",
"link.bilibili": "Bilibili Homepage",
"link.blog": "TheWhiteDog9487's Blog",
"title.config": "Who Provides This Keybind?",
"config.category.general": "General",
"option.ModEnabled": "Enable Mod Functionality",
"option.ModEnabled.description": "Changes take effect immediately after modification and save without restarting the game",
"option.ShowModID": "Show Mod ID",
"option.ShowModID.description": "Display the Mod ID of the provider in the tooltip",
"option.ShowKeybindID": "Show Keybind ID",
"option.ShowKeybindID.description": "Display the keybind's own ID in the tooltip",
"option.ShowDebugInfo": "Show Debug Info",
"option.ShowDebugInfo.description": "This information is used to troubleshoot issues related to this mod; it generally does not need to be enabled",
"tooltip.provided_by": "Provided by: %s",
"tooltip.provider_mod_id": "Provider Mod ID: %s",
"tooltip.key_id": "Keybind ID: %s",
"special_provider_UNKNOWN": "Unknown"
}
@@ -0,0 +1,20 @@
{
"modmenu.nameTranslation.whoprovidethiskeybind": "谁在提供这个键位?",
"modmenu.descriptionTranslation.whoprovidethiskeybind": "在按键绑定设置界面的键位更改按钮上添加鼠标悬停信息,显示该按键绑定是由哪个Mod提供的\n提示:如果需要使用配置菜单,请安装YetAnotherConfigLib模组",
"link.bilibili": "哔哩哔哩主页",
"link.blog": "TheWhiteDog9487的博客",
"title.config": "谁在提供这个键位?",
"config.category.general": "通用",
"option.ModEnabled": "是否启用模组功能",
"option.ModEnabled.description": "无需重启游戏,修改并保存后立刻生效",
"option.ShowModID": "是否显示Mod ID",
"option.ShowModID.description": "在提示信息中显示提供该按键的Mod的ID",
"option.ShowKeybindID": "是否显示键位ID",
"option.ShowKeybindID.description": "在提示信息中显示该按键本身的ID",
"option.ShowDebugInfo": "是否显示调试信息",
"option.ShowDebugInfo.description": "这些信息用于出现和本Mod相关的问题时进行排查,一般情况下不需要开启",
"tooltip.provided_by": "提供者:%s",
"tooltip.provider_mod_id": "提供者ID%s",
"tooltip.key_id": "键位ID%s",
"special_provider_UNKNOWN": "未知"
}
+41
View File
@@ -0,0 +1,41 @@
{
"schemaVersion": 1,
"id": "whoprovidethiskeybind",
"version": "${version}",
"name": "Who Provide This Keybind?",
"description": "Shows which mod provides each key binding via a tooltip on the keybinds screen.",
"authors": [
"TheWhiteDog9487" ],
"contact": {
"homepage": "https://modrinth.com/project/who-provide-this-keybind",
"sources": "https://github.com/TheWhiteDog9487/WhoProvideThisKeybind",
"issues": "https://github.com/TheWhiteDog9487/WhoProvideThisKeybind/issues" },
"license": "WTFPL",
"icon": "assets/whoprovidethiskeybind/icon.png",
"environment": "client",
"entrypoints": {
"client": [ {
"value": "xyz.thewhitedog9487.client.WhoProvideThisKeybindModClient",
"adapter": "kotlin" } ],
"modmenu": [ "xyz.thewhitedog9487.client.ModMenuEntryPoint" ] },
"mixins": [ {
"config": "whoprovidethiskeybind.client.mixins.json",
"environment": "client" }, {
"config": "CompatibilityMixinConfig/controlling.mixins.json",
"environment": "client" } ],
"depends": {
"fabricloader": ">=0.19.5",
"minecraft": "~26.2",
"java": ">=25",
"fabric-api": ">=0.159.0",
"fabric-language-kotlin": ">=1.13.13+kotlin.2.4.10" },
"suggests": {
"modmenu": "*",
"yet_another_config_lib_v3": "*" },
"accessWidener": "whoprovidethiskeybind.classtweaker" ,
"custom": {
"modmenu": {
"links": {
"link.bilibili": "https://space.bilibili.com/401746666",
"link.blog": "https://www.thewhitedog9487.xyz"},
"update_checker": true } } }
@@ -0,0 +1,4 @@
classTweaker v1 official
accessible field net/minecraft/client/gui/components/AbstractWidget tooltip Lnet/minecraft/client/gui/components/WidgetTooltipHolder;
accessible field net/minecraft/client/gui/components/Tooltip message Lnet/minecraft/network/chat/Component;