Crafting - unitx/lifesteal GitHub Wiki

Default recipe

By default, the game has a built-in recipe, which exists in the crafting table, as shown below.

Custom floor crafting recipe

Since coding your own recipes is complex, this add-on also offers a way to create your own recipes, which then can be used in-game by dropping your items into a pile as shown in the video.

To learn how to create these custom recipes, visit Custom recipes.

Code your own recipe

If the last options do not work for you, the last option is to edit the addons code to make your own recipe by following these steps.

  1. Navigate into the addon file and rename the file extension from .mcaddon to .zip
  2. Uncompress the file
  3. Navigate to lifesteal\BP\recipes and open your deseried recipe file; they are named accordingly with your deseried text editor.
  4. Inside, you will see all of the recipe codes. The important part is this: the keys field, as shown below, is where you will add your custom item, names. The slots follow the diagram below. To use empty slots, replace the numbers in the pattern with a space " ".
  5. Save the file, and navigate back to where this folder is located.
  6. Recompress the file.
  7. Lastly rename it from .zip to .mcaddon to complete your update to the recipe.
		"pattern": [
			"123",
			"4 6", //<-- " " represent an empty slot
			"789"
		],
		"key": {
			"1": {
				"item": "minecraft:obsidian"
			},
			"2": {
				"item": "minecraft:diamond_block"
			},
			"3": {
				"item": "minecraft:obsidian"
			},
			"4": {
				"item": "minecraft:diamond_block"
			},
			"5": { //this item is un-used, change the middle " " in the pattern to 5 to start using this item 
				"item": "minecraft:dirt"
			},
			"6": {
				"item": "minecraft:diamond_block"
			},
			"7": {
				"item": "minecraft:obsidian"
			},
			"8": {
				"item": "minecraft:diamond_block"
			},
			"9": {
				"item": "minecraft:obsidian"
			}
		},
⚠️ **GitHub.com Fallback** ⚠️