Loading...
Beta Modpages Unclaimed

Coal Explosion

💥 Harvesting coal should be dangerous, now it is!

0 Likes
470311 Downloads
Created by Kreezxil

Description

 

 

Join at least of us on Discord right now!

 

 

Bisect Hosting

If you want a server setup using Coal Explosion with zero effort, get a server with BisectHosting and receive 25% off your first month as a new customer using the code kreezxil

 

 

Explosive Coal

Making coal irritating to your players. :)

Configurable
Range (default = 5.0, min 0 max 256.0): The range of the explosion of a coal block.

Strength (default = 10.0, min 0, max 256.0): The amount of damage the explosions do.
causeFire (default = false): Whether an exploding coal block should cause fire.

Sparks (default = iron and gold pickaxes): Whatever you add to this list will trigger explosions like Pigporker below was expecting.

1.19+:

I've implemented a tag coalexplosion:igniters to Coal explosion and added all vanilla torches to it. I've also added a config option to add more igniting items that way (which I was able to confirm works by inserting "minecraft:stick")
This way new items can be either done through a datapack or a config option
I also kept an extra check for instanceof TorchBlock to keep the same level of compatibility with any mods that extend the class

 

Example Config from NeoForge 1.21.1:

[general]
    #General settings
    #The range of the explosion of a coal block.
    #Range: 0.0 ~ 256.0
    explosionRange = 5.0
    #Whether an exploding coal block should cause fire.
    causeFire = true
    #A list of extra configured items that can cause coal to explode
    configuredIgniters = ["minecraft:iron_sword", "minecraft:iron_pickaxe", "minecraft:iron_axe", "minecraft:iron_shovel", "minecraft:iron_hoe", "minecraft:golden_sword", "minecraft:golden_pickaxe", "minecraft:golden_axe", "minecraft:golden_shovel", "minecraft:golden_hoe", "minecraft:netherite_sword", "minecraft:netherite_pickaxe", "minecraft:netherite_axe", "minecraft:netherite_shovel", "minecraft:netherite_hoe"]
    #A list of extra configured blocks that igniters can cause to explode
    configuredBlocks = ["minecraft:coal_block", "minecraft:magma_block", "minecraft:nether_wart_block", "minecraft:crimson_nylium", "minecraft:warped_nylium"]

Planned Features

The mod offers a variety of configuration options to fine-tune the explosive behavior of coal blocks:

  • Allowed Tools: A list of tools allowed for harvesting without triggering a calamity. By default, this includes wood and diamond tools. There is no blacklist; tools are either exempt or they are not.
  • Base Chance to Ignite: The base probability that a coal block will ignite upon certain triggers, such as being mined with non-exempt tools or being near fire sources.
  • Base Chance After Ignition to Become Magma Block: The base chance that an ignited coal block will transform into a magma block.
  • Base Chance After Ignition to Explode: The base chance that an ignited coal block will explode.
  • Explosion Chance Increases: Various factors can increase the chance of an explosion:
    • Neighbor on Fire: Chance increase amount if a neighboring block is on fire.
    • Neighbor is Magma Block: Chance increase amount if a neighboring block is a magma block.
    • Neighbor is Coal: Base chance to increase explosion if a neighboring block is coal.
    • Neighbor is Flammable: Base chance to increase explosion if a neighboring block is flammable.
  • Explosion Strength Modifiers: The explosion strength can be increased based on adjacent blocks:
    • Coal Explosion Increase Amount: For each adjacent coal ore, this increases the explosion strength.
    • Flammable Explosion Increase Amount: For each adjacent flammable block, this increases the explosion strength.
    • Magma Explosion Increase Amount: For each adjacent magma block, this increases the explosion strength.
  • Lava Interaction: There is a configuration option to consider lava as an ignition source. By default, this is turned off to prevent excessive explosion lag. If enabled, coal veins touching lava will ignite and be treated as if adjacent to a magma block.
  • Ignition by Torches: Regular torches can ignite coal blocks with a chance each tick update.

This configuration system allows for a dynamic and challenging gameplay experience, where coal mining can become a risky endeavor, especially when using non-exempt tools or in the presence of certain environmental factors.


Fabric Versions require Fabric API and ClothConfig

Recommend Mod Companions:
https://www.curseforge.com/minecraft/mc-mods/spelunkers-charm-ii


AD Become Premium to remove Ads!

What means Verified?

  • Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
  • Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
  • Security: The mod should not contain any malicious code or attempts to steal personal information.
  • Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
  • Originality: The mod should be original and not a copy of someone else's work.
  • Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
  • Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
  • License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
  • Documentation: The mod should come with clear and detailed documentation on how to install and use it.

AD Become Premium to remove Ads!

How to Install

1

Download Forge & Java

Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.

2

Prepare

Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.

3

Add Mods

Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder

4

Enjoy

You are now Ready. Re-start your Game and start Playing.

More Mods like this

CoFH World

Customizable and powerful world generation!

More Chickens

Chickens Add-On that adds modded chickens

NetherOres

Ores in the Nether! Coal, diamond, gold, iron, lapis, redstone, tin, copper, emerald, silver, lead, uranium.

CoralReef

Port of Nandonalt's Coral Reef mod

Dense Ores

Adds Dense variants of ores (includes support for numerous mods)