2008Choco / Alchema

Spigot plugin. In-world cauldron crafting, witchcraft and sorcery

Home Page:https://www.spigotmc.org/resources/alchema.87078/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Command Recipe Suggestion

ArcticRaven opened this issue · comments

Describe the new feature
An option to execute a command on brew completion

How will it work?
This would be a config option just to execute a command on recipe completion. This would allow just about any plugin to be used as a Product in the brews provided that the right player can be targeted on brew completion.

Does this require integration with another plugin?
Nope :D

This has technically been resolved by 72c77bc and will be available in a future version. alchema:item ingredients and result items will now support NBT

{
    "result": {
        "item": "minecraft:diamond_sword{Enchantments:[{id:\"minecraft:sharpness\",lvl:5}],display:{Name:\"Hello world!\"}}"
    },
    "ingredients": [
        {
            "type": "alchema:material",
            "item": "minecraft:diamond",
            "amount": 2
        },
        {
            "type": "alchema:material",
            "item": "minecraft:stick"
        }
    ]
}