Pullbuild

This commit is contained in:
Daniel Mills 2021-07-22 19:43:30 -04:00
parent f0338b5247
commit 101d0212a7
2 changed files with 4 additions and 9 deletions

View File

@ -102,17 +102,14 @@ public class IrisMod extends IrisRegistrant {
private KList<IrisModObjectPlacementRegionInjector> regionObjectPlacementInjectors = new KList<>();
@ArrayType(min = 1, type = IrisModRegionReplacer.class)
@Required
@Desc("Replace biomes with other biomes")
private KList<IrisModRegionReplacer> regionReplacers = new KList<>();
@ArrayType(min = 1, type = IrisObjectReplace.class)
@Required
@Desc("Replace blocks with other blocks")
private KList<IrisObjectReplace> blockReplacers = new KList<>();
@ArrayType(min = 1, type = IrisModNoiseStyleReplacer.class)
@Required
@Desc("Replace noise styles with other styles")
private KList<IrisModNoiseStyleReplacer> styleReplacers = new KList<>();
}

View File

@ -18,10 +18,7 @@
package com.volmit.iris.engine.object;
import com.volmit.iris.engine.object.annotations.ArrayType;
import com.volmit.iris.engine.object.annotations.Desc;
import com.volmit.iris.engine.object.annotations.RegistryListBiome;
import com.volmit.iris.engine.object.annotations.Required;
import com.volmit.iris.engine.object.annotations.*;
import com.volmit.iris.util.collection.KList;
import lombok.AllArgsConstructor;
import lombok.Data;
@ -36,11 +33,12 @@ import lombok.experimental.Accessors;
public class IrisModBiomeInjector {
@Required
@Desc("The region to find")
@RegistryListBiome
@RegistryListRegion
private String region = "";
@Required
@Desc("A biome to inject into the region")
@RegistryListBiome
private String replace = "";
@ArrayType(type = String.class, min = 1)
private KList<String> inject = new KList<>();
}