public class DistributionSquare extends DistributionBase
bestHeight| Constructor and Description |
|---|
DistributionSquare(int minY,
int maxY,
float chance)
Creates pure square distribution
|
DistributionSquare(int veinCount,
int veinSize,
int minY,
int maxY)
Creates rounded square distribution
|
DistributionSquare(int min0,
int minY,
int maxY,
int max0,
float chance)
Creates rounded square distribution
|
getBestHeight, getDistributionpublic DistributionSquare(int minY,
int maxY,
float chance)
minY - first occurrencemaxY - last occurrencechance - chance for the distributionpublic DistributionSquare(int min0,
int minY,
int maxY,
int max0,
float chance)
min0 - start of the rampminY - end of the ramp upmaxY - start of the ramp downmax0 - end of ramp downchance - the chance at the toppublic DistributionSquare(int veinCount,
int veinSize,
int minY,
int maxY)
veinCount - the amount of veins per chunkveinSize - the amount of blocks per veinminY - the lowest Y value for a veinmaxY - the highest Y value for a vein