Item Attributes

hasEffect

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

Examples

hasEffect[0] = true;

// Default value
hasEffect[0] = false;
// ...
hasEffect[31] = false;