Class RefMerchantRecipe
java.lang.Object
xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.RefMerchantRecipe
1.9+ org.bukkit.inventory.MerchantRecipe
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @Nullable Class<?> 1.9+ org.bukkit.inventory.MerchantRecipestatic final @Nullable Constructor<?> 1.9+ org.bukkit.inventory.MerchantRecipe(org.bukkit.ItemStack, int, int, boolean)static final @Nullable Constructor<?> 1.14+ org.bukkit.inventory.MerchantRecipe(org.bukkit.ItemStack, int, int, boolean, int, float)static final @Nullable Constructor<?> 1.18.1+ org.bukkit.inventory.MerchantRecipe(org.bukkit.inventory.ItemStack, int, int, boolean, int, float, int, int)static final @Nullable Constructor<?> PAPER 1.16.5+ org.bukkit.inventory.MerchantRecipe(org.bukkit.inventory.ItemStack, int, int, boolean, int, float, boolean)static final @Nullable Constructor<?> PAPER 1.18.1+ org.bukkit.inventory.MerchantRecipe(org.bukkit.inventory.ItemStack, int, int, boolean, int, float, int, int, boolean) -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable org.bukkit.inventory.RecipenewMerchantRecipe(@NotNull org.bukkit.inventory.ItemStack result, int uses, int maxUses, boolean experienceReward, @Nullable Integer villagerExperience, @Nullable Float priceMultiplier, @Nullable Integer demand, @Nullable Integer specialPrice, @Nullable Boolean ignoreDiscounts)
-
Field Details
-
MERCHANT_RECIPE_CLASS
1.9+ org.bukkit.inventory.MerchantRecipe -
MERCHANT_RECIPE_CONSTRUCTOR
1.9+ org.bukkit.inventory.MerchantRecipe(org.bukkit.ItemStack, int, int, boolean) -
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
PAPER 1.16.5+ org.bukkit.inventory.MerchantRecipe(org.bukkit.inventory.ItemStack, int, int, boolean, int, float, boolean) -
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
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)
-