Package de.studiocode.invui.item
Interface ItemProvider
- All Known Implementing Classes:
ItemBuilder,ItemWrapper,PotionBuilder,SkullBuilder
-
Field Summary
Fields -
Method Summary
-
Field Details
-
EMPTY
-
-
Method Details
-
get
org.bukkit.inventory.ItemStack get()Builds theItemStack -
getFor
Gets theItemStackfor a specific player. This is the method called byBaseWindowwhich gives you the option to (for example) create a subclass ofItemProviderthat automatically translates the item's name into the player's language.- Parameters:
playerUUID- TheUUIDof thePlayerfor whom thisItemStackshould be made.- Returns:
- The
ItemStack
-