ItemStack with all data to MaterialData or something

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

  1. Offline


    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


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


    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

Share This Page