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
named net/minecraft/world/gen/carver/RavineCarver
intermediary net/minecraft/class_5870
official dzs
  • Constructor Details

    • RavineCarver

      public RavineCarver(com.mojang.serialization.Codec<RavineCarverConfig> configCodec)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/gen/carver/Carver;<init>(Lcom/mojang/serialization/Codec;)V
      intermediary <init> Lnet/minecraft/class_2939;<init>(Lcom/mojang/serialization/Codec;)V
      official <init> Leaa;<init>(Lcom/mojang/serialization/Codec;)V
  • Method Details

    • shouldCarve

      public boolean shouldCarve(RavineCarverConfig ravineCarverConfig, Random random)
      Specified by:
      shouldCarve in class Carver<RavineCarverConfig>
      Mappings:
      Namespace Name Mixin selector
      named shouldCarve Lnet/minecraft/world/gen/carver/RavineCarver;shouldCarve(Lnet/minecraft/world/gen/carver/RavineCarverConfig;Lnet/minecraft/util/math/random/Random;)Z
      intermediary method_33959 Lnet/minecraft/class_5870;method_33959(Lnet/minecraft/class_5869;Lnet/minecraft/class_5819;)Z
      official a Ldzs;a(Ldzr;Lazh;)Z
    • carve

      public boolean carve(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Chunk chunk, Function<BlockPos,RegistryEntry<Biome>> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, CarvingMask carvingMask)
      Specified by:
      carve in class Carver<RavineCarverConfig>
      Mappings:
      Namespace Name Mixin selector
      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;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/gen/chunk/AquiferSampler;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/world/gen/carver/CarvingMask;)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;Lnet/minecraft/class_5819;Lnet/minecraft/class_6350;Lnet/minecraft/class_1923;Lnet/minecraft/class_6643;)Z
      official a Ldzs;a(Ldzv;Ldzr;Ldtz;Ljava/util/function/Function;Lazh;Ldxh;Ldbg;Ldty;)Z
    • carveRavine

      private void carveRavine(CarverContext context, RavineCarverConfig config, Chunk chunk, Function<BlockPos,RegistryEntry<Biome>> posToBiome, long seed, AquiferSampler aquiferSampler, double x, double y, double z, float width, float yaw, float pitch, int branchStartIndex, int branchCount, double yawPitchRatio, CarvingMask mask)
      Mappings:
      Namespace Name Mixin selector
      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;JLnet/minecraft/world/gen/chunk/AquiferSampler;DDDFFFIIDLnet/minecraft/world/gen/carver/CarvingMask;)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;JLnet/minecraft/class_6350;DDDFFFIIDLnet/minecraft/class_6643;)V
      official a Ldzs;a(Ldzv;Ldzr;Ldtz;Ljava/util/function/Function;JLdxh;DDDFFFIIDLdty;)V
    • createHorizontalStretchFactors

      private float[] createHorizontalStretchFactors(CarverContext context, RavineCarverConfig config, Random random)
      Mappings:
      Namespace Name Mixin selector
      named createHorizontalStretchFactors Lnet/minecraft/world/gen/carver/RavineCarver;createHorizontalStretchFactors(Lnet/minecraft/world/gen/carver/CarverContext;Lnet/minecraft/world/gen/carver/RavineCarverConfig;Lnet/minecraft/util/math/random/Random;)[F
      intermediary method_33966 Lnet/minecraft/class_5870;method_33966(Lnet/minecraft/class_5873;Lnet/minecraft/class_5869;Lnet/minecraft/class_5819;)[F
      official a Ldzs;a(Ldzv;Ldzr;Lazh;)[F
    • getVerticalScale

      private double getVerticalScale(RavineCarverConfig config, Random random, double pitch, float branchCount, float branchIndex)
      Mappings:
      Namespace Name Mixin selector
      named getVerticalScale Lnet/minecraft/world/gen/carver/RavineCarver;getVerticalScale(Lnet/minecraft/world/gen/carver/RavineCarverConfig;Lnet/minecraft/util/math/random/Random;DFF)D
      intermediary method_33960 Lnet/minecraft/class_5870;method_33960(Lnet/minecraft/class_5869;Lnet/minecraft/class_5819;DFF)D
      official a Ldzs;a(Ldzr;Lazh;DFF)D
    • isPositionExcluded

      private boolean isPositionExcluded(CarverContext context, float[] horizontalStretchFactors, double scaledRelativeX, double scaledRelativeY, double scaledRelativeZ, int y)
      Mappings:
      Namespace Name Mixin selector
      named isPositionExcluded Lnet/minecraft/world/gen/carver/RavineCarver;isPositionExcluded(Lnet/minecraft/world/gen/carver/CarverContext;[FDDDI)Z
      intermediary method_33964 Lnet/minecraft/class_5870;method_33964(Lnet/minecraft/class_5873;[FDDDI)Z
      official a Ldzs;a(Ldzv;[FDDDI)Z