net.minecraft.world.level.levelgen.carver

public abstract class WorldCarver<C extends CarverConfiguration>

cqy
net.minecraft.world.level.levelgen.carver.WorldCarver
net.minecraft.class_2939
net.minecraft.world.gen.carver.Carver
net.minecraft.src.C_2212_
net.minecraft.world.level.levelgen.carver.WorldGenCarverAbstract

Field summary

Modifier and TypeField
public static final WorldCarver<CaveCarverConfiguration>
a
CAVE
field_29060
CAVE
f_64974_
public static final WorldCarver<CaveCarverConfiguration>
b
NETHER_CAVE
field_13297
NETHER_CAVE
f_64975_
public static final WorldCarver<CanyonCarverConfiguration>
c
CANYON
field_13295
RAVINE
f_64976_
public static final WorldCarver<CanyonCarverConfiguration>
d
UNDERWATER_CANYON
field_33413
UNDERWATER_CANYON
f_64977_
public static final WorldCarver<CaveCarverConfiguration>
e
UNDERWATER_CAVE
field_33414
UNDERWATER_CAVE
f_64978_
protected static final BaseStoneSource
f
STONE_SOURCE
field_33614
STONE_SOURCE
f_159364_
protected static final BlockState
g
AIR
field_13301
AIR
f_64979_
protected static final BlockState
h
CAVE_AIR
field_13294
CAVE_AIR
f_64980_
protected static final FluidState
i
WATER
field_13305
WATER
f_64981_
protected static final FluidState
j
LAVA
field_13296
LAVA
f_64982_
protected Set<Block>
k
replaceableBlocks
field_13302
alwaysCarvableBlocks
f_64983_
protected Set<Fluid>
l
liquids
field_13298
carvableFluids
f_64984_
private final com.mojang.serialization.Codec<ConfiguredWorldCarver<C>>
m
configuredCodec
field_24831
codec
f_64986_

Constructor summary

ModifierConstructor
public (com.mojang.serialization.Codec<C> configCodec)

Method summary

