Radiation

A Fallout-style radiation mod for Minecraft 26.3 (Fabric).

Admins mark out irradiated zones and place radiation sources. Players who walk into one get a red rad meter in the top left corner showing how many RAD/s they are absorbing, hear a Geiger counter clicking, and pass through stages of radiation sickness until they die at 1000 rads.

Installing with Prism Launcher

  1. In Prism, create a new instance (Add Instance), choose Minecraft 26.3, and pick Fabric as the mod loader (any recent loader version, at least 0.19.5).
  2. Open the instance's Edit → Mods page and click Download mods. Search for Fabric API and install it. Radiation needs it.
  3. Click Add file and pick radiation-1.13.0.jar, or drop the jar onto the mod list.
  4. Start the instance.

For a multiplayer server, put the same jar plus Fabric API into the server's mods folder. Every player needs the mod installed as well.

How it works

Accumulated rads Default stage Effects
250 Mild Radiation Sickness Hunger, −1 heart
500 Radiation Sickness Hunger, Weakness, −2 hearts
750 Severe Radiation Sickness Hunger II, Weakness II, Slowness, Mining Fatigue, −4 hearts
1000 Death ("died of radiation poisoning")

Rads don't wear off on their own (as in Fallout). You need RadAway, or you have to die. They reset on death.

The rad meter

Items

Item What it does Recipe
Geiger Counter Right-click for a detailed reading: ambient radiation, what you absorb, protection, condition. Holding it shows the meter. Sneak + right-click on the ground or on water reads that patch's contamination alone (since 1.10.1). Copper ingot (top right), iron / glass pane / iron, yellow dye / redstone / yellow dye
Decontamination Sprayer Right-click water to fill it, hold right-click on contaminated ground to wash it off (since 1.10.0, see Contaminated ground and water) Tripwire hook (top right), iron / piston / iron, yellow dye / bucket / yellow dye
Canteen Five servings of water: right-click water to fill it, hold right-click to drink one (since 1.11.0, see Thirst) Iron nugget (top middle), leather / leather at the sides, three iron ingots at the bottom
Plastic Bottle, Water, Dirty Water, Purified Water A plastic bottle filled at water holds Water (Dirty Water if the water is irradiated); the water purifier fills it with Purified Water. Both are drunk like a potion (one serving) and the empty bottle stays (since 1.12.0) Slime ball (top middle), dried kelp at the sides and along the bottom → 4
Water Purifier A 230 V machine that turns raw water into clean water (since 1.11.0, see Thirst) Iron / bucket / iron, glass / charcoal / glass, copper ingot / redstone / copper ingot
RadAway Removes 150 rads over 10 seconds Shapeless: glass bottle + dried kelp + glow berries + sugar
Rad-X Blocks 50% of incoming radiation for 4 minutes Shapeless: paper + amethyst shard + sugar + orange dye → 2
Hazmat Hood / Suit / Trousers / Boots Each piece blocks 22.5% (full set 90%) Shaped like leather armor, using leather and yellow wool (the hood has a glass pane visor)
Nuclear Waste Barrel A block that radiates its surroundings (6 rad/s, radius 6 by default). It glows and drips green particles. Creative/admin only. none

Protection from armor and Rad-X stacks, capped at 95% by default.

Solid blocks between you and a point source absorb radiation. By default each block removes 35%, so hiding behind a thick wall helps. Zones are uniform and can't be shielded against.

Vault blocks

Version 1.2.0 adds everything you need to build a Fallout-style fallout shelter.

A Vault Door numbered 73 in its frame, with hazard stripes and a Vault Door Console beside it

A Vault Door numbered 73 in its frame, with hazard stripes and a Vault Door Console beside it

Block What it does
Vault Door The big cog door for a round 5×5 opening. Place it in the middle of the opening, facing the outside. It sits flush with the wall on both sides, in a steel collar that fills the opening around the cog. A screw arm behind it extends, screws into the cog, pulls it back into the vault and lets go; the cog then rolls aside. Closing runs the other way. An alarm klaxon sounds the whole time. It is blast-proof.
Vault Door Console A pedestal with a big button: opens or closes the nearest vault door within 16 blocks. A vault door also toggles on a redstone pulse.
Vault Alarm Light A rotating amber warning light. It spins and lights up while a vault door within 16 blocks opens or closes. Mount it on any wall, floor or ceiling.
Vault Sliding Door A two-block steel door that slides up into the wall above it. Doors standing side by side in the same wall open together, so you can build wider doorways. Opens by hand or redstone.
Vault Wall Panel, Striped Vault Wall Panel, Vault Pipe Panel Riveted steel walls: plain, with the blue and yellow stripe, and with pipes.
Vault Floor Plate, Vault Floor Grate Tread plate and see-through grating.
Hazard Stripes, Vault Door Frame Yellow and black warning stripes; heavy frame blocks for the door opening.
Vault Light Panel, Blue / Yellow / White Neon Tube Flat light panels and neon tubes for walls, floors and ceilings.
The screw arm waiting behind a closed vault door

