Make sure you add enough water to steam engines as they overheat and 'explode' (engine despawns and you get a notice in chat) very easily when 'hot'.
When this is complete reverse the engine up to the rolling stock (slowly) and you will be alerted that it is attached. In each instance you will be informed that has attaching mode on in chat. Holding the stake, right-click on the engine then the middle of the rolling stock. The standard way to connect engines and rolling stock (passenger carriages, goods wagons etc.) is to use a stake. Also, note that count doesn't work here and we need to copy the ingredient item multiple times.May vary with some train types but the standard default command to access the train's inventory (PC) is R though this can be reconfigured as necessary (Minecraft Technic sometimes has overlapping commands). In this case, we just have the ingredients field instead of pattern and key.
Just for fun, let's add a recipe that crafts a diamond from one iron_ingot plus two copper ingots: src/main/resources You toss in the required ingredients and get your result. Shapeless recipes are just like shaped recipes but don't have a set pattern. Take a look at the enchanting table recipe from the vanilla game:
Lastly, the result field, as the name suggests, specifies the output of the recipe and the quantity.Īlso, keep in mind that we are not limited to just one ingredient. The pattern field shows what to place in the nine squares while the key field helps elaborate what the symbols mean.
This file describes how to make a copper_block from copper ingots. src/main/resourcesįilenames with a * next to them are ones added or modified We want to write a recipe that crafts one copper_block from nine copper ingots. Think of crafting an enchanting table versus dyeing wool. The difference is whether there's a required pattern.
Feel free to do it on your own as a practice.Ĭrafting recipes are divided into two types: shaped recipes and shapeless recipes. We will go over how to create all kinds of crafting recipes and also add smelting functionality to our copper ore block.įor the sake of demonstration, a new copper_block is added using the same process as before. This is another chapter with no Java programming and all the configuration will be done using JSON files.