Class DecoratorContext
java.lang.Object
net.minecraft.world.gen.decorator.DecoratorContext
public class DecoratorContext extends Object
-
Field Summary
Fields Modifier and Type Field Description private ChunkGeneratorgeneratorprivate StructureWorldAccessworld -
Constructor Summary
Constructors Constructor Description DecoratorContext(StructureWorldAccess world, ChunkGenerator generator) -
Method Summary
Modifier and Type Method Description BlockStategetBlockState(BlockPos pos)intgetMaxY()BitSetgetOrCreateCarvingMask(ChunkPos chunkPos, GenerationStep.Carver carver)intgetSeaLevel()intgetTopY(Heightmap.Type heightmap, int x, int z)
-
Field Details
-
world
-
generator
-
-
Constructor Details
-
DecoratorContext
-
-
Method Details
-
getTopY
-
getMaxY
public int getMaxY() -
getSeaLevel
public int getSeaLevel() -
getOrCreateCarvingMask
-
getBlockState
-