Support connector targets

This commit is contained in:
Daniel Mills 2021-01-10 04:56:52 -05:00
parent feb246c559
commit f70046bc73

View File

@ -18,9 +18,15 @@ public class IrisJigsawPieceConnector
{ {
@Required @Required
@DontObfuscate @DontObfuscate
@Desc("The name of this connector, such as entry, or table node. This is a name for organization, it has no effect on generation.") @Desc("The name of this connector, such as entry, or table node. This is a name for organization. Other connectors can specifically use targetName to target a specific connector type. Multiple connectors can use the same name.")
private String name = ""; private String name = "";
@Required
@DontObfuscate
@Desc("Target a piece's connector with the specified name. For any piece's connector, define * or don't define it.")
private String targetName = "*";
@DontObfuscate @DontObfuscate
@Desc("Rotates the placed piece on this connector. If rotation is enabled, this connector will effectivley rotate, if this connector is facing the Z direction, then the connected piece would rotate in the X,Y direction in 90 degree segments.") @Desc("Rotates the placed piece on this connector. If rotation is enabled, this connector will effectivley rotate, if this connector is facing the Z direction, then the connected piece would rotate in the X,Y direction in 90 degree segments.")
private boolean rotateConnector = false; private boolean rotateConnector = false;