public class ConfiguredCarver<WC extends CarverConfig> extends Object
Modifier and Type | Field and Description |
---|---|
private Carver<WC> |
carver |
static com.mojang.serialization.Codec<ConfiguredCarver<?>> |
CODEC |
private WC |
config |
static com.mojang.serialization.Codec<List<Supplier<ConfiguredCarver<?>>>> |
field_26755 |
static com.mojang.serialization.Codec<Supplier<ConfiguredCarver<?>>> |
REGISTRY_CODEC |
Constructor and Description |
---|
ConfiguredCarver(Carver<WC> carver,
WC config) |
Modifier and Type | Method and Description |
---|---|
boolean |
carve(Chunk chunk,
Function<BlockPos,Biome> function,
Random random,
int int2,
int int3,
int int4,
int int5,
int int6,
BitSet bitSet) |
WC |
getConfig() |
boolean |
shouldCarve(Random random,
int chunkX,
int chunkZ) |
public static final com.mojang.serialization.Codec<ConfiguredCarver<?>> CODEC
public static final com.mojang.serialization.Codec<Supplier<ConfiguredCarver<?>>> REGISTRY_CODEC
public static final com.mojang.serialization.Codec<List<Supplier<ConfiguredCarver<?>>>> field_26755
private final Carver<WC extends CarverConfig> carver
private final WC extends CarverConfig config