allow custom slot jei check and fix fluid color in cell workbanch (#401)

This commit is contained in:
Yang Xizhi
2024-02-19 13:06:07 +08:00
committed by GitHub
parent 20a1fec6fb
commit 7ebb2a0fbb
6 changed files with 44 additions and 22 deletions
@@ -50,7 +50,6 @@ public class SlotFake extends AppEngSlot implements IJEITargetSlot {
if (!is.isEmpty()) {
is = is.copy();
}
super.putStack(is);
}
@@ -58,4 +57,10 @@ public class SlotFake extends AppEngSlot implements IJEITargetSlot {
public boolean canTakeStack(final EntityPlayer par1EntityPlayer) {
return false;
}
@Override
public boolean needAccept() {
return this.getStack().isEmpty();
}
}