iris:deposit is written under its feature id only; drop the deposits alias

This commit is contained in:
piexel committed 2026-10-09 20:21:14 +02:00
1 parent c895fe117f
commit 04ce02c042
3 files changed
+4 -4

No files matched your search

@@ -29,7 +29,7 @@ import java.util.Collections;
import java.util.List;
/**
* One kind of deposit a dimension, region or biome generates, as packs write it in {@code "deposits": [...]} or under
* One kind of deposit a dimension, region or biome generates, as packs write it in the {@code generators} of {@code "iris:deposit"} or under
* {@code snippet/deposit/}: how many clumps of which blocks, how large, at which heights and in which biomes. A value
* of IrisApi types only; the deposit module builds the clumps and resolves the blocks.
*/
@@ -26,12 +26,12 @@ import com.volmit.config.Feature;
import java.util.List;
/**
* The deposits one dimension, region or biome declares, written as {@code "deposits": [...]}. Levels stack:
* The deposits one dimension, region or biome declares, written as {@code "iris:deposit": {"generators": [...]}}. Levels stack:
* a chunk gets the deposits of its dimension, its centre column's region and that column's biome. IrisApi types only,
* like {@link DepositGenerator}.
*/
@Desc("Ores and other deposits generated in every chunk where this applies")
@Feature(id = "iris:deposit", name = "Deposits", alias = "deposits", targets = {Target.DIMENSION, Target.REGION, Target.BIOME})
@Feature(id = "iris:deposit", name = "Deposits", targets = {Target.DIMENSION, Target.REGION, Target.BIOME})
public final class DepositSettings implements IrisFeature {
@Desc("Define deposit generators that this applies to chunks")
private List<DepositGenerator> generators = List.of();