net.minecraft.world.level.levelgen.carver

public abstract class WorldCarver<C extends CarverConfiguration>

cjh
net.minecraft.world.level.levelgen.carver.WorldCarver
net.minecraft.class_2939
net.minecraft.world.gen.carver.Carver
net.minecraft.world.gen.carver.WorldCarver
net.minecraft.server.v1_16_R1.WorldGenCarverAbstract

Field summary

Modifier and TypeField
public static final WorldCarver<ProbabilityFeatureConfiguration>
a
CAVE
field_13304
CAVE
field_222709_a
public static final WorldCarver<ProbabilityFeatureConfiguration>
b
NETHER_CAVE
field_13297
NETHER_CAVE
field_236240_b_
public static final WorldCarver<ProbabilityFeatureConfiguration>
c
CANYON
field_13295
CANYON
field_222711_c
public static final WorldCarver<ProbabilityFeatureConfiguration>
d
UNDERWATER_CANYON
field_13303
UNDERWATER_CANYON
field_222712_d
public static final WorldCarver<ProbabilityFeatureConfiguration>
e
UNDERWATER_CAVE
field_13300
UNDERWATER_CAVE
field_222713_e
protected static final BlockState
f
AIR
field_13301
AIR
field_222714_f
protected static final BlockState
g
CAVE_AIR
field_13294
CAVE_AIR
field_222715_g
protected static final FluidState
h
WATER
field_13305
WATER
field_222716_h
protected static final FluidState
i
LAVA
field_13296
LAVA
field_222717_i
protected Set<Block>
j
replaceableBlocks
field_13302
alwaysCarvableBlocks
field_222718_j
protected Set<Fluid>
k
liquids
field_13298
carvableFluids
field_222719_k
private final com.mojang.serialization.Codec<ConfiguredWorldCarver<C>>
m
configuredCodec
field_24831
codec
field_236241_m_
protected final int
l
genHeight
field_16653
heightLimit
field_222720_l

