Package net.minecraft.world.gen.carver
Class CaveCarver
- Direct Known Subclasses:
NetherCaveCarver
,UnderwaterCaveCarver
public class CaveCarver extends Carver<ProbabilityConfig>
- Mappings:
Namespace Name official cnc
intermediary net/minecraft/class_2925
named net/minecraft/world/gen/carver/CaveCarver
-
Field Summary
Fields inherited from class net.minecraft.world.gen.carver.Carver
AIR, alwaysCarvableBlocks, CANYON, carvableFluids, CAVE, CAVE_AIR, heightLimit, LAVA, NETHER_CAVE, UNDERWATER_CANYON, UNDERWATER_CAVE, WATER
-
Constructor Summary
Constructors Constructor Description CaveCarver(com.mojang.serialization.Codec<ProbabilityConfig> configCodec, int heightLimit)
-
Method Summary
Modifier and Type Method Description boolean
carve(Chunk chunk, Function<BlockPos,Biome> function, Random random, int int2, int int3, int int4, int int5, int int6, BitSet bitSet, ProbabilityConfig probabilityConfig)
protected void
carveCave(Chunk chunk, Function<BlockPos,Biome> posToBiome, long seed, int seaLevel, int mainChunkX, int mainChunkZ, double x, double y, double z, float yaw, double yawPitchRatio, BitSet carvingMask)
protected void
carveTunnels(Chunk chunk, Function<BlockPos,Biome> posToBiome, long seed, int seaLevel, int mainChunkX, int mainChunkZ, double x, double y, double z, float width, float yaw, float pitch, int branchStartIndex, int branchCount, double yawPitchRatio, BitSet carvingMask)
protected int
getCaveY(Random random)
protected int
getMaxCaveCount()
protected double
getTunnelSystemHeightWidthRatio()
protected float
getTunnelSystemWidth(Random random)
protected boolean
isPositionExcluded(double scaledRelativeX, double scaledRelativeY, double scaledRelativeZ, int y)
boolean
shouldCarve(Random random, int int2, int int3, ProbabilityConfig probabilityConfig)
Methods inherited from class net.minecraft.world.gen.carver.Carver
canAlwaysCarveBlock, canCarveBlock, canCarveBranch, carveAtPoint, carveRegion, configure, getBranchFactor, getCodec, isRegionUncarvable
-
Constructor Details
-
CaveCarver
- Mappings:
Namespace Name Mixin selector official <init>
Lcni;<init>(Lcom/mojang/serialization/Codec;I)V
intermediary <init>
Lnet/minecraft/class_2939;<init>(Lcom/mojang/serialization/Codec;I)V
named <init>
Lnet/minecraft/world/gen/carver/Carver;<init>(Lcom/mojang/serialization/Codec;I)V
-
-
Method Details
-
shouldCarve
- Specified by:
shouldCarve
in classCarver<ProbabilityConfig>
- Mappings:
Namespace Name Mixin selector official a
Lcnc;a(Ljava/util/Random;IILcrx;)Z
intermediary method_12676
Lnet/minecraft/class_2925;method_12676(Ljava/util/Random;IILnet/minecraft/class_3133;)Z
named shouldCarve
Lnet/minecraft/world/gen/carver/CaveCarver;shouldCarve(Ljava/util/Random;IILnet/minecraft/world/gen/ProbabilityConfig;)Z
-
carve
public boolean carve(Chunk chunk, Function<BlockPos,Biome> function, Random random, int int2, int int3, int int4, int int5, int int6, BitSet bitSet, ProbabilityConfig probabilityConfig)- Specified by:
carve
in classCarver<ProbabilityConfig>
- Mappings:
Namespace Name Mixin selector official a
Lcnc;a(Lcjl;Ljava/util/function/Function;Ljava/util/Random;IIIIILjava/util/BitSet;Lcrx;)Z
intermediary method_12673
Lnet/minecraft/class_2925;method_12673(Lnet/minecraft/class_2791;Ljava/util/function/Function;Ljava/util/Random;IIIIILjava/util/BitSet;Lnet/minecraft/class_3133;)Z
named carve
Lnet/minecraft/world/gen/carver/CaveCarver;carve(Lnet/minecraft/world/chunk/Chunk;Ljava/util/function/Function;Ljava/util/Random;IIIIILjava/util/BitSet;Lnet/minecraft/world/gen/ProbabilityConfig;)Z
-
getMaxCaveCount
protected int getMaxCaveCount()- Mappings:
Namespace Name Mixin selector official a
Lcnc;a()I
intermediary method_16577
Lnet/minecraft/class_2925;method_16577()I
named getMaxCaveCount
Lnet/minecraft/world/gen/carver/CaveCarver;getMaxCaveCount()I
-
getTunnelSystemWidth
- Mappings:
Namespace Name Mixin selector official a
Lcnc;a(Ljava/util/Random;)F
intermediary method_16576
Lnet/minecraft/class_2925;method_16576(Ljava/util/Random;)F
named getTunnelSystemWidth
Lnet/minecraft/world/gen/carver/CaveCarver;getTunnelSystemWidth(Ljava/util/Random;)F
-
getTunnelSystemHeightWidthRatio
protected double getTunnelSystemHeightWidthRatio()- Mappings:
Namespace Name Mixin selector official b
Lcnc;b()D
intermediary method_16578
Lnet/minecraft/class_2925;method_16578()D
named getTunnelSystemHeightWidthRatio
Lnet/minecraft/world/gen/carver/CaveCarver;getTunnelSystemHeightWidthRatio()D
-
getCaveY
- Mappings:
Namespace Name Mixin selector official b
Lcnc;b(Ljava/util/Random;)I
intermediary method_16579
Lnet/minecraft/class_2925;method_16579(Ljava/util/Random;)I
named getCaveY
Lnet/minecraft/world/gen/carver/CaveCarver;getCaveY(Ljava/util/Random;)I
-
carveCave
protected void carveCave(Chunk chunk, Function<BlockPos,Biome> posToBiome, long seed, int seaLevel, int mainChunkX, int mainChunkZ, double x, double y, double z, float yaw, double yawPitchRatio, BitSet carvingMask)- Mappings:
Namespace Name Mixin selector official a
Lcnc;a(Lcjl;Ljava/util/function/Function;JIIIDDDFDLjava/util/BitSet;)V
intermediary method_12674
Lnet/minecraft/class_2925;method_12674(Lnet/minecraft/class_2791;Ljava/util/function/Function;JIIIDDDFDLjava/util/BitSet;)V
named carveCave
Lnet/minecraft/world/gen/carver/CaveCarver;carveCave(Lnet/minecraft/world/chunk/Chunk;Ljava/util/function/Function;JIIIDDDFDLjava/util/BitSet;)V
-
carveTunnels
protected void carveTunnels(Chunk chunk, Function<BlockPos,Biome> posToBiome, long seed, int seaLevel, int mainChunkX, int mainChunkZ, double x, double y, double z, float width, float yaw, float pitch, int branchStartIndex, int branchCount, double yawPitchRatio, BitSet carvingMask)- Mappings:
Namespace Name Mixin selector official a
Lcnc;a(Lcjl;Ljava/util/function/Function;JIIIDDDFFFIIDLjava/util/BitSet;)V
intermediary method_12675
Lnet/minecraft/class_2925;method_12675(Lnet/minecraft/class_2791;Ljava/util/function/Function;JIIIDDDFFFIIDLjava/util/BitSet;)V
named carveTunnels
Lnet/minecraft/world/gen/carver/CaveCarver;carveTunnels(Lnet/minecraft/world/chunk/Chunk;Ljava/util/function/Function;JIIIDDDFFFIIDLjava/util/BitSet;)V
-
isPositionExcluded
protected boolean isPositionExcluded(double scaledRelativeX, double scaledRelativeY, double scaledRelativeZ, int y)- Specified by:
isPositionExcluded
in classCarver<ProbabilityConfig>
- Mappings:
Namespace Name Mixin selector official a
Lcni;a(DDDI)Z
intermediary method_16582
Lnet/minecraft/class_2939;method_16582(DDDI)Z
named isPositionExcluded
Lnet/minecraft/world/gen/carver/Carver;isPositionExcluded(DDDI)Z
-