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