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.world.gen.carver.Carver
net.minecraft.world.level.levelgen.carver.WorldGenCarverAbstract

Field summary

Modifier and TypeField
public static final WorldCarver<CaveCarverConfiguration>
a
CAVE
field_29060
CAVE
public static final WorldCarver<CaveCarverConfiguration>
b
NETHER_CAVE
field_13297
NETHER_CAVE
public static final WorldCarver<CanyonCarverConfiguration>
c
CANYON
field_13295
RAVINE
protected static final BlockState
d
AIR
field_13301
AIR
protected static final BlockState
e
CAVE_AIR
field_13294
CAVE_AIR
protected static final FluidState
f
WATER
field_13305
WATER
protected static final FluidState
g
LAVA
field_13296
LAVA
protected Set<Fluid>
h
liquids
field_13298
carvableFluids
private final com.mojang.serialization.MapCodec<ConfiguredWorldCarver<C>>
i
configuredCodec
field_24831
codec

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)
public ConfiguredWorldCarver<C>
a(C arg0)
configured(C arg0)
method_28614(C arg0)
configure(C config)
public com.mojang.serialization.MapCodec<ConfiguredWorldCarver<C>>
c()
configuredCodec()
method_28616()
getCodec()
public int
d()
getRange()
method_12710()
getBranchFactor()
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)
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)
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)
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)
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)
getState(CarverContext context, C config, BlockPos pos, AquiferSampler sampler)
private static BlockState
b(efp arg0, dxv arg1)
getDebugState(CarverConfiguration arg0, BlockState arg1)
method_36417(class_5871 arg0, class_2680 arg1)
getDebugState(CarverConfig config, BlockState state)
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)
carve(CarverContext context, C config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, CarvingMask mask)
public abstract boolean
a(C arg0, bam arg1)
isStartChunk(C arg0, RandomSource arg1)
method_12705(C arg0, class_5819 arg1)
shouldCarve(C config, Random random)
protected boolean
a(C arg0, dxv arg1)
canReplaceBlock(C arg0, BlockState arg1)
method_12709(C arg0, class_2680 arg1)
canAlwaysCarveBlock(C config, BlockState state)
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)
canCarveBranch(ChunkPos pos, double x, double z, int branchIndex, int branchCount, float baseWidth)
private static boolean
b(efp arg0)
isDebugEnabled(CarverConfiguration arg0)
method_33980(class_5871 arg0)
isDebug(CarverConfig config)