Mob Blocker

Published by DreykaOas on
Downloads:
100
Upvotes: 0
Share this:
Category
Project status
Stable
License
Apache License version 2.0
Modification type
Supported Minecraft versions
1.21.1

Jump to downloads

Modrinth

 

This mod allows you to block the spawning of specific entities (mobs) in a Minecraft world 🌍 based on a list of entities defined in a configuration file πŸ“„. You can customize the list of mobs you want to prevent from spawning by editing a text file named `mobs.oas`.

βš™οΈ Configuration Steps:

1. πŸ“‚ Create the `mobs.oas` file:
  - The configuration file is generated in the following directory:
    config/oas_work/mobs.oas
  - If the file does not exist, it is automatically created when the mod runs for the first time.

2. ✏️ Content of the `mobs.oas` file:
  - The `mobs.oas` file contains a list of full entity names from Minecraft (e.g., `minecraft:sheep`, `minecraft:creeper`), each name on a new line.
  - Example content of the file:
    minecraft:sheep
    minecraft:creeper
    minecraft:zombie

3. 🚫 Blocking entities:
  - The mod will read each line of the `mobs.oas` file and block the spawning of all entities listed in this file.
  - If an entity matches one of the lines, its spawn event will be automatically canceled ❌.

4. 🌟 Compatibility with all mods:
  - This mod is fully compatible with other mods that add new entities to Minecraft 🧩.
  - You can also add modded entities to the `mobs.oas` file using their full entity names, such as `modname:custom_entity`.

πŸ› οΈ Usage:

1. πŸ“ Add the entities you wish to block to the `mobs.oas` file.
2. πŸ–₯️ Launch the game or restart the Minecraft server. The mod will prevent these entities from spawning in the world, including entities added by other mods.~~~~

Modification files
mobs_blocker-0.0.1-neoforge-1.21.1.jar - v1.0.0 Uploaded on: 10/16/2024 - 08:38   File size: 1.49 MB