Package net.minecraft.world.gen.carver
Class ConfiguredCarver<WC extends ICarverConfig>
- java.lang.Object
-
- net.minecraft.world.gen.carver.ConfiguredCarver<WC>
-
public class ConfiguredCarver<WC extends ICarverConfig> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<java.util.function.Supplier<ConfiguredCarver<?>>>
CODEC
private WC
config
static com.mojang.serialization.Codec<ConfiguredCarver<?>>
DIRECT_CODEC
static com.mojang.serialization.Codec<java.util.List<java.util.function.Supplier<ConfiguredCarver<?>>>>
LIST_CODEC
private WorldCarver<WC>
worldCarver
-
Constructor Summary
Constructors Constructor Description ConfiguredCarver(WorldCarver<WC> p_i49928_1_, WC p_i49928_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
carve(IChunk p_227207_1_, java.util.function.Function<BlockPos,Biome> p_227207_2_, java.util.Random p_227207_3_, int p_227207_4_, int p_227207_5_, int p_227207_6_, int p_227207_7_, int p_227207_8_, java.util.BitSet p_227207_9_)
WC
config()
boolean
isStartChunk(java.util.Random p_222730_1_, int p_222730_2_, int p_222730_3_)
-
-
-
Field Detail
-
DIRECT_CODEC
public static final com.mojang.serialization.Codec<ConfiguredCarver<?>> DIRECT_CODEC
-
CODEC
public static final com.mojang.serialization.Codec<java.util.function.Supplier<ConfiguredCarver<?>>> CODEC
-
LIST_CODEC
public static final com.mojang.serialization.Codec<java.util.List<java.util.function.Supplier<ConfiguredCarver<?>>>> LIST_CODEC
-
worldCarver
private final WorldCarver<WC extends ICarverConfig> worldCarver
-
config
private final WC extends ICarverConfig config
-
-
Constructor Detail
-
ConfiguredCarver
public ConfiguredCarver(WorldCarver<WC> p_i49928_1_, WC p_i49928_2_)
-
-
Method Detail
-
config
public WC config()
-
isStartChunk
public boolean isStartChunk(java.util.Random p_222730_1_, int p_222730_2_, int p_222730_3_)
-
-