Modifier and TypeMethod
private static <C extends CarverConfiguration, F extends WorldCarver<C>> F
a(String arg0, F arg1)
register(String arg0, F arg1)
method_12704(String arg0, F arg1)
register(String name, F carver)
m_65065_(String p_65066_, F p_65067_)
public ConfiguredWorldCarver<C>
a(C arg0)
configured(C arg0)
method_28614(C arg0)
configure(C config)
m_65063_(C arg0)
public com.mojang.serialization.Codec<ConfiguredWorldCarver<C>>
c()
configuredCodec()
method_28616()
getCodec()
m_65072_()
public int
d()
getRange()
method_12710()
getBranchFactor()
m_65073_()
protected boolean
a(cqr arg0, C arg1, cml arg2, Function<gg, bxo> arg3, long arg4, cpf arg5, double arg6, double arg7, double arg8, double arg9, double arg10, BitSet arg11, cqy$a arg12)
carveEllipsoid(CarvingContext arg0, C arg1, ChunkAccess arg2, Function<BlockPos, Biome> arg3, long arg4, Aquifer arg5, double arg6, double arg7, double arg8, double arg9, double arg10, BitSet arg11, WorldCarver$CarveSkipChecker arg12)
method_33978(class_5873 arg0, C arg1, class_2791 arg2, Function<class_2338, class_1959> arg3, long arg4, class_6350 arg5, double arg6, double arg7, double arg8, double arg9, double arg10, BitSet arg11, class_2939$class_5874 arg12)
carveRegion(CarverContext context, C config, Chunk arg2, Function<BlockPos, Biome> posToBiome, long seed, AquiferSampler sampler, double x, double y, double z, double horizontalScale, double verticalScale, BitSet carvingMask, Carver$SkipPredicate skipPredicate)
m_159386_(C_141355_ p_159388_, C p_159389_, C_2116_ p_159390_, Function<C_4675_, C_1629_> p_159391_, long p_159392_, C_141319_ p_159394_, double p_159395_, double p_159397_, double p_159399_, double arg9, double arg10, BitSet arg11, C_2212_$C_141357_ arg12)
protected boolean
a(cqr arg0, C arg1, cml arg2, Function<gg, bxo> arg3, BitSet arg4, Random arg5, gg$a arg6, gg$a arg7, cpf arg8, org.apache.commons.lang3.mutable.MutableBoolean arg9)
carveBlock(CarvingContext arg0, C arg1, ChunkAccess arg2, Function<BlockPos, Biome> arg3, BitSet arg4, Random arg5, BlockPos$MutableBlockPos arg6, BlockPos$MutableBlockPos arg7, Aquifer arg8, org.apache.commons.lang3.mutable.MutableBoolean arg9)
method_16581(class_5873 arg0, C arg1, class_2791 arg2, Function<class_2338, class_1959> arg3, BitSet arg4, Random arg5, class_2338$class_2339 arg6, class_2338$class_2339 arg7, class_6350 arg8, org.apache.commons.lang3.mutable.MutableBoolean arg9)
carveAtPoint(CarverContext context, C config, Chunk chunk, Function<BlockPos, Biome> posToBiome, BitSet carvingMask, Random random, BlockPos$Mutable pos, BlockPos$Mutable downPos, AquiferSampler sampler, org.apache.commons.lang3.mutable.MutableBoolean foundSurface)
m_141949_(C_141355_ p_159401_, C p_159402_, C_2116_ p_159403_, Function<C_4675_, C_1629_> p_159404_, BitSet p_159405_, Random p_159406_, C_4675_$C_4681_ p_159407_, C_4675_$C_4681_ p_159408_, C_141319_ p_159409_, org.apache.commons.lang3.mutable.MutableBoolean arg9)
private BlockState
a(cqr arg0, C arg1, gg arg2, cpf arg3)
getCarveState(CarvingContext arg0, C arg1, BlockPos arg2, Aquifer arg3)
method_36418(class_5873 arg0, C arg1, class_2338 arg2, class_6350 arg3)
getState(CarverContext context, C config, BlockPos pos, AquiferSampler sampler)
m_159418_(C_141355_ p_159420_, C p_159421_, C_4675_ p_159422_, C_141319_ arg3)
private static BlockState
a(cqp arg0, cks arg1)
getDebugState(CarverConfiguration arg0, BlockState arg1)
method_36417(class_5871 arg0, class_2680 arg1)
getDebugState(CarverConfig config, BlockState state)
m_159381_(C_2204_ p_159382_, C_2064_ p_159383_)
public abstract boolean
a(cqr arg0, C arg1, cml arg2, Function<gg, bxo> arg3, Random arg4, cpf arg5, bvu arg6, BitSet arg7)
carve(CarvingContext arg0, C arg1, ChunkAccess arg2, Function<BlockPos, Biome> arg3, Random arg4, Aquifer arg5, ChunkPos arg6, BitSet arg7)
method_12702(class_5873 arg0, C arg1, class_2791 arg2, Function<class_2338, class_1959> arg3, Random arg4, class_6350 arg5, class_1923 arg6, BitSet arg7)
carve(CarverContext context, C config, Chunk chunk, Function<BlockPos, Biome> posToBiome, Random random, AquiferSampler arg5, ChunkPos pos, BitSet carvingMask)
m_142404_(C_141355_ p_159411_, C p_159412_, C_2116_ p_159413_, Function<C_4675_, C_1629_> p_159414_, Random p_159415_, C_141319_ p_159416_, C_1560_ p_159417_, BitSet arg7)
public abstract boolean
a(C arg0, Random arg1)
isStartChunk(C arg0, Random arg1)
method_12705(C arg0, Random arg1)
shouldCarve(C config, Random random)
m_142512_(C p_159385_, Random arg1)
protected boolean
a(cks arg0)
canReplaceBlock(BlockState arg0)
method_12709(class_2680 arg0)
canAlwaysCarveBlock(BlockState state)
m_65010_(C_2064_ arg0)
protected boolean
a(cks arg0, cks arg1)
canReplaceBlock(BlockState arg0, BlockState arg1)
method_12703(class_2680 arg0, class_2680 arg1)
canCarveBlock(BlockState state, BlockState stateAbove)
m_65012_(C_2064_ p_65014_, C_2064_ arg1)
protected boolean
a(cml arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6)
hasDisallowedLiquid(ChunkAccess arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6)
method_33977(class_2791 arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6)
isRegionUncarvable(Chunk chunk, int minX, int maxX, int minY, int maxY, int minZ, int maxZ)
m_141931_(C_2116_ p_159375_, int p_159376_, int p_159377_, int p_159378_, int p_159379_, int p_159380_, int arg6)
private static boolean
a(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
isEdge(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
method_12706(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
isOnBoundary(int x, int z, int minX, int maxX, int minZ, int maxZ)
m_65003_(int p_65004_, int p_65005_, int p_65006_, int p_65007_, int p_65008_, int p_65009_)
protected static boolean
a(bvu arg0, double arg1, double arg2, int arg3, int arg4, float arg5)
canReach(ChunkPos arg0, double arg1, double arg2, int arg3, int arg4, float arg5)
method_33976(class_1923 arg0, double arg1, double arg2, int arg3, int arg4, float arg5)
canCarveBranch(ChunkPos pos, double x, double z, int branchIndex, int branchCount, float baseWidth)
m_159367_(C_1560_ p_159368_, double p_159369_, double p_159371_, int p_159373_, int arg4, float arg5)
private static boolean
b(cqp arg0)
isDebugEnabled(CarverConfiguration arg0)
method_33980(class_5871 arg0)
isDebug(CarverConfig config)
m_159423_(C_2204_ p_159424_)