The screw arm waiting behind a closed vault door

The arm's screw head has engaged the door's centre

The arm's screw head has engaged the door's centre

The arm pulls the door back into the vault

The arm pulls the door back into the vault

The door rolls aside while the arm parks

The door rolls aside while the arm parks

Room the door needs. The door is 5 blocks across. Behind it (inside the vault) keep the space clear: 7 blocks deep for the screw arm, 4 blocks above the door's centre for the arm's ceiling mount, and 8 blocks to the side the door rolls to. Corners of the 5×5 square stay solid; use Vault Door Frame blocks there.

Number and roll direction. Sneak and use the door to set the number painted on it (0 to 999) and which side it rolls to. Only operators and players in creative mode can do this.

Setting the door's number

Setting the door's number

Alarm lights sweep amber beams while the door opens

Alarm lights sweep amber beams while the door opens

A vault room with light panels, neon tubes, striped walls, a floor grate and sliding doors

A vault room with light panels, neon tubes, striped walls, a floor grate and sliding doors

A double sliding door halfway up

A double sliding door halfway up

Vault recipes

Item Recipe
Vault Door 8 iron blocks around a redstone block
Vault Door Console Stone button on top, glass pane / redstone / glass pane, 3 iron ingots
Vault Alarm Light Glowstone dust, orange stained glass pane / redstone / orange stained glass pane, iron ingot
Vault Sliding Door ×2 5 iron ingots and a piston (iron, iron / piston, iron / iron, iron)
Vault Wall Panel ×8 8 smooth stone around an iron ingot
Striped Vault Wall Panel ×2 2 wall panels, yellow dye, blue dye
Vault Pipe Panel Wall panel and a copper ingot
Vault Floor Plate Wall panel and grey dye
Vault Floor Grate ×4 4 iron bars
Hazard Stripes Wall panel, yellow dye, black dye
Vault Door Frame ×4 2 iron ingots and 2 obsidian, diagonally
Vault Light Panel ×2 Iron nugget, glowstone, iron nugget
Neon Tube ×2 Glass pane, glowstone dust and blue, yellow or white dye

Concrete and shielding

Shielding depends on the material. Every block between a radiation source and you absorbs a fraction of the radiation:

Material Absorbs per block Left after 3 blocks
Heavy Concrete, iron/gold/netherite blocks, obsidian, vault doors 97 % 0.003 %
Reinforced Concrete, all coloured concrete, vault walls 90 % 0.1 %
Other solid blocks 35 % 27 %
Water 30 % 34 %
Air, glass panes, leaves and other see-through blocks nothing

Concrete shields reliably (since 1.4.0; before it let 45 % through each block): each block takes away 90 %, so a wall a few blocks thick stops practically everything. Measured in the test world, an emitter of 1000 rad/s at one metre, 6 m away: 26.8 rad/s in the open, 2.7 behind one block of concrete, 0.27 behind two, 0.027 behind three, 0.0027 behind four. (Real concrete is better still: a metre of it lets through about 1/10,000 of fission-product gamma rays.)

Block Recipe
Reinforced Concrete 8 gray concrete around 1 iron ingot → 8 Blast resistance 1200 (like obsidian): explosions do not break it
Heavy Concrete 5 reinforced concrete + 4 raw iron → 5 Blast resistance 1200, the best shielding

