Uses of Class
de.marcely.bedwars.tools.gui.VillagerOffer
Package
Description
-
Uses of VillagerOffer in de.marcely.bedwars.api.event.player
Modifier and TypeMethodDescriptionPlayerTradeVillagerGUIEvent.getOffer()
Returns the offer involved in this transactionModifierConstructorDescriptionPlayerTradeVillagerGUIEvent
(Player who, VillagerGUI gui, Inventory inv, VillagerOffer offer, ItemStack givenResult, ItemStack givenPrice1, @Nullable ItemStack givenPrice2, boolean isShiftClick, boolean isLeftClick) -
Uses of VillagerOffer in de.marcely.bedwars.api.game.shop.layout
Modifier and TypeMethodDescriptionShopLayoutHandler.OpenEvent.buildOffer
(ShopItem item) Builds a GUIItem that can be used to set the page inside the villager GUI -
Uses of VillagerOffer in de.marcely.bedwars.tools.gui.type
Modifier and TypeMethodDescription@Nullable VillagerOffer
Returns the offer in this GUI whose id is equal to the given as a parameterModifier and TypeMethodDescriptionVillagerGUI.getOffers()
Returns all offers that have been added to this GUI.Modifier and TypeMethodDescriptionboolean
VillagerGUI.addOffer
(VillagerOffer offer) Adds an offer that can be bought by a player.boolean
VillagerGUI.removeOffer
(VillagerOffer offer) Removes an existing offer.