mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
24 lines
412 B
Java
24 lines
412 B
Java
package tconstruct.library.util;
|
|||
|
|
|
||
|
|
import net.minecraft.creativetab.CreativeTabs;
|
||
|
|
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;
|
||
|
|
}
|
||
|
|
|
||
|
|
public ItemStack getIconItemStack ()
|
||
|
|
{
|
||
|
|
return display;
|
||
|
|
}
|
||
|
|
}
|