mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-23 21:49:45 +00:00
update to use mantle's texture domain for inventory blocks
WARNING: USERS MUST!!! update mantle to use this build
This commit is contained in:
1 parent
7b8483e60d
commit
9b4b59adbd
11 files changed
+55
-33
No files matched your search
@@ -1,32 +0,0 @@
|
||||
package tconstruct.library.util;
|
||||
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public class TabTools extends CreativeTabs
|
||||
{
|
||||
ItemStack display;
|
||||
|
||||
public TabTools(String label)
|
||||
{
|
||||
super(label);
|
||||
}
|
||||
|
||||
public void init (ItemStack stack)
|
||||
{
|
||||
display = stack;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack getIconItemStack ()
|
||||
{
|
||||
return display;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Item getTabIconItem ()
|
||||
{
|
||||
return display.getItem();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user