Spring Cleaning (#127)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
koolkrafter5andgithub-actions[bot] authored and GitHub committed 2026-05-12 20:52:29 +02:00
1 parent 1544c1bf0d
commit 3b2b31f733
413 files changed
+9272 -17658

No files matched your search

@@ -24,9 +24,8 @@ public class ReagentStack {
}
int amount = tag.getInteger("amount");
ReagentStack stack = new ReagentStack(reagent, amount);
return stack;
return new ReagentStack(reagent, amount);
}
public NBTTagCompound writeToNBT(NBTTagCompound tag) {
@@ -36,15 +35,6 @@ public class ReagentStack {
return tag;
}
public ReagentStack splitStack(int amount) {
ReagentStack copyStack = this.copy();
int splitAmount = Math.min(amount, this.amount);
copyStack.amount = splitAmount;
this.amount -= splitAmount;
return copyStack;
}
public ReagentStack copy() {
return new ReagentStack(this.reagent, this.amount);
}