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 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

      public RavineCarver​(com.mojang.serialization.Codec<ProbabilityConfig> configCodec)
      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

      public boolean shouldCarve​(Random random, int int2, int int3, ProbabilityConfig probabilityConfig)
      Specified by:
      shouldCarve in class Carver<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 class Carver<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 class Carver<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