跳到正文

Limit Mob Spawn

作者:Kotori316

Limit spawning mobs

收藏

介绍

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

This mod allows you to prevent mobs from being spawned.

 

In this mod, I created these conditions.

  • Biome
  • Entity type (zombie, skeleton, bat, etc.)
  • Entity classification (Monster, Creature, Water Creature, Water Ambient, etc.)
  • Dimension (over world, nether, the end)
  • Position (x, y, z coordinate)
  • Spawn reason (natural, spawner, spawn egg, etc.)
  • Light level

You can make own rule by combining the conditions.

 

Rules can be added/removed via command.

  • /limitmobspawn query
  • /limitmobspawn add
  • /limitmobspawn remove

 


To change the number of mobs spawned from default Monster Spawner, execute this(1.18 only)

  • /limitmobspawn spawner spawnCount <new count>

To change the limit of numbers of mobs which can newly spawn, execute this.

  • /limitmobspawn category_limit set <category> <limit>

These are the default values in vanilla.

  • Monster: 70
  • Creature: 10
  • Ambient(bats): 15
  • Axolotls: 5
  • Underground Water Creature: 5
  • Water Creature: 5
  • Water Ambient: 20

To add rules, make data pack. In the data pack, create “limit-mob-spawn” directory and place rule file(json) in the dir. See Official Wiki for more detail of data pack.

datapacks in each world

└─pack.mcdata

└─data

    └─(name space)
         └─limitmobspawn
             └─demo1.json

             └─other rule files

Follow these link to see example rules.

1.16.5: this

1.17.1: this

 

1.19.2 Example Datapack


See this page for change log.

常见问题

Limit Mob Spawn 支持哪些 Minecraft 版本?

Limit Mob Spawn 支持 Minecraft Java 版 1.16.5–1.20.1,共 8 个版本,可用的加载器:Fabric / Forge。下载时注意选择和你游戏版本一致的文件。

Limit Mob Spawn 怎么安装?

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

评论

登录后评论和评分

Kotori316 的其他作品

查看全部 →