Class BlockBehaviorHeatSource
- Namespace
- Vintagestory.GameContent
- Assembly
- VSSurvivalMod.dll
Allows this block to work as a heat source for entities. BlockEntities for a block with this behavior may also define their own custom heat strength. Uses the code "HeatSource".
[DocumentAsJson]
public class BlockBehaviorHeatSource : BlockBehavior
- Inheritance
-
BlockBehaviorHeatSource
Examples
"behaviors": [
{
"name": "HeatSource",
"properties": { "heatStrength": 10 }
}
]
Fields
heatStrength (Recommended) (Default: 0)
The level of heat that this block emits. Some BlockEntities may omit this property and define their own heat strength. Fire has a heat strength of 10.
[DocumentAsJson("Recommended", "0", false)]
private float heatStrength