boom door banner
boom door icon

boom door

all door will tell player to close the door.and if player dont close the door in 5 seconds , the door will be expolsion in a 10x10 area.

00
fabricBoth1.21.1mod

boom door mod overview:

  • Doors warn the player who opens them to close within 5 seconds; leaving the door open detonates a large (power 10) explosion centered on the doorway.
  • The countdown starts when a player opens any vanilla door (either half); closing the door early cancels the timer automatically.
  • Explosions and messaging run server-side but the mod is marked to load on both client and server for flexibility.

Important details:

  • Countdown tracks the lower door block so upper-half clicks still target the same doorway.
  • The warning is sent only once per newly opened door while it stays open; reopening starts a fresh 5-second timer.

Limitations / tips:

  • Doors opened or held open via redstone or other non-player interactions are not tracked, so no warning or explosion is triggered.
  • Breaking or removing the door before the timer expires cancels the pending explosion.

Server Validation

Server validation passed - The mod was tested on a real Minecraft server and loaded successfully.