Package net.minecraft.world.gen.carver
Class RavineCarver
java.lang.Object
net.minecraft.world.gen.carver.Carver<RavineCarverConfig>
net.minecraft.world.gen.carver.RavineCarver
public class RavineCarver extends Carver<RavineCarverConfig>
- Mappings:
Namespace Name official coe
intermediary net/minecraft/class_5870
named net/minecraft/world/gen/carver/RavineCarver
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.gen.carver.Carver
Carver.SkipPredicate
-
Field Summary
Fields inherited from class net.minecraft.world.gen.carver.Carver
AIR, alwaysCarvableBlocks, carvableFluids, CAVE, CAVE_AIR, LAVA, NETHER_CAVE, RAVINE, WATER
-
Constructor Summary
Constructors Constructor Description RavineCarver(com.mojang.serialization.Codec<RavineCarverConfig> configCodec)
-
Method Summary
Modifier and Type Method Description boolean
carve(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Chunk chunk, Function<BlockPos,Biome> function, Random random, int int2, ChunkPos chunkPos, BitSet bitSet)
private void
carveRavine(CarverContext context, RavineCarverConfig config, Chunk chunk, Function<BlockPos,Biome> posToBiome, long seed, int seaLevel, double x, double y, double z, float width, float yaw, float pitch, int branchStartIndex, int branchCount, double yawPitchRatio, BitSet carvingMask)
private float[]
createHorizontalStretchFactors(CarverContext context, RavineCarverConfig config, Random random)
private double
getVerticalScale(RavineCarverConfig config, Random random, double pitch, float branchCount, float branchIndex)
private int
getY(CarverContext context, RavineCarverConfig config, Random random)
private boolean
isPositionExcluded(CarverContext context, float[] horizontalStretchFactors, double scaledRelativeX, double scaledRelativeY, double scaledRelativeZ, int y)
boolean
shouldCarve(RavineCarverConfig ravineCarverConfig, Random random)
Methods inherited from class net.minecraft.world.gen.carver.Carver
canAlwaysCarveBlock, canCarveBlock, canCarveBranch, carveAtPoint, carveRegion, configure, getBranchFactor, getCodec, isRegionUncarvable
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official j
Lcoe;j:Lorg/apache/logging/log4j/Logger;
intermediary field_29052
Lnet/minecraft/class_5870;field_29052:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/world/gen/carver/RavineCarver;LOGGER:Lorg/apache/logging/log4j/Logger;
-
-
Constructor Details
-
RavineCarver
- Mappings:
Namespace Name Mixin selector official <init>
Lcol;<init>(Lcom/mojang/serialization/Codec;)V
intermediary <init>
Lnet/minecraft/class_2939;<init>(Lcom/mojang/serialization/Codec;)V
named <init>
Lnet/minecraft/world/gen/carver/Carver;<init>(Lcom/mojang/serialization/Codec;)V
-
-
Method Details
-
shouldCarve
- Specified by:
shouldCarve
in classCarver<RavineCarverConfig>
- Mappings:
Namespace Name Mixin selector official a
Lcoe;a(Lcod;Ljava/util/Random;)Z
intermediary method_33959
Lnet/minecraft/class_5870;method_33959(Lnet/minecraft/class_5869;Ljava/util/Random;)Z
named shouldCarve
Lnet/minecraft/world/gen/carver/RavineCarver;shouldCarve(Lnet/minecraft/world/gen/carver/RavineCarverConfig;Ljava/util/Random;)Z
-
carve
public boolean carve(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Chunk chunk, Function<BlockPos,Biome> function, Random random, int int2, ChunkPos chunkPos, BitSet bitSet)- Specified by:
carve
in classCarver<RavineCarverConfig>
- Mappings:
Namespace Name Mixin selector official a
Lcoe;a(Lcoh;Lcod;Lckh;Ljava/util/function/Function;Ljava/util/Random;ILbtv;Ljava/util/BitSet;)Z
intermediary method_33962
Lnet/minecraft/class_5870;method_33962(Lnet/minecraft/class_5873;Lnet/minecraft/class_5869;Lnet/minecraft/class_2791;Ljava/util/function/Function;Ljava/util/Random;ILnet/minecraft/class_1923;Ljava/util/BitSet;)Z
named carve
Lnet/minecraft/world/gen/carver/RavineCarver;carve(Lnet/minecraft/world/gen/carver/CarverContext;Lnet/minecraft/world/gen/carver/RavineCarverConfig;Lnet/minecraft/world/chunk/Chunk;Ljava/util/function/Function;Ljava/util/Random;ILnet/minecraft/util/math/ChunkPos;Ljava/util/BitSet;)Z
-
carveRavine
private void carveRavine(CarverContext context, RavineCarverConfig config, Chunk chunk, Function<BlockPos,Biome> posToBiome, long seed, int seaLevel, 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
Lcoe;a(Lcoh;Lcod;Lckh;Ljava/util/function/Function;JIDDDFFFIIDLjava/util/BitSet;)V
intermediary method_33961
Lnet/minecraft/class_5870;method_33961(Lnet/minecraft/class_5873;Lnet/minecraft/class_5869;Lnet/minecraft/class_2791;Ljava/util/function/Function;JIDDDFFFIIDLjava/util/BitSet;)V
named carveRavine
Lnet/minecraft/world/gen/carver/RavineCarver;carveRavine(Lnet/minecraft/world/gen/carver/CarverContext;Lnet/minecraft/world/gen/carver/RavineCarverConfig;Lnet/minecraft/world/chunk/Chunk;Ljava/util/function/Function;JIDDDFFFIIDLjava/util/BitSet;)V
-
getY
- Mappings:
Namespace Name Mixin selector official a
Lcoe;a(Lcoh;Lcod;Ljava/util/Random;)I
intermediary method_33963
Lnet/minecraft/class_5870;method_33963(Lnet/minecraft/class_5873;Lnet/minecraft/class_5869;Ljava/util/Random;)I
named getY
Lnet/minecraft/world/gen/carver/RavineCarver;getY(Lnet/minecraft/world/gen/carver/CarverContext;Lnet/minecraft/world/gen/carver/RavineCarverConfig;Ljava/util/Random;)I
-
createHorizontalStretchFactors
private float[] createHorizontalStretchFactors(CarverContext context, RavineCarverConfig config, Random random)- Mappings:
Namespace Name Mixin selector official b
Lcoe;b(Lcoh;Lcod;Ljava/util/Random;)[F
intermediary method_33966
Lnet/minecraft/class_5870;method_33966(Lnet/minecraft/class_5873;Lnet/minecraft/class_5869;Ljava/util/Random;)[F
named createHorizontalStretchFactors
Lnet/minecraft/world/gen/carver/RavineCarver;createHorizontalStretchFactors(Lnet/minecraft/world/gen/carver/CarverContext;Lnet/minecraft/world/gen/carver/RavineCarverConfig;Ljava/util/Random;)[F
-
getVerticalScale
private double getVerticalScale(RavineCarverConfig config, Random random, double pitch, float branchCount, float branchIndex)- Mappings:
Namespace Name Mixin selector official a
Lcoe;a(Lcod;Ljava/util/Random;DFF)D
intermediary method_33960
Lnet/minecraft/class_5870;method_33960(Lnet/minecraft/class_5869;Ljava/util/Random;DFF)D
named getVerticalScale
Lnet/minecraft/world/gen/carver/RavineCarver;getVerticalScale(Lnet/minecraft/world/gen/carver/RavineCarverConfig;Ljava/util/Random;DFF)D
-
isPositionExcluded
private boolean isPositionExcluded(CarverContext context, float[] horizontalStretchFactors, double scaledRelativeX, double scaledRelativeY, double scaledRelativeZ, int y)- Mappings:
Namespace Name Mixin selector official a
Lcoe;a(Lcoh;[FDDDI)Z
intermediary method_33964
Lnet/minecraft/class_5870;method_33964(Lnet/minecraft/class_5873;[FDDDI)Z
named isPositionExcluded
Lnet/minecraft/world/gen/carver/RavineCarver;isPositionExcluded(Lnet/minecraft/world/gen/carver/CarverContext;[FDDDI)Z
-