mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 08:54:12 +00:00
14 lines
299 B
Java
14 lines
299 B
Java
package tconstruct.library.util;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
public interface IToolPart
|
|
{
|
|
/** Parts to build tools from. ex: Pickaxe Head
|
|
*
|
|
* @param stack This item
|
|
* @return Proper material ID. -1 for invalid
|
|
*/
|
|
public int getMaterialID (ItemStack stack);
|
|
}
|