mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-27 00:04:42 +00:00
Put @MinItems(1) back on the deposit generator's palette and biome lists
This commit is contained in:
1 parent
04ce02c042
commit
c1f23830a2
1 file changed
+5
@@ -21,6 +21,7 @@ package art.arcane.iris.builtin.deposit;
|
||||
import com.volmit.block.BlockSpec;
|
||||
import com.volmit.config.Desc;
|
||||
import com.volmit.config.MaxNumber;
|
||||
import com.volmit.config.MinItems;
|
||||
import com.volmit.config.MinNumber;
|
||||
import com.volmit.config.Required;
|
||||
import com.volmit.config.Snippet;
|
||||
@@ -104,6 +105,7 @@ public final class DepositGenerator {
|
||||
private double discardChanceOnAirExposure = 0;
|
||||
|
||||
@Required
|
||||
@MinItems(1)
|
||||
@Desc("The palette of blocks to be used in this deposit generator. Each entry is picked uniformly; the per-entry weight field is ignored here.")
|
||||
private List<BlockSpec> palette = List.of();
|
||||
|
||||
@@ -112,15 +114,18 @@ public final class DepositGenerator {
|
||||
@Desc("Ore varience is how many different objects clumps iris will create")
|
||||
private int varience = 3;
|
||||
|
||||
@MinItems(1)
|
||||
@Desc("Optional block ids this deposit may replace. An empty list retains Iris's any-solid behavior.")
|
||||
private List<String> replaceableBlocks = List.of();
|
||||
|
||||
@Desc("Chooses whether includedBiomes and excludedBiomes inspect the surface biome or the cave biome at the deposit origin.")
|
||||
private DepositBiomeScope biomeScope = DepositBiomeScope.CAVE;
|
||||
|
||||
@MinItems(1)
|
||||
@Desc("Optional Iris biome keys or vanilla derivative ids allowed for this deposit.")
|
||||
private List<String> includedBiomes = List.of();
|
||||
|
||||
@MinItems(1)
|
||||
@Desc("Optional Iris biome keys or vanilla derivative ids denied for this deposit.")
|
||||
private List<String> excludedBiomes = List.of();
|
||||
|
||||
|
||||
Reference in new issue
Block a user