Class NetherWorldCarver
java.lang.Object
net.minecraft.world.level.levelgen.carver.WorldCarver<CaveCarverConfiguration>
net.minecraft.world.level.levelgen.carver.CaveWorldCarver
net.minecraft.world.level.levelgen.carver.NetherWorldCarver
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.carver.WorldCarver
WorldCarver.CarveSkipChecker -
Field Summary
Fields inherited from class net.minecraft.world.level.levelgen.carver.WorldCarver
AIR, CANYON, CAVE, CAVE_AIR, LAVA, liquids, NETHER_CAVE, WATER -
Constructor Summary
ConstructorsConstructorDescriptionNetherWorldCarver(com.mojang.serialization.Codec<CaveCarverConfiguration> p_64873_) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancarveBlock(CarvingContext p_190731_, CaveCarverConfiguration p_190732_, ChunkAccess p_190733_, Function<BlockPos, Holder<Biome>> p_190734_, CarvingMask p_190735_, BlockPos.MutableBlockPos p_190736_, BlockPos.MutableBlockPos p_190737_, Aquifer p_190738_, org.apache.commons.lang3.mutable.MutableBoolean p_190739_) Carves a single block, replacing it with the appropriate state if possible, and handles replacing exposed dirt with grass.protected intprotected floatgetThickness(RandomSource p_224907_) protected doubleMethods inherited from class net.minecraft.world.level.levelgen.carver.CaveWorldCarver
carve, createRoom, createTunnel, isStartChunkMethods inherited from class net.minecraft.world.level.levelgen.carver.WorldCarver
canReach, canReplaceBlock, carveEllipsoid, configured, configuredCodec, getRange
-
Constructor Details
-
NetherWorldCarver
-
-
Method Details
-
getCaveBound
protected int getCaveBound()- Overrides:
getCaveBoundin classCaveWorldCarver
-
getThickness
- Overrides:
getThicknessin classCaveWorldCarver
-
getYScale
protected double getYScale()- Overrides:
getYScalein classCaveWorldCarver
-
carveBlock
protected boolean carveBlock(CarvingContext p_190731_, CaveCarverConfiguration p_190732_, ChunkAccess p_190733_, Function<BlockPos, Holder<Biome>> p_190734_, CarvingMask p_190735_, BlockPos.MutableBlockPos p_190736_, BlockPos.MutableBlockPos p_190737_, Aquifer p_190738_, org.apache.commons.lang3.mutable.MutableBoolean p_190739_) Description copied from class:WorldCarverCarves a single block, replacing it with the appropriate state if possible, and handles replacing exposed dirt with grass.- Overrides:
carveBlockin classWorldCarver<CaveCarverConfiguration>- Parameters:
p_190736_- The position to carve at. The method does not mutate this position.p_190737_- An additional mutable block position object to be used and modified by the methodp_190739_- Set to true if the block carved was the surface, which is checked as being either grass or mycelium
-