mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
27 lines
744 B
Java
27 lines
744 B
Java
package tconstruct.library.tools;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
public abstract class CustomMaterial
|
|
{
|
|
public final int materialID;
|
|
public final int value;
|
|
public final ItemStack input;
|
|
public final ItemStack craftingItem;
|
|
|
|
public CustomMaterial(int materialID, int value, ItemStack input, ItemStack craftingItem)
|
|
{
|
|
this.materialID = materialID;
|
|
this.value = value;
|
|
this.input = input;
|
|
this.craftingItem = craftingItem;
|
|
}
|
|
|
|
/*public boolean matches(ItemStack input, ItemStack pattern)
|
|
{
|
|
if (ItemStack.areItemStacksEqual(this.input, input) && ItemStack.areItemStacksEqual(this.craftingPattern, pattern))
|
|
return true;
|
|
return false;
|
|
}*/
|
|
}
|