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 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_) Carves a single block, replacing it with the appropriate state if possible, and handles replacing exposed dirt with grass.protected int
protected float
getThickness
(RandomSource p_224907_) protected double
Methods inherited from class net.minecraft.world.level.levelgen.carver.CaveWorldCarver
carve, createRoom, createTunnel, isStartChunk
Methods 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:
getCaveBound
in classCaveWorldCarver
-
getThickness
- Overrides:
getThickness
in classCaveWorldCarver
-
getYScale
protected double getYScale()- Overrides:
getYScale
in 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:WorldCarver
Carves a single block, replacing it with the appropriate state if possible, and handles replacing exposed dirt with grass.- Overrides:
carveBlock
in 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
-