Un-lonely the liquid display

This commit is contained in:
MEEPofFaith
2024-03-25 10:48:21 -07:00
parent 92485bd4e6
commit a3a7598e6d
3 changed files with 3 additions and 2 deletions

View File

@@ -294,6 +294,7 @@ public class StatValues{
public static StatValue itemEffMultiplier(Floatf<Item> efficiency, Boolf<Item> filter){
return table -> {
table.getCells().peek().growX(); //Expand the spacer on the row above to push everything to the left
table.row();
table.table(c -> {
for(Item item : content.items().select(i -> filter.get(i) && i.unlockedNow() && !i.isHidden())){
@@ -309,6 +310,7 @@ public class StatValues{
public static StatValue liquidEffMultiplier(Floatf<Liquid> efficiency, float amount, Boolf<Liquid> filter){
return table -> {
table.getCells().peek().growX(); //Expand the spacer on the row above to push everything to the left
table.row();
table.table(c -> {
for(Liquid liquid : content.liquids().select(l -> filter.get(l) && l.unlockedNow() && !l.isHidden())){