Allow looking up recipes in JEI with non-item slots (#451)
This commit is contained in:
@@ -99,4 +99,9 @@ public class GuiFluidSlot extends GuiCustomSlot implements IJEITargetSlot {
|
||||
return this.getFluidStack() == null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getIngredient() {
|
||||
return this.getFluidStack() == null ? null : this.getFluidStack().getFluidStack();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user