Auto Crafting: Difference between revisions

From Official Gamemode 4 Wiki
Jump to navigation Jump to search
m (Epyon moved page Custom Crafters/Auto Crafting to Auto Crafting over redirect: Now a Stand Alone module)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{ModuleInfobox|name=Auto Crafting|type=Reliant|complementary=[[Relocators]]|creator=BluePsychoRanger|versions=1.19+}}
{{ModuleInfobox
This module adds the Auto Crafting Table to the game, a multiblock structure that allows for crafting of recipes upon a redstone signal. Alongside, the module also adds all vanilla crafting recipes to [[Custom Crafters]] (and thereby also Auto Crafting Tables).
  | name = Auto Crafting
==Features==
  | type = Stand Alone
The Auto Crafting Table can craft items upon a redstone pulse. To do this, the user must first set the recipe '''shape''' within the user interface (any item may be used to set the shape!), and then supply the items used to populate the shape in left-to-right top-to-bottom order.
  | complementary = [[Relocators]]
  | creator = BluePsychoRanger
  | versions = 1.19+
  }}
This module adds the Auto Crafting Table to the game, a multiblock structure that allows for crafting of recipes by redstone. This module also adds all vanilla crafting recipes to [[Custom Crafters]] (and thereby also Auto Crafting Tables).
== Features==
The Auto Crafting Table can craft items upon a redstone pulse. To do this, set the recipe '''shape''' within the user interface (any item may be used to set the shape!), and then supply the recipe ingredients in left-to-right top-to-bottom order.


