CustomCrafting icon indicating copy to clipboard operation
CustomCrafting copied to clipboard

Way to add effects when eating custom item

Open super-original opened this issue 1 year ago • 0 comments

The Problem

There is no way to add effects when a custom item is eaten. This is possible in the newer versions using nbt data and commands. Also when I already place an item that gives effects when eaten into the custom item creator, it breaks the plugin and deletes my item when I do /cc reload (giving out an error).

Solution

Add a button for adding effects when eating a custom item in the custom item creation GUI.

Alternatives

Don't add a button for it, just add support for these items so that they don't break the plugin when doing /cc reload.

Additional Context

error when reloading after adding a custom item with an effect when eaten (still persists even when the item is delete automatically after reloading, I had to manually delete this items file from my server files): Image

no issue after deleting the items data from my server files: Image

Submit issue

  • [x] searched for and ensured there isn't already an open issue regarding this,
  • [x] are running the latest version of your server software (Spigot, Paper, etc.), and plugins (WolfyUtilities, CustomCrafting).

super-original avatar May 06 '25 12:05 super-original