Allow looking up recipes in JEI with non-item slots (#451)

This commit is contained in:
Yang Xizhi
2024-06-18 16:14:20 +08:00
committed by GitHub
parent 1316f035cd
commit 0a7799a664
6 changed files with 69 additions and 2 deletions
@@ -147,4 +147,9 @@ public class GuiFluidTank extends GuiCustomSlot implements ITooltip {
}
}
@Override
public Object getIngredient() {
return this.getFluidStack() == null ? null : this.getFluidStack().getFluidStack();
}
}