Перейти к содержимому
Mineforgian

MobsBeGone

MobsBeGone allows you to get rid of entities spawning in your world in a very simple and straightforward way!

3.0M загрузок28 подписчиковMITfabric

Обновлён 15 июня 2025 г. · опубликован 1 июня 2025 г.

MobsBeGone 🐾🚫

MobsBeGone is a lightweight Fabric mod for Minecraft 1.21.1 that lets you blacklist mobs from spawning entirely.

It was made because existing solutions were too complicated for smaller projects — so this one is designed with simplicity and efficiency in mind.

🔧 How It Works Internally

  • The mod reads a mobsbegone-blacklist.json file from your config folder.
  • Inside it, you list entity IDs you want to completely disable (e.g. "minecraft:creeper").
  • It parses the file at startup and stores the blacklist in a fast O(1) lookup table.
  • When any mob tries to spawn (natural, command, structure, etc.), it checks if it's blacklisted.
  • If the mob is on the blacklist, it gets instantly discarded and never visually spawned.

The logic is designed to be safe and avoids issues by marking blacklisted entities for removal on the next server tick.

📂 Config Example

Put this file in: config/mobsbegone-blacklist.json (The default config already contains all of the current Minecraft mobs)

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

And that's it! Those mobs will never appear in your world again. 💣💥

You can add any entity from either the base game, or any other mod you might be using!

Please keep in mind that the last entry of the list should NOT contain a trailing comma!

⚠️ Disclaimer

This mod is provided as-is.

You're free to use it, modify it, fork it, or yell at it lovingly.
No guarantees, no warranties — just vibes. ✨

✨ Credits

Made with love by Okaeri Game Studio 💜

Authors: Olivia, EasyMochi


Enjoy the peace and quiet of a mob-free world! 🌸

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
0.0.7Релиз1.21.1fabric15 июня 2025 г..jar (10 КБ)
0.0.6Бета1.21.1fabric15 июня 2025 г..jar (10 КБ)
0.0.5Бета1.21.1fabric4 июня 2025 г..jar (9 КБ)
0.0.3Бета1.21.1fabric3 июня 2025 г..jar (9 КБ)
0.0.2Бета1.21.1fabric2 июня 2025 г..jar (9 КБ)
0.0.1Бета1.21.1fabric1 июня 2025 г..jar (9 КБ)

Ченджлог

0.0.7Релиз1.21.1 · 15 июня 2025 г.
  • Fixed default blacklist
  • Bumped version
0.0.6Бета1.21.1 · 15 июня 2025 г.
  • Inverted the for-loop check for speed
  • Added compatibility for single-player
  • Bumped version to 0.0.6
0.0.5Бета1.21.1 · 4 июня 2025 г.
  • Replaced HashSet with ObjectArrayList for efficiency
  • Skipped version 0.0.4 because it's bad luck
0.0.3Бета1.21.1 · 3 июня 2025 г.
  • Changed from boolean array to bit array using bitwise
  • Changed load order
  • Unlimited entity support

Ram usage should be around 200 bits for the precomputed entity list for most modpacks, and mob removal about 5 CPU instructions.

0.0.2Бета1.21.1 · 2 июня 2025 г.

Updated mobs array size, supports up to 1023 mobs.

0.0.1Бета1.21.1 · 1 июня 2025 г.

Initial Release

Полная история изменений — на Modrinth.

Комментарии

Загружаем…