1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT??:

    You can always check our our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Recipes with multiple amount of items

Discussion in 'Skript' started by kamilleon, Jun 26, 2019.

  1. kamilleon

    kamilleon Active Member

    Joined:
    Nov 18, 2017
    Messages:
    26
    Likes Received:
    0
    Is there any way in skript to use multiple amount of an item in a slot to create recipe?

    When I tried it, it just crashed my server :emoji_frowning:
     
  2. T

    TPGamesNL Well-Known Member

    Joined:
    Jan 20, 2018
    Messages:
    1,202
    Likes Received:
    69
    Medals:
    Probably not with normal Recipes, I don't Minecraft supports that. You could use a craft event or something like that
     
  3. kamilleon

    kamilleon Active Member

    Joined:
    Nov 18, 2017
    Messages:
    26
    Likes Received:
    0
    and how to do that?
     
  4. T

    TPGamesNL Well-Known Member

    Joined:
    Jan 20, 2018
    Messages:
    1,202
    Likes Received:
    69
    Medals:
    You can use the PrepareItemCraftEvent if you're familiar with skript-mirror. If not, I recommend learning how to use skript-mirror before attempting this.
     
  5. kamilleon

    kamilleon Active Member

    Joined:
    Nov 18, 2017
    Messages:
    26
    Likes Received:
    0
    well skript mirror is basically java+skript
     
  6. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,879
    Likes Received:
    127
    If you are using Spigot 1.12.2 or below, then no it can't support that. Bukkit's recipe manager only allows for adding item types (materials) not items (ItemStacks).
    If you are using Spigot 1.13.2 or above, then yes you can. You can use my Recipe Manager API to create new recipes (requires skript-mirror)
     
Loading...