TransformedItemStack

ItemStack with offset and scale

Parameters

offset

offset (x, y, z)

scale

scale (x, y, z)

itemStack

item

See also

ItemStack

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@NotNull
open fun asAir(): TransformedItemStack
Gets transformed item as air
Link copied to clipboard
@NotNull
open fun copy(): TransformedItemStack
Copy this item
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
open fun isEmpty(): Boolean
Checks this item is air
Link copied to clipboard
@NotNull
open fun modify(@NotNull mapper: (ItemStack) -> ItemStack): TransformedItemStack
Modify item
Link copied to clipboard
@NotNull
open fun of(@NotNull itemStack: ItemStack): TransformedItemStack
@NotNull
open fun of(@NotNull offset: Vector3f, @NotNull scale: Vector3f, @NotNull itemStack: ItemStack): TransformedItemStack
Creates transformed item
Link copied to clipboard
abstract fun toString(): String