Auto Crafting: Difference between revisions

From Official Gamemode 4 Wiki
Jump to navigation Jump to search
(Add Auto Crafter Page Basics)
 
(Add Automation Section)
Line 4: Line 4:
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.
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.


=== Crafting & Multiblock 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 base block can be crafted in a [[Custom Crafters|Custom Crafter]] with the following recipe:
{| class="wikitable"
{| class="wikitable"
|+
!Item
!Item
!Ingredients
!Ingredients
Line 30: Line 29:
|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 sortable"
!Amount
!Block
|-
|8
|Wooden Stairs
|-
|2
|Barrels
|-
|2
|Glass Blocks
|-
|1
|Piston
|}
===Automation===
Crafting an item in an Auto Crafter requires some setup, but once set up it can be automated easily.
====Getting Started====
To get started, a multiblock structure must be constructed and configured.
#Craft an Auto Crafter base block.
#Construct the multi-block structure according the the images and materials above.
#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 shovels:{{Crafting
| Input = {{CraftingGrid
|            |        Iron Ingot          |
||      Stick                |
|             | 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.
==== Using the Auto Crafter ====
To use the Auto Crafter, items must be supplied to it and the Auto Crafter must be activated by redstone:


This base block must then be embedded in a multiblock structure consisting of
# 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 shovels example from above, this would mean supplying a tool material and then 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]]
[[Category:All Modules]]

Revision as of 17:48, 24 September 2022

Auto Crafting

Module TypeReliant
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 upon a redstone signal. Alongside, the 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, 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.

Crafting & Multi-Block Structure

The Auto Crafting Table base block can be crafted in a Custom Crafter with the following recipe:

Item Ingredients Recipe (Custom Crafter)
Forming Press Piston +

Cobblestone +

Comparator +

Furnace

Auto Crafter

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 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:

Amount Block
8 Wooden Stairs
2 Barrels
2 Glass Blocks
1 Piston

Automation

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

Getting Started

To get started, a multiblock structure must be constructed and configured.

  1. Craft an Auto Crafter base block.
  2. Construct the multi-block structure according the the images and materials above.
  3. 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 shovels:

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.

Using the Auto Crafter

To use the Auto Crafter, items must be supplied to it and the Auto Crafter must be activated by redstone:

  1. 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 above. In the case of the shovels example from above, this would mean supplying a tool material and then two sticks to the Auto Crafter.
  2. Pulse the piston with a redstone signal to execute the crafting operation.
  3. 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).