Class CaveCarver

java.lang.Object
net.minecraft.world.gen.carver.Carver<CaveCarverConfig>
net.minecraft.world.gen.carver.CaveCarver
Direct Known Subclasses:
NetherCaveCarver

public class CaveCarver extends Carver<CaveCarverConfig>
Mappings:
Namespace Name
official cvd
intermediary net/minecraft/class_2925
named net/minecraft/world/gen/carver/CaveCarver
  • Constructor Details

    • CaveCarver

      public CaveCarver(com.mojang.serialization.Codec<CaveCarverConfig> configCodec)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcvg;<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

      public boolean shouldCarve(CaveCarverConfig caveCarverConfig, Random random)
      Specified by:
      shouldCarve in class Carver<CaveCarverConfig>
      Mappings:
      Namespace Name Mixin selector
      official a Lcvd;a(Lcvc;Ljava/util/Random;)Z
      intermediary method_35358 Lnet/minecraft/class_2925;method_35358(Lnet/minecraft/class_6108;Ljava/util/Random;)Z
      named shouldCarve Lnet/minecraft/world/gen/carver/CaveCarver;shouldCarve(Lnet/minecraft/world/gen/carver/CaveCarverConfig;Ljava/util/Random;)Z
    • carve

      public boolean carve(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos,Biome> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, CarvingMask carvingMask)
      Specified by:
      carve in class Carver<CaveCarverConfig>
      Mappings:
      Namespace Name Mixin selector
      official a Lcvd;a(Lcvb;Lcvc;Lcpy;Ljava/util/function/Function;Ljava/util/Random;Lcsq;Lbzk;Lcpx;)Z
      intermediary method_35357 Lnet/minecraft/class_2925;method_35357(Lnet/minecraft/class_5873;Lnet/minecraft/class_6108;Lnet/minecraft/class_2791;Ljava/util/function/Function;Ljava/util/Random;Lnet/minecraft/class_6350;Lnet/minecraft/class_1923;Lnet/minecraft/class_6643;)Z
      named carve Lnet/minecraft/world/gen/carver/CaveCarver;carve(Lnet/minecraft/world/gen/carver/CarverContext;Lnet/minecraft/world/gen/carver/CaveCarverConfig;Lnet/minecraft/world/chunk/Chunk;Ljava/util/function/Function;Ljava/util/Random;Lnet/minecraft/world/gen/chunk/AquiferSampler;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/world/gen/carver/CarvingMask;)Z
    • getMaxCaveCount

      protected int getMaxCaveCount()
      Mappings:
      Namespace Name Mixin selector
      official a Lcvd;a()I
      intermediary method_16577 Lnet/minecraft/class_2925;method_16577()I
      named getMaxCaveCount Lnet/minecraft/world/gen/carver/CaveCarver;getMaxCaveCount()I
    • getTunnelSystemWidth

      protected float getTunnelSystemWidth(Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lcvd;a(Ljava/util/Random;)F
      intermediary method_16576 Lnet/minecraft/class_2925;method_16576(Ljava/util/Random;)F
      named getTunnelSystemWidth Lnet/minecraft/world/gen/carver/CaveCarver;getTunnelSystemWidth(Ljava/util/Random;)F
    • getTunnelSystemHeightWidthRatio

      protected double getTunnelSystemHeightWidthRatio()
      Mappings:
      Namespace Name Mixin selector
      official b Lcvd;b()D
      intermediary method_16578 Lnet/minecraft/class_2925;method_16578()D
      named getTunnelSystemHeightWidthRatio Lnet/minecraft/world/gen/carver/CaveCarver;getTunnelSystemHeightWidthRatio()D
    • carveCave

      protected void carveCave(CarverContext context, CaveCarverConfig config, Chunk chunk, Function<BlockPos,Biome> posToBiome, AquiferSampler aquiferSampler, double double2, double double3, double double4, float float2, double double5, CarvingMask mask, Carver.SkipPredicate skipPredicate)
      Mappings:
      Namespace Name Mixin selector
      official a Lcvd;a(Lcvb;Lcvc;Lcpy;Ljava/util/function/Function;Lcsq;DDDFDLcpx;Lcvg$a;)V
      intermediary method_12674 Lnet/minecraft/class_2925;method_12674(Lnet/minecraft/class_5873;Lnet/minecraft/class_6108;Lnet/minecraft/class_2791;Ljava/util/function/Function;Lnet/minecraft/class_6350;DDDFDLnet/minecraft/class_6643;Lnet/minecraft/class_2939$class_5874;)V
      named carveCave Lnet/minecraft/world/gen/carver/CaveCarver;carveCave(Lnet/minecraft/world/gen/carver/CarverContext;Lnet/minecraft/world/gen/carver/CaveCarverConfig;Lnet/minecraft/world/chunk/Chunk;Ljava/util/function/Function;Lnet/minecraft/world/gen/chunk/AquiferSampler;DDDFDLnet/minecraft/world/gen/carver/CarvingMask;Lnet/minecraft/world/gen/carver/Carver$SkipPredicate;)V
    • carveTunnels

      protected void carveTunnels(CarverContext context, CaveCarverConfig config, Chunk chunk, Function<BlockPos,Biome> posToBiome, long seed, AquiferSampler aquiferSampler, double x, double y, double z, double horizontalScale, double verticalScale, float width, float yaw, float pitch, int branchStartIndex, int branchCount, double yawPitchRatio, CarvingMask mask, Carver.SkipPredicate skipPredicate)
      Mappings:
      Namespace Name Mixin selector
      official a Lcvd;a(Lcvb;Lcvc;Lcpy;Ljava/util/function/Function;JLcsq;DDDDDFFFIIDLcpx;Lcvg$a;)V
      intermediary method_12675 Lnet/minecraft/class_2925;method_12675(Lnet/minecraft/class_5873;Lnet/minecraft/class_6108;Lnet/minecraft/class_2791;Ljava/util/function/Function;JLnet/minecraft/class_6350;DDDDDFFFIIDLnet/minecraft/class_6643;Lnet/minecraft/class_2939$class_5874;)V
      named carveTunnels Lnet/minecraft/world/gen/carver/CaveCarver;carveTunnels(Lnet/minecraft/world/gen/carver/CarverContext;Lnet/minecraft/world/gen/carver/CaveCarverConfig;Lnet/minecraft/world/chunk/Chunk;Ljava/util/function/Function;JLnet/minecraft/world/gen/chunk/AquiferSampler;DDDDDFFFIIDLnet/minecraft/world/gen/carver/CarvingMask;Lnet/minecraft/world/gen/carver/Carver$SkipPredicate;)V
    • isPositionExcluded

      private static boolean isPositionExcluded(double scaledRelativeX, double scaledRelativeY, double scaledRelativeZ, double floorY)
      Mappings:
      Namespace Name Mixin selector
      official a Lcvd;a(DDDD)Z
      intermediary method_33974 Lnet/minecraft/class_2925;method_33974(DDDD)Z
      named isPositionExcluded Lnet/minecraft/world/gen/carver/CaveCarver;isPositionExcluded(DDDD)Z