Many crazy things

This commit is contained in:
Anuken
2021-11-14 23:10:15 -05:00
parent 70cf55f314
commit 486622e3e4
86 changed files with 472 additions and 318 deletions
@@ -61,6 +61,14 @@ public class StatValues{
};
}
public static StatValue liquids(float timePeriod, LiquidStack... stacks){
return table -> {
for(var stack : stacks){
table.add(new LiquidDisplay(stack.liquid, stack.amount * (60f / timePeriod), true)).padRight(5);
}
};
}
public static StatValue items(ItemStack... stacks){
return items(true, stacks);
}