mirror of
https://github.com/TheWhiteDog9487/ServerAddressSpaceFix.git
synced 2026-06-21 14:14:44 +08:00
0.1.4
时间:2024 01 15 主要内容: 1. 更新开发环境到1.20.4 2. 更新Fabric Loader和Fabric API的版本 3. 使用YetAnotherConfigLib和ModMenu为模组创建一个配置屏幕 4. 配置选项中增加是否启用模组功能的开关 5. 移除自使用Redirect注解之后不再被需要的接口和方法 6. 在客户端侧的初始化方法中,让日志记录器打印一段日志,方便调试和除错 7. 更新Mixin注入的类的路径(这东西居然更新了)
This commit is contained in:
@@ -5,6 +5,7 @@ import net.fabricmc.api.ModInitializer;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@Deprecated
|
||||
public class ServerAddressSpaceFix implements ModInitializer {
|
||||
// This logger is used to write text to the console and the log file.
|
||||
// It is considered best practice to use your mod id as the logger's name.
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
{
|
||||
"modmenu.nameTranslation.twd-sasf": "ServerAddressSpaceFix",
|
||||
"modmenu.descriptionTranslation.twd-sasf": "Fixed the \"unknown host\" bug caused by the server address containing spaces at the beginning and end of the server address when adding a server or connecting directly",
|
||||
"modmenu.descriptionTranslation.twd-sasf": "Fixed the \"unknown host\" bug caused by the server address containing spaces at the beginning and end of the server address when adding a server or connecting directly\nTip: If you need to use the configuration menu, install the YetAnotherConfigLib mod",
|
||||
"twd-sasf.bilibili": "Bilibili",
|
||||
"twd-sasf.blog": "Blog"
|
||||
"twd-sasf.blog": "Blog",
|
||||
"title.thewhitedog9487.twd-sasf.config": "ServerAddressSpaceFix",
|
||||
"config.thewhitedog9487.twd-sasf.category.general": "General",
|
||||
"option.thewhitedog9487.twd-sasf.ModEnabled": "Whether To Enable The Mod Feature",
|
||||
"option.thewhitedog9487.twd-sasf.ModEnabled.description": "There is no need to restart the game, and the modification will take effect immediately after it is saved"
|
||||
}
|
||||
@@ -1,6 +1,10 @@
|
||||
{
|
||||
"modmenu.nameTranslation.twd-sasf": "服务器地址首尾空格修复",
|
||||
"modmenu.descriptionTranslation.twd-sasf": "修复添加服务器或直接连接时,服务器地址首尾包含空格导致的“未知的主机”Bug",
|
||||
"modmenu.descriptionTranslation.twd-sasf": "修复添加服务器或直接连接时,服务器地址首尾包含空格导致的“未知的主机”Bug\n提示:如果需要使用配置菜单,请安装YetAnotherConfigLib模组",
|
||||
"twd-sasf.bilibili": "哔哩哔哩主页",
|
||||
"twd-sasf.blog": "TheWhiteDog9487的博客"
|
||||
"twd-sasf.blog": "TheWhiteDog9487的博客",
|
||||
"title.thewhitedog9487.twd-sasf.config": "服务器地址首尾空格修复",
|
||||
"config.thewhitedog9487.twd-sasf.category.general": "通用",
|
||||
"option.thewhitedog9487.twd-sasf.ModEnabled": "是否启用模组功能",
|
||||
"option.thewhitedog9487.twd-sasf.ModEnabled.description": "无需重启游戏,修改并保存后立刻生效"
|
||||
}
|
||||
@@ -16,9 +16,8 @@
|
||||
"icon": "assets/twd-sasf/icon.png",
|
||||
"environment": "client",
|
||||
"entrypoints": {
|
||||
"client": [
|
||||
"xyz.thewhitedog9487.ServerAddressSpaceFixClient"
|
||||
]
|
||||
"client": [ "xyz.thewhitedog9487.ServerAddressSpaceFixClient" ],
|
||||
"modmenu": [ "xyz.thewhitedog9487.ModMenu" ]
|
||||
},
|
||||
"mixins": [
|
||||
"twd-sasf.mixins.json",
|
||||
@@ -28,7 +27,7 @@
|
||||
}
|
||||
],
|
||||
"depends": {
|
||||
"fabricloader": ">=0.14.23",
|
||||
"fabricloader": ">=0.15.3",
|
||||
"minecraft": ["1.20","1.20.*"],
|
||||
"java": ">=17"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user