Uses of Interface
de.marcely.bedwars.api.cosmetics.shop.CosmeticItem
Packages that use CosmeticItem
Package
Description
-
Uses of CosmeticItem in de.marcely.bedwars.api.cosmetics
Methods in de.marcely.bedwars.api.cosmetics that return CosmeticItemModifier and TypeMethodDescription@Nullable CosmeticItemCosmeticPlayer.getActive(CosmeticItemCategory category) Get the active cosmetic item of the player for a given category.@Nullable CosmeticItemCosmeticsAPI.getCosmeticById(String id) Gets a cosmetic by itsgetId().Methods in de.marcely.bedwars.api.cosmetics that return types with arguments of type CosmeticItemModifier and TypeMethodDescriptionCosmeticPlayer.getActive()Get the active cosmetic item of the player.CosmeticsAPI.getCosmetics()Returns all available cosmetics.Methods in de.marcely.bedwars.api.cosmetics with parameters of type CosmeticItemModifier and TypeMethodDescription@Nullable CosmeticItemOwnershipCosmeticPlayer.getOwnership(CosmeticItem item) Get the ownership of a given item.booleanCosmeticPlayer.hasOwnership(CosmeticItem item) Checks whether the player owns (is allowed to use) a given item.voidCosmeticPlayer.setActive(CosmeticItem item) Set the active cosmetic item of the player. -
Uses of CosmeticItem in de.marcely.bedwars.api.cosmetics.event
Methods in de.marcely.bedwars.api.cosmetics.event that return CosmeticItemModifier and TypeMethodDescriptionPlayerBuyCosmeticEvent.getCosmetic()Gets the cosmetic item the player is trying to buy.PlayerTriggerAnimationEvent.getCosmetic()Gets the cosmetic item the player is trying to trigger.PlayerChangeCosmeticEvent.getNewCosmetic()Gets the cosmetic item the player is trying to change to.Constructors in de.marcely.bedwars.api.cosmetics.event with parameters of type CosmeticItemModifierConstructorDescriptionPlayerBuyCosmeticEvent(Player player, CosmeticPlayer playerData, CosmeticItem cosmetic) PlayerChangeCosmeticEvent(Player player, CosmeticPlayer playerData, CosmeticItem newCosmetic) PlayerTriggerAnimationEvent(Player player, CosmeticPlayer playerData, Arena arena, CosmeticItem cosmetic) -
Uses of CosmeticItem in de.marcely.bedwars.api.cosmetics.shop
Methods in de.marcely.bedwars.api.cosmetics.shop that return CosmeticItemModifier and TypeMethodDescription@Nullable CosmeticItemCosmeticItemCategory.getDefaultItem()Get the item that is used if none is selected for this category.CosmeticItemOwnership.getItem()Gets the item that is owned by the player.Methods in de.marcely.bedwars.api.cosmetics.shop with parameters of type CosmeticItemModifier and TypeMethodDescriptionstatic CosmeticItemOwnershipCosmeticItemOwnership.of(CosmeticItem item, CosmeticItemOwnership.Cause cause) Constructs a new ownership instance.static CosmeticItemOwnershipCosmeticItemOwnership.of(CosmeticItem item, CosmeticItemOwnership.Cause cause, OffsetDateTime date) Constructs a new ownership instance.voidCosmeticItemCategory.setDefaultItem(CosmeticItem defaultItem) Sets the item that is used if none is selected for this category.