-
Notifications
You must be signed in to change notification settings - Fork 46
Explosive Exothermic
Robin Seifert edited this page Jul 14, 2023
·
1 revision
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.
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.
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 |
Name | Default | Purpose |
---|---|---|
scale | 30 | radius |
allow_day_night_switch | true | Allows day to be changed |