Uses of Interface
org.bukkit.inventory.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
Modifier and TypeMethodDescriptionBukkit.createMerchant()
Creates an empty merchant.Bukkit.createMerchant
(@Nullable String title) Deprecated.Bukkit.createMerchant
(@Nullable Component title) Deprecated.The title parameter is no-longer needed when used withMenuType.MERCHANT
andMenuType.Typed.builder()
.Server.createMerchant()
Creates an empty merchant.Server.createMerchant
(@Nullable String title) Deprecated.in favour ofServer.createMerchant(net.kyori.adventure.text.Component)
, The title parameter is no-longer needed when used withMenuType.MERCHANT
andMenuType.Typed.builder()
.Server.createMerchant
(@Nullable Component title) Deprecated.The title parameter is no-longer needed when used withMenuType.MERCHANT
andMenuType.Typed.builder()
. -
Uses of Merchant in org.bukkit.entity
Modifier and TypeInterfaceDescriptioninterface
Represents a villager NPCinterface
Represents a villager NPCinterface
Represents a wandering trader NPCModifier and TypeMethodDescriptionHumanEntity.openMerchant
(@NotNull Merchant merchant, boolean force) Deprecated.This method can be replaced by usingMenuType.MERCHANT
in conjunction withHumanEntity.openInventory(InventoryView)
. -
Uses of Merchant in org.bukkit.event.inventory
-
Uses of Merchant in org.bukkit.inventory
Modifier and TypeMethodDescriptionMerchantInventory.getMerchant()
Gets the Merchant associated with this inventory. -
Uses of Merchant in org.bukkit.inventory.view
Modifier and TypeMethodDescriptionMerchantView.getMerchant()
Gets the merchant that this view is for. -
Uses of Merchant in org.bukkit.inventory.view.builder
Modifier and TypeMethodDescriptionAdds a merchant to this builder
Bukkit.createMerchant(net.kyori.adventure.text.Component)
.