Both need a diamond pickaxe. They are the material for bunkers, vaults and reactor buildings (the Fission mod's reactors cannot blow through enough of them). The tags radiation:shielding_concrete and radiation:shielding_heavy let data packs and other mods add their own blocks.

What radiation does to the land

Since 1.4.0 radiation damages plants, soil and animals, not only players. Everything depends on the dose rate at the spot, so concrete, water and earth protect a field exactly as they protect you.

Dose rate (default) What happens
0.01 rad/s Crops, saplings, melons, pumpkins, berries, sugar cane, cactus, bamboo and nether wart grow at half speed
0.1 rad/s ...at a tenth of their speed (in between it changes gradually)
0.3 rad/s Leaves die and fall: trees stand bare
1 rad/s Crops, flowers, grass, ferns and saplings die; dead bushes are left where they can stand
2 rad/s Grass, podzol, moss and farmland die back to bare dirt
25 rad/s Dirt of every kind turns to sand: nothing lives in the soil any more
0.01 rad/s Animals and villagers take up rads exactly like players (since 1.6.0): the same sickness stages and effects (hunger from 250, weakness from 500, slowness from 750), the same share of their health lost, dead at 1000. Undead do not care.

Is that realistic? Roughly, but plants are slower to show it than here: 0.01 rad/s is 8.6 Gy a day, which stunts grain within days; pines at Chernobyl (the Red Forest) died after a few hundred gray, grasses and herbs take several times more. A rate of 1 rad/s (36 Gy an hour) kills most plants within a day.

A source of 40 rad/s after a while Wheat at 0.3, 0.1 and 0 rad/s, same time

Only the land near radiation is looked at, a few surface blocks per chunk every second, so it costs little and changes come over a few minutes rather than at once. All thresholds are in the config (ecology).

Contaminated food

Since 1.7.0 every food has a contamination: the rads you take up when you eat it. The tooltip shows it in red right under the name - +20 rad - on every contaminated food, and on what food is made of (wheat, sugar, eggs, milk, pumpkins... the item tag radiation:contaminable); clean food shows nothing. Armour and Rad-X do not help: what you eat is inside you.

Food gets contaminated - in the field: a crop takes up the radiation at the plant when it is harvested, as grain, milk and mushrooms did around Chernobyl: 20 rad per item for every rad/s. Wheat from a field at 0.25 rad/s: 5 rad a sheaf. Seeds stay clean. The same goes for berries, apples from leaves, melons, pumpkins, cocoa, mushrooms, sugar cane. A crop remembers (since 1.9.0): the strongest radiation a growing crop was ever exposed to stays with it until it is harvested, so the harvest is contaminated even when the fallout has faded or the cloud has passed by then. A field the cloud passed over at 0.5 rad/s still gives 6.7 rad wheat weeks later. Only a newly sown crop starts clean. - in the animal: meat, eggs and the like from an irradiated animal carry a tenth of its rads. - in storage: food kept in a chest, barrel, furnace, hopper... or lying on the ground where it is irradiated takes up 0.005 rad per item for every rad it is exposed to: an hour at 1 rad/s makes 18 rad. Food in your inventory takes up nothing more - carry it out of the zone. - by processing: what is made of contaminated food is contaminated too. Crafting shares the contamination of all ingredients out over the result - three sheaves of wheat at 5 rad bake a loaf at 15 rad - and cooking keeps it: a raw steak at 12 rad is a cooked steak at 12 rad.

Every kind of radiation counts (since 1.8.0): fallout, a detonation's ground zero, zones, clouds overhead, a burning reactor core, and the gamma rays of radiating blocks (corium, spent fuel) and waste barrels. A chest of bread beside a wrecked core gets contaminated. (1.7.2 counted only radioactivity lying on the ground; food.notContaminating and food.gammaContaminates = false bring that back.)

A food carries at most 4 rad per point of nutrition (food.radsPerNutrition): a loaf of bread (5) at most 20 rad, a steak (8) 32, an apple (4) 16, raw beef (3) 12, a melon slice (2) 8. What has no nutrition of its own counts with its share of what it is made into, so that the cap carries through processing: wheat a third of a loaf (6.7 rad), a pumpkin 16, an egg 8, sugar 4, a bucket of milk 16, a mushroom 12 (half a stew), a hay bale 60, a cake 56.

Food stays contaminated. The radiation fades from the land (see below), but never from food that took it up: a sheaf, a loaf or a steak keeps its rad for good.

Harvests are rounded to a few steps (0.1, 0.2, 0.3, 0.5, 1, 2, 3, 5, 10, 20...) so that they stack.

Contaminated bread ...and a steak from an irradiated cow

In a test (1.8.0): wheat from a field at 0.53 rad/s came out at the cap, 6.7 rad a sheaf, and the bread baked from it 20 rad; a cow with 400 rads gave beef at the cap of 12 rad, and the furnace made cooked beef at 12 rad of it; a minute next to a 1.9 rad/s fallout source made the bread in a chest, the wheat beside it and an apple on the ground 5.8 rad each (with 10 times the normal uptake), a chest beside a radiating block at 2 rad/s got 6 rad into its bread, while the bread in the player's inventory stayed clean; eating a loaf set to 30 rad took the player from 0 to 20 rads.

Contaminated ground and water

Since 1.10.0 radioactivity that comes down stays in the ground, patch by patch: every 4x4 column at the height where it landed holds its own contamination, so fallout on a roof and a spill on the floor below it are separate. Fallout from clouds lands there (it used to be one big source per 48-block square; worlds from before 1.10 are converted on the first start), and so do fission products that lie around or are kept in an ordinary chest (Fission 1.5.0). The dose rate one metre above an even patch is its value; neighbouring patches within a few blocks count less, walls, roofs and the ground in between shield, and it gets weaker higher up. Fallout fades as it always did; lasting contamination (spilled fission products) has a half-life of 3650 Minecraft days (contamination.lastingHalfLifeDays) - in practice it stays until it is washed off.

Water gets contaminated too. Fallout that comes down on a lake or river goes into the water, so does the runoff of a decontamination, and a lake slowly mixes: every 20 seconds a contaminated patch gives a tenth of its excess to the water columns next to it (contamination.waterMixing). Standing next to it is harmless - water shields - but swimming in it is not: in the water you take its full dose rate, and with your head under water you swallow some, which counts again (contamination.swallowedFactor; a hazmat suit does not help against that). In a test, 10 seconds of diving in a pond of 0.62 rad/s gave 13 rad.

Decontamination Sprayer

Washing fallout off a meadow with the decontamination sprayer

Washing fallout off a meadow with the decontamination sprayer

A pressure sprayer for washing radioactivity off the ground. Right-click water to fill it (32 bursts, contamination.sprayerTank; the bar shows what is left), then hold right-click on the contaminated ground: every quarter of a second a burst washes 25 % (contamination.sprayWashes) off the patches within 2.5 blocks of the spot (contamination.sprayRadius), at that height. The action bar shows how much came off. 30 % of what comes off runs into the nearest water within 16 blocks, which gets contaminated in turn (contamination.runoffToWater); the rest goes down the drain. In a test, five seconds of spraying took a meadow from 0.76 to 0.29 rad/s where it was sprayed (the rest comes from the patches around it). Recipe: iron ingots, a piston, a bucket, a tripwire hook (the trigger) and yellow dye.

Measuring it. The Geiger counter's meter shows everything that reaches you, ground included. To read the ground itself, sneak and right-click the ground (or water) with the Geiger counter (since 1.10.1): it reads the 4x4 patch you point at - its dose rate one metre above an even patch of it, split into fallout (fades away) and lasting contamination (spilled fission products, stays until washed off) - and the strongest patch next to it, whatever else radiates around. "Clean" means nothing is in that patch. On the Atlas web map, the radiation layer's "Contaminated ground & water" shows every patch.

/radiation contamination [radius] shows the patches near you (the strongest with its position), /radiation contamination add <pos> <rad/s> contaminates a patch, /radiation contamination clear <radius> removes them.

Thirst and drinking water

The thirst bar above the hunger bar

The thirst bar above the hunger bar

Since 1.11.0 you need to drink. Ten droplets above the hunger bar show your thirst: 20 points, like hunger. It goes down by itself (a full bar lasts 30 minutes standing around, thirst.idleSecondsPerPoint 90), faster with everything that makes you hungry - running, jumping, swimming, fighting, healing (thirst.exhaustionPerPoint: 6 of vanilla's food exhaustion per point) - and half as fast again in hot biomes: desert, savanna, badlands, the Nether (thirst.hotBiomeFactor). At 3 droplets or fewer the bar shivers and you can no longer sprint; when it is empty you are dehydrated and lose half a heart every 4 seconds - on easy down to 5 hearts, on normal down to half a heart, on hard until you die ("died of thirst"). Creative and spectator players do not get thirsty, peaceful refills the bar, and it is full again after respawning. thirst.enabled false switches it all off.

Drink Points
A sip from a water block: right-click water with an empty hand (twice a second while held) 2
A water bottle (glass bottle filled at water, as in vanilla) - and any other potion, milk 6 (one serving)
Water, Dirty Water or Purified Water in a plastic bottle 6 (one serving)
One serving from a canteen (holds five) 6
Honey, soups and stews 3

Water can be irradiated. Water taken where there is radiation - a contaminated lake or river, fallout, a reactor nearby - carries it, like contaminated food: 10 rad per serving for each rad/s there (thirst.waterUptake, at most 50, thirst.maxRadsPerServing). A bottle or canteen filled there shows it in red under its name ("+9.7 rad"), and you take it up when you drink ("Contaminated water: +9.7 rad"). A sip straight from the water carries a third of a serving's. In a test, a pond with 0.96 rad/s of fallout gave 9.7 rad per bottle; four sips from it took a thirsty player from 5 to 13 points and gave 13 rad. Topping up a canteen mixes the old water with the new.

Plastic bottles: Water, Dirty Water and Purified Water

Since 1.12.0. Right-click water with an empty Plastic Bottle. The name says what is in it (since 1.13.0):

All of them stack to 16 (bottles with different contamination do not stack), are drunk like a potion (one serving, 3 droplets) and give the empty bottle back. Recipe: a slime ball and five dried kelp in the shape of a bottle make 4.

Stored water takes up radiation like food does - in bottles and canteens too. Water kept in a chest, barrel or any other container where radiation reaches it, or lying on the ground there, slowly takes it up (food.storageUptake, 0.005 rad per rad of exposure: an hour at 1 rad/s gives 18 rad), so even Purified Water turns radioactive in a store under fallout. Carried in your inventory, it takes up nothing more. Safe storage:

In a test, two Purified Water in a chest at 0.5 rad/s carried 0.56 rad each after 20 seconds (with the uptake ten times the default), while the two in the player's inventory stayed clean.

Canteen

Five servings (thirst.canteenServings). Right-click water to fill it, hold right-click to drink a serving (not when you are not thirsty). The bar under it shows how full it is - blue for clean water, green for contaminated - and the tooltip how many servings are left. Recipe: an iron nugget (the cap), two leather (the strap) and three iron ingots.

Water Purifier

The water purifier's panel

The water purifier's panel

Turns raw water into clean water. The radiation stays in its filters (which never need changing).

Recipe: iron ingots, a bucket, glass, charcoal (the filter), copper ingots and redstone.

Dirty water in, Purified Water out

Dirty water in, Purified Water out

A purifier standing in a pond, fed by a Gridworks generator

A purifier standing in a pond, fed by a Gridworks generator

Radioactive clouds, wind and rain

Since 1.5.0 radioactivity can travel: a burning reactor core (Fission), a nuclear detonation (RedButton) or an operator's /radiation cloud <pos> <rad/s> [radius] [altitude] releases a radioactive cloud. It rises high into the sky (by default 110 blocks above the ground, a nuclear detonation's up to 375; it climbs another 80 as it drifts) and drifts with the wind, spreading as it goes. The ground under it gets its radiation (people indoors are shielded by their roofs), and it leaves fallout behind in the ground, and in lakes and rivers (see Contaminated ground and water): it fades like iodine-131 (half-life 8 days) except for about 15 % that lasts longer, like caesium-137 (half-life 20 days here).

Since 1.9.0 everything fades away completely. A cloud travels at most 2,000 blocks (clouds.maxTravelBlocks); over its last 500 blocks it thins out to nothing, and it is gone after 40 minutes at the latest, or sooner when it has spread too thin. Fallout is gone completely 40 Minecraft days after it landed (clouds.falloutLifetimeDays); over the last fifth of that time it fades to zero. A nuclear detonation's ground zero (RedButton) fades away too: before 1.9.0 it stayed forever. Since 1.9.1 the smaller the warhead, the sooner (clouds.groundZeroDays):

Warhead Ground zero gone after Half-life
Tactical 1 day 0.2 days
Fission 5 days 1 day
Thermonuclear 15 days 3 days
Tsar 40 days 8 days
Fusion pulse (since 1.9.3) 3 days 0.6 days

In a test, a tactical ground zero went from 30 rad/s to 15 after a fifth of a day, 3 after four fifths and nothing after a day; a Tsar's was still at 229 of 250 rad/s. Sources from older worlds are converted when the world loads. What the radiation left in food and crops stays (see above).

Since 1.6.0 clouds contaminate much more (all of it in the config, clouds): a cloud spreads half as fast and leaves five times the fallout. In a test, a 3 rad/s cloud (wind 10 m/s) was still 1.2 rad/s strong 490 blocks downwind in dry weather and left a trail of fallout up to 25 rad/s; the same cloud in rain was washed out to 0.1 rad/s within 500 blocks and left fallout up to 85 rad/s near where it rained out. Fallout also lands on the ground where nobody is near (1.5 could leave it hanging at the height the cloud started).

Rain washes clouds out. Where it rains (or snows) under a cloud, it drops its fallout four times as often and five times as heavily per block (clouds.rainFactor), so it is gone after a few hundred blocks - and leaves hot spots where it rained, as Chernobyl's fallout did. In a test, two equal clouds after 200 blocks: the dry one still 1.5 rad/s under it, its hottest fallout 5 rad/s; the one in rain 0.5 rad/s, its fallout up to 14 rad/s.

The wind has no Minecraft equivalent, so it is made up, the same for everyone: each world has a prevailing direction (from its seed) that swings back and forth over the days, 3 to 6 m/s, more in rain and thunderstorms. /wind tells everyone where it blows. Clients draw clouds (and smoke columns, such as a burning reactor's) up to a kilometre away, within their render distance.

Commands

/rads works for every player and shows your own rads and condition. /geiger [on | off | volume <percent>] (since 1.10.2, works on any server since it runs on your own client) switches the ambient Geiger clicks on or off or sets their loudness: 30 % of the original click by default, saved in config/radiation-client.json.

The rest need operator permission (or cheats enabled in singleplayer):

Command Description
/radiation zone add <name> <from> <to> <rads/s> [fade] Box-shaped area with a uniform radiation level. fade makes it ramp up over that many blocks from the edge.
/radiation source add <name> <pos> <rads/s> <radius> [falloff] [shielded] Point source that weakens with distance. Falloff: linear (default), quadratic, inverse_square, constant. shielded (default true) controls whether walls block it.
/radiation zone remove <name> / /radiation source remove <name> Remove a zone or source (tab-completes names)
/radiation list (or zone list / source list) List everything
/radiation show [seconds] Draws zones (green), sources (red) and barrels (yellow) with particles. 0 turns it off.
/radiation check [pos] Radiation level at a position, broken down by zone/source
/radiation contamination [radius] Contaminated ground and water near you (since 1.10.0); add <pos> <rad/s>, clear <radius>
/radiation benchmark [radius] Dose rates on an 8-block grid around you (default 128 blocks), worked out the server's way (radiating blocks in groups) and block by block: the time each took and the largest difference
/radiation get <player> Show a player's rads
/radiation set <players> <amount> / add <players> <amount> Change rads (negative add removes)
/radiation clear [players] Reset rads to 0
/radiation thirst <players> [points] Show a player's thirst (0-20), or set it (since 1.11.0)
/radiation reload Reload the config and the sources file
/radiation cloud <pos> <rads/s> [radius] [altitude] Release a radioactive cloud (default 12 blocks wide, 110 up)
/radiation clouds The clouds on their way, and whether they are raining out
/radiation wind [set <towards°> <m/s> \| natural] Show the wind, fix it (0° = north, 90° = east) or let it change again
/wind Where the wind blows (for everyone)

Examples:

/radiation zone add crater 100 50 100 160 90 160 15 5
/radiation source add reactor ~ ~1 ~ 40 20 quadratic
/radiation show 60

Zones and sources are saved per world in <world folder>/radiation_sources.json. You can also edit that file by hand and then run /radiation reload.

Configuration

Every value is configurable. The files are created on first start in the instance's config folder. In Prism, that's Edit → Minecraft folder → config.

config/radiation.json: gameplay (on a server, the server's copy applies). Files from older versions are upgraded on load; 1.8.0 empties food.notContaminating if it still holds the old default list, and 1.9.0 sets clouds.maxAgeMinutes from the old 120 to 40.

Setting Default
maxRads 1000 Rads at which you die. The meter's scale.
stages 250 / 500 / 750 List of stages: threshold, name, color (ARGB hex), maxHealthModifier (half-hearts), effects (any effect id + amplifier, 0 = level I). Add, remove or rename freely.
naturalDecayPerSecond 0 Rads lost per second without treatment
updateIntervalTicks 10 How often radiation is calculated (20 = once per second)
affectCreativeAndSpectator false
shieldingPerBlock 0.35 Fraction removed by each solid block between a point source and you
concreteShielding, heavyShielding, waterShielding 0.90, 0.97, 0.30 The same for concrete, heavy shielding and water. Files from older versions with the old defaults (0.55, 0.75) are upgraded on load; values changed by hand stay.
barrelRads, barrelRadius 6, 6 Nuclear Waste Barrel strength
protectiveItems hazmat pieces at 0.225 Any item id → protection when worn. You can add other mods' armor here.
radXResistance 0.5
maxProtection 0.95 Set to 1.0 to allow full immunity
radAwayTotalRads 150
radAwayDurationSeconds, radXDurationSeconds 10, 240 Need a restart
requireGeigerCounter false If true, the RAD/s readout and the clicking only work while you carry a Geiger counter
ecology.enabled true Radiation changes the land (see above)
ecology.cropSlowdownRads, ecology.cropGrowthAtSlowdown 0.01, 0.5 From this rate crops grow at this fraction of their speed...
ecology.cropStuntRads, ecology.cropGrowthWhenStunted 0.1, 0.1 ...and from this rate at this fraction
ecology.leafDeathRads 0.3 Leaves die
ecology.plantDeathRads 1.0 Crops, flowers, grass, ferns and saplings die
ecology.grassToDirtRads 2.0 Grass, podzol, moss and farmland turn to dirt
ecology.soilToSandRads 25.0 Dirt turns to sand
ecology.animalsTakeRads true Animals and villagers take up rads exactly like players (from 0.01 rad/s): the same sickness stages and effects, the same share of their health lost, death at maxRads
food.enabled true Food carries contamination and eating it gives rads
food.cropUptake 20 Rad per harvested item for each rad/s at the plant
food.animalShare 0.1 Share of an animal's rads in each piece of meat (egg...) it gives
food.storageUptake 0.005 Rad per item for each rad of exposure in a container or on the ground
food.storageIntervalTicks 100 How often stored food is looked at
food.notContaminating (empty) Point sources (by name prefix) whose radiation does not get into food, e.g. radioactive_cloud, fission_cloud, fission_release
food.gammaContaminates true Whether radiating blocks (corium, spent fuel) and waste barrels contaminate food too
food.radsPerNutrition 4 The most a food carries per point of nutrition (bread: 20 rad); 0 for no cap
clouds.maxAgeMinutes 40 The longest a radioactive cloud drifts
clouds.maxTravelBlocks 2000 The farthest a cloud travels; it thins out over the last quarter
clouds.falloutLongHalfLifeDays 20 Half-life of fallout's long-lived part (ground zero's is at most half its lifetime)
clouds.falloutLifetimeDays 40 Fallout is gone completely after this many days
clouds.groundZeroDays tactical 1, fission 5, thermonuclear 15, tsar 40, fusion 3 A nuclear detonation's ground zero is gone after this many days, per warhead; half-lives scale with it
clouds.spreadPerBlock 0.012 How much wider it gets per block (wider = thinner); 1.5 had 0.025
clouds.fadedRads 0.001 A cloud is gone when the dose rate under it falls below this
clouds.falloutFactor 5.0 All fallout multiplied by this (1 = as in 1.5)
clouds.rainFactor 5.0 Rain: this many times as much fallout per block
clouds.rainWashout 20.0 Rain: the cloud is used up this many times as fast per block
ecology.intervalTicks, ecology.samplesPerChunk, ecology.changeChance 20, 4, 0.5 How often, how many surface blocks per chunk near radiation, and the chance a block above a threshold changes each time: higher is faster
contamination.lastingHalfLifeDays 3650 Half-life of lasting contamination (spilled fission products)
contamination.sprayWashes, contamination.sprayRadius, contamination.sprayerTank 0.25, 2.5, 32 Share washed off per burst, its reach in blocks, bursts per filling
contamination.runoffToWater 0.3 Share of what is washed off that runs into the nearest water
contamination.waterMixing 0.1 Share of its excess a water patch gives each neighbour every 20 seconds
contamination.swallowedFactor 1.0 Diving: the water's dose rate counts this much again
thirst.enabled true Thirst and the thirst bar (since 1.11.0)
thirst.idleSecondsPerPoint, thirst.exhaustionPerPoint, thirst.hotBiomeFactor 90, 6, 1.5 Seconds per point doing nothing; vanilla food exhaustion per point; how much faster in hot biomes
thirst.sprintThreshold, thirst.damage, thirst.damageIntervalSeconds 6, 1, 4 No sprinting at or below this; damage when dehydrated, and how often
thirst.servingPoints, thirst.canteenServings, thirst.sipPoints 6, 5, 2 Points per bottle or canteen serving, servings per canteen, points per sip from a water block
thirst.waterUptake, thirst.maxRadsPerServing 10, 50 Rad per serving for each rad/s where the water was taken, and the most a serving carries
purifier.watts, purifier.standbyWatts 300, 8 The purifier's power at work and idle (230 V, Gridworks)
purifier.secondsPerServing, purifier.pumpSecondsPerServing, purifier.tankServings 1.5, 0.3, 8 Seconds per serving at full power, seconds to pump one from a water block, tank size
purifier.requireGridPower true With Gridworks installed, whether the purifier needs grid power
ecology.tickBudgetMillis 5 Server time per tick for the land, animals and stored food (since 1.9.4); a sweep that needs more goes on in the next ticks

config/radiation-client.json: per-player display settings:

Setting Default
hudX, hudY, hudScale 6, 6, 1.0 Position and size of the meter
hudMode EXPOSURE EXPOSURE (Fallout-like), NONZERO (whenever you have rads), ALWAYS, HIDDEN
hudLingerSeconds 4 How long the meter stays after exposure ends
showWhileHoldingGeiger true
geigerSound, geigerVolumePercent true, 30 The ambient Geiger clicks while radiation reaches you: on/off and their loudness in percent of the original click (since 1.10.2; before, they were always at 100 %). In game: /geiger volume <0-200>, /geiger off, /geiger on, /geiger shows the setting. An old geigerVolume is converted.
geigerClicksPerRad, geigerMaxClicksPerSecond 2.5, 60 How busy the Geiger counter sounds

Performance

1.12.0 fixes a bug of 1.9.4 - 1.11.0: after every server start the sweep over the land, the animals and stored food never started (a "never done yet" time stamp overflowed in a subtraction), so crops kept growing in fallout, animals took no rads, stored food took up nothing and contaminated water did not spread. It runs again.

Since 1.9.4 a melted-down reactor no longer stalls the server. Before that, a blown-up 1000 MW core (about 2,300 radiating debris, corium and fuel blocks) made every dose rate draw a line through the blocks to each of them, and the sweep over the land, the animals and stored food took 10-17 seconds at a time, every half minute. Now:

For mod developers

Other mods can use dev.radiation.api.RadiationApi (server side) to add and remove point sources, read the radiation at a position, and add rads to players, with or without their protection. RedButton uses it to irradiate ground zero after nuclear detonations.

Since 1.3.0, setEmitter(level, pos, radsAtOneMetre, radius) makes a block radiate: its strength at one metre falls off with the square of the distance and is absorbed by the blocks in between. Emitters are saved with the world and dropped when their block changes. transmission(level, from, to) gives the fraction that gets through between two points. Fission uses these for reactor cores, spent fuel, storage and corium.

Since 1.5.0 releaseCloud(level, pos, strength, radius, altitude) releases a radioactive cloud (see above), smokeColumn(level, key, foot, width, height, ticks) shows a column of smoke, and wind(level) gives the wind.

Since 1.4.0 point sources can decay: addSource(..., halfLifeTicks, longLivedFraction) makes a source that halves every halfLifeTicks game ticks except for a part that stays (fallout: iodine fades, caesium stays), and that is removed by itself once it is down to nothing. updateSource(level, name, pos, rads, radius) moves a source, e.g. a drifting cloud. Fission's radioactive clouds and fallout use both. Since 1.9.0 sources named nuke_... (RedButton's ground zero) get a half-life and lifetime by themselves, from clouds.groundZeroDays for the warhead in their name.

Since 1.10.0 pulse(level, key, pos, radsAtOneMetre, radius, ticks) makes something that is not a block radiate for a while (an item on the ground, a cask on a wagon): renew it every few seconds under the same key, it goes out by itself. contaminate(level, surface, rads) adds lasting contamination to the patch at surface (the air block above the floor, or the water there), contaminationAt(level, surface) reads it, and wash(level, surface, radius, share) washes it off. Fission 1.5.0 uses them for fission products that lie around or are kept where they do not belong.

Building from source

Requires JDK 25.

./gradlew build

The mod jar ends up in build/libs/radiation-1.11.0.jar. ./gradlew runClient starts a development client with the mod loaded. ./gradlew runClientGameTest runs the vault screenshot tour, ./gradlew runClientGameTest -Pscene=ecology the land, crop and shielding test. ./gradlew runClientGameTest -Pscene=food the contaminated food test (harvest, bread, meat, furnace, storage, eating, tooltips).

tools/gen_assets.py regenerates the textures and sounds (needs Pillow, numpy and soundfile, plus the vanilla textures extracted from the Minecraft client jar).