Randomly Exploding Blocks

Quick rating

Community listing page, reviews here may not be monitored by the author.

Randomly Exploding Blocks

No reviews yet

Has a small chance for mined blocks to explode

Mod Loaders
Minecraft

About

Description

Introduces a new mechanic where whenever a block is mined, there is a small chance for the block to spontaneously explode.

REQUIRES FABRIC API.

RUNS ON 1.18.2.

This mechanic can be modified with 3 Game Rules:

  • blockExplosions - Can be toggled true or false to enable or disable the mechanic respectively. (Default: True)
  • explosionChance - Determines the chance for when the block can explode. (Default: 10, Min: 1, Max: 100)
  • explosionPower - Determines the power of the explosion. (Default: 4, Min: 1, Max: 100)

Q&A:

  • Why did you make this? - I thought it would be funny.
  • Can I use this in a modpack? - Yes

Introduces a new mechanic where whenever a block is mined, there is a small chance for the block to spontaneously explode.

Built for 1.18.1, also tested and working on 1.18.2.

This mechanic can be modified in the serverconfig file of a world. There are 3 things to configure.

  • "Enable Mod" - Can be toggled true or false to enable or disable the mechanic respectively. (Default: True)
  • "Explosion Chance" - Determines the chance for when the block can explode. (Default: 10, Min: 1, Max: 100)
  • "Explosion Power" - Determines the power of the explosion. (Default: 4.0f, Min: 1.0f, Max: 100.0f)

Q&A:

  • Why did you make this? - I thought it would be funny.
  • Wait, the fabric version of this mod used gamerules, why didn't you use those? - Because for some reason in forge the gamerule creation function is private, when in fabric it's public, so yeah that sucks.
  • Can I use this in a modpack? - Yes