tutorial:structures
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tutorial:structures [2019/05/26 16:34] – [Creating a Feature] Fix a list jamieswhiteshirt | tutorial:structures [2020/02/22 19:59] – [Registering Features] new DefaultFeatureConfig() -> FeatureConfig.DEFAULT earthcomputer | ||
---|---|---|---|
Line 19: | Line 19: | ||
* shouldStartAt: | * shouldStartAt: | ||
* getName: name of your structure | * getName: name of your structure | ||
- | * method_14021 [getRadius]: radius of your structure, used for placement | + | * getRadius: radius of your structure, used for placement |
- | * method_13774 [getSeed]: a seed to use for generation, put 0 for testing | + | * getSeeedModifier |
You can pass DefaultFeatureConfig:: | You can pass DefaultFeatureConfig:: | ||
Line 174: | Line 174: | ||
for(Biome biome : Registry.BIOME) { | for(Biome biome : Registry.BIOME) { | ||
if(biome.getCategory() != Biome.Category.OCEAN && biome.getCategory() != Biome.Category.RIVER) { | if(biome.getCategory() != Biome.Category.OCEAN && biome.getCategory() != Biome.Category.RIVER) { | ||
- | biome.addStructureFeature(myFeature, | + | biome.addStructureFeature(myFeature, |
- | biome.addFeature(GenerationStep.Feature.SURFACE_STRUCTURES, | + | biome.addFeature(GenerationStep.Feature.SURFACE_STRUCTURES, |
} | } | ||
} | } |
tutorial/structures.txt · Last modified: 2022/11/05 12:06 by jab125