Package net.minecraft.world.gen.carver
Class RavineCarver
java.lang.Object
net.minecraft.world.gen.carver.Carver<ProbabilityConfig>
net.minecraft.world.gen.carver.RavineCarver
public class RavineCarver extends Carver<ProbabilityConfig>
- Mappings:
Namespace Name official cndintermediary net/minecraft/class_2918named net/minecraft/world/gen/carver/RavineCarver
-
Field Summary
Fields Modifier and Type Field Description private float[]heightToHorizontalStretchFactorFields inherited from class net.minecraft.world.gen.carver.Carver
AIR, alwaysCarvableBlocks, CANYON, carvableFluids, CAVE, CAVE_AIR, heightLimit, LAVA, NETHER_CAVE, WATER -
Constructor Summary
Constructors Constructor Description RavineCarver(com.mojang.serialization.Codec<ProbabilityConfig> configCodec) -
Method Summary
Modifier and Type Method Description booleancarve(Chunk chunk, Function<BlockPos,Biome> function, Random random, int int2, int int3, int int4, int int5, int int6, BitSet bitSet, ProbabilityConfig probabilityConfig)private voidcarveRavine(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 booleanisPositionExcluded(double scaledRelativeX, double scaledRelativeY, double scaledRelativeZ, int y)booleanshouldCarve(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
-
Field Details
-
heightToHorizontalStretchFactor
private final float[] heightToHorizontalStretchFactor- Mappings:
Namespace Name Mixin selector official kLcnd;k:[Fintermediary field_13275Lnet/minecraft/class_2918;field_13275:[Fnamed heightToHorizontalStretchFactorLnet/minecraft/world/gen/carver/RavineCarver;heightToHorizontalStretchFactor:[F
-
-
Constructor Details
-
RavineCarver
- Mappings:
Namespace Name Mixin selector official <init>Lcnd;<init>(Lcom/mojang/serialization/Codec;)Vintermediary <init>Lnet/minecraft/class_2918;<init>(Lcom/mojang/serialization/Codec;)Vnamed <init>Lnet/minecraft/world/gen/carver/RavineCarver;<init>(Lcom/mojang/serialization/Codec;)V
-
-
Method Details
-
shouldCarve
- Specified by:
shouldCarvein classCarver<ProbabilityConfig>- Mappings:
Namespace Name Mixin selector official aLcnd;a(Ljava/util/Random;IILcrz;)Zintermediary method_12658Lnet/minecraft/class_2918;method_12658(Ljava/util/Random;IILnet/minecraft/class_3133;)Znamed shouldCarveLnet/minecraft/world/gen/carver/RavineCarver;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:
carvein classCarver<ProbabilityConfig>- Mappings:
Namespace Name Mixin selector official aLcnd;a(Lcjm;Ljava/util/function/Function;Ljava/util/Random;IIIIILjava/util/BitSet;Lcrz;)Zintermediary method_12656Lnet/minecraft/class_2918;method_12656(Lnet/minecraft/class_2791;Ljava/util/function/Function;Ljava/util/Random;IIIIILjava/util/BitSet;Lnet/minecraft/class_3133;)Znamed carveLnet/minecraft/world/gen/carver/RavineCarver;carve(Lnet/minecraft/world/chunk/Chunk;Ljava/util/function/Function;Ljava/util/Random;IIIIILjava/util/BitSet;Lnet/minecraft/world/gen/ProbabilityConfig;)Z
-
carveRavine
private void carveRavine(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 aLcnd;a(Lcjm;Ljava/util/function/Function;JIIIDDDFFFIIDLjava/util/BitSet;)Vintermediary method_12657Lnet/minecraft/class_2918;method_12657(Lnet/minecraft/class_2791;Ljava/util/function/Function;JIIIDDDFFFIIDLjava/util/BitSet;)Vnamed carveRavineLnet/minecraft/world/gen/carver/RavineCarver;carveRavine(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:
isPositionExcludedin classCarver<ProbabilityConfig>- Mappings:
Namespace Name Mixin selector official aLcnj;a(DDDI)Zintermediary method_16582Lnet/minecraft/class_2939;method_16582(DDDI)Znamed isPositionExcludedLnet/minecraft/world/gen/carver/Carver;isPositionExcluded(DDDI)Z
-