Tutorial by: ButterflyBullets


How to make your own custom crafting recipes using Skript!

DISCLAIMER: In order for this to work you will need skBee, Tuske, skQuery, Skript

Now the order of the slots goes as following using the first item as one, the second item as two and so on:

knowing this is helpful so you know which way your putting your blocks in, unless its a shapeless recipe.

This tutorial will show you how to make your own custom crafting recipes for your server with your friends, community, or whatever it is that you want, now without further ado, lets get into it!
To make your own recipe your going to want to create a variable for it first and keep in mind that all color codes are supported, we can create the variable by typing the following:

on load:
  set {_hellingot} to brick named "&cHell Ingot"
  register new shaped recipe for {_hellingot} named "&cHell Ingot" using iron ingot, gold ingot, iron ingot, gold ingot, netherite ingot, gold ingot, iron ingot, gold ingot and iron ingot with id "hell_ingot"

Another way of doing this would be to put a requirements area for the custom item which would look like this:

on load:
  set {_requirements::*} to iron ingot, gold ingot, iron ingot, gold ingot, netherite ingot, gold ingot, iron ingot, gold ingot and iron ingot
  register new shaped recipe for {_hellingot} named "&cHell Ingot" using {_requirements::*} with id "hell_ingot"

You can use whatever way you find is easier for you, I prefer the first method but the second works just as well.

Now what this does is Skript will create a new recipe for our test item called {_hellingot}, now you can change the recipe and name to whatever you want for your item. Using this new recipe you just made you can combine this recipe into another recipe to make a custom item using a custom item you already have, now with the text above you can make a new recipe but with your custom recipe looking like this:

on load:
  set {_hellforge} to furnace named "&4Hell Forge"
  register new shaped recipe for {_hellforge} named "&4Hell Forge" using air, {_hellingot}, air, {_hellingot}, blast furnace, {_hellingot}, air, {_hellingot} and air with id "hell_forge"

With that new recipe for a "Hell Forge" that we made, we can now see how you can make custom items using custom items, but lets say you want to make a new recipe for a diamond chestplate to make them harder or easier to obtain you could do wipe the current recipe for a diamond chestplate and add a new one looking like this:

on load: #harder version
  wipe crafting recipes for diamond chestplate
  register new shaped recipe for diamond chestplate named "Diamond Chestplate" using diamond, air, diamond, diamond, nether star, diamond, diamond, diamond, diamond

on load: #easier version
  wipe crafting recipes for diamond chestplate
  register new shaped recipe for diamond chestplate named "Diamond Chestplate" using diamond, air, diamond, diamond, iron ingot, diamond, diamond, diamond, diamond

These are the basics of custom recipes and can be applied in many ways but not all, so lets get more advanced and see what else we can do with these shall we? So using all the information you been given so far you can change vanilla recipes, make custom recipes and custom recipes using custom recipes, and although that might seem like a lot there is much more to learn. There is so much more that you can do with this, some of it is more confusing and harder than other parts, so go and learn with your newfound knowledge and see what you can make!

Here is one final recipe for you before you go, use this all to make your own custom recipes for your server and see what you can do! Be sure to leave comments on your experience with this and of course you can see all syntaxes to further your knowledge right here!

on load: #hell sword
  set {_hellsword} to netherite sword named "&4Hell Sword"
  register new shaped recipe for {_hellsword} named "&4Hell Sword" using air, {_hellingot}, air, air, {_hellingot}, air, air, {_hellstick} and air with id "hell_sword"

on load: #hell stick
  set {_hellstick} to blaze rod named "&6Hell stick"
  register new shaped recipe for {_hellstick} named "&4Hell Stick" using air, blaze rod, air, air, nether star, air, air and blaze rod with id "hell_stick"

- ButterflyBullets


Did you find ButterflyBullets's tutorial helpful?


You must be logged in to comment