Class VillageConfig
- java.lang.Object
-
- net.minecraft.world.gen.feature.structure.VillageConfig
-
- All Implemented Interfaces:
IFeatureConfig
public class VillageConfig extends java.lang.Object implements IFeatureConfig
-
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<VillageConfig>
CODEC
private int
maxDepth
private java.util.function.Supplier<JigsawPattern>
startPool
-
Fields inherited from interface net.minecraft.world.gen.feature.IFeatureConfig
NONE
-
-
Constructor Summary
Constructors Constructor Description VillageConfig(java.util.function.Supplier<JigsawPattern> p_i241987_1_, int p_i241987_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
maxDepth()
java.util.function.Supplier<JigsawPattern>
startPool()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.world.gen.feature.IFeatureConfig
getFeatures
-
-
-
-
Field Detail
-
CODEC
public static final com.mojang.serialization.Codec<VillageConfig> CODEC
-
startPool
private final java.util.function.Supplier<JigsawPattern> startPool
-
maxDepth
private final int maxDepth
-
-
Constructor Detail
-
VillageConfig
public VillageConfig(java.util.function.Supplier<JigsawPattern> p_i241987_1_, int p_i241987_2_)
-
-
Method Detail
-
maxDepth
public int maxDepth()
-
startPool
public java.util.function.Supplier<JigsawPattern> startPool()
-
-