▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Blastproof
Blastproof

Blastproof

A lightweight Fabric mod that prevents explosions from damaging blocks in your server or single-player world.

572
4

Blastproof

Easily prevent explosions from damaging blocks or starting fires in your Fabric server or single-player world.

Blastproof ensures explosions from TNT, creepers, end crystals, and other sources won't damage your hard work. Whether you're building cities or simply protecting your creations, Blastproof helps maintain the integrity of your world.


💡 Why I Created Blastproof

I developed Blastproof because I wanted to run a modded Fabric server but couldn't find an up-to-date mod to disable block damage from blocks not covered through vanilla gamerules (beds, respawn anchors, etc.), which can potentially ruin builds in the overworld. I also wanted to have TNT enabled (normally disabled with the tntExplodes gamerule set to false), but didn't want to break anything! Blastproof addresses this gap, providing easy control over explosion damage and fire creation. This mod is ideal for players who want to preserve all features that mobGriefing false disables (such as endermen picking up blocks), but still prevent explosions from damaging builds.

🚀 Features

  • Compatibility with Gamerules: Gamerules such as mobGriefing won't conflict with Blastproof but rather serve as an additional layer of protection.

  • Entity Damage Preservation: Entities still receive damage from explosions; only blocks are protected to prevent griefing.

  • Block Damage Control: Disable block damage from TNT, Creepers, End Crystals, Wither Skulls, Fireballs, Withers, and custom "other" sources.

  • Fire Prevention: Stop explosions from causing wildfires.

  • Auto-Generated Configuration: A user-friendly config file is created on the first run at config/blastproof.json with blastproofed default settings.

  • In-Game Commands: Use /blastproof to easily:

    • Check settings:

      /blastproof disableBlockDamage tnt
      
    • Toggle options:

      /blastproof disableBlockDamage tnt false
      
  • Universal Compatibility: Works seamlessly on both dedicated servers and integrated single-player worlds.

  • Lightweight: Less than 20 KB with no additional dependencies (besides Fabric API).

📝 Disclaimer

This is my first Minecraft mod, Java project, and GitHub repository. As such, certain aspects of the repository and files might not be perfect, and I'm open to suggestions and improvements!


⚙️ Configuration

After your first launch, edit config/blastproof.json to adjust settings. Note: The other flag will override the respawn_anchor and bed flags!

{
  "disableBlockDamage": {
    "tnt": true,
    "creeper": true,
    "end_crystal": true,
    "fireball": true,
    "wither": true,
    "wither_skull": true,
    "respawn_anchor": true,
    "bed": true,
    "other": true
  },
  "disableFireCreation": {
    "respawn_anchor": true,
    "bed": true,
    "other": true
  }
}

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Создатели

Детали

Лицензия:MIT
Опубликован:9 месяцев назад
Обновлён:2 месяца назад
Главная