Auto Crafting

Revision as of 17:57, 24 September 2022 by Bloo (talk | contribs) (Remove Weird Code Block)

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).

Auto Crafting

Module TypeReliant
Created byBluePsychoRanger
Complementary ModulesRelocators
Compatible MC Versions1.19+

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

 
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).