Constructor summary

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

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 arg0, F arg1)
func_222699_a(String arg0, F arg1)
public com.mojang.serialization.Codec<ConfiguredWorldCarver<C>>
c()
configuredCodec()
method_28616()
getCodec()
func_236244_c_()
public int
d()
getRange()
method_12710()
getBranchFactor()
func_222704_c()
protected boolean
a(cgy arg0, Function<fu, bre> arg1, long arg2, int arg3, int arg4, int arg5, double arg6, double arg7, double arg8, double arg9, double arg10, BitSet arg11)
carveSphere(ChunkAccess arg0, Function<BlockPos, Biome> arg1, long arg2, int arg3, int arg4, int arg5, double arg6, double arg7, double arg8, double arg9, double arg10, BitSet arg11)
method_16580(class_2791 arg0, Function<class_2338, class_1959> arg1, long arg2, int arg3, int arg4, int arg5, double arg6, double arg7, double arg8, double arg9, double arg10, BitSet arg11)
carveRegion(Chunk arg0, Function<BlockPos, Biome> posToBiome, long seed, int seaLevel, int chunkX, int chunkZ, double x, double y, double z, double yaw, double pitch, BitSet carvingMask)
func_227208_a_(IChunk arg0, Function<BlockPos, Biome> arg1, long arg2, int arg3, int arg4, int arg5, double arg6, double arg7, double arg8, double arg9, double arg10, BitSet arg11)
protected boolean
a(cgy arg0, Function<fu, bre> arg1, BitSet arg2, Random arg3, fu$a arg4, fu$a arg5, fu$a arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12, int arg13, int arg14, org.apache.commons.lang3.mutable.MutableBoolean arg15)
carveBlock(ChunkAccess arg0, Function<BlockPos, Biome> arg1, BitSet arg2, Random arg3, BlockPos$MutableBlockPos arg4, BlockPos$MutableBlockPos arg5, BlockPos$MutableBlockPos arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12, int arg13, int arg14, org.apache.commons.lang3.mutable.MutableBoolean arg15)
method_16581(class_2791 arg0, Function<class_2338, class_1959> arg1, BitSet arg2, Random arg3, class_2338$class_2339 arg4, class_2338$class_2339 arg5, class_2338$class_2339 arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12, int arg13, int arg14, org.apache.commons.lang3.mutable.MutableBoolean arg15)
carveAtPoint(Chunk chunk, Function<BlockPos, Biome> posToBiome, BitSet carvingMask, Random arg3, BlockPos$Mutable arg4, BlockPos$Mutable arg5, BlockPos$Mutable arg6, int seaLevel, int mainChunkX, int mainChunkZ, int x, int z, int relativeX, int y, int relativeZ, org.apache.commons.lang3.mutable.MutableBoolean arg15)
func_230358_a_(IChunk arg0, Function<BlockPos, Biome> arg1, BitSet arg2, Random arg3, BlockPos$Mutable arg4, BlockPos$Mutable arg5, BlockPos$Mutable arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12, int arg13, int arg14, org.apache.commons.lang3.mutable.MutableBoolean arg15)
public abstract boolean
a(cgy arg0, Function<fu, bre> arg1, Random arg2, int arg3, int arg4, int arg5, int arg6, int arg7, BitSet arg8, C arg9)
carve(ChunkAccess arg0, Function<BlockPos, Biome> arg1, Random arg2, int arg3, int arg4, int arg5, int arg6, int arg7, BitSet arg8, C arg9)
method_12702(class_2791 arg0, Function<class_2338, class_1959> arg1, Random arg2, int arg3, int arg4, int arg5, int arg6, int arg7, BitSet arg8, C arg9)
carve(Chunk chunk, Function<BlockPos, Biome> posToBiome, Random arg2, int seaLevel, int chunkX, int chunkZ, int mainChunkX, int mainChunkZ, BitSet carvingMask, C arg9)
func_225555_a_(IChunk arg0, Function<BlockPos, Biome> arg1, Random arg2, int arg3, int arg4, int arg5, int arg6, int arg7, BitSet arg8, C arg9)
public abstract boolean
a(Random arg0, int arg1, int arg2, C arg3)
isStartChunk(Random arg0, int arg1, int arg2, C arg3)
method_12705(Random arg0, int arg1, int arg2, C arg3)
shouldCarve(Random random, int chunkX, int chunkZ, C config)
func_212868_a_(Random arg0, int arg1, int arg2, C arg3)
protected boolean
a(cfj arg0)
canReplaceBlock(BlockState arg0)
method_12709(class_2680 arg0)
canAlwaysCarveBlock(BlockState state)
func_222706_a(BlockState arg0)
protected boolean
a(cfj arg0, cfj arg1)
canReplaceBlock(BlockState arg0, BlockState arg1)
method_12703(class_2680 arg0, class_2680 arg1)
canCarveBlock(BlockState state, BlockState stateAbove)
func_222707_a(BlockState arg0, BlockState arg1)
protected boolean
a(cgy arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8)
hasWater(ChunkAccess arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8)
method_12711(class_2791 arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8)
isRegionUncarvable(Chunk arg0, int mainChunkX, int mainChunkZ, int relMinX, int relMaxX, int minY, int maxY, int relMinZ, int relMaxZ)
func_222700_a(IChunk arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8)
private 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 minX, int maxX, int minZ, int maxZ, int x, int z)
func_222701_a(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
protected boolean
a(int arg0, int arg1, double arg2, double arg3, int arg4, int arg5, float arg6)
canReach(int arg0, int arg1, double arg2, double arg3, int arg4, int arg5, float arg6)
method_12707(int arg0, int arg1, double arg2, double arg3, int arg4, int arg5, float arg6)
canCarveBranch(int mainChunkX, int mainChunkZ, double x, double z, int branch, int branchCount, float baseWidth)
func_222702_a(int arg0, int arg1, double arg2, double arg3, int arg4, int arg5, float arg6)
protected abstract boolean
a(double arg0, double arg1, double arg2, int arg3)
skip(double arg0, double arg1, double arg2, int arg3)
method_16582(double arg0, double arg1, double arg2, int arg3)
isPositionExcluded(double scaledRelativeX, double scaledRelativeY, double scaledRelativeZ, int y)
func_222708_a(double arg0, double arg1, double arg2, int arg3)