Uses of Interface
org.bukkit.inventory.Merchant
Packages that use Merchant
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Interfaces for non-voxel objects that can exist in a
world, including all players, monsters, projectiles, etc.Classes involved in manipulating player inventories and item interactions.
Package for
InventoryView child interfaces that
house further usability for InventoryView.A Package that contains builders for building InventoryViews.
-
Uses of Merchant in org.bukkit
Methods in org.bukkit that return MerchantModifier and TypeMethodDescriptionstatic @NotNull MerchantBukkit.createMerchant()Creates an empty merchant.static @NotNull MerchantBukkit.createMerchant(@Nullable String title) Deprecated.static @NotNull MerchantBukkit.createMerchant(@Nullable net.kyori.adventure.text.Component title) Deprecated.The title parameter is no-longer needed when used withMenuType.MERCHANTandMenuType.Typed.builder().@NotNull MerchantServer.createMerchant()Creates an empty merchant.@NotNull MerchantServer.createMerchant(@Nullable String title) Deprecated.in favour ofServer.createMerchant(net.kyori.adventure.text.Component), The title parameter is no-longer needed when used withMenuType.MERCHANTandMenuType.Typed.builder().@NotNull MerchantServer.createMerchant(@Nullable net.kyori.adventure.text.Component title) Deprecated.The title parameter is no-longer needed when used withMenuType.MERCHANTandMenuType.Typed.builder(). -
Uses of Merchant in org.bukkit.entity
Subinterfaces of Merchant in org.bukkit.entityModifier and TypeInterfaceDescriptioninterfaceRepresents a villager NPCinterfaceRepresents a villager NPCinterfaceRepresents a wandering trader NPCMethods in org.bukkit.entity with parameters of type MerchantModifier and TypeMethodDescriptionHumanEntity.openMerchant(Merchant merchant, boolean force) Deprecated.This method can be replaced by usingMenuType.MERCHANTin conjunction withHumanEntity.openInventory(InventoryView). -
Uses of Merchant in org.bukkit.event.inventory
Methods in org.bukkit.event.inventory that return MerchantModifier and TypeMethodDescription@NotNull MerchantTradeSelectEvent.getMerchant()Get the Merchant involved. -
Uses of Merchant in org.bukkit.inventory
Methods in org.bukkit.inventory that return MerchantModifier and TypeMethodDescription@NotNull MerchantMerchantInventory.getMerchant()Gets the Merchant associated with this inventory. -
Uses of Merchant in org.bukkit.inventory.view
Methods in org.bukkit.inventory.view that return MerchantModifier and TypeMethodDescription@NotNull MerchantMerchantView.getMerchant()Gets the merchant that this view is for. -
Uses of Merchant in org.bukkit.inventory.view.builder
Methods in org.bukkit.inventory.view.builder with parameters of type MerchantModifier and TypeMethodDescriptionAdds a merchant to this builder
Bukkit.createMerchant(Component).