java.lang.Object
xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.RefMerchantRecipe

public class RefMerchantRecipe extends Object
1.9+ org.bukkit.inventory.MerchantRecipe
  • Field Details

    • MERCHANT_RECIPE_CLASS

      @Nullable public static final @Nullable Class<?> MERCHANT_RECIPE_CLASS
      1.9+ org.bukkit.inventory.MerchantRecipe
    • MERCHANT_RECIPE_CONSTRUCTOR

      @Nullable public static final @Nullable Constructor<?> MERCHANT_RECIPE_CONSTRUCTOR
      1.9+ org.bukkit.inventory.MerchantRecipe(org.bukkit.ItemStack, int, int, boolean)
    • MERCHANT_RECIPE_CONSTRUCTOR_1_14

      @Nullable public static final @Nullable Constructor<?> MERCHANT_RECIPE_CONSTRUCTOR_1_14
      1.14+ org.bukkit.inventory.MerchantRecipe(org.bukkit.ItemStack, int, int, boolean, int, float)
    • MERCHANT_RECIPE_CONSTRUCTOR_PAPER_1_16_5

      @Nullable public static final @Nullable Constructor<?> MERCHANT_RECIPE_CONSTRUCTOR_PAPER_1_16_5
      PAPER 1.16.5+ org.bukkit.inventory.MerchantRecipe(org.bukkit.inventory.ItemStack, int, int, boolean, int, float, boolean)
    • MERCHANT_RECIPE_CONSTRUCTOR_1_18_1

      @Nullable public static final @Nullable Constructor<?> MERCHANT_RECIPE_CONSTRUCTOR_1_18_1
      1.18.1+ org.bukkit.inventory.MerchantRecipe(org.bukkit.inventory.ItemStack, int, int, boolean, int, float, int, int)
    • MERCHANT_RECIPE_CONSTRUCTOR_PAPER_1_18_1

      @Nullable public static final @Nullable Constructor<?> MERCHANT_RECIPE_CONSTRUCTOR_PAPER_1_18_1
      PAPER 1.18.1+ org.bukkit.inventory.MerchantRecipe(org.bukkit.inventory.ItemStack, int, int, boolean, int, float, int, int, boolean)
  • Method Details

    • newMerchantRecipe

      @Nullable public static @Nullable org.bukkit.inventory.Recipe newMerchantRecipe(@NotNull @NotNull org.bukkit.inventory.ItemStack result, int uses, int maxUses, boolean experienceReward, @Nullable @Nullable Integer villagerExperience, @Nullable @Nullable Float priceMultiplier, @Nullable @Nullable Integer demand, @Nullable @Nullable Integer specialPrice, @Nullable @Nullable Boolean ignoreDiscounts)