public QuestLogicCraft(
     ItemStack[] itemStacks, int minCraftCount, int maxCraftCount, int xpPerCraft) {
   QuestItem[] questItems = new QuestItem[itemStacks.length];
   for (int i = 0; i < itemStacks.length; i++) {
     questItems[i] = QuestItem.fromItemStack(itemStacks[i]);
   }
   init(questItems, minCraftCount, maxCraftCount, xpPerCraft);
 }
 public QuestLogicCraft(
     ItemStack itemStack, int minCraftCount, int maxCraftCount, int xpPerCraft) {
   init(
       new QuestItem[] {QuestItem.fromItemStack(itemStack)},
       minCraftCount,
       maxCraftCount,
       xpPerCraft);
 }