Crate Craftables Panel (#696)

This commit is contained in:
slprime authored and GitHub committed 2025-08-22 11:58:41 +00:00
1 parent 860bc059ca
commit 31fcd6af51
23 files changed
+735 -363

No files matched your search

@@ -104,6 +104,16 @@ public class ItemStackAmount {
return this.itemMap.isEmpty();
}
@Override
public boolean equals(Object obj) {
if (obj instanceof ItemStackAmount items) {
return this.itemMap.equals(items.itemMap);
}
return false;
}
public static ItemStackAmount of(ItemStackAmount map) {
ItemStackAmount result = new ItemStackAmount();
result.itemMap.putAll(map.itemMap);