mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Pullbuild
This commit is contained in:
parent
f0338b5247
commit
101d0212a7
@ -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<>();
|
||||
}
|
||||
|
@ -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<>();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user