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 + "!");
    }
  }
}

package me.sam4215.alchemy;

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

Update Dice.java