package me.sam4215.alchemy;

public class Dice {
  public double[] output = {1, 2, 3, 4, 5, 6};
  public void roll() {
    for(double d : output) {
      double diceRoll {
        return d;
      }
      System.out.println("Dice roll output: " + d + "!");
    }
  }
}

package me.sam4215.alchemy;

public class Dice {
  public double[] output = {1, 2, 3, 4, 5, 6};
  public void roll() {
    for(double d : output) {
      double diceRoll = d;
      System.out.println("Dice roll output: " + d + "!");
    }
  }
}

Update Dice.java