Recipe Creation
Hello! In this guide, I will show you how to create a recipe using the GUI-Utilities extension, and how to configure it to only be usable by certain players.
Prerequisites: You should have already completed and understood the main guide.
Creating a Recipe
Section titled โCreating a Recipeโ-
Create a Recipe Definition: A recipe definition is the definition of a recipe that you can use in your GUIs. You can create a new recipe definition for any type of gui that you want, like crafting tables, anvils, stonecutters, etc.
-
Add the items that you want to use in the recipe: You can add items to the recipe by using the
items data
entry of the gui you are making the recipe for. You can add items by using serialized items, but creating custom items in the typewriter webpanel is recommended for most users. -
Register the recipe: You can register the recipe by using the
register recipe
entry and triggering it when you need it, for example with a command.
Optionally, you can add an audience to the recipe so that only certain players can use it.