Skript: Missing enchant feature.

Created on 30 Aug 2018  路  9Comments  路  Source: SkriptLang/Skript

Some time has passed and we still dont have good enchant feature. Also I did not find any add-on that had it. Maybe it's time to fix it?

enhancement low

Most helpful comment

All 9 comments

What exactly are you missing? Adding and removing enchantments is possible.

Adding enchantments to books/tools

    Item Enchantments:
        ID: ExprEnchantments
        Description:
            All the enchantments an item type has.
        Examples:
            clear enchantments of event-item
        Since:
            2.2-dev36
        Return type: Enchantment Type
        Changers:
            add
            set
            remove
            remove all
            delete
            reset
        Patterns:
            [the] enchantments of %itemtypes%
            %itemtypes%'[s] enchantments

As for enchantments contained within enchantment-books, you can currently do that with NBT (jNBT or SkStuff addon depending on your MC version)

^ Enchanted book stuff exists in MundoSK: https://skripthub.net/docs/?addon=MundoSK&search=enchanted%20book

AKA wontfix because it requires nbt?

@Nicofisi negative, it can be done with some spigot methods (if you're referring to enchantments held within books)

I'll give PR'ing this a shot later today unless somebody else really wants to

/edit:
nevermind too stronk

Upgraded priority of this issue since it would be nice to have this

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Eryk1983S picture Eryk1983S  路  3Comments

Anoniempje1234 picture Anoniempje1234  路  3Comments

MrScopes picture MrScopes  路  3Comments

Snow-Pyon picture Snow-Pyon  路  4Comments

DeagoTheDoggo picture DeagoTheDoggo  路  3Comments