mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-03 08:25:31 +00:00
document pipeline stages
This commit is contained in:
parent
4cdcdc0fee
commit
c5bd7e7646
@ -14,15 +14,28 @@ import java.util.Map;
|
|||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
@AutoDocAlias("BorderListMutator")
|
@AutoDocAlias("BorderListMutator")
|
||||||
public class BorderListMutatorTemplate extends MutatorStageTemplate {
|
public class BorderListMutatorTemplate extends MutatorStageTemplate {
|
||||||
|
/**
|
||||||
|
* Tag of the biome on the external side of the border.
|
||||||
|
*/
|
||||||
@Value("from")
|
@Value("from")
|
||||||
private String from;
|
private String from;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Tag of biomes to replace when bordering biomes with
|
||||||
|
* tag "from".
|
||||||
|
*/
|
||||||
@Value("default-replace")
|
@Value("default-replace")
|
||||||
private String defaultReplace;
|
private String defaultReplace;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Default replacement biomes.
|
||||||
|
*/
|
||||||
@Value("default-to")
|
@Value("default-to")
|
||||||
private ProbabilityCollection<BiomeBuilder> defaultTo;
|
private ProbabilityCollection<BiomeBuilder> defaultTo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Map of single biomes to their replacements.
|
||||||
|
*/
|
||||||
@Value("replace")
|
@Value("replace")
|
||||||
private Map<BiomeBuilder, ProbabilityCollection<BiomeBuilder>> replace;
|
private Map<BiomeBuilder, ProbabilityCollection<BiomeBuilder>> replace;
|
||||||
|
|
||||||
|
@ -10,12 +10,23 @@ import com.dfsek.terra.config.builder.BiomeBuilder;
|
|||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
@AutoDocAlias("BorderMutator")
|
@AutoDocAlias("BorderMutator")
|
||||||
public class BorderMutatorTemplate extends MutatorStageTemplate {
|
public class BorderMutatorTemplate extends MutatorStageTemplate {
|
||||||
|
/**
|
||||||
|
* Tag of the biome on the external side of the border.
|
||||||
|
*/
|
||||||
@Value("from")
|
@Value("from")
|
||||||
private String from;
|
private String from;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Tag of biomes to replace when bordering biomes
|
||||||
|
* with tag "from"
|
||||||
|
*/
|
||||||
@Value("replace")
|
@Value("replace")
|
||||||
private String replace;
|
private String replace;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Collection of biomes to place at borders
|
||||||
|
* of "from" and "to"
|
||||||
|
*/
|
||||||
@Value("to")
|
@Value("to")
|
||||||
private ProbabilityCollection<BiomeBuilder> to;
|
private ProbabilityCollection<BiomeBuilder> to;
|
||||||
|
|
||||||
|
@ -14,6 +14,9 @@ import java.util.Map;
|
|||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
@AutoDocAlias("ReplaceListMutator")
|
@AutoDocAlias("ReplaceListMutator")
|
||||||
public class ReplaceListMutatorTemplate extends MutatorStageTemplate {
|
public class ReplaceListMutatorTemplate extends MutatorStageTemplate {
|
||||||
|
/**
|
||||||
|
* Default tag to replace from
|
||||||
|
*/
|
||||||
@Value("default-from")
|
@Value("default-from")
|
||||||
private String defaultFrom;
|
private String defaultFrom;
|
||||||
|
|
||||||
|
@ -10,9 +10,15 @@ import com.dfsek.terra.config.builder.BiomeBuilder;
|
|||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
@AutoDocAlias("ReplaceMutator")
|
@AutoDocAlias("ReplaceMutator")
|
||||||
public class ReplaceMutatorTemplate extends MutatorStageTemplate {
|
public class ReplaceMutatorTemplate extends MutatorStageTemplate {
|
||||||
|
/**
|
||||||
|
* Tag of biomes to replace.
|
||||||
|
*/
|
||||||
@Value("from")
|
@Value("from")
|
||||||
private String from;
|
private String from;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Biomes to replace with.
|
||||||
|
*/
|
||||||
@Value("to")
|
@Value("to")
|
||||||
private ProbabilityCollection<BiomeBuilder> to;
|
private ProbabilityCollection<BiomeBuilder> to;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user