Class ConfiguredCarver<WC extends CarverConfig>

java.lang.Object
net.minecraft.world.gen.carver.ConfiguredCarver<WC>

public class ConfiguredCarver<WC extends CarverConfig> extends Object
Mappings:
Namespace Name
official cve
intermediary net/minecraft/class_2922
named net/minecraft/world/gen/carver/ConfiguredCarver
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<ConfiguredCarver<?>> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lcve;a:Lcom/mojang/serialization/Codec;
      intermediary field_25832 Lnet/minecraft/class_2922;field_25832:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/carver/ConfiguredCarver;CODEC:Lcom/mojang/serialization/Codec;
    • REGISTRY_CODEC

      public static final com.mojang.serialization.Codec<Supplier<ConfiguredCarver<?>>> REGISTRY_CODEC
      Mappings:
      Namespace Name Mixin selector
      official b Lcve;b:Lcom/mojang/serialization/Codec;
      intermediary field_24828 Lnet/minecraft/class_2922;field_24828:Lcom/mojang/serialization/Codec;
      named REGISTRY_CODEC Lnet/minecraft/world/gen/carver/ConfiguredCarver;REGISTRY_CODEC:Lcom/mojang/serialization/Codec;
    • LIST_CODEC

      public static final com.mojang.serialization.Codec<List<Supplier<ConfiguredCarver<?>>>> LIST_CODEC
      Mappings:
      Namespace Name Mixin selector
      official c Lcve;c:Lcom/mojang/serialization/Codec;
      intermediary field_26755 Lnet/minecraft/class_2922;field_26755:Lcom/mojang/serialization/Codec;
      named LIST_CODEC Lnet/minecraft/world/gen/carver/ConfiguredCarver;LIST_CODEC:Lcom/mojang/serialization/Codec;
    • carver

      private final Carver<WC extends CarverConfig> carver
      Mappings:
      Namespace Name Mixin selector
      official d Lcve;d:Lcvg;
      intermediary field_13279 Lnet/minecraft/class_2922;field_13279:Lnet/minecraft/class_2939;
      named carver Lnet/minecraft/world/gen/carver/ConfiguredCarver;carver:Lnet/minecraft/world/gen/carver/Carver;
    • config

      private final WC extends CarverConfig config
      Mappings:
      Namespace Name Mixin selector
      official e Lcve;e:Lcuz;
      intermediary field_13278 Lnet/minecraft/class_2922;field_13278:Lnet/minecraft/class_5871;
      named config Lnet/minecraft/world/gen/carver/ConfiguredCarver;config:Lnet/minecraft/world/gen/carver/CarverConfig;
  • Constructor Details

    • ConfiguredCarver

      public ConfiguredCarver(Carver<WC> carver, WC config)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcve;<init>(Lcvg;Lcuz;)V
      intermediary <init> Lnet/minecraft/class_2922;<init>(Lnet/minecraft/class_2939;Lnet/minecraft/class_5871;)V
      named <init> Lnet/minecraft/world/gen/carver/ConfiguredCarver;<init>(Lnet/minecraft/world/gen/carver/Carver;Lnet/minecraft/world/gen/carver/CarverConfig;)V
  • Method Details

    • getConfig

      public WC getConfig()
      Mappings:
      Namespace Name Mixin selector
      official a Lcve;a()Lcuz;
      intermediary method_30378 Lnet/minecraft/class_2922;method_30378()Lnet/minecraft/class_5871;
      named getConfig Lnet/minecraft/world/gen/carver/ConfiguredCarver;getConfig()Lnet/minecraft/world/gen/carver/CarverConfig;
    • shouldCarve

      public boolean shouldCarve(Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lcve;a(Ljava/util/Random;)Z
      intermediary method_12669 Lnet/minecraft/class_2922;method_12669(Ljava/util/Random;)Z
      named shouldCarve Lnet/minecraft/world/gen/carver/ConfiguredCarver;shouldCarve(Ljava/util/Random;)Z
    • carve

      public boolean carve(CarverContext context, Chunk chunk, Function<BlockPos,Biome> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, CarvingMask mask)
      Mappings:
      Namespace Name Mixin selector
      official a Lcve;a(Lcvb;Lcpy;Ljava/util/function/Function;Ljava/util/Random;Lcsq;Lbzk;Lcpx;)Z
      intermediary method_12668 Lnet/minecraft/class_2922;method_12668(Lnet/minecraft/class_5873;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/ConfiguredCarver;carve(Lnet/minecraft/world/gen/carver/CarverContext;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