Package-level declarations

Types

Link copied to clipboard

Item metadata for a banner.

Link copied to clipboard
interface BookMeta<B : BookMeta.Builder<B, I>, I : BookMeta<B, I>> : ScopedItemMeta<B, I>

Contains shared metadata between WritableBookMeta and WrittenBookMeta.

Link copied to clipboard

Item metadata for a bundle.

Link copied to clipboard

Item metadata for a compass.

Link copied to clipboard

Item metadata for a crossbow.

Link copied to clipboard

Item metadata for a firework rocket.

Link copied to clipboard

Item metadata for a firework star.

Link copied to clipboard
interface ItemMeta

Holder for various item metadata values for an item stack.

Link copied to clipboard

The base builder for item metadata.

Link copied to clipboard

Item metadata for leather armour.

Link copied to clipboard

Item metadata for a player head.

Link copied to clipboard

An item meta subtype that changes all of the returns of functions in item meta to a generic type to avoid all subtypes having to override all of the functions.

Link copied to clipboard

Item metadata for a writable book (book and quill).

Link copied to clipboard

Item metadata for books that have been written.

Functions

Link copied to clipboard
@Contract(value = "_ -> new", pure = true)
inline fun bundleMeta(builder: BundleMeta.Builder.() -> Unit): BundleMeta

Creates new bundle metadata from the result of applying the given builder function.

Link copied to clipboard
@Contract(value = "_ -> new", pure = true)
inline fun compassMeta(builder: CompassMeta.Builder.() -> Unit): CompassMeta

Creates new compass metadata from the result of applying the given builder function.

Link copied to clipboard
@Contract(value = "_ -> new", pure = true)
inline fun crossbowMeta(builder: CrossbowMeta.Builder.() -> Unit): CrossbowMeta

Creates new crossbow metadata from the result of applying the given builder function.

Link copied to clipboard
@Contract(value = "_ -> new", pure = true)
inline fun fireworkRocketMeta(builder: FireworkRocketMeta.Builder.() -> Unit): FireworkRocketMeta

Creates new firework rocket metadata from the result of applying the given builder function.

Link copied to clipboard
@Contract(value = "_ -> new", pure = true)
inline fun fireworkStarMeta(builder: FireworkStarMeta.Builder.() -> Unit): FireworkStarMeta

Creates new firework star metadata from the result of applying the given builder function.

Link copied to clipboard
@JvmName(name = "itemMetaGeneric")
@Contract(value = "_ -> new", pure = true)
inline fun <B : ItemMetaBuilder<B, P>, P : ItemMetaBuilder.Provider<B>> itemMeta(builder: B.() -> Unit): P

Creates new item metadata of the given type P from the result of applying the given builder function to a new builder of type B.

@Contract(value = "_ -> new", pure = true)
inline fun itemMeta(builder: ItemMeta.Builder.() -> Unit): ItemMeta

Creates new item metadata from the result of applying the given builder function.

Link copied to clipboard
@Contract(value = "_ -> new", pure = true)
inline fun leatherArmorMeta(builder: LeatherArmorMeta.Builder.() -> Unit): LeatherArmorMeta

Creates new leather armour metadata from the result of applying the given builder function.

Link copied to clipboard
@Contract(value = "_ -> new", pure = true)
inline fun playerHeadMeta(builder: PlayerHeadMeta.Builder.() -> Unit): PlayerHeadMeta

Creates new player head metadata from the result of applying the given builder function.

Link copied to clipboard
@Contract(value = "_ -> new", pure = true)
inline fun writableBookMeta(builder: WritableBookMeta.Builder.() -> Unit): WritableBookMeta

Creates new writable book metadata from the result of applying the given builder function.

Link copied to clipboard
@Contract(value = "_ -> new", pure = true)
inline fun writtenBookMeta(builder: WrittenBookMeta.Builder.() -> Unit): WrittenBookMeta

Creates new written book metadata from the result of applying the given builder function.