C# 클래스 OpenMinecraft.Tree

Set up the interface for tree objects. Designed for subclassing.
파일 보기 프로젝트 열기: N3X15/MineEdit 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Height int
Pos Vector3i

공개 메소드들

메소드 설명
Copy ( Tree other ) : void

Copy the essential values of the other tree object into self.

MakeFoliage ( IMapHandler &map ) : void

Generate the foliage and enter it in blocklist. Note, foliage will disintegrate if there is no foliage below, or if there is no "log" block within range 2 (square) at the same level or one level below

MakeTrunk ( IMapHandler &map ) : void
Tree ( long x, long y, long z, int h ) : System

메소드 상세

Copy() 공개 메소드

Copy the essential values of the other tree object into self.
public Copy ( Tree other ) : void
other Tree
리턴 void

MakeFoliage() 공개 메소드

Generate the foliage and enter it in blocklist. Note, foliage will disintegrate if there is no foliage below, or if there is no "log" block within range 2 (square) at the same level or one level below
public MakeFoliage ( IMapHandler &map ) : void
map IMapHandler
리턴 void

MakeTrunk() 공개 메소드

public MakeTrunk ( IMapHandler &map ) : void
map IMapHandler
리턴 void

Tree() 공개 메소드

public Tree ( long x, long y, long z, int h ) : System
x long
y long
z long
h int
리턴 System

프로퍼티 상세

Height 공개적으로 프로퍼티

public int Height
리턴 int

Pos 공개적으로 프로퍼티

public Vector3i,OpenMinecraft Pos
리턴 Vector3i