public class FeatureMushroomBrown extends FeatureAbstractTree
height, leaves, logAIR, REPLACEABLE| Constructor and Description |
|---|
FeatureMushroomBrown(@NonNull IntRange height) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canPlace(ChunkManager level,
net.daporkchop.lib.random.PRandom random,
int x,
int y,
int z,
int height) |
protected int |
chooseHeight(ChunkManager level,
net.daporkchop.lib.random.PRandom random,
int x,
int y,
int z) |
protected void |
finish(ChunkManager level,
net.daporkchop.lib.random.PRandom random,
int x,
int y,
int z,
int height,
BlockState log,
BlockState leaves) |
protected void |
placeLeaves(ChunkManager level,
net.daporkchop.lib.random.PRandom random,
int x,
int y,
int z,
int height,
BlockState log,
BlockState leaves) |
protected void |
placeTrunk(ChunkManager level,
net.daporkchop.lib.random.PRandom random,
int x,
int y,
int z,
int height,
BlockState log,
BlockState leaves) |
protected BlockState |
selectLeaves(ChunkManager level,
net.daporkchop.lib.random.PRandom random,
int x,
int y,
int z,
int height) |
protected BlockState |
selectLog(ChunkManager level,
net.daporkchop.lib.random.PRandom random,
int x,
int y,
int z,
int height) |
placeallNeighborsMatch, allNeighborsMatch, replaceGrassWithDirt, test, testOrLiquid, testOrLiquidpublic FeatureMushroomBrown(@NonNull
@NonNull IntRange height)
protected int chooseHeight(ChunkManager level, net.daporkchop.lib.random.PRandom random, int x, int y, int z)
chooseHeight in class FeatureAbstractTreeprotected boolean canPlace(ChunkManager level, net.daporkchop.lib.random.PRandom random, int x, int y, int z, int height)
canPlace in class FeatureAbstractTreeprotected BlockState selectLog(ChunkManager level, net.daporkchop.lib.random.PRandom random, int x, int y, int z, int height)
selectLog in class FeatureAbstractTreeprotected BlockState selectLeaves(ChunkManager level, net.daporkchop.lib.random.PRandom random, int x, int y, int z, int height)
selectLeaves in class FeatureAbstractTreeprotected void placeLeaves(ChunkManager level, net.daporkchop.lib.random.PRandom random, int x, int y, int z, int height, BlockState log, BlockState leaves)
placeLeaves in class FeatureAbstractTreeprotected void placeTrunk(ChunkManager level, net.daporkchop.lib.random.PRandom random, int x, int y, int z, int height, BlockState log, BlockState leaves)
placeTrunk in class FeatureAbstractTreeprotected void finish(ChunkManager level, net.daporkchop.lib.random.PRandom random, int x, int y, int z, int height, BlockState log, BlockState leaves)
finish in class FeatureAbstractTreeCopyright © 2020. All rights reserved.