9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-29 20:19:06 +00:00

Connect up jigsaw pools with pieces

This commit is contained in:
Daniel Mills
2020-12-27 02:01:35 -05:00
parent 6f028eae6e
commit 6f29da1926
3 changed files with 47 additions and 8 deletions

View File

@@ -1,8 +1,6 @@
package com.volmit.iris.object;
import com.volmit.iris.util.Desc;
import com.volmit.iris.util.DontObfuscate;
import com.volmit.iris.util.Required;
import com.volmit.iris.util.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
@@ -31,6 +29,12 @@ public class IrisStructurePieceConnector
@Desc("If set to true, this connector is allowed to place pieces inside of it's own piece. For example if you are adding a light post, or house on top of a path piece, you would set this to true to allow the piece to collide with the path bounding box.")
private boolean innerConnector = false;
@RegistryListStructurePool
@Desc("Pick piece pools to place onto this connector")
@ArrayType(type = String.class, min = 1)
@Required
private KList<String> pools = new KList<>();
@DontObfuscate
@Desc("The relative position this connector is located at for connecting to other pieces")
@Required