Uses of Class
de.marcely.bedwars.tools.gui.VillagerOffer
Packages that use VillagerOffer
Package
Description
Events related to
Player
actions, or changes to player properties.Classes relevant to implement different
ShopLayouts
for the in game shop.All the different types of GUIs that can be created.
-
Uses of VillagerOffer in de.marcely.bedwars.api.event.player
Methods in de.marcely.bedwars.api.event.player that return VillagerOfferModifier and TypeMethodDescriptionPlayerTradeVillagerGUIEvent.getOffer()
Returns the offer involved in this transactionConstructors in de.marcely.bedwars.api.event.player with parameters of type VillagerOfferModifierConstructorDescriptionPlayerTradeVillagerGUIEvent
(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
Methods in de.marcely.bedwars.api.game.shop.layout that return VillagerOfferModifier 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
Methods in de.marcely.bedwars.tools.gui.type that return VillagerOfferModifier and TypeMethodDescription@Nullable VillagerOffer
Returns the offer in this GUI whose id is equal to the given as a parameterMethods in de.marcely.bedwars.tools.gui.type that return types with arguments of type VillagerOfferModifier and TypeMethodDescriptionVillagerGUI.getOffers()
Returns all offers that have been added to this GUI.Methods in de.marcely.bedwars.tools.gui.type with parameters of type VillagerOfferModifier 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.