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 cobintermediary net/minecraft/class_5870named 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 Modifier and Type Field Description private static Loggerfield_29052Fields 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 booleancarve(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Chunk chunk, Function<BlockPos,Biome> function, Random random, int int2, ChunkPos chunkPos, BitSet bitSet)private voidcarveRavine(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Chunk chunk, Function<BlockPos,Biome> function, long long2, int int2, double double2, double double3, double double4, float float2, float float3, float float4, int int3, int int4, double double5, BitSet bitSet)private float[]createHorizontalStretchFactors(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Random random)private doublemethod_33960(RavineCarverConfig ravineCarverConfig, Random random, double double2, float float2, float float3)private intmethod_33963(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Random random)private booleanmethod_33964(CarverContext carverContext, float[] float2, double double2, double double3, double double4, int int2)booleanshouldCarve(RavineCarverConfig ravineCarverConfig, Random random)Methods inherited from class net.minecraft.world.gen.carver.Carver
canAlwaysCarveBlock, canCarveBlock, carveAtPoint, carveRegion, configure, getBranchFactor, getCodec, isRegionUncarvable, method_33976
-
Field Details
-
field_29052
- Mappings:
Namespace Name Mixin selector official jLcob;j:Lorg/apache/logging/log4j/Logger;intermediary field_29052Lnet/minecraft/class_5870;field_29052:Lorg/apache/logging/log4j/Logger;named field_29052Lnet/minecraft/world/gen/carver/RavineCarver;field_29052:Lorg/apache/logging/log4j/Logger;
-
-
Constructor Details
-
RavineCarver
- Mappings:
Namespace Name Mixin selector official <init>Lcoi;<init>(Lcom/mojang/serialization/Codec;)Vintermediary <init>Lnet/minecraft/class_2939;<init>(Lcom/mojang/serialization/Codec;)Vnamed <init>Lnet/minecraft/world/gen/carver/Carver;<init>(Lcom/mojang/serialization/Codec;)V
-
-
Method Details
-
shouldCarve
- Specified by:
shouldCarvein classCarver<RavineCarverConfig>- Mappings:
Namespace Name Mixin selector official aLcob;a(Lcoa;Ljava/util/Random;)Zintermediary method_33959Lnet/minecraft/class_5870;method_33959(Lnet/minecraft/class_5869;Ljava/util/Random;)Znamed shouldCarveLnet/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:
carvein classCarver<RavineCarverConfig>- Mappings:
Namespace Name Mixin selector official aLcob;a(Lcoe;Lcoa;Lckf;Ljava/util/function/Function;Ljava/util/Random;ILbtt;Ljava/util/BitSet;)Zintermediary method_33962Lnet/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;)Znamed carveLnet/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 carverContext, RavineCarverConfig ravineCarverConfig, Chunk chunk, Function<BlockPos,Biome> function, long long2, int int2, double double2, double double3, double double4, float float2, float float3, float float4, int int3, int int4, double double5, BitSet bitSet)- Mappings:
Namespace Name Mixin selector official aLcob;a(Lcoe;Lcoa;Lckf;Ljava/util/function/Function;JIDDDFFFIIDLjava/util/BitSet;)Vintermediary method_33961Lnet/minecraft/class_5870;method_33961(Lnet/minecraft/class_5873;Lnet/minecraft/class_5869;Lnet/minecraft/class_2791;Ljava/util/function/Function;JIDDDFFFIIDLjava/util/BitSet;)Vnamed carveRavineLnet/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
-
method_33963
private int method_33963(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Random random)- Mappings:
Namespace Name Mixin selector official aLcob;a(Lcoe;Lcoa;Ljava/util/Random;)Iintermediary method_33963Lnet/minecraft/class_5870;method_33963(Lnet/minecraft/class_5873;Lnet/minecraft/class_5869;Ljava/util/Random;)Inamed method_33963Lnet/minecraft/world/gen/carver/RavineCarver;method_33963(Lnet/minecraft/world/gen/carver/CarverContext;Lnet/minecraft/world/gen/carver/RavineCarverConfig;Ljava/util/Random;)I
-
createHorizontalStretchFactors
private float[] createHorizontalStretchFactors(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Random random)- Mappings:
Namespace Name Mixin selector official bLcob;b(Lcoe;Lcoa;Ljava/util/Random;)[Fintermediary method_33966Lnet/minecraft/class_5870;method_33966(Lnet/minecraft/class_5873;Lnet/minecraft/class_5869;Ljava/util/Random;)[Fnamed createHorizontalStretchFactorsLnet/minecraft/world/gen/carver/RavineCarver;createHorizontalStretchFactors(Lnet/minecraft/world/gen/carver/CarverContext;Lnet/minecraft/world/gen/carver/RavineCarverConfig;Ljava/util/Random;)[F
-
method_33960
private double method_33960(RavineCarverConfig ravineCarverConfig, Random random, double double2, float float2, float float3)- Mappings:
Namespace Name Mixin selector official aLcob;a(Lcoa;Ljava/util/Random;DFF)Dintermediary method_33960Lnet/minecraft/class_5870;method_33960(Lnet/minecraft/class_5869;Ljava/util/Random;DFF)Dnamed method_33960Lnet/minecraft/world/gen/carver/RavineCarver;method_33960(Lnet/minecraft/world/gen/carver/RavineCarverConfig;Ljava/util/Random;DFF)D
-
method_33964
private boolean method_33964(CarverContext carverContext, float[] float2, double double2, double double3, double double4, int int2)- Mappings:
Namespace Name Mixin selector official aLcob;a(Lcoe;[FDDDI)Zintermediary method_33964Lnet/minecraft/class_5870;method_33964(Lnet/minecraft/class_5873;[FDDDI)Znamed method_33964Lnet/minecraft/world/gen/carver/RavineCarver;method_33964(Lnet/minecraft/world/gen/carver/CarverContext;[FDDDI)Z
-