ItemStack with all data to MaterialData or something

Discussion in 'Plugin Development' started by cdnyassuo34, Sep 3, 2019.

Thread Status:
Not open for further replies.
  1. Offline

    cdnyassuo34

    Hi, I am creating a plugin that create craft recipes from a Menu content (everything is fine)
    but when I try to use renamed item or items with enchants to create craft the data isn't saved in the recipe.
    how can I store the data (enchants + name + lore + etc...) in the recipe ?
     
  2. Offline

    wand555

    Maybe try to set the item meta when creating the itemstack
     
  3. Offline

    cdnyassuo34

    the problem is that in a ShapedReciped you can't add ItemStack in the recipe (maybe I am wrong)
    so it has to be a Material or MaterialData
     
Thread Status:
Not open for further replies.

Share This Page