On Craft - get amount of item

  • 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.

Palgia

Member
Jul 16, 2017
43
0
16
30
Hello

(in advance sorry for my bad english i'm french)

I have a little problem with the On Craft event on 1.15. When I try to get the amount of item result, it always says 1 because the display of the result is only 1 item.

200424034355619243.png

As you can see, I want to craft 3 bricks block but it shows only 1 block. So, when I try to get the amount of the craft result, it says 1. It means that in 1.15 (or later I don't know) we can't get the real amount of a crating recipe.

So, my question is, is there another solution to return the (real) amount of a crafting recipe ?

(I posted this too in the Request section but I want to remove it. If anyone can, thanks)
 
Hello frenchmen, are you using SKQuery?
[doublepost=1587742177,1587741889][/doublepost]should work :emoji_slight_smile: and skquery is needed
Code:
on load:
    register new shapeless recipe for 3 brick block using brick, brick, brick, air, air, air, air, air, air
 
Hello frenchmen, are you using SKQuery?
[doublepost=1587742177,1587741889][/doublepost]should work :emoji_slight_smile: and skquery is needed
Code:
on load:
    register new shapeless recipe for 3 brick block using brick, brick, brick, air, air, air, air, air, air
Thank you but this is not my issue ^^'

My problem is with the "On craft" event I cant return the exact amount of a crafting recipe.

When a player craft something, I need to know how much items he get (to be simple)
 
Status
Not open for further replies.