Skip to content

moyanj/mekae2infusion

Repository files navigation

Mek AE2 Infusion

Minecraft Forge Mekanism AE2

Standalone Forge 1.20.1 add-on that bridges Mekanism and Applied Energistics 2 infusion systems.

中文文档

Overview

This mod provides an Infusion Converter block that converts items into Mekanism InfuseTypes with AE2 network integration. It uses AE2's Pattern Provider and Applied Mekanistics to automate infusion pipelines.

Key Features

  • Infusion Converter: Converts items to Mekanism InfuseTypes
  • AE2 Integration: Pattern Provider support for automated crafting
  • Mekanism GUI: Full Mekanism-style interface with energy bar and progress indicator
  • JEI Support: Registered as INFUSION_CONVERSION recipe catalyst
  • Upgradeable: Speed and energy upgrades

Requirements

Mod Version Required Notes
Minecraft 1.20.1 Base game
Forge 47.4.10 Mod loader
Mekanism 10.4.15.75 Core dependency
Applied Energistics 2 15.4.9 Network integration
Applied Mekanistics 1.4.2 Optional AE2-Mekanism bridge
JEI 15.2.0.27 Optional Recipe viewer

Version Compatibility

Mekanism 10.4.x series (1.20.1):

  • ✅ Supports 10.4.0 to 10.4.16.80 (all versions)
  • Version range: [10.4,10.5)

AE2 15.x series (1.20.1):

  • ✅ Supports 15.0.0 to 15.4.10 (all versions)
  • Version range: [15,16)

⚠️ Note: Mekanism 10.5.x is for Minecraft 1.20.4 (NeoForge), 10.6.x is for Minecraft 1.21 (NeoForge). This mod only supports Minecraft 1.20.1.

Installation

Prerequisites

  1. Minecraft Java Edition 1.20.1
  2. Forge 47.4.10 or higher
  3. Mekanism 10.4.x
  4. Applied Energistics 2 15.x

Steps

  1. Download the latest release: Releases
  2. Install Forge 1.20.1 (if not already installed)
  3. Place the mod JAR file in the mods/ folder
  4. Install required dependencies (Mekanism, AE2)
  5. Launch Minecraft and select the Forge profile

Modpack Integration

This mod is designed for modpacks. Recommended companions:

  • Mekanism (required)
  • Applied Energistics 2 (required)
  • Applied Mekanistics (recommended for full AE2-Mekanism integration)

Features

Infusion Converter

The core block of this mod, converting items into Mekanism InfuseTypes.

Crafting Recipe:

AQA
ROR
IFI

Where:

  • A = Infused Alloy
  • Q = Certus Quartz Crystal
  • R = Redstone
  • O = Osmium Ingot
  • I = Iron Ingot
  • F = Metallurgic Infuser

Technical Specs:

  • Energy Cost: 64 FE/tick base (reduced by speed upgrades)
  • Processing Time: 5 seconds base (reduced by speed upgrades)
  • Tank Capacity: 10,000 mB (InfuseType)
  • Energy Capacity: 20,000 FE (increased by energy upgrades)

Supported Upgrades:

  • Speed Upgrade: Reduces processing time
  • Energy Upgrade: Increases energy capacity

GUI

Full Mekanism-style graphical user interface featuring:

  • Real-time energy bar display
  • Processing progress bar
  • InfuseType indicator
  • Input/output slots
  • Energy slot
  • Error warning indicators

JEI Integration

  • Registered as INFUSION_CONVERSION recipe catalyst
  • Displays all available infusion conversion recipes
  • Shows energy requirements and processing time

AE2 Integration

Pattern Provider Support

The Infusion Converter works with AE2's Pattern Provider for automated crafting:

  1. Create Patterns: Encode item-to-infusion conversion patterns
  2. Connect Network: Place Pattern Provider next to the Infusion Converter
  3. Automate: AE2 will automatically request conversions as needed

Applied Mekanistics

Enables full AE2-Mekanism integration:

  • Export InfuseTypes to AE2 network
  • Import items from AE2 network for conversion
  • Automate infusion pipelines

Configuration

Side Configuration

The Infusion Converter supports Mekanism's side configuration system:

  • Input Side: Items (configurable)
  • Output Side: InfuseType (configurable)
  • Energy Side: Energy (configurable)

Auto-Eject

Integrated ejector component can automatically output InfuseTypes to adjacent blocks.

Development

Building from Source

# Clone the repository
git clone https://github.com/moyanj/mekae2infusion.git
cd mekae2infusion

# Build with Gradle
./gradlew build

# Run client for testing
./gradlew runClient

Project Structure

src/
├── main/
│   ├── java/
│   │   └── com/moyan/mekae2infusion/
│   │       ├── client/           # Client-side code
│   │       │   ├── gui/          # GUI screens
│   │       │   └── jei/          # JEI integration
│   │       ├── common/           # Common code
│   │       ├── content/          # Game content
│   │       │   └── converter/    # Infusion Converter
│   │       └── registry/         # Registration system
│   └── resources/
│       ├── assets/               # Textures, models, lang files
│       ├── data/                 # Recipes, loot tables
│       └── META-INF/             # Mod metadata

Core Classes

  • InfusionConverterBlockEntity: Core block entity logic
  • InfusionConverterScreen: GUI implementation
  • BridgeJeiPlugin: JEI integration
  • ModBlocks: Block registration
  • ModBlockEntityTypes: Block entity registration

API Usage

Developer Guide

If you're developing add-ons or integrations:

// Check if Mekanism is loaded
if (ModList.get().isLoaded("mekanism")) {
    // Access Mekanism API
    IMekanismAccess access = IMekanismAccess.INSTANCE;
}

// Safely access JEI helper
try {
    var jeiHelper = IMekanismAccess.INSTANCE.jeiHelper();
} catch (IllegalStateException e) {
    // JEI not loaded
}

Recipe Types

  • MekanismRecipeType.INFUSION_CONVERSION: Primary recipe type
  • ItemStackToInfuseTypeRecipe: Conversion recipe class

Contributing

Contributions welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests (if applicable)
  5. Submit a pull request

Development Setup

  1. Clone the repository
  2. Import into IDE (IntelliJ IDEA recommended)
  3. Run ./gradlew genIntellijRuns to configure IDE
  4. Use ./gradlew runClient for testing

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Mekanism Team: For the excellent tech mod
  • Applied Energistics Team: For the network system
  • Forge Team: For the modding platform
  • Community: For feedback and testing

Support

Links


Note: This mod is not affiliated with Mekanism or Applied Energistics 2 teams. It is an independent add-on created for community use.

About

Mekanism 10.4.x + AE2 infusion automation bridge for 1.20.1

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages