Skip to content
This repository was archived by the owner on Sep 14, 2022. It is now read-only.

Custom Crafting Engine for Minecraft Bedrock

Notifications You must be signed in to change notification settings

drav0011/ChainCrafting-AdvancedCraftingTable

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chain-Crafting

Chain Crafting is a custom crafting engine made for Minecraft Bedrock. It works by chaining the minecraft:interact component with events and component groups. Since this is a task you don't want to do by hand, I made this generator to do the work. You can get the items you put into the "crafting table" back at any point in time by sneaking & interacting with the entity. That's one of the very special features of the Chain Crafting system: It saves the current input!

Usage

Write a JSON file to describe the recipes you want to add with the following syntax:

{
	"entity": "av:act",
	"recipes": [
		{
			"ingredients": [
				{
					"item": "minecraft:iron_ingot",
					"data": 0
				}
			],
			"results": [
				{
					"item": "minecraft:iron_nugget",
					"data": 0,
					"count": 9
				}
			]
		}
	]
}

You also have an example of multiple crafting recipes in one file in the main folder. Open https://drav0011.github.io/ChainCrafting-AdvancedCraftingTable/, then click on "import JSON file" and upload your already written JSON file. After a short amount of time, the page downloads the result of the generator as a "cc+act_bp.mcpack" file, open it, and once loaded open download the "cc+act_rp.mcpack" file and open it too. Now just create a world, add the behaviour pack and the resource pack to it, enable experimental gameplay, and have fun :D

For now is only possible to summon the ACT in creative, so for it to not be destroyed by accident the entity is not punchable. To remove it, stand next to it and enter the following minecraft command "/kill @e[type=!player,c=1]

Other Examples

You can also add multiple ingredients. In this case, you start by interacting with the first item defined, then you need to interact with the second one, etc.

{
	"entity": "av:act",
	"recipes": [
		{
			"ingredients": [
				{
					"item": "minecraft:stick",
					"data": 0
				},
				{
					"item": "minecraft:iron_ingot",
					"data": 0
				},
				{
					"item": "minecraft:iron_ingot",
					"data": 0
				}
			],
			"results": [
				{
					"item": "minecraft:iron_sword",
					"data": 0,
					"count": 1
				}
			]
		}
	]
}

Chain Crafting also supports multiple results:

{
	"entity": "av:act",
	"recipes": [
		{
			"ingredients": [
				{
					"item": "minecraft:stick",
					"data": 0
				},
				{
					"item": "minecraft:iron_ingot",
					"data": 0
				},
				{
					"item": "minecraft:iron_ingot",
					"data": 0
				},
				{
					"item": "minecraft:iron_ingot",
					"data": 0
				}
			],
			"results": [
				{
					"item": "minecraft:iron_sword",
					"data": 0,
					"count": 1
				},
				{
					"item": "minecraft:iron_nugget",
					"data": 0,
					"count": 9
				}
			]
		}
	]
}

Credits

The original creator of the Chain Crafting (CC) system used in this generator is solvedDev (https://twitter.com/solvedDev), the creator of the Advanced Crafting Table (ACT), and modifier of the CC system is DrAv0011 (https://twitter.com/DrAv0011)(https://www.youtube.com/channel/UCFUG8RhqH6y1wfcVpLR7fFg). The texture of the ACT is from the old Minecraft Java mod RedPower2.

About

Custom Crafting Engine for Minecraft Bedrock

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.4%
  • CSS 16.2%
  • HTML 7.4%