BukkitItemStack

Represents a Bukkit item stack wrapped as a PlatformItemStack.

Since

2.0.0

Parameters

source

the source Bukkit item stack

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@NotNull
open fun clone(): @NotNull PlatformItemStack
Link copied to clipboard
@NotNull
open fun enchant(enchant: Boolean): @NotNull PlatformItemStack
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
open fun isAir(): Boolean
Link copied to clipboard
@NotNull
open fun modelData(customModelData: Int, @Nullable namespace: @Nullable PlatformNamespace): @NotNull PlatformItemStack
Link copied to clipboard
abstract fun toString(): String