public abstract class WorldCarver<C extends IFeatureConfig> extends java.lang.Object implements IWorldCarver<C>
Modifier and Type | Field and Description |
---|---|
protected static IBlockState |
DEFAULT_AIR |
protected static IBlockState |
DEFAULT_CAVE_AIR |
protected static IFluidState |
LAVA_FLUID |
protected java.util.Set<Block> |
terrainBlocks |
protected java.util.Set<Fluid> |
terrainFluids |
protected static IFluidState |
WATER_FLUID |
Constructor and Description |
---|
WorldCarver() |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
carveAtTarget(IWorld worldIn,
long seed,
int mainChunkX,
int mainChunkZ,
double xRange,
double yRange,
double zRange,
double placementXZBound,
double placementYBound,
java.util.BitSet mask) |
protected boolean |
doesAreaHaveFluids(IWorldReaderBase worldIn,
int mainChunkX,
int mainChunkZ,
int minXPos,
int maxXPos,
int minYPos,
int maxYPos,
int minZPos,
int maxZPos) |
int |
func_202520_b() |
protected boolean |
isTargetAllowed(IBlockState target) |
protected boolean |
isTargetSafeFromFalling(IBlockState targetState,
IBlockState stateAboveTarget) |
protected boolean |
isWithinGenerationDepth(int mainChunkX,
int mainChunkZ,
double xRange,
double rangeZ,
int currentDepth,
int maxDepth,
float p_202515_9_) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
carve, func_212246_a
protected static final IBlockState DEFAULT_AIR
protected static final IBlockState DEFAULT_CAVE_AIR
protected static final IFluidState WATER_FLUID
protected static final IFluidState LAVA_FLUID
protected java.util.Set<Block> terrainBlocks
protected java.util.Set<Fluid> terrainFluids
public int func_202520_b()
protected abstract boolean carveAtTarget(IWorld worldIn, long seed, int mainChunkX, int mainChunkZ, double xRange, double yRange, double zRange, double placementXZBound, double placementYBound, java.util.BitSet mask)
protected boolean isTargetAllowed(IBlockState target)
protected boolean isTargetSafeFromFalling(IBlockState targetState, IBlockState stateAboveTarget)
protected boolean doesAreaHaveFluids(IWorldReaderBase worldIn, int mainChunkX, int mainChunkZ, int minXPos, int maxXPos, int minYPos, int maxYPos, int minZPos, int maxZPos)
protected boolean isWithinGenerationDepth(int mainChunkX, int mainChunkZ, double xRange, double rangeZ, int currentDepth, int maxDepth, float p_202515_9_)