public class WorldGenBigTree extends WorldGenAbstractTree
Modifier and Type | Class and Description |
---|---|
(package private) static class |
WorldGenBigTree.FoliageCoordinates |
Modifier and Type | Field and Description |
---|---|
private BlockPos |
basePos |
(package private) double |
branchSlope |
(package private) java.util.List<WorldGenBigTree.FoliageCoordinates> |
foliageCoords |
(package private) int |
height |
(package private) double |
heightAttenuation |
(package private) int |
heightLimit |
(package private) int |
heightLimitLimit |
(package private) double |
leafDensity |
(package private) int |
leafDistanceLimit |
private java.util.Random |
rand |
(package private) double |
scaleWidth |
(package private) int |
trunkSize |
private World |
world |
Constructor and Description |
---|
WorldGenBigTree(boolean notify) |
Modifier and Type | Method and Description |
---|---|
(package private) int |
checkBlockLine(BlockPos posOne,
BlockPos posTwo) |
(package private) void |
crosSection(BlockPos pos,
float p_181631_2_,
IBlockState p_181631_3_) |
boolean |
generate(World worldIn,
java.util.Random rand,
BlockPos position) |
(package private) void |
generateLeafNode(BlockPos pos) |
(package private) void |
generateLeafNodeBases() |
(package private) void |
generateLeafNodeList() |
(package private) void |
generateLeaves() |
(package private) void |
generateTrunk() |
private int |
getGreatestDistance(BlockPos posIn) |
private BlockLog.EnumAxis |
getLogAxis(BlockPos p_175938_1_,
BlockPos p_175938_2_) |
(package private) float |
layerSize(int y) |
(package private) boolean |
leafNodeNeedsBase(int p_76493_1_) |
(package private) float |
leafSize(int y) |
(package private) void |
limb(BlockPos p_175937_1_,
BlockPos p_175937_2_,
Block p_175937_3_) |
void |
setDecorationDefaults() |
private boolean |
validTreeLocation() |
canGrowInto, generateSaplings, isReplaceable, setDirtAt
setBlockAndNotifyAdequately
private java.util.Random rand
private World world
private BlockPos basePos
int heightLimit
int height
double heightAttenuation
double branchSlope
double scaleWidth
double leafDensity
int trunkSize
int heightLimitLimit
int leafDistanceLimit
java.util.List<WorldGenBigTree.FoliageCoordinates> foliageCoords
void generateLeafNodeList()
void crosSection(BlockPos pos, float p_181631_2_, IBlockState p_181631_3_)
float layerSize(int y)
float leafSize(int y)
void generateLeafNode(BlockPos pos)
private int getGreatestDistance(BlockPos posIn)
private BlockLog.EnumAxis getLogAxis(BlockPos p_175938_1_, BlockPos p_175938_2_)
void generateLeaves()
boolean leafNodeNeedsBase(int p_76493_1_)
void generateTrunk()
void generateLeafNodeBases()
public void setDecorationDefaults()
setDecorationDefaults
in class WorldGenerator
public boolean generate(World worldIn, java.util.Random rand, BlockPos position)
generate
in class WorldGenerator
private boolean validTreeLocation()