no_mobs_destroy_block
ModLicenseRef-All-Rights-Reserved

no_mobs_destroy_block

Prevent the destructive behavior of organisms and entities towards blocks.

29
Downloads
0
Followers
2 months ago
Updated
📦
1
Versions

📖About no_mobs_destroy_block

Mod Introduction

This mod aims to precisely prevent specific mobs and entities in "Minecraft" from causing block destruction to the environment, while fully retaining all their other characteristics in the game. Simply put, it ensures that the attacking, moving, and other behaviors of specific mobs and entities remain unaffected, while eliminating their ability to destroy blocks.

Mob Restriction List

Mob/Entity Anti - destruction Type Retained Behavioral Characteristics
Creeper Explosion does not destroy blocks Retain explosion damage, sound effects, particle effects, knockback, and the ability to ignite other entities
Ghast Fireball explosion does not destroy blocks Retain fireball damage, sound effects, flight trajectory, and fire - igniting effects
Wither All forms of destruction are prevented Retain attack damage, adjusted health regeneration (not relying on block destruction), flight, and sound effects
Ender Dragon Cannot destroy any blocks Retain combat AI, pouncing attacks, crystal summoning, and perching behavior
Enderman Cannot pick up and remove blocks Retain teleportation ability, angry state, attack behavior, and sound effects
Ender Crystal Explosion does not destroy any blocks Retain explosion damage, the ability to heal the Ender Dragon, and sound effects

Configuration File

This mod supports flexible configuration through the config/no_mobs_destroy_block.toml file (not yet implemented).

[general]
# Disabled entity list (can be customized to add/remove)
disabled_entities = [
    "minecraft:ender_dragon",
    "minecraft:creeper",
    "minecraft:ghast", 
    "minecraft:wither",
    "minecraft:ender_crystal",
    "minecraft:enderman"
]

# Whether to enable explosion visual effects
enable_explosion_effects = true

# Whether to prevent Endermen from picking up blocks
prevent_enderman_pickup = true

# Whether to prevent the Wither from damaging blocks
prevent_wither_block_damage = true

# Enhanced Ender Crystal detection (fix special bugs)
aggressive_end_crystal_detection = true

# Debug logging (enable for troubleshooting)
debug_logging = false