Package net.minecraft.world.gen.carver
Class RavineCarver
java.lang.Object
net.minecraft.world.gen.carver.Carver<ProbabilityConfig>
net.minecraft.world.gen.carver.RavineCarver
- Direct Known Subclasses:
UnderwaterRavineCarver
public class RavineCarver extends Carver<ProbabilityConfig>
- Mappings:
Namespace Name official cna
intermediary net/minecraft/class_2918
named net/minecraft/world/gen/carver/RavineCarver
-
Field Summary
Fields Modifier and Type Field Description private float[]
heightToHorizontalStretchFactor
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 RavineCarver(com.mojang.serialization.Codec<ProbabilityConfig> configCodec)
-
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)
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)
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
-
Field Details
-
heightToHorizontalStretchFactor
private final float[] heightToHorizontalStretchFactor- Mappings:
Namespace Name Mixin selector official m
Lcna;m:[F
intermediary field_13275
Lnet/minecraft/class_2918;field_13275:[F
named heightToHorizontalStretchFactor
Lnet/minecraft/world/gen/carver/RavineCarver;heightToHorizontalStretchFactor:[F
-
-
Constructor Details
-
RavineCarver
- Mappings:
Namespace Name Mixin selector official <init>
Lcna;<init>(Lcom/mojang/serialization/Codec;)V
intermediary <init>
Lnet/minecraft/class_2918;<init>(Lcom/mojang/serialization/Codec;)V
named <init>
Lnet/minecraft/world/gen/carver/RavineCarver;<init>(Lcom/mojang/serialization/Codec;)V
-
-
Method Details
-
shouldCarve
- Specified by:
shouldCarve
in classCarver<ProbabilityConfig>
- Mappings:
Namespace Name Mixin selector official a
Lcna;a(Ljava/util/Random;IILcrx;)Z
intermediary method_12658
Lnet/minecraft/class_2918;method_12658(Ljava/util/Random;IILnet/minecraft/class_3133;)Z
named shouldCarve
Lnet/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:
carve
in classCarver<ProbabilityConfig>
- Mappings:
Namespace Name Mixin selector official a
Lcna;a(Lcjl;Ljava/util/function/Function;Ljava/util/Random;IIIIILjava/util/BitSet;Lcrx;)Z
intermediary method_12656
Lnet/minecraft/class_2918;method_12656(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/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 a
Lcna;a(Lcjl;Ljava/util/function/Function;JIIIDDDFFFIIDLjava/util/BitSet;)V
intermediary method_12657
Lnet/minecraft/class_2918;method_12657(Lnet/minecraft/class_2791;Ljava/util/function/Function;JIIIDDDFFFIIDLjava/util/BitSet;)V
named carveRavine
Lnet/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:
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
-