Cucumber
Extended Crafting
Iron Jetpacks
Mystical Agriculture
Ender Recipes
Extended Crafting allows you easily add your own Ender Crafting recipes using both Datapacks and CraftTweaker.
Datapacks
The Recipe File
This section will go over the values available to use in an Ender Crafting recipe. Syntax can be inferred from the example JSONs below.
Shaped
Field | Required | Description |
---|---|---|
type | ✓ | The recipe type must be extendedcrafting:shaped_ender_crafter . |
crafting_time | The amount of time (in seconds) this recipe should take with a single Alternator. | |
pattern | ✓ | The recipe pattern. |
key | ✓ | The recipe key, for specifying which item each character represents. |
result | ✓ | The item that this recipe will output once finished |
Shapeless
Field | Required | Description |
---|---|---|
type | ✓ | The recipe type must be extendedcrafting:shapeless_ender_crafter . |
crafting_time | The amount of time (in seconds) this recipe should take with a single Alternator. | |
ingredients | ✓ | An array of 1-9 input items. |
result | ✓ | The item that this recipe will output once finished. |
Crafting Time will decrease depending on how many Alternators are in range. See the config settings for more information.
Example Files
Shaped
{
"type": "extendedcrafting:shaped_ender_crafter",
"pattern": [
"XXX",
"X X",
"XXX"
],
"key": {
"X": {
"tag": "c:ingots/gold"
}
},
"result": {
"id": "minecraft:apple"
}
}
Shapeless
{
"type": "extendedcrafting:shapeless_ender_crafter",
"ingredients": [
{
"item": "minecraft:coal"
},
{
"item": "minecraft:coal"
}
],
"result": {
"id": "minecraft:apple"
}
}
CraftTweaker
Extended Crafting comes with CraftTweaker support built-in. You can make use of CraftTweaker to easily manage Ender Crafting recipes.
CraftTweaker integration supports Recipe Managers! Access all applicable methods using <recipetype:extendedcrafting:ender_crafter>!
Adding A Shaped Recipe
<recipetype:extendedcrafting:ender_crafter>.addShaped(name, <output>, [[<>, <>, <>], [<>, <>, <>], [<>, <>, <>]], seconds);
Field | Required | Description |
---|---|---|
name | ✓ | A unique name for this recipe. Must be all lower case and have no spaces. |
output | ✓ | The output item for this recipe. |
<> | ✓ | An input ingredient for the slot shown. These input arrays work in the same way as the normal crafting recipes, check out the CraftTweaker wiki for more information. |
seconds | The amount of seconds this recipe should take with a single Alternator. If this parameter isn't added, it will use the default rate defined in the config file. |
Crafting Time will decrease depending on how many Alternators are in range. See the config settings for more information.
Example
<recipetype:extendedcrafting:ender_crafter>.addShaped("test_shaped", <item:minecraft:stick>, [
[<tag:item:c:ingots/iron>, <item:minecraft:air>, <item:minecraft:air>],
[<tag:item:c:ingots/gold>, <tag:item:c:ingots/gold>, <item:minecraft:air>],
[<tag:item:c:ingots/gold>, <item:minecraft:air>, <item:minecraft:air>]
], 500);
Adding A Shapeless Recipe
<recipetype:extendedcrafting:ender_crafter>.addShapeless(name, <output>, [inputs], seconds);
Field | Required | Description |
---|---|---|
name | ✓ | A unique name for this recipe. Must be all lower case and have no spaces. |
output | ✓ | The output item for this recipe. |
inputs | ✓ | An array of 1-9 items required to make the recipe. |
seconds | The amount of seconds this recipe should take with a single Alternator. If this parameter isn't added, it will use the default rate defined in the config file. |
Crafting Time will decrease depending on how many Alternators are in range. See the config settings for more information.
Example
<recipetype:extendedcrafting:ender_crafter>.addShapeless("test_shapeless", <item:minecraft:cobblestone>, [
<tag:item:c:gems/diamond>, <tag:item:c:gems/diamond>, <tag:item:c:gems/diamond>, <tag:item:c:gems/diamond>, <tag:item:c:gems/diamond>, <tag:item:c:gems/diamond>
], 30);
Removing Recipes
<recipetype:extendedcrafting:ender_crafter>.remove(<output>);
Field | Required | Description |
---|---|---|
output | ✓ | The item to remove all recipes for. |