C# Class OpenMinecraft.Tree

Set up the interface for tree objects. Designed for subclassing.
Afficher le fichier Open project: N3X15/MineEdit Class Usage Examples

Méthodes publiques

Свойство Type Description
Height int
Pos Vector3i

Méthodes publiques

Méthode Description
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

Method Details

Copy() public méthode

Copy the essential values of the other tree object into self.
public Copy ( Tree other ) : void
other Tree
Résultat void

MakeFoliage() public méthode

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
Résultat void

MakeTrunk() public méthode

public MakeTrunk ( IMapHandler &map ) : void
map IMapHandler
Résultat void

Tree() public méthode

public Tree ( long x, long y, long z, int h ) : System
x long
y long
z long
h int
Résultat System

Property Details

Height public_oe property

public int Height
Résultat int

Pos public_oe property

public Vector3i,OpenMinecraft Pos
Résultat Vector3i