FurnaceRecipe does not determine smelting/cooking experience

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • None
    • Affects Version/s: None

      All FurnaceRecipe experience values, including custom recipes with an experience value defined, are set to 0f once registered. It looks like these values are ignored upon FurnaceExtractEvent and instead vanilla logic is used to calculate experience.

      Bukkit.recipeIterator().forEachRemaining(recipe -> {
        if (recipe instanceof FurnaceRecipe) {
          System.out.println(((FurnaceRecipe) recipe).getExperience()); // always 0.0
        }
      });

            Assignee:
            Unassigned
            Reporter:
            Jacob Crofts
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: