#991 add item filters and range control to vacuum chest

This commit is contained in:
Matthias Mann committed 2015-02-08 16:17:33 +01:00
1 parent 204b600424
commit c6ddec37e7
12 files changed
+693 -46

No files matched your search

@@ -0,0 +1,26 @@
package crazypants.gui;
import net.minecraft.item.ItemStack;
public class GhostSlot {
public int x;
public int y;
public boolean visible = true;
public ItemStack stack;
public boolean isMouseOver(int mx, int my) {
return mx >= x && mx < (x+16) && my >= y && my < (y+16);
}
public boolean isVisible() {
return visible;
}
protected ItemStack getStack() {
return stack;
}
protected void putStack(ItemStack stack) {
}
}