mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-28 07:55:41 +00:00
#991 add item filters and range control to vacuum chest
This commit is contained in:
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) {
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user