Auto Crafting: Difference between revisions

From Official Gamemode 4 Wiki
Jump to navigation Jump to search
(Add History)
m (Epyon moved page Custom Crafters/Auto Crafting to Auto Crafting over redirect: Now a Stand Alone module)
 
(6 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
|-
|{{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}}}}
|Eight wooden stairs (any) around the top and bottom of the structure, facing outward.
|-
|-
|8
|{{Stack|Barrel|count=2}}
| {{Stack|Wooden Stair}} Wooden Stairs
| Two barrels, one on the top and one at the bottom of the structure.
|-
|-
|2
|{{Stack|Glass|count=2}}
| {{Stack|Barrel}} Barrels
| Two glass blocks placed on opposing faces.
|-
|-
|2
|{{Stack|Piston}}
| {{Stack|Glass Block}} Glass Blocks
|A Piston placed opposite the Auto Crafter, facing inwards.
|-
|-
|1
|{{Stack|gm4:Auto Crafter}}
| {{Stack|Piston}} Piston
|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.]]
=== Usage ===


===Automation===
==== Setting the Recipe Shape ====
Crafting an item in an Auto Crafter requires some setup, but once set up it can be automated easily.
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]]


====Getting Started====
==== Supplying Ingredients ====
To get started, a multiblock structure must be constructed and configured.
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.  


#Craft an Auto Crafter base block.
==== Power the Piston ====
#Construct the multi-block structure according the the images and materials above.
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.
#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
{| 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}}
==== Using the Auto Crafter ====
| style="text-align: center" |{{Crafting
To use the Auto Crafter, items must be supplied to it and the Auto Crafter must be activated by redstone:
| Input = {{CraftingGrid
 
| {{Cycle|{{Stack|Oak Planks}}{{Stack|Gold Ingot}}{{Stack|Cobblestone}}{{Stack|Iron Ingot}}{{Stack|Diamond}}}}
# 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.
        | {{Stack|Stick}}
# Pulse the piston with a redstone signal to execute the crafting operation.
        | {{Stack|Stick}}
# 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).
        | 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 ==
==Learn More and Download==
{{Download|url=https://gm4.co/modules/auto-crafting}}
{{Download|url=https://gm4.co/modules/auto-crafting}}


== History ==
==History==
{| class="wikitable"
{| class="wikitable"
|+
|+
Line 80: Line 212:
!Change
!Change
|-
|-
| 1.19
|1.19
| 22 Aug 2022
| 22 Aug 2022
| Released Auto Crafting
|Released Auto Crafting
|-
|-
|}
|}
Line 89: Line 221:
{{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