Blast Rot - BuiltBrokenModding/ICBM-Classic GitHub Wiki
Rot
Blast that modifies/replaces all blocks in a radius. Simulating a nuclear rot like effect.
Currently no explosive generates this blast on it's own. Instead it is used with blasts such as nuclear.
Replacements
Rot blast will use a replacement config to apply edits to the world via a chance mechanic. By default it will replace stone and dirt with radioactive versions. Then remove all plant matter nearby. Mods/Modpacks can actively expand this list to meet their own needs.
Chance: random(0 to 1, inclusive, uniform distribution) <= chance with 1 being always and 0 being never
| Target | Replacement | Chance |
|---|---|---|
| minecraft:stone | icbmclassic:radioactive@1 | 0.2 |
| minecraft:dirt | icbmclassic:radioactive@0 | 0.2 |
| minecraft:farmland | icbmclassic:radioactive@0 | 0.2 |
| minecraft:grass_path | icbmclassic:radioactive@0 | 0.2 |
| minecraft:grass | icbmclassic:radioactive@0 | 0.2 |
| minecraft:mycelium | icbmclassic:radioactive@0 | 0.2 |
| material leaves,plants,vine | air | 1 |
Replacements (Legacy pre v6)
Blocks are replaced by a given type based on a chance mechanic. This is meant to distribute the effects over a given. Creating a mix of the original and rot replacements.
- radioactive: mod replaceable block used to represent radioactive material. This defaults mycelium if no mod overrides the block.
- chance: between 0.0 to 1.0, with 1.0 being 100%. Calculations check for random > chance.
| Block | Replacement | Chance |
|---|---|---|
| Grass | radioactive | 0.04 |
| Sand | radioactive | 0.04 |
| Stone | radioactive | 0.01 |
| Farmland | radioactive | always |
Materials can be a range of blocks both part of vanilla or other mods.
| Material | Replacement | Chance |
|---|---|---|
| Leaves | air | always |
| Plants | air | always |
Fluids can be from any mod so long as they match the Fluid registry ID
| Fluids | Replacement | Chance | Known Mods |
|---|---|---|---|
| water | toxicwaste | always | Atomic Science |
History
- Was added as a way to post trigger block replacements after nuke destroyed an area.
- Its unknown if rot is the original name.