Class CaveWorldCarver
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<WorldCarver<?>>
net.minecraft.world.level.levelgen.carver.WorldCarver<CaveCarverConfiguration>
net.minecraft.world.level.levelgen.carver.CaveWorldCarver
- All Implemented Interfaces:
IForgeRegistryEntry<WorldCarver<?>>
- Direct Known Subclasses:
NetherWorldCarver
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.carver.WorldCarver
WorldCarver.CarveSkipChecker
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
Field Summary
Fields inherited from class net.minecraft.world.level.levelgen.carver.WorldCarver
AIR, CANYON, CAVE, CAVE_AIR, LAVA, liquids, NETHER_CAVE, replaceableBlocks, WATER
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
Constructor Summary
ConstructorDescriptionCaveWorldCarver
(com.mojang.serialization.Codec<CaveCarverConfiguration> p_159194_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
carve
(CarvingContext p_190704_, CaveCarverConfiguration p_190705_, ChunkAccess p_190706_, Function<BlockPos, Holder<Biome>> p_190707_, Random p_190708_, Aquifer p_190709_, ChunkPos p_190710_, CarvingMask p_190711_) protected void
createRoom
(CarvingContext p_190691_, CaveCarverConfiguration p_190692_, ChunkAccess p_190693_, Function<BlockPos, Holder<Biome>> p_190694_, Aquifer p_190695_, double p_190696_, double p_190697_, double p_190698_, float p_190699_, double p_190700_, CarvingMask p_190701_, WorldCarver.CarveSkipChecker p_190702_) protected void
createTunnel
(CarvingContext p_190671_, CaveCarverConfiguration p_190672_, ChunkAccess p_190673_, Function<BlockPos, Holder<Biome>> p_190674_, long p_190675_, Aquifer p_190676_, double p_190677_, double p_190678_, double p_190679_, double p_190680_, double p_190681_, float p_190682_, float p_190683_, float p_190684_, int p_190685_, int p_190686_, double p_190687_, CarvingMask p_190688_, WorldCarver.CarveSkipChecker p_190689_) protected int
protected float
getThickness
(Random p_64834_) protected double
boolean
isStartChunk
(CaveCarverConfiguration p_159263_, Random p_159264_) private static boolean
shouldSkip
(double p_159196_, double p_159197_, double p_159198_, double p_159199_) Methods inherited from class net.minecraft.world.level.levelgen.carver.WorldCarver
canReach, canReplaceBlock, carveBlock, carveEllipsoid, configured, configuredCodec, getRange
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
Constructor Details
-
CaveWorldCarver
-
-
Method Details
-
isStartChunk
- Specified by:
isStartChunk
in classWorldCarver<CaveCarverConfiguration>
-
carve
public boolean carve(CarvingContext p_190704_, CaveCarverConfiguration p_190705_, ChunkAccess p_190706_, Function<BlockPos, Holder<Biome>> p_190707_, Random p_190708_, Aquifer p_190709_, ChunkPos p_190710_, CarvingMask p_190711_) - Specified by:
carve
in classWorldCarver<CaveCarverConfiguration>
-
getCaveBound
protected int getCaveBound() -
getThickness
-
getYScale
protected double getYScale() -
createRoom
protected void createRoom(CarvingContext p_190691_, CaveCarverConfiguration p_190692_, ChunkAccess p_190693_, Function<BlockPos, Holder<Biome>> p_190694_, Aquifer p_190695_, double p_190696_, double p_190697_, double p_190698_, float p_190699_, double p_190700_, CarvingMask p_190701_, WorldCarver.CarveSkipChecker p_190702_) -
createTunnel
protected void createTunnel(CarvingContext p_190671_, CaveCarverConfiguration p_190672_, ChunkAccess p_190673_, Function<BlockPos, Holder<Biome>> p_190674_, long p_190675_, Aquifer p_190676_, double p_190677_, double p_190678_, double p_190679_, double p_190680_, double p_190681_, float p_190682_, float p_190683_, float p_190684_, int p_190685_, int p_190686_, double p_190687_, CarvingMask p_190688_, WorldCarver.CarveSkipChecker p_190689_) -
shouldSkip
private static boolean shouldSkip(double p_159196_, double p_159197_, double p_159198_, double p_159199_)
-