mirror of
https://github.com/GTNewHorizons/JustEnoughCalculation.git
synced 2026-11-22 04:52:29 +00:00
feat: calculation logic start
This commit is contained in:
1 parent
477a84804e
commit
37a94075c7
23 files changed
+273
-192
No files matched your search
@@ -105,6 +105,10 @@ public class Recipe {
|
||||
return ret;
|
||||
}
|
||||
|
||||
public boolean matches(ILabel label, enumIoType type) {
|
||||
return Arrays.stream(getLabel(type)).anyMatch(i -> ILabel.MERGER.merge(label, i, true).isPresent());
|
||||
}
|
||||
|
||||
public enum enumIoType {
|
||||
INPUT, OUTPUT, CATALYST;
|
||||
|
||||
|
||||
Reference in new issue
Block a user