mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-14 01:14:18 +00:00
16 lines
324 B
Java
16 lines
324 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);
|
|
}
|