Метод | Описание | |
---|---|---|
MakeFoliage ( |
||
MakeTrunk ( |
||
ProceduralTree ( long _x, long _y, long _z, int h ) : System | ||
crossection ( |
Create a round section of type matidx in blocklist.
|
|
foliagecluster ( |
generate a round cluster of foliage at the location center. The shape of the cluster is defined by the list foliage_shape. This list must be set in a subclass of ProceduralTree.
|
|
makebranches ( |
Generate branches.
|
|
makeroots ( |
||
shapefunc ( int y ) : double |
Take y and return a radius for the location of the foliage cluster. If no foliage cluster is to be created, return -1. Designed for subclassing. Only makes clusters close to the trunk.
|
|
taperedlimb ( |
Create a tapered cylinder in blocklist. start and end are the beginning and ending coordinates of form [x,y,z]. startsize and endsize are the beginning and ending radius. The material of the cylinder is 17, which indicates wood in Minecraft.
|
public MakeFoliage ( |
||
map | ||
Результат | void |
public MakeTrunk ( |
||
map | ||
Результат | void |
public ProceduralTree ( long _x, long _y, long _z, int h ) : System | ||
_x | long | |
_y | long | |
_z | long | |
h | int | |
Результат | System |
public crossection ( |
||
map | ||
vCenter | the coordinates of the center block | |
radius | double | the radius of the section. |
diraxis | int | The list index for the axis to make the section perpendicular to. 0 indicates the x axis, 1 the y, 2 the z. The section will extend along the other two axies. |
mat | byte | What to make the section out of |
Результат | void |
public foliagecluster ( |
||
map | ||
center | ||
Результат | void |
public makebranches ( |
||
map | ||
Результат | void |
public makeroots ( |
||
map | ||
rootbases | List |
|
Результат | void |
public taperedlimb ( |
||
map | ||
vStart | ||
vEnd | ||
startsize | int | |
endsize | int | |
Результат | void |