Skip to content

适用于 Minecraft 1.20.1, 1.21.1 的 Network Blocker 模组

阻止不需要的网络连接

起价 decce · CurseForge
次下载
2 次下载
次浏览
22 次浏览
已更新
已更新 22.10.2026

Network Blocker

Overview

Network Blocker is a utility mod that allows you to block unwanted network connection.

By default, only connections to Minecraft services are permitted, which are necessary for authentication, etc. IP connections are also allowed, but this can be changed in the configuration file. By observing the log, you can know which connections are blocked.

This mod is currently in beta. There might be connections it cannot detect and block, and it should not be considered as a comprehensive security measure against malicious mods.

Configuration

You can find the main configuration file in config/networkblocker/config.toml:

#When enabled, connections that are permitted will be logged logPermitted = false #When enabled, connections that are blocked will be logged logBlocked = true #When enabled, stacktrace will be logged logStacktrace = false #When enabled, direct IP connections will be allowed even if they are not in the whitelist allowIP = true #Set to true to add some useful domains to the whitelist. The current defaults are: # #minecraft.net #minecraftservices.com #minecraft-services.net #mojang.com # #You can add additional domains to the whitelist using the file in the config folder. useDefaultWhitelist = true #Specifies the method used to block network connection. Valid values: #REDIRECT: redirect addresses to 0.0.0.0 #THROW: throw an exception blockMethod = "REDIRECT"

You can add domains to the whitelist in config/networkblocker/whitelist.txt:

如何安装 Network Blocker

With Millida Launcher

  1. Install Millida Launcher

    The launcher is free: download it at millida.net/launcher and sign in with any nickname.

  2. Click “Install” on this page

    The launcher opens and installs the mod for Minecraft 1.20.1–26.2 on Fabric, Forge, NeoForge or Quilt automatically.

  3. Launch the game

    A profile with it appears in the launcher: click “Play”.

Manually

  1. Install Fabric, Forge, NeoForge or Quilt

    The loader must match the game version of the mod file, for example Minecraft 26.2. After installing it, a separate profile appears in your launcher.

  2. Download the file for your version

    In the version list above, pick the file networkblocker-0.4.1+26.1.1-neoforge.jar (1004 KB) for your game version and loader.

  3. Put it in the mods folder

    The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.

  4. Launch the loader profile

    Open “Mods” in the main menu: Network Blocker should be in the list.

版本

含依赖项

Minecraft加载器文件日期操作
26.1NeoForgeNetwork Blocker 0.4.1+26.1.1-neoforge1004 KB
26.1Fabric, QuiltNetwork Blocker 0.4.1+26.1.1-fabric1013 KB 1
1.20.1ForgeNetwork Blocker 0.4.1+1.20.1-forge1.6 MB
1.21.10NeoForgeNetwork Blocker 0.2.2+1.21.11-neoforge1004 KB
1.21Fabric, QuiltNetwork Blocker 0.2.2+1.21.11-fabric1 MB 1
1.20.1ForgeNetwork Blocker 0.2.2+1.20.1-forge1.6 MB

评价

成为第一个评价 Network Blocker 的人

评论 0

登录后即可评论登录

相似模组

全部模组

了解更多