public class IngotConstruct extends Item
{
public final String ingotName;
public final int ingotStackSize;
//- Ingot Constructor
public IngotConstruct(String ingot, int stackSize, CreativeTabs tabs)
{
this.ingotName = ingot;
this.setUnlocalizedName("forgecraft." + ingotName);
this.setCreativeTab(tabs);
this.ingotStackSize = stackSize;
this.setMaxStackSize(ingotStackSize);
}
//- Return Ingot Stack Size
public int getIngotStackSize()
{
return ingotStackSize;
}
//- Return Ingot Name
public String getIngotName()
{
return ingotName;
}
}