mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-20 20:22:17 +00:00
Initial Commit
This commit is contained in:
commit
bd9d0a4eff
149 files changed
+18486
No files matched your search
@@ -0,0 +1,29 @@
|
||||
package codechicken.nei;
|
||||
|
||||
import codechicken.nei.ItemPanel.ItemPanelObject;
|
||||
import codechicken.nei.guihook.GuiContainerManager;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class ItemPanelStack implements ItemPanelObject
|
||||
{
|
||||
public ItemStack item;
|
||||
|
||||
public ItemPanelStack(ItemStack itemstack)
|
||||
{
|
||||
item = itemstack;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void draw(int x, int y)
|
||||
{
|
||||
GuiContainerManager.drawItem(x+1, y+1, item);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<String> handleTooltip(List<String> tooltip)
|
||||
{
|
||||
return tooltip;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user