public class VillageConfig extends java.lang.Object implements IFeatureConfig
Modifier and Type | Field and Description |
---|---|
int |
size |
ResourceLocation |
startPool |
NO_FEATURE_CONFIG
Constructor and Description |
---|
VillageConfig(java.lang.String startPool,
int size) |
Modifier and Type | Method and Description |
---|---|
static <T> VillageConfig |
deserialize(com.mojang.datafixers.Dynamic<T> data) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
public final ResourceLocation startPool
public final int size
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize
in interface IFeatureConfig
public static <T> VillageConfig deserialize(com.mojang.datafixers.Dynamic<T> data)