C# 클래스 Vintagestory.GameContent.BEBehaviorFruiting

상속: BlockEntityBehavior
파일 보기 프로젝트 열기: anegostudios/vssurvivalmod 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
randomRotMatrices float[][]
randomRotations float[]

보호된 프로퍼티들

프로퍼티 타입 설명
fruitPoints FruitData[]
positions Vec3d[]

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
BEBehaviorFruiting ( ) : System
CheckForGrowth ( float dt ) : void
GetGerminationDate ( ) : double
PlantHealth ( ) : double

메소드 상세

BEBehaviorFruiting() 공개 메소드

public BEBehaviorFruiting ( BlockEntity be ) : System
be BlockEntity
리턴 System

FromTreeAttributes() 공개 메소드

public FromTreeAttributes ( ITreeAttribute tree, IWorldAccessor worldForResolving ) : void
tree ITreeAttribute
worldForResolving IWorldAccessor
리턴 void

Initialize() 공개 메소드

public Initialize ( ICoreAPI api, JsonObject properties ) : void
api ICoreAPI
properties JsonObject
리턴 void

InitializeArrays() 공개 메소드

public InitializeArrays ( ) : void
리턴 void

OnBlockRemoved() 공개 메소드

public OnBlockRemoved ( ) : void
리턴 void

OnBlockUnloaded() 공개 메소드

public OnBlockUnloaded ( ) : void
리턴 void

OnPlayerInteract() 공개 메소드

public OnPlayerInteract ( float secondsUsed, IPlayer player, Vec3d hit ) : bool
secondsUsed float
player IPlayer
hit Vec3d
리턴 bool

OnPlayerInteractStop() 공개 메소드

public OnPlayerInteractStop ( float secondsUsed, IPlayer player, Vec3d hit ) : void
secondsUsed float
player IPlayer
hit Vec3d
리턴 void

OnTesselation() 공개 메소드

public OnTesselation ( ITerrainMeshPool mesher, ITesselatorAPI tesselator ) : bool
mesher ITerrainMeshPool
tesselator ITesselatorAPI
리턴 bool

RemoveRenderedFruits() 공개 메소드

public RemoveRenderedFruits ( ) : void
리턴 void

ToTreeAttributes() 공개 메소드

public ToTreeAttributes ( ITreeAttribute tree ) : void
tree ITreeAttribute
리턴 void

프로퍼티 상세

fruitPoints 보호되어 있는 프로퍼티

protected FruitData[] fruitPoints
리턴 FruitData[]

positions 보호되어 있는 프로퍼티

protected Vec3d[] positions
리턴 Vec3d[]

randomRotMatrices 공개적으로 정적으로 프로퍼티

public static float[][] randomRotMatrices
리턴 float[][]

randomRotations 공개적으로 정적으로 프로퍼티

public static float[] randomRotations
리턴 float[]