![]() We do that by reading the number of items in the output slot, increasing it by one and setting the new value. After that, we need to increase the number of items in the output slot by one. Now we add 2 blocks that will remove a single item from each input slot. We can find those blocks under the block actions tab. Now we need to compare the blocks and items with the actual slot contents. The third item/block comparator is going to check whether the output slot has the same item type as the recipe's result. The number comparator is going to check whether the output slot is empty since we want to allow crafting new items when the output slot is empty. Then we need to check for the second ingredient, which in this case is Redstone. In our case that's always going to be iron. ![]() The first item/block comparator is going to check for the first ingredient. Now we need 3 block comparators and one number comparator. First, we need an IF statement with one AND gate that contains 1 more AND gate and an OR gate. OR, however, outputs true when at least one condition is met. The AND gate outputs true only if both conditions are met. ![]() They both take two inputs and output Boolean values which are either true or false. Before we begin, let me introduce you to 2 logic gates AND gate and OR gate. Now to the most important part - the crafting procedure. We also need to set the Fusion Table as the recipe's result. I decided to go with 2 Red Iron blocks, 2 TNTs, 2 Brick blocks and a Pressure Plate on the very top. Now we need to make a recipe for the Fusion Table block. Doing so, we enable the block to hold items. We need to enable inventory with 3 inventory slots. Since the block itself is going to be crafted out of metal, we can make it sound more realistic by setting the material and sound on step to IRON and METAL. In this case, I wanted the machine to drop only 2 blocks of Red Iron. Then we adjust the parameters to make the block a bit special. I just set the texture to the side texture and change the top and bottom ones for the corresponding ones. Now we can create the Fusion Table block. I went with an Iron Cube in the middle some Redstone Powder on each side of it and Redstone Blocks on the top and the bottom side. In the next step, we simply name the cube and adjust its properties to our likings. I decided to prepare the textures for later by importing them all at once. We need to import every block texture we are going to use. First, we need to add the Red Iron block, since that's going to be the base for the machine's recipe. I decided to add a block solely for crafting, with an iron-block-like design. For the top, I went with a crafting-table-like design that resembles the block's interface. For the side texture it will be a simple striped texture with some sort of burning ball on it. For the bottom part, I simply overlayed some white noise over the light red colour I used for the base. Then we need to draw the textures for the block itself. I decided to go with a dark grey colour with a slightly lighter upper-left border and a darker bottom-right one to make it look a bit raised. We need to draw an arrow for the block's interface that will represent the direction of crafting. I created all the textures using a free program called Gimp. As this is not the focus of this tutorial, we'll speed it up. First, we need to create the textures for the mod. ![]() Today we are going to create a Fusion Table, a crafting table like block using the MCreator's new procedure system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |