guidekruto.blogg.se

Custom crafting recipes mod
Custom crafting recipes mod












custom crafting recipes mod

Let's try one more example this time with a shaped crafting recipe. You'll note that the itemstack tag is inbetween a and tag, this tells XML that all of this is part of the smelting recipe. The above recipe will allow you to put a diamond in a furnace and turn it into dirt, really useful if you ask me. The itemstack tag tells my mod that as part of the recipe you want to use this item (in the above case a diamond) inside of the recipe.

custom crafting recipes mod

So the stuff inbetween the is called a tag, it defines some things for the code, the smelting keyword tells my mod that you want to create a smelting recipe. (The minecraft:dirt is the id for a dirt block you can find all the item id's in the pr_data.txt file)

custom crafting recipes mod

To create a shaped crafting recipe you would add something like this to the XML file, in between the and tags.Īnything in (parenthesis) is a comment and shouldn't be written in the XML. I can post an example here as well if it will help. I can, but not tonight, it's quite late where I live right now, there are some examples in the XML file though. You can make a video of how to add a recipe? UPDATE: You can now remove recipes as well! It's very easy, just add remove to the end of your command, for example: "/recipe shaped remove" (without the quotes) a window will pop up and show you all the custom shaped recipes (use the arrows to navigate between recipes) you've added, find the one you want to remove and click remove, simple! Joining a server that is using the Personalized Recipes mod will automatically grab the servers custom recipes and will allow you to craft any custom recipes that the server has! Once you've entered the command a GUI will open for the correct recipe type (a crafting bench for shaped and shapeless and a furnace for smelting and fuel) just place your recipe in the recipe slots and the item you want it to make in the output slot, hit confirm, and you're ready to craft! Using this mod is as simple as you can be, just type /recipe (/rec will work as well, you must be an OP or have cheats enabled, alternatively there is a configuration option to allow you to use the command without cheats) and then the type of recipe you want to add, your options are shaped, shapeless, fuel or smelting (tab command completion works if you forget your options).














Custom crafting recipes mod