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 CosmeticItem
CosmeticPlayer.getActive
(CosmeticItemCategory category) Get the active cosmetic item of the player for a given category.@Nullable CosmeticItem
CosmeticsAPI.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 CosmeticItemOwnership
CosmeticPlayer.getOwnership
(CosmeticItem item) Get the ownership of a given item.boolean
CosmeticPlayer.hasOwnership
(CosmeticItem item) Checks whether the player owns (is allowed to use) a given item.void
CosmeticPlayer.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.PlayerChangeCosmeticEvent.getCosmetic()
Gets the cosmetic item the player is trying to change to.PlayerTriggerAnimationEvent.getCosmetic()
Gets the cosmetic item the player is trying to trigger.Constructors in de.marcely.bedwars.api.cosmetics.event with parameters of type CosmeticItemModifierConstructorDescriptionPlayerBuyCosmeticEvent
(Player player, CosmeticItem cosmetic) PlayerChangeCosmeticEvent
(Player player, CosmeticItem cosmetic) PlayerTriggerAnimationEvent
(Player player, 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 TypeMethodDescriptionCosmeticItemCategory.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 CosmeticItemOwnership
CosmeticItemOwnership.of
(CosmeticItem item, CosmeticItemOwnership.Cause cause) Constructs a new ownership instance.static CosmeticItemOwnership
CosmeticItemOwnership.of
(CosmeticItem item, CosmeticItemOwnership.Cause cause, OffsetDateTime date) Constructs a new ownership instance.void
CosmeticItemCategory.setDefaultItem
(CosmeticItem defaultItem) Sets the item that is used if none is selected for this category. -
Uses of CosmeticItem in de.marcely.bedwars.api.cosmetics.unsafe
Methods in de.marcely.bedwars.api.cosmetics.unsafe with parameters of type CosmeticItemModifier and TypeMethodDescriptionabstract CosmeticItemOwnership
CosmeticsUnsafe.newOwnership
(CosmeticItem item, CosmeticItemOwnership.Cause cause, OffsetDateTime date) Deprecated.Not part of the public API.