跳到正文

Real Mobcap

作者:Jahus

Functional Fabric mod to change natural spawn mob caps in Minecraft.

收藏

介绍

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

Real Mobcap

Simple server-side mobcap control for Minecraft (Fabric).

Patches MobCategory so the spawn engine, Carpet and the built-in command all see the same values. JSON config only.

Inspired by the idea behind Proper Mobcap Modifier (getter overrides for spawn groups), reimplemented for 26.3 with field patching and a diagnostic command (inspired by Carpet).

Config

config/realmobcap.json (written on first run with vanilla defaults)

{
  "enabled": true,
  "categories": {
    "monster": {
      "max": 70,
      "friendly": false,
      "persistent": false,
      "despawnDistance": 128,
      "noDespawnDistance": 32
    },
    "creature": { "max": 10, "friendly": true, "persistent": true, "despawnDistance": 128, "noDespawnDistance": 32 },
    "ambient": { "max": 15, "friendly": true, "persistent": false, "despawnDistance": 128, "noDespawnDistance": 32 },
    "axolotls": { "max": 5, "friendly": true, "persistent": false, "despawnDistance": 128, "noDespawnDistance": 32 },
    "underground_water_creature": { "max": 5, "friendly": true, "persistent": false, "despawnDistance": 128, "noDespawnDistance": 32 },
    "water_creature": { "max": 5, "friendly": true, "persistent": false, "despawnDistance": 128, "noDespawnDistance": 32 },
    "water_ambient": { "max": 20, "friendly": true, "persistent": false, "despawnDistance": 64, "noDespawnDistance": 32 },
    "misc": { "max": -1, "friendly": true, "persistent": true, "despawnDistance": 128, "noDespawnDistance": 32 }
  }
}

Omit any field to keep the vanilla value. Restart after editing.

Command

/realmobcap
/realmobcap show

Op level 2. Shows count / effective cap for the current dimension (same formula as the spawn engine), plus per-chunk max and flags.

常见问题

Real Mobcap 支持哪些 Minecraft 版本?

Real Mobcap 支持 Minecraft Java 版 26.3,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Real Mobcap 怎么安装?

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

评论

登录后评论和评分

Jahus 的其他作品

查看全部 →