Uses of Class
org.bukkit.inventory.MerchantRecipe
-
Packages that use MerchantRecipe Package Description org.bukkit.event.entity org.bukkit.inventory Classes involved in manipulating player inventories and item interactions. -
-
Uses of MerchantRecipe in org.bukkit.event.entity
Methods in org.bukkit.event.entity that return MerchantRecipe Modifier and Type Method Description @NotNull MerchantRecipeVillagerAcquireTradeEvent. getRecipe()Get the recipe to be acquired.@NotNull MerchantRecipeVillagerReplenishTradeEvent. getRecipe()Get the recipe to replenish.Methods in org.bukkit.event.entity with parameters of type MerchantRecipe Modifier and Type Method Description voidVillagerAcquireTradeEvent. setRecipe(@NotNull MerchantRecipe recipe)Set the recipe to be acquired.voidVillagerReplenishTradeEvent. setRecipe(@NotNull MerchantRecipe recipe)Set the recipe to replenish.Constructors in org.bukkit.event.entity with parameters of type MerchantRecipe Constructor Description VillagerAcquireTradeEvent(@NotNull AbstractVillager what, @NotNull MerchantRecipe recipe)VillagerReplenishTradeEvent(@NotNull AbstractVillager what, @NotNull MerchantRecipe recipe, int bonus) -
Uses of MerchantRecipe in org.bukkit.inventory
Methods in org.bukkit.inventory that return MerchantRecipe Modifier and Type Method Description @NotNull MerchantRecipeMerchant. getRecipe(int i)Get the recipe at a certain index of this merchant's trade list.@Nullable MerchantRecipeMerchantInventory. getSelectedRecipe()Get the currently active recipe.Methods in org.bukkit.inventory that return types with arguments of type MerchantRecipe Modifier and Type Method Description @NotNull List<MerchantRecipe>Merchant. getRecipes()Get a list of trades currently available from this merchant.Methods in org.bukkit.inventory with parameters of type MerchantRecipe Modifier and Type Method Description voidMerchant. setRecipe(int i, @NotNull MerchantRecipe recipe)Set the recipe at a certain index of this merchant's trade list.Method parameters in org.bukkit.inventory with type arguments of type MerchantRecipe Modifier and Type Method Description voidMerchant. setRecipes(@NotNull List<MerchantRecipe> recipes)Set the list of trades currently available from this merchant.
-