public class DecoratorContext extends Object
| Modifier and Type | Field and Description |
|---|---|
private ChunkGenerator |
generator |
private ServerWorldAccess |
world |
| Constructor and Description |
|---|
DecoratorContext(ServerWorldAccess world,
ChunkGenerator generator) |
| Modifier and Type | Method and Description |
|---|---|
BlockState |
getBlockState(BlockPos pos) |
int |
getMaxY() |
BitSet |
getOrCreateCarvingMask(ChunkPos chunkPos,
GenerationStep.Carver carver) |
int |
getSeaLevel() |
int |
getTopY(Heightmap.Type heightmap,
int x,
int z) |
private final ServerWorldAccess world
private final ChunkGenerator generator
public DecoratorContext(ServerWorldAccess world, ChunkGenerator generator)
public int getTopY(Heightmap.Type heightmap, int x, int z)
public int getMaxY()
public int getSeaLevel()
public BitSet getOrCreateCarvingMask(ChunkPos chunkPos, GenerationStep.Carver carver)
public BlockState getBlockState(BlockPos pos)