ItemAbilities

An enum for all item abilities.

Author

MarkusTieger

Since

0.2.0

Parameters

value

The data value which indicates the applied item abilities

See also

Entries

Link copied to clipboard

Automatically collects the broken items to your backpack. If the backpack is full, the items are dropped.

Types

Link copied to clipboard
object Companion

A companion object used to store static like fields and methods in this enum.

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun isAppliedTo(item: ItemStack): Boolean

Checks if the ability is applied to a specific item.

Link copied to clipboard
operator fun plus(other: ItemAbilities): Int

An operator for addition of this class.

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.