net.minecraft.world.level.levelgen.carver

public abstract class WorldCarver<C extends CarverConfiguration>

ebe
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_
protected static final BlockState
d
AIR
field_13301
AIR
f_64979_
protected static final BlockState
e
CAVE_AIR
field_13294
CAVE_AIR
f_64980_
protected static final FluidState
f
WATER
field_13305
WATER
f_64981_
protected static final FluidState
g
LAVA
field_13296
LAVA
f_64982_
protected Set<Fluid>
h
liquids
field_13298
carvableFluids
f_64984_
private final com.mojang.serialization.MapCodec<ConfiguredWorldCarver<C>>
i
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.MapCodec<ConfiguredWorldCarver<C>>
c()
configuredCodec()
method_28616()
getCodec()
m_65072_()
public int
d()
getRange()
method_12710()
getBranchFactor()
m_65073_()
protected boolean
a(eaz arg0, C arg1, duy arg2, Function<jd, jm<ddw>> arg3, dyk arg4, double arg5, double arg6, double arg7, double arg8, double arg9, dux arg10, ebe$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)
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)
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(eaz arg0, C arg1, duy arg2, Function<jd, jm<ddw>> arg3, dux arg4, jd$a arg5, jd$a arg6, dyk 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)
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)
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(eaz arg0, C arg1, jd arg2, dyk 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
b(eax arg0, dtc 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(eaz arg0, C arg1, duy arg2, Function<jd, jm<ddw>> arg3, ayw arg4, dyk arg5, dcd arg6, dux 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)
carve(CarverContext context, C config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, CarvingMask mask)
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, ayw arg1)
isStartChunk(C arg0, RandomSource arg1)
method_12705(C arg0, class_5819 arg1)
shouldCarve(C config, Random random)
m_214133_(C p_224909_, C_212974_ arg1)
protected boolean
a(C arg0, dtc arg1)
canReplaceBlock(C arg0, BlockState arg1)
method_12709(C arg0, class_2680 arg1)
canAlwaysCarveBlock(C config, BlockState state)
m_224910_(C p_224912_, C_2064_ arg1)
protected static boolean
a(dcd 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(eax arg0)
isDebugEnabled(CarverConfiguration arg0)
method_33980(class_5871 arg0)
isDebug(CarverConfig config)
m_159423_(C_2204_ p_159424_)