Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-3162

FurnaceRecipe does not determine smelting/cooking experience

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 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
        }
      });

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

              Created:
              Updated: