Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Tags
Creators
Details
English
This Mod disables all network connections to reduce the startup time of Minecraft.
Whether you are a player or an author of an integration package, you may have encountered situations where Minecraft gets stuck for unknown reasons during startup, and this doesn't happen every time. This might be caused by certain mod's network requests (such as checking for updates, sponsor list).
However, when there are a large number of mods, disabling them one by one from the configuration file is not an easy task, and some mods may not be able to be disabled either.
This Mod is a remake version of the NonUpdateReloaded mod, achieving the mod functionality by blocking network requests.
If you need to allow connections to certain domains or IP addresses, please modify the configuration file <game>/config/nur.json. The mod configuration file is the same as the original mod NonUpdateReloaded.
This Mod does not use SecurityManager. Instead, it directly modifies ProxySelector, SocketFactory, SocketImplFactory, and Bootstrap::connect(through JavaAgent) to implement the mod functionality.
简体中文
此 Mod 禁用所有网络连接来减少 Minecraft 所需的启动时间。
不管你是玩家还是整合包作者,你或许遇到过在 MC 的启动中遇到不明原因而卡住,而又不一定每次都这样,那么可能就是某些模组的网络请求(例如检查更新、赞助者列表)造成了阻塞。
然而在模组数量非常多的时候,一个个去配置文件关闭也不是简单的事情,而且有些 Mod 还不一定能关。
本模组是 NonUpdateReloaded 模组的重制版,通过阻止网络请求来减少 Minecraft 的启动时间。
如果需要允许某些域名或 IP 的连接,请更改配置文件 <game>/config/nur.json,该模组配置文件与原模组 NonUpdateReloaded 相同。
该模组并未使用 SecurityManager,而是直接修改 ProxySelector, SocketFactory, SocketImplFactory 和 Bootstrap::connect (通过动态注入 JavaAgent) 实现了模组功能。

