Item Attributes

hasEffect

This attribute defines if the item has the enchanted effect even when it is not enchanted (like golden apple).

Examples

hasEffect = true;

// Default value
hasEffect = false;