Discussion in 'Spigot Plugin Development' started by MarinDev, Jan 14, 2020.

  1. Does anyone know how to get the updated prices of a merchant in case you hit them? What I mean is when you hit merchants for example: They no longer ask you for (32 sticks - 1 emerald) but (35 sticks - 1 emerald).
    Merchant.getIngredients() gives the base ingredients. I tried Merchant.getSelectedRecipe().getPriceMultiplier() - but this appears to always return 0.05 (which is not correct for the given recipe)

    2. How do I get a villager from a merchant inventory?
    #1 MarinDev, Jan 14, 2020
    Last edited: Jan 14, 2020
  2. foncused

    Moderator Patron

    Moved to Spigot Plugin Development.
    • Like Like x 1