Skip to content

Commit ec75719

Browse files
committed
Allow the hatch types on a hatch flags instance to be accessed
1 parent 4509e73 commit ec75719

File tree

1 file changed

+4
-0
lines changed
  • src/main/java/aztech/modern_industrialization/machines/multiblocks

1 file changed

+4
-0
lines changed

src/main/java/aztech/modern_industrialization/machines/multiblocks/HatchFlags.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ public boolean allows(HatchType type) {
4040
return allowed.contains(type);
4141
}
4242

43+
public Set<HatchType> values() {
44+
return allowed;
45+
}
46+
4347
public static class Builder {
4448
private final Set<HatchType> allowed = new HashSet<>();
4549

0 commit comments

Comments
 (0)