Mineuniverse
Log in Register
Mods

ExplosionLib

A library mod for better and easier custom explosions
by remag
Download Claim this project
268 downloads
0 likes
Updated Jul 6, 2026
0 hypes
API and Library

ExplosionLib is a server-side library mod that provides a custom explosion simulation, designed to make large explosions look more realistic. It offers configurable options for:

  • Generating fire in the crater.
  • Placing netherrack under some fire for persistence.
  • Forcing fire generation in certain explosions (like beds or ghast fireballs).
  • Spawning debris that flies outward from the crater.

The mod is fully compatible with singleplayer and includes a config to disable fire, persistent fire, and debris. ExplosionLib can replace vanilla explosions with the custom simulation if enabled in the config.

Developers can integrate ExplosionLib by adding it as a dependency via Cursemaven in their build.gradle, then using the ExplosionHandler.explode() method:

ExplosionHandler.explode(new ExplosionContext(
       ExplosionContext.SimulationType.POLYHEDRAL,
       level,
       pos,
       power,
       fire,
       forceFire,
       persistentFire,
       debris,
       source
));
  • SimulationType can be POLYHEDRAL for the custom explosion or VANILLA to use the default Minecraft explosion behavior.
  • For vanilla explosions, forceFire determines whether fire is generated, ensuring that some effects (like beds or ghast fireballs) always spawn fire, regardless of the config.

This allows you to use a single method for both vanilla and custom explosions, giving you flexibility and visual fidelity for large-scale effects.

If you need more help with the mod I have a discord

If you want to play on a server with your friends to experience fancy explosions together then you should get a server from Apex Hosting, they provide powerful hardware, good for making huge explosions and by using code APEX25 you can get 25% off your first month of hosting, just click the banner below! And by using Apex Hosting you support me to make more mods like these!

Apex Hosting Banner

explosionlib-1.2.0-1.21.11.jar
MC NeoForge, Server, 1.21.11
Release 2026-01-22 Get

More from remag

PNC: Extra PCBs
94,795
Void Block
9,236
Sandbox Multiblocks | SBMB
7,434
Block Generators 2
7,205
Bee Proud
7,021
Nether+
67,553

You Might Also Like

Vivecraft
A Minecraft VR mod on a loader of your choice!
9,988,339
Athena
A crossplatform (Forge/Fabric) solution to connected block textures for 1.19.4+
99,799,527
Lodestone
A collection of code used throughout projects under the Lodestar team.
9,914,417
TheDragonLib
A library for most of sokratis12GR's Mods
9,910,232
Multi Mob Library
A library mod containing essential files for Daveyx0's mob mods
9,892,767
FTB Library (Forge) (Legacy)
FTB Library is a library mod that is used for some of our mods.
98,265,314