Solved same item, different recipe

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

HexiKat

New Member
Jun 16, 2023
9
0
1
so i'm trying to create crafting recipes for new items, and remove the recipes for the old item, for example: one of the items is a sword but instead of wood planks it's melon slice but the item is still a wooden sword

the issue being my code is this:

on craft of wooden sword:
cancel event


so when i try to craft the new sword it still doesn't work, if someone has a workaround for this please let me know
 
I believe your issue is that you're cancelling the process of crafting any wooden sword in its entirety. What you could maybe try and do is make a new recipe that makes it so when you craft a normal wooden sword; the result is just air. I'm not sure how effective this solution would be honestly, but it's worth a shot!