net.minecraft.world.level.levelgen.carver

public abstract class WorldCarver<C extends CarverConfiguration>

efw
net.minecraft.world.level.levelgen.carver.WorldCarver
net.minecraft.class_2939
net.minecraft.unmapped.C_fwlnnlqx
net.minecraft.world.gen.carver.Carver
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
f_cqzzwcce
CAVE
CAVE
f_64974_
public static final WorldCarver<CaveCarverConfiguration>
b
NETHER_CAVE
field_13297
f_mbarwnft
NETHER_CAVE
NETHER_CAVE
f_64975_
public static final WorldCarver<CanyonCarverConfiguration>
c
CANYON
field_13295
f_hgftjxmo
RAVINE
RAVINE
f_64976_
protected static final BlockState
d
AIR
field_13301
f_piliktvj
AIR
AIR
f_64979_
protected static final BlockState
e
CAVE_AIR
field_13294
f_tdpwxkzo
CAVE_AIR
CAVE_AIR
f_64980_
protected static final FluidState
f
WATER
field_13305
f_derwzwfp
WATER
WATER
f_64981_
protected static final FluidState
g
LAVA
field_13296
f_wfuqktpp
LAVA
LAVA
f_64982_
protected Set<Fluid>
h
liquids
field_13298
f_zepbight
carvableFluids
carvableFluids
f_64984_
private final com.mojang.serialization.MapCodec<ConfiguredWorldCarver<C>>
i
configuredCodec
field_24831
f_jnkiuwfj
codec
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)
m_feeyhvhh(String arg0, F arg1)
register(String name, F carver)
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)
m_ntzbeuzy(C arg0)
configure(C config)
configure(C config)
m_65063_(C arg0)
public com.mojang.serialization.MapCodec<ConfiguredWorldCarver<C>>
c()
configuredCodec()
method_28616()
m_lxcegymh()
getCodec()
getCodec()
m_65072_()
public int
d()
getRange()
method_12710()
m_nvpnnkyk()
getBranchFactor()
getBranchFactor()
m_65073_()
protected boolean
a(efr arg0, C arg1, dzq arg2, Function<jh, jq<dik>> arg3, edc arg4, double arg5, double arg6, double arg7, double arg8, double arg9, dzp arg10, efw$a arg11)
carveEllipsoid(CarvingContext arg0, C arg1, ChunkAccess arg2, Function<BlockPos, Holder<Biome>> arg3, Aquifer arg4, double arg5, double arg6, double arg7, double arg8, double arg9, CarvingMask arg10, WorldCarver$CarveSkipChecker arg11)
method_33978(class_5873 arg0, C arg1, class_2791 arg2, Function<class_2338, class_6880<class_1959>> arg3, class_6350 arg4, double arg5, double arg6, double arg7, double arg8, double arg9, class_6643 arg10, class_2939$class_5874 arg11)
m_umndhlen(C_kklqkmyc arg0, C arg1, C_lwzmmmqr arg2, Function<C_hynzadkk, C_cjzoxshv<C_orlkpefs>> arg3, C_jpghdzxc arg4, double arg5, double arg6, double arg7, double arg8, double arg9, C_nrynfjsf arg10, C_fwlnnlqx$C_uxsoiwwh arg11)
carveRegion(CarverContext context, C config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, AquiferSampler aquiferSampler, double x, double y, double z, double width, double height, CarvingMask mask, Carver$SkipPredicate skipPredicate)
carveRegion(CarverContext context, C config, Chunk chunk, Function<BlockPos, Holder<Biome>> posToBiome, AquiferSampler sampler, double x, double y, double z, double horizontalScale, double verticalScale, CarvingMask mask, Carver$SkipPredicate skipPredicate)
m_190753_(C_141355_ p_190755_, C p_190756_, C_2116_ p_190757_, Function<C_4675_, C_203228_<C_1629_>> p_190758_, C_141319_ p_190759_, double p_190760_, double p_190762_, double p_190764_, double arg8, double arg9, C_182875_ arg10, C_2212_$C_141357_ arg11)
protected boolean
a(efr arg0, C arg1, dzq arg2, Function<jh, jq<dik>> arg3, dzp arg4, jh$a arg5, jh$a arg6, edc arg7, org.apache.commons.lang3.mutable.MutableBoolean arg8)
carveBlock(CarvingContext arg0, C arg1, ChunkAccess arg2, Function<BlockPos, Holder<Biome>> arg3, CarvingMask arg4, BlockPos$MutableBlockPos arg5, BlockPos$MutableBlockPos arg6, Aquifer arg7, org.apache.commons.lang3.mutable.MutableBoolean arg8)
method_16581(class_5873 arg0, C arg1, class_2791 arg2, Function<class_2338, class_6880<class_1959>> arg3, class_6643 arg4, class_2338$class_2339 arg5, class_2338$class_2339 arg6, class_6350 arg7, org.apache.commons.lang3.mutable.MutableBoolean arg8)
m_sgqbrgyz(C_kklqkmyc arg0, C arg1, C_lwzmmmqr arg2, Function<C_hynzadkk, C_cjzoxshv<C_orlkpefs>> arg3, C_nrynfjsf arg4, C_hynzadkk$C_egqitdjk arg5, C_hynzadkk$C_egqitdjk arg6, C_jpghdzxc arg7, org.apache.commons.lang3.mutable.MutableBoolean arg8)
carveAtPoint(CarverContext context, C config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, CarvingMask mask, BlockPos$Mutable pos, BlockPos$Mutable tmp, AquiferSampler aquiferSampler, org.apache.commons.lang3.mutable.MutableBoolean replacedGrassy)
carveAtPoint(CarverContext context, C config, Chunk chunk, Function<BlockPos, Holder<Biome>> posToBiome, CarvingMask mask, BlockPos$Mutable pos, BlockPos$Mutable downPos, AquiferSampler sampler, org.apache.commons.lang3.mutable.MutableBoolean foundSurface)
m_183633_(C_141355_ p_190745_, C p_190746_, C_2116_ p_190747_, Function<C_4675_, C_203228_<C_1629_>> p_190748_, C_182875_ p_190749_, C_4675_$C_4681_ p_190750_, C_4675_$C_4681_ p_190751_, C_141319_ p_190752_, org.apache.commons.lang3.mutable.MutableBoolean arg8)
private BlockState
a(efr arg0, C arg1, jh arg2, edc arg3)
getCarveState(CarvingContext arg0, C arg1, BlockPos arg2, Aquifer arg3)
method_36418(class_5873 arg0, C arg1, class_2338 arg2, class_6350 arg3)
m_rirunnlh(C_kklqkmyc arg0, C arg1, C_hynzadkk arg2, C_jpghdzxc arg3)
getState(CarverContext context, C config, BlockPos pos, AquiferSampler sampler)
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
b(efp arg0, dxv arg1)
getDebugState(CarverConfiguration arg0, BlockState arg1)
method_36417(class_5871 arg0, class_2680 arg1)
m_yndxqyid(C_kmzteyxt arg0, C_txtbiemp arg1)
getDebugState(CarverConfig config, BlockState state)
getDebugState(CarverConfig config, BlockState state)
m_159381_(C_2204_ p_159382_, C_2064_ p_159383_)
public abstract boolean
a(efr arg0, C arg1, dzq arg2, Function<jh, jq<dik>> arg3, bam arg4, edc arg5, dgo arg6, dzp arg7)
carve(CarvingContext arg0, C arg1, ChunkAccess arg2, Function<BlockPos, Holder<Biome>> arg3, RandomSource arg4, Aquifer arg5, ChunkPos arg6, CarvingMask arg7)
method_12702(class_5873 arg0, C arg1, class_2791 arg2, Function<class_2338, class_6880<class_1959>> arg3, class_5819 arg4, class_6350 arg5, class_1923 arg6, class_6643 arg7)
m_ibvykjzo(C_kklqkmyc arg0, C arg1, C_lwzmmmqr arg2, Function<C_hynzadkk, C_cjzoxshv<C_orlkpefs>> arg3, C_rlomrsco arg4, C_jpghdzxc arg5, C_ynrszrtu arg6, C_nrynfjsf arg7)
carve(CarverContext context, C config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, CarvingMask mask)
carve(CarverContext context, C config, Chunk chunk, Function<BlockPos, Holder<Biome>> posToBiome, RandomGenerator random, AquiferSampler aquiferSampler, ChunkPos pos, CarvingMask carvingMask)
m_213788_(C_141355_ p_224914_, C p_224915_, C_2116_ p_224916_, Function<C_4675_, C_203228_<C_1629_>> p_224917_, C_212974_ p_224918_, C_141319_ p_224919_, C_1560_ p_224920_, C_182875_ arg7)
public abstract boolean
a(C arg0, bam arg1)
isStartChunk(C arg0, RandomSource arg1)
method_12705(C arg0, class_5819 arg1)
m_pjiwanpe(C arg0, C_rlomrsco arg1)
shouldCarve(C config, Random random)
shouldCarve(C config, RandomGenerator random)
m_214133_(C p_224909_, C_212974_ arg1)
protected boolean
a(C arg0, dxv arg1)
canReplaceBlock(C arg0, BlockState arg1)
method_12709(C arg0, class_2680 arg1)
m_prcdsizs(C arg0, C_txtbiemp arg1)
canAlwaysCarveBlock(C config, BlockState state)
canReplaceBlock(C carverConfig, BlockState blockState)
m_224910_(C p_224912_, C_2064_ arg1)
protected static boolean
a(dgo 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)
m_qtntwzbf(C_ynrszrtu arg0, double arg1, double arg2, int arg3, int arg4, float arg5)
canCarveBranch(ChunkPos pos, double x, double z, int branchIndex, int branchCount, float baseWidth)
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(efp arg0)
isDebugEnabled(CarverConfiguration arg0)
method_33980(class_5871 arg0)
m_yrhbfqlr(C_kmzteyxt arg0)
isDebug(CarverConfig config)
isDebug(CarverConfig config)
m_159423_(C_2204_ p_159424_)