Download Fear of Fire — Minecraft Mods — MetaMods

Fear of Fire

Active

Downloads

0

Last update

7 months ago

Versions

1.18 — 1.19.4
Client and server
Forge
Mobs
Utils

Fear of Fire Mod - Make Mobs Fear the Fire! 🔥

With this mod, you can configure creature behavior to make them run away from dangerous blocks and frightening items! FearFire allows you to specify which mobs will avoid certain blocks (like fire) or flee from players holding specific items (such as torches).

Default Configuration: firefearmod.toml

By default, cows and pigs will run away from players holding torches. They will also avoid areas with fire, campfires, soul fire, and soul campfires.

⚙️ How to Configure:

  1. Locate the configuration file: config/firefearmod.toml

  2. Open it with a text editor

  3. Modify the lists in the [fearfire] section to add or remove:

    • entities → Mobs that will flee (e.g., "minecraft:zombie")
    • blocks → Blocks that scare mobs (e.g., "minecraft:magma_block")
    • items → Items that scare mobs when held (e.g., "minecraft:flint_and_steel")
  4. Adjust performance settings in the [fearfire.optimizations] section to fine-tune block checks, cooldowns, and player detection radius.

Save your changes and enjoy a world where mobs fear the fire! 🔥👀💨

Example Configuration:

[fearfire]
# A list of entity IDs (e.g., 'minecraft:pig') that will have fear behavior.
# Only these entities will run away from blocks/items set below.
entities = ["fossil:brachiosaurus", "fossil:gallimimus", "fossil:parasaurolophus", "fossil:dryosaurus", "fossil:pachyrhinosaurus", "fossil:quagga", "fossil:triceratops", "fossil:pachycephalosaurus", "fossil:psittacosaurus", "fossil:protoceratops", "fossil:dodo", "fossil:ankylosaurus", "fossil:stegosaurus", "fossil:mammoth", "fossil:megaloceros", "fossil:elasmotherium", "fossil:platybelodon"]
# Any block in this list will scare the entity if found within the search radius.
blocks = ["minecraft:fire", "minecraft:campfire", "minecraft:glowstone"]
# Any item in this list will scare the entity if a nearby player is holding it (main or off hand).
items = ["minecraft:torch", "minecraft:glowstone"]

[fearfire.optimizations]
# If true, skip block checks if the game rule 'doFireTick' is off.
skipBlockCheckIfFireTickOff = true
# Number of ticks between scanning for threats. 20 = 1 second.
scanCooldownTicks = 120
# Horizontal radius to find players holding feared items.
playerCheckRadius = 8
# Vertical (Y) range to check for item-holding players.
playerCheckVerticalRange = 2
# Only check for fear blocks if there's at least one player within this radius (X,Z ±, Y ±2). If no player is near, skip block checks to save CPU.
blockCheckPlayerRadius = 32
Project members
Sylsatra

Sylsatra

Developer

Created: 8 Mar 2025

ID: 83719