Files
ServerAddressSpaceFix/src/main/java/xyz/thewhitedog9487/ServerAddressSpaceFix.java
TheWhiteDog9487 92d1e282d8 使用YACL Config API自动将功能开关状态保存到文件内
使用文件系统监听器使配置文件被外部更改时可以自动重载到游戏内
解决直接连接窗口内输入框里的服务器IP没有被移除空格处理的问题
在移除空格之后打印日志
添加英文README
重新给main入口类添加`@Deprecated`标记,这东西确实用不到,后面看要不要直接删了
为AI Agent添加AGENTS.md文件以指示通用提示词
2026-06-04 19:40:45 +08:00

23 lines
707 B
Java

package xyz.thewhitedog9487;
import net.fabricmc.api.ModInitializer;
/**
* 所有的代码都在client源集内
* @deprecated 目前没有任何用途
* @see ServerAddressSpaceFixClient
*/
@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.
// That way, it's clear which mod wrote info, warnings, and errors.
@Override
public void onInitialize() {
// This code runs as soon as Minecraft is in a mod-load-ready state.
// However, some things (like resources) may still be uninitialized.
// Proceed with mild caution.
}
}