跳到正文

MobsFilter

作者:Gabrieli2806

easily preventing specific vanilla or modded mobs from existing.

收藏

介绍

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

modlogo


is a lightweight mod that lets you blacklist entities from spawning entirely. Keep your world/server clear of unwanted mobs with a fast, easy-to-use configuration and live in-game commands.


Features

Entity Blacklisting

  • Total Control – Blacklist specific vanilla or modded entities from spawning entirely.
  • Fast & Safe Cleanup – Entities are checked against a fast lookup table during spawn. Blacklisted entities are discarded immediately and cleaned up safely on the next server tick.
  • Wide Compatibility – Works with standard vanilla namespaces (e.g., minecraft:creeper) and modded entities (e.g., anothermod:some_entity).

Commands & Configuration (OP Required)

  • /mobsfilter add <entity> – Adds the entity to the blacklist and reloads it immediately. Supports clean autocomplete (with or without the minecraft: namespace).
  • /mobsfilter remove <entity> – Removes the entity from the blacklist and reloads it instantly.
  • /mobsfilter list – Shows all current blacklist entries loaded from the config.
  • JSON Config – All changes are automatically saved and read from config/mobsfilter-blacklist.json.

Config Example:

[
  "minecraft:creeper",
  "minecraft:enderman",
  "anothermod:some_entity"
]

Dependencies:

  • Fabric API (required)

Server-Side – Works perfectly as a server-side mod. Your players do not need to download or install this mod on their clients for the entity filtering to work!

常见问题

MobsFilter 支持哪些 Minecraft 版本?

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

MobsFilter 怎么安装?

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

评论

登录后评论和评分

Gabrieli2806 的其他作品

查看全部 →