Property | Type | Description | |
---|---|---|---|
randomRotMatrices | float[][] | ||
randomRotations | float[] |
Property | Type | Description | |
---|---|---|---|
fruitPoints | FruitData[] | ||
positions | Vec3d[] |
Method | Description | |
---|---|---|
BEBehaviorFruiting ( BlockEntity be ) : System | ||
FromTreeAttributes ( ITreeAttribute tree, IWorldAccessor worldForResolving ) : void | ||
Initialize ( ICoreAPI api, JsonObject properties ) : void | ||
InitializeArrays ( ) : void | ||
OnBlockRemoved ( ) : void | ||
OnBlockUnloaded ( ) : void | ||
OnPlayerInteract ( float secondsUsed, IPlayer player, Vec3d hit ) : bool | ||
OnPlayerInteractStop ( float secondsUsed, IPlayer player, Vec3d hit ) : void | ||
OnTesselation ( ITerrainMeshPool mesher, ITesselatorAPI tesselator ) : bool | ||
RemoveRenderedFruits ( ) : void | ||
ToTreeAttributes ( ITreeAttribute tree ) : void |
Method | Description | |
---|---|---|
BEBehaviorFruiting ( ) : System | ||
CheckForGrowth ( float dt ) : void | ||
GetGerminationDate ( ) : double | ||
PlantHealth ( ) : double |
public BEBehaviorFruiting ( BlockEntity be ) : System | ||
be | BlockEntity | |
return | System |
public FromTreeAttributes ( ITreeAttribute tree, IWorldAccessor worldForResolving ) : void | ||
tree | ITreeAttribute | |
worldForResolving | IWorldAccessor | |
return | void |
public Initialize ( ICoreAPI api, JsonObject properties ) : void | ||
api | ICoreAPI | |
properties | JsonObject | |
return | void |
public OnPlayerInteract ( float secondsUsed, IPlayer player, Vec3d hit ) : bool | ||
secondsUsed | float | |
player | IPlayer | |
hit | Vec3d | |
return | bool |
public OnPlayerInteractStop ( float secondsUsed, IPlayer player, Vec3d hit ) : void | ||
secondsUsed | float | |
player | IPlayer | |
hit | Vec3d | |
return | void |
public OnTesselation ( ITerrainMeshPool mesher, ITesselatorAPI tesselator ) : bool | ||
mesher | ITerrainMeshPool | |
tesselator | ITesselatorAPI | |
return | bool |
public ToTreeAttributes ( ITreeAttribute tree ) : void | ||
tree | ITreeAttribute | |
return | void |
public static float[][] randomRotMatrices | ||
return | float[][] |