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 cnd
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 Lcnd;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 Lcnd;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;
    • field_26755

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

      private final Carver<WC extends CarverConfig> carver
      Mappings:
      Namespace Name Mixin selector
      official d Lcnd;d:Lcni;
      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 Lcnd;e:Lcnb;
      intermediary field_13278 Lnet/minecraft/class_2922;field_13278:Lnet/minecraft/class_2920;
      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> Lcnd;<init>(Lcni;Lcnb;)V
      intermediary <init> Lnet/minecraft/class_2922;<init>(Lnet/minecraft/class_2939;Lnet/minecraft/class_2920;)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 Lcnd;a()Lcnb;
      intermediary method_30378 Lnet/minecraft/class_2922;method_30378()Lnet/minecraft/class_2920;
      named getConfig Lnet/minecraft/world/gen/carver/ConfiguredCarver;getConfig()Lnet/minecraft/world/gen/carver/CarverConfig;
    • shouldCarve

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

      public boolean carve​(Chunk chunk, Function<BlockPos,​Biome> posToBiome, Random random, int seaLevel, int chunkX, int chunkZ, int mainChunkX, int mainChunkZ, BitSet carvingMask)
      Mappings:
      Namespace Name Mixin selector
      official a Lcnd;a(Lcjl;Ljava/util/function/Function;Ljava/util/Random;IIIIILjava/util/BitSet;)Z
      intermediary method_12668 Lnet/minecraft/class_2922;method_12668(Lnet/minecraft/class_2791;Ljava/util/function/Function;Ljava/util/Random;IIIIILjava/util/BitSet;)Z
      named carve Lnet/minecraft/world/gen/carver/ConfiguredCarver;carve(Lnet/minecraft/world/chunk/Chunk;Ljava/util/function/Function;Ljava/util/Random;IIIIILjava/util/BitSet;)Z