=== Crafting & Multi-Block Structure===
===Crafting & Multi-Block Structure===
The Auto Crafting Table base block can be crafted in a [[Custom Crafters|Custom Crafter]] with the following recipe:
The Auto Crafting Table Controller can be crafted in a [[Custom Crafters|Custom Crafter]] with the following recipe and must be integrated into a multi-block structure:
{|
|
{| class="wikitable"
{| class="wikitable"
!Item
|+Auto Crafting Table Controller
!
Item
!Ingredients
!Ingredients
!Recipe ([[Custom Crafters|Custom Crafter]])
!Recipe ([[Custom Crafters|Custom Crafter]])
|-
|-
|Forming Press
|Auto Crafter
|Piston +  
|Copper Ingot +  
Cobblestone +  
2 Redstone Dust +  


Comparator +  
Custom Crafter +  


Furnace
Redstone Comparator
|{{Crafting
|{{Crafting
| Input = {{CraftingGrid
| Input = {{CraftingGrid
Line 29: Line 39:
|Name=Auto Crafter}}
|Name=Auto Crafter}}
|}
|}
[[File:Auto Crafter.png|alt=A depiction of an Auto Crafter multi-block structure.|thumb|296x296px|An Auto Crafter. Notably, the structure has its input on the top (Barrel) and output at the bottom (Barrel). The Auto Crafter block itself is only used to set the shape of the recipe and should not be interacted with by automation. The wood type does not matter.]]
|
This base block must then be embedded in a multiblock structure consisting of:
{| class="wikitable"
{| class="wikitable sortable"
|+Multi-Block Structure Required Materials
!Amount
!Block
!Block
!Description
|-
|-
|8
|{{Cycle|{{Stack|Oak Stairs|count=8}}{{Stack|Birch Stairs|count=8}}{{Stack|Spruce Stairs|count=8}}{{Stack|Jungle Stairs|count=8}}{{Stack|Dark Oak Stairs|count=8}}{{Stack|Acacia Stairs|count=8}}{{Stack|Mangrove Stairs|count=8}}{{Stack|Crimson Stairs|count=8}}{{Stack|Warped Stairs|count=8}}}}
| {{Stack|Wooden Stair}} Wooden Stairs
|Eight wooden stairs (any) around the top and bottom of the structure, facing outward.
|-
|-
|2
|{{Stack|Barrel|count=2}}
| {{Stack|Barrel}} Barrels
| Two barrels, one on the top and one at the bottom of the structure.
|-
|-
|2
|{{Stack|Glass|count=2}}
| {{Stack|Glass Block}} Glass Blocks
| Two glass blocks placed on opposing faces.
|-
|-
|1
|{{Stack|Piston}}
| {{Stack|Piston}} Piston
|A Piston placed opposite the Auto Crafter, facing inwards.
|-
|{{Stack|gm4:Auto Crafter}}
|An Auto Crafter placed opposite the piston, facing outwards.
|} 
|}
|}
[[File:Auto Crafter.png|alt=A depiction of an Auto Crafter multi-block structure.|thumb|296x296px|An Auto Crafter. Notably, the structure has its input on the top (Barrel) and output at the bottom (Barrel). The Auto Crafter Controller is only used to set the shape of the recipe and should not be interacted with by automation. The wood type does not matter.]]
[[File:Setting-up-a-autocrafter.gif|alt=Construction of the multiblock structure.|none|thumb|Construction of the multiblock structure. Shown with the optional Resource Pack.]]


===Automation===
=== Usage ===
Crafting an item in an Auto Crafter requires some setup, but once set up it can be automated easily.


====Getting Started====
==== Setting the Recipe Shape ====
To get started, a multiblock structure must be constructed and configured.
Configure the recipe that the Auto Crafter will follow inside the Auto Crafter block's interface. Place any item into each slot that the crafting recipe uses, so that the overall shape matches the recipe. Note that the type of item used to configure the shape in the Auto Crafting Controller does not matter, as the interface only sets the shape of the recipe, not the materials used. For example configurations see [[Custom Crafters/Auto Crafting#Example Shape Configurations|Example Shape Configurations]]


#Craft an Auto Crafter base block.
==== Supplying Ingredients ====
#Construct the multi-block structure according the the images and materials above.
Supply the materials required for the recipe into the input barrel on the top of the multi-block structure. These ingredients must be provided in order: left-to-right top-to-bottom. For instance, to craft a diamond shovel, the diamond must be supplied before the two sticks.  
#Configure the Auto Crafter using the UI of the base block. Here you can set the shape of the recipe the Auto Crafter is supposed to craft. For example, an Auto Crafter with the following shape configured in its UI is able to craft all types of {{Stack|Shovel}} shovels:{{Crafting
 
==== Power the Piston ====
Activate the crafter by powering the piston with redstone. This will craft the item and put it inside the output barrel at the bottom of the bottom of the multi-block structure. If the crafting fails (either by missing ingredients, incorrect input order, or invalid shape), then all the ingredients will be sent to the output barrel unchanged.
{| class="wikitable mw-collapsible mw-collapsed"
|+Example Shape Configurations
!Configured Shape
! Possible Recipes (Examples)
|-
| rowspan="3" |{{Crafting
| Input = {{CraftingGrid
| Input = {{CraftingGrid
|            |        Iron Ingot          |
|            |        Iron Ingot          |
Line 62: Line 85:
|             | Paper            |
|             | Paper            |
}}
}}
|Name=Set Shape}} Note that the type of item used in this interface does not matter, as the interface only sets the shape of the recipe, not the materials used.
|Name=Set Shape}}
| style="text-align: center" |{{Crafting
| Input = {{CraftingGrid
| {{Cycle|{{Stack|Oak Planks}}{{Stack|Gold Ingot}}{{Stack|Cobblestone}}{{Stack|Iron Ingot}}{{Stack|Diamond}}}}
        | {{Stack|Stick}}
        | {{Stack|Stick}}
        | width=3 | height=1
}}
| Output = {{CraftingCell
| {{Cycle|{{Stack|Wooden Shovel}}{{Stack|Golden Shovel}}{{Stack|Stone Shovel}}{{Stack|Iron Shovel}}{{Stack|Diamond Shovel}}}}
}}
| Catalyst = Redstone Torch
| Type = Piston
}}
|-
| style="text-align: center" |{{Crafting
| Input = {{CraftingGrid
| {{Stack|Amethyst Shard}}
        | {{Stack|Copper Ingot}}
        | {{Stack|Copper Ingot}}
        | width=3 | height=1
}}
| Output = {{CraftingCell
| {{Stack|Spyglass}}
}}
| Catalyst = Redstone Torch
| Type = Piston
}}
|-
| style="text-align: center" |{{Crafting
| Input = {{CraftingGrid
| {{Stack|Shulker Shell}}
        | {{Stack|Chest}}
        | {{Stack|Shulker Shell}}
        | width=3 | height=1
}}
| Output = {{CraftingCell
| {{Stack|Shulker Box}}
}}
| Catalyst = Redstone Torch
| Type = Piston
}}
|-
| rowspan="5" |
{{Crafting
| Input = {{CraftingGrid
|            |        |
||      | Torch
|             |              | Rose
}}
|Name=Set Shape}}
| style="text-align: center" |{{Crafting
| Input = {{CraftingGrid
| {{Stack|Stick}}
        | {{Stack|Cobblestone}}
        | width=2 | height=1
}}
| Output = {{CraftingCell
| {{Stack|Lever}}
}}
| Catalyst = Redstone Torch
| Type = Piston
}}
|-
| style="text-align: center" | {{Crafting
| Input = {{CraftingGrid
| {{Stack|Coal}}
        | {{Stack|Stick}}
        | width=2 | height=1
}}
| Output = {{CraftingCell
| {{Stack|Torch}}
}}
| Catalyst = Redstone Torch
| Type = Piston
}}
|-
| style="text-align: center" |{{Crafting
| Input = {{CraftingGrid
| {{Stack|Redstone Dust}}
        | {{Stack|Stick}}
        | width=2 | height=1
}}
| Output = {{CraftingCell
| {{Stack|Redstone Torch}}
}}
| Catalyst = Redstone Torch
| Type = Piston
}}
|-
| style="text-align: center" |{{Crafting
| Input = {{CraftingGrid
| {{Stack|Orange Dye}}
        | {{Stack|White Wool}}
        | width=2 | height=1
}}
| Output = {{CraftingCell
| {{Stack|Orange Wool}}
}}
| Catalyst = Redstone Torch
| Type = Piston
}}
|-
| style="text-align: center" | {{Crafting
| Input = {{CraftingGrid
| {{Stack|White Wool}}
        | {{Stack|Orange Dye}}
        | width=2 | height=1
}}
| Output = {{CraftingCell
| {{Stack|Orange Wool}}
}}
| Catalyst = Redstone Torch
| Type = Piston
}}
|}
 
==Learn More and Download==
{{Download|url=https://gm4.co/modules/auto-crafting}}


==== Using the Auto Crafter ====
==History==
To use the Auto Crafter, items must be supplied to it and the Auto Crafter must be activated by redstone:
{| class="wikitable"
|+
!Version
!Date
!Change
|-
|1.19
| 22 Aug 2022
|Released Auto Crafting
|-
|}


# Supply the items you want to use to the input barrel on the top of the Auto Crafter. This is done in left-to-right top-to-bottom order. The Auto Crafter will populate a virtual buffer with the supplied items, in the shape of the shape configured [[Custom Crafters/Auto Crafting|above]].  In the case of the {{Stack|Shovel}} shovels example from above, this would mean supplying a {{Stack|Gold Ingot}} tool material and then {{Stack|Stick}} two sticks to the Auto Crafter.
# Pulse the piston with a redstone signal to execute the crafting operation.
# Extract the output items from the output barrel at the bottom of the Auto Crafter. This could either be the result of the crafting recipe, if the recipe was valid, or the items used in the crafting attempt if the recipe failed (invalid shape or input order).


{{Modules List/Custom Crafters}}
{{Modules List/Custom Crafters}}
{{Modules List/Relocatable Machines}}
{{Modules List/Relocatable Machines}}
[[Category:All Modules]]

Latest revision as of 00:53, 24 January 2024

Auto Crafting

Module TypeStand Alone
Created byBluePsychoRanger
Complementary ModulesRelocators
Compatible MC Versions1.19+

This module adds the Auto Crafting Table to the game, a multiblock structure that allows for crafting of recipes by redstone. This module also adds all vanilla crafting recipes to Custom Crafters (and thereby also Auto Crafting Tables).

Features

The Auto Crafting Table can craft items upon a redstone pulse. To do this, set the recipe shape within the user interface (any item may be used to set the shape!), and then supply the recipe ingredients in left-to-right top-to-bottom order.

Crafting & Multi-Block Structure

The Auto Crafting Table Controller can be crafted in a Custom Crafter with the following recipe and must be integrated into a multi-block structure:

Auto Crafting Table Controller

Item

Ingredients Recipe (Custom Crafter)
Auto Crafter Copper Ingot +

2 Redstone Dust +

Custom Crafter +

Redstone Comparator

Auto Crafter

Multi-Block Structure Required Materials
Block Description
888888888 Eight wooden stairs (any) around the top and bottom of the structure, facing outward.
2 Two barrels, one on the top and one at the bottom of the structure.
2 Two glass blocks placed on opposing faces.
A Piston placed opposite the Auto Crafter, facing inwards.
An Auto Crafter placed opposite the piston, facing outwards.
A depiction of an Auto Crafter multi-block structure.
An Auto Crafter. Notably, the structure has its input on the top (Barrel) and output at the bottom (Barrel). The Auto Crafter Controller is only used to set the shape of the recipe and should not be interacted with by automation. The wood type does not matter.
Construction of the multiblock structure.
Construction of the multiblock structure. Shown with the optional Resource Pack.

Usage

Setting the Recipe Shape

Configure the recipe that the Auto Crafter will follow inside the Auto Crafter block's interface. Place any item into each slot that the crafting recipe uses, so that the overall shape matches the recipe. Note that the type of item used to configure the shape in the Auto Crafting Controller does not matter, as the interface only sets the shape of the recipe, not the materials used. For example configurations see Example Shape Configurations

Supplying Ingredients

Supply the materials required for the recipe into the input barrel on the top of the multi-block structure. These ingredients must be provided in order: left-to-right top-to-bottom. For instance, to craft a diamond shovel, the diamond must be supplied before the two sticks.

Power the Piston

Activate the crafter by powering the piston with redstone. This will craft the item and put it inside the output barrel at the bottom of the bottom of the multi-block structure. If the crafting fails (either by missing ingredients, incorrect input order, or invalid shape), then all the ingredients will be sent to the output barrel unchanged.

Example Shape Configurations
Configured Shape Possible Recipes (Examples)

Set Shape

Set Shape

Learn More and Download

Download

History

Version Date Change
1.19 22 Aug 2022 Released Auto Crafting