Crafting System

  • 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 comminuty!

    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!

Status
Not open for further replies.

Dan_k

Member
Apr 25, 2019
28
0
0
19
I want to make that If I will throw 2 diamonds and i stick on crafting table diamonds and stick will disapear and give the player diamond sword.
How should I do it?
 
You can use the on drop event, then you wait until the dropped item is on the ground, then you loop all items in a radius 1 around the dropped item. Add those items to a list. Also check if the block below the dropped item is a crafting table. Check if the list is the 2 diamonds and 1 stick, kill those dropped items and drop a diamond sword at the location.
 
Status
Not open for further replies.