# Falloff

**Falloff** defines how the density of block placement changes with distance from the center of an area. Used in the ore vein generator to create realistic distributions.

## Quick Selection Guide

| If you need...             | Use                           | Visualization | Example                                   |
|----------------------------|-------------------------------|---------------|-------------------------------------------|
| **Full** filling           | [`Constant`](#constant)       | ████████████████████████ | `{ "type": "Constant" }`                  |
| **Linear** falloff         | [`Linear`](#linear)           | ████████████▓▓▓▓▒▒▒▒░░░░ | `{ "type": "Linear" }`                    |
| **Sharp** falloff          | [`Quadratic`](#quadratic)     | ████▓▓▓▓▒▒▒▒░░░░░░░░░░░░ | `{ "type": "Quadratic" }`                 |
| **Smooth** gradual falloff | [`SquareRoot`](#sqrt)         | ████████████▓▓▓▒▒▒░░░░░░ | `{ "type": "SquareRoot" }`                |
| **Smoothstep** transition  | [`SmoothStep`](#smoothstep)   | Depends on curve | `{ "type": "SmoothStep" }`                |
| **Power-law** falloff      | [`PowerLaw`](#power)          | Depends on exponent | `{ "type": "PowerLaw", "exponent": 1.5 }`    |
| **Gaussian** falloff       | [`Gaussian`](#gaussian)       | ██████████████████▓▓░░░░ | `{ "type": "Gaussian", "sigma": 0.3 }`    |
| **Outer shell**            | [`Shell`](#shell)             | ░░░░░░░░░░░░░░░░░░░░░░██ | `{ "type": "Shell", "thickness": 0.1 }`   |
| **Exponential** decay      | [`Exponential`](#exponential) | ███▓▓▒▒░░░░░░░░░░░░░░░░░ | `{ "type": "Exponential", "decay": 2.0 }` |