public class BastionRemnantFeatureConfig extends Object implements FeatureConfig
Modifier and Type | Field and Description |
---|---|
private List<StructurePoolFeatureConfig> |
possibleConfigs |
DEFAULT
Constructor and Description |
---|
BastionRemnantFeatureConfig(Map<String,Integer> startPoolToSize) |
Modifier and Type | Method and Description |
---|---|
static <T> BastionRemnantFeatureConfig |
deserialize(com.mojang.datafixers.Dynamic<T> dynamic) |
StructurePoolFeatureConfig |
getRandom(Random random) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
private final List<StructurePoolFeatureConfig> possibleConfigs
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize
in interface FeatureConfig
public static <T> BastionRemnantFeatureConfig deserialize(com.mojang.datafixers.Dynamic<T> dynamic)
public StructurePoolFeatureConfig getRandom(Random random)