promotional bannermobile promotional banner

Nimble Pattern

An AE2 addon, adding some features for patterns to improve playing experiences.

Nimble Pattern

Nimble Pattern is an addon for Applied Energistics 2, adding some features for patterns to improve playing experiences.

Requirements

  • Minecraft Forge 1.20.1
  • AE2 >=15.4.10
  • JEI >=15.20.0.129

Features

Pattern Tag Terminal

View all patterns in the network and retrieve them directly from the terminal. Returning a pattern to the terminal places it back in its original slot. The grid layout displays all network patterns together, while the grouped layout organizes them by their upgrade conditions.

Pattern Upgrades

Use the Pattern Tag Terminal to assign an upgrade condition to a pattern. When the specified item enters the AE2 network, players carrying a wireless terminal receive a notification that patterns are ready to upgrade.

In the grouped layout, an Upgrade button appears on the right side of a group's header when its upgrade condition is met. Click it to view suggested replacement recipes. Recipes for the same machine type take priority over those for other machines. Within each group of candidates, lower input cost (the simplified crafting-byte metric) takes priority over higher output quantity.

Recipe recommendations currently support GT recipes only.

Fuzzy Crafting

Adds a Fuzzy Card upgrade slot to AE2 Pattern Providers. A Pattern Provider equipped with a Fuzzy Card uses fuzzy matching for both inputs and outputs.

Fake Patterns

A processing pattern whose only output is a book renamed in an anvil is treated as a fake pattern. Its crafting task completes as soon as the AE2 network has successfully dispatched all inputs, without waiting for the output.

Encoding the same pattern again removes its fake-pattern tag.

Loop Patterns

Loop patterns support processing patterns only.

For example, a Hypercube production chain uses the following recipes:

10 B Tachyon-Rich Temporal Fluid -> 10 B Spatial Expansion Fluid
16 Transcendent Metal Rods + 1 B Spatial Expansion Fluid -> 64 Hypercubes
1 Hypercube -> 500 mB Tachyon-Rich Temporal Fluid
1 Hypercube -> 144 mB Molten Transcendent Metal
144 mB Molten Transcendent Metal -> 1 Transcendent Metal Ingot
1 Transcendent Metal Ingot -> 2 Transcendent Metal Rods

This production chain contains two loops with the following structure:

Hypercube -> Tachyon-Rich Temporal Fluid -> Spatial Expansion Fluid ----------------------------> Hypercube
Hypercube -> Molten Transcendent Metal -> Transcendent Metal Ingot -> Transcendent Metal Rods -|

Hypercube is shared by both loops, so select it as the loop entry. Select either Spatial Expansion Fluid or Transcendent Metal Rod as the loop exit. Insert a Loop Storage Cell to tag these patterns as loop patterns.

Loop Storage Cells

Loop Storage Cells are dedicated to storing the entry material required to start a loop. In the example above, the cell is configured to store 28 Hypercubes. To make greater use of GT machines' parallel processing capabilities, multiply the pattern quantities when encoding them. The Loop Storage Cell will then reserve more Hypercubes to start the loop.

When the network contains other storage cells, the contents of Loop Storage Cells are hidden from the terminal. Their contents are visible only when the network contains exclusively Loop Storage Cells.

Materials can be loaded into or unloaded from a Loop Storage Cell only through an ME IO Port. Players and ordinary AE2 crafting tasks cannot extract its contents. AE2 accesses these reserved materials only when executing the corresponding loop craft.

Tool Patterns

Tool patterns support crafting patterns only.

When encoding a pattern in the Pattern Encoding Terminal, an input item that is neither consumed nor damaged during crafting causes the pattern to be automatically tagged as a Tool Pattern. Encoding the same pattern again removes the tag.

Players can also apply the tag manually in the Pattern Tag Terminal, provided the tool is neither consumed nor damaged. Besides conventional tools, certain recipes that duplicate an input item, such as Netherite Upgrade Smithing Template duplication, can also be tagged as tool patterns.

Probability Patterns

In the Pattern Tag Terminal, set a maximum waiting time in seconds to tag a pattern as a Probability Pattern. For example, with a waiting time of 5 seconds, ordering 10 probabilistic outputs starts a 5 × 10 = 50 second timer after AE2 dispatches the required materials.

If fewer than 10 outputs have arrived when the timer expires, AE2 automatically requests the missing quantity again. This repeats until all 10 outputs have been obtained or insufficient materials prevent another request.

Compatible Mods

  • jecharacters: Enables Pinyin searches in the Pattern Tag Terminal.
  • gtceu, gtlcore, gtladditions, extendedAE: Supports pattern management in the Pattern Buffer family, Molecular Manipulators, Extended Pattern Providers, and Assembler Matrices.
  • gtlcore: Compatible with the graph crafting, only takes over the crafting of patterns that tagged by this mod.

Special Note

Inventory Tweaks Refoxed adds an unnecessary sorting button to the Pattern Tag Terminal. To remove it, add the following entries to config/invtweaks-client.toml:

[[sorting.containerOverrides]]
containerClass = "com.ber.nimblePattern.client.gui.PatternTagTermScreen"
sortRange = ""

[[sorting.containerOverrides]]
containerClass = "com.ber.nimblePattern.menu.PatternTagTermMenu"
sortRange = ""

License

The source code and assets are released under the GNU LGPLv3.

This mod uses the APIs of Applied Energistics 2 and JEI. Some textures are taken from or adapted from AE-Light-UI, while others were designed based on its visual style.

Nimble Pattern Team

profile avatar
  • 1
    Projects
  • 144
    Downloads