Item Stack
interface ItemStack : Buildable<ItemStack, ItemStack.Builder> , HoverEventSource<HoverEvent.ShowItem>
A stack of items in an inventory.
Types
Functions
Link copied to clipboard
@NotNull
Link copied to clipboard
@Contract(value = "-> new", pure = true )
@NotNull
Link copied to clipboard
Creates a new item stack with the given amount.
Link copied to clipboard
@Contract(value = "_ -> new", pure = true )
Creates a new item stack with meta retrieved applying the given builder to a new item metadata builder.
Creates a new item stack with the given meta.
Link copied to clipboard
@Contract(value = "_ -> new", pure = true )
Creates a new item stack with meta retrieved applying the given builder to a new meta builder created with the given type P.
@Contract(value = "_ -> new", pure = true )
Creates a new item stack with meta retrieved applying the given builder to a new item metadata builder.