Explosive Exothermic - BuiltBrokenModding/ICBM-Classic GitHub Wiki
Exothermic (Release of heat)
Thermal energy based explosive that generates heat to impact everything around it. Will spawn a heat beam before triggering after a delay. At which point any blocks nearby will be mutated based on effects.
Logic
Replaces blocks based on a series of chance calculations. As well sets the time to day (18_000).
Day light chance be disabled by config and respects game rule "doDayLightCycle"
Delay is controlled using a beam entity effect.
Replacement
Terms:
- DecayChance = distance < radius * 0.3
- EnsureChance = distance < radius * 0.1
- Chance = DecayChance OR random < (1 - (distance / radius)
If fire can't be placed it will use AIR. For same entry placement is done by first to pass.
| Block | Replacement | Chance |
|---|---|---|
| Material#Water | Air | Always |
| Block#Ice | Air | Always |
| Material#Leaves | Fire | chance |
| Material#Vine | Fire | chance |
| Material#Plants | Fire | chance |
| Material#Rock | Lava | chance AND 10% |
| Material#Rock | Magma | chance AND 50% |
| Mateiral#Rock | neterrack | chance AND EnsurChance |
| Material#Sand | soul sand | chance AND 50% |
| Material#Sand | soul sand | chance |
| Material#Ground | netherrack | chance |
| Material#Grass | netherrack | chance |
| Any | Fire | chance AND random < distance |
Config
| Name | Default | Purpose |
|---|---|---|
| scale | 30 | radius |
| allow_day_night_switch | true | Allows day to be changed |