Merge pull request #687 from CocoTheOwner/resourceTypeForVscode

Show entity spawners in autocomplete
This commit is contained in:
Dan 2021-11-11 17:52:00 -05:00 committed by GitHub
commit 0936015d84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,6 +97,7 @@ public class IrisRegion extends IrisRegistrant implements IRare {
@MaxNumber(1) @MaxNumber(1)
@Desc("The shore ration (How much percent of land should be a shore)") @Desc("The shore ration (How much percent of land should be a shore)")
private double shoreRatio = 0.13; private double shoreRatio = 0.13;
@RegistryListResource(IrisSpawner.class)
@ArrayType(min = 1, type = IrisObjectPlacement.class) @ArrayType(min = 1, type = IrisObjectPlacement.class)
@Desc("Objects define what schematics (iob files) iris will place in this region") @Desc("Objects define what schematics (iob files) iris will place in this region")
private KList<IrisObjectPlacement> objects = new KList<>(); private KList<IrisObjectPlacement> objects = new KList<>();