跳到正文

Simple Mob Switch

作者:IzmYuta

Safe and efficient Mob Switch implementation using spawn chunks.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

SimpleMobSwitch

SimpleMobSwitch is a Fabric mod for Minecraft 1.20.5+ that dynamically controls mob spawning across your server. It automatically adjusts dummy mobs (shulkers) based on player count, utilizing the mob cap mechanism to control natural mob spawning server-wide.

🎯 Key Features

  • Dynamic Control: Automatically adjusts mob spawn rates based on current player count
  • Simple Commands: Easy on/off toggle with /mobswitch on/off commands
  • High Performance: Minimal performance impact through AI disabling and optimization
  • Reliable Design: Uses spawn chunks for consistent, lag-free operation
  • Persistent State: Automatically restores settings after server restarts

🔧 Technical Specifications

  • Target Dimension: Overworld only
  • Placement Method: 3 chunks away from spawn chunks (load level 33 in 1.20.5+)
  • Entity Type: Invisible, invulnerable shulkers with disabled AI
  • Calculation: Player count × 70 = Required dummy mobs

💡 How It Works

The mod leverages Minecraft’s mob cap system by spawning persistent dummy mobs that count toward the global mob limit. When the cap is reached, natural hostile mob spawning is prevented, creating an effective “mob switch” that scales automatically with your server population.

🎮 Usage

  1. Install the mod on your Fabric server
  2. Use /mobswitch on to enable mob spawn control
  3. Use /mobswitch off to disable and return to normal spawning
  4. The mod automatically adjusts based on player count

⚠️ Requirements

  • Minecraft Version: 1.20.5 or higher
  • Mod Loader: Fabric Loader
  • Permissions: OP level 2 or higher required for commands
  • Server Type: Works best on servers where spawn chunks are accessible

Perfect for servers that need reliable mob spawn control without complex redstone contraptions or portal-based chunk loaders.

📚 Additional Resources

常见问题

Simple Mob Switch 支持哪些 Minecraft 版本?

Simple Mob Switch 支持 Minecraft Java 版 1.21.5,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Simple Mob Switch 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

IzmYuta 的其他作品

查看全部 →