Interface IFarmlandBlockEntity
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
public interface IFarmlandBlockEntity
- Extension Methods
Properties
CropAttributes
ITreeAttribute CropAttributes { get; }
Property Value
IsVisiblyMoist
bool IsVisiblyMoist { get; }
Property Value
MoistureLevel
The farmlands moisture level
float MoistureLevel { get; }
Property Value
Nutrients
Farmland has 3 nutrient levels N, P and K located in this array in that order. Each nutrient level has a range of 0-100.
float[] Nutrients { get; }
Property Value
- float[]
OriginalFertility
The fertility the soil will recover to (the soil from which the farmland was made of)
int[] OriginalFertility { get; }
Property Value
- int[]
Pos
The position of the farmland
BlockPos Pos { get; }
Property Value
TotalHoursFertilityCheck
The last time fertility increase was checked
double TotalHoursFertilityCheck { get; }
Property Value
TotalHoursForNextStage
Total game hours from where on it can enter the next growth stage
double TotalHoursForNextStage { get; }
Property Value
UpPos
The position directly above the farmland
BlockPos UpPos { get; }