Skip to content

Add a method to get all enchantments of an item including disabled/deactivated #924

@Fusezion

Description

@Fusezion

Describe the feature

I was working on something for a server I manage and when I was wanting to get all the enchantments attached to an item I noticed that there's no method for getting explicitly all enchantments.

The existing methods of getting enchantments from an itemstack through EnchantmentBookSetttings does an isActivated check causing some information about enchantments to be lost.

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions