Skip to content

About

Powers Easy Villagers machines using Create rotational kinetic stress (SU), featuring speed-scaled production rates, animated quarter-shaft visuals, and Engineer's Goggles diagnostics.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Create Easy Villagers

NeoForge Forge Create Easy Villagers License: MIT

Create Easy Villagers is a bridge mod for Create and Easy Villagers (supporting both NeoForge 1.21.1 and Forge 1.20.1). It balances automated Easy Villagers machines by requiring rotational kinetic stress units (SU) from Create networks, complete with authentic spinning shaft visuals, Flywheel GPU instancing, in-game Catnip configuration, Engineer's Goggles diagnostics, and built-in trade cycling for the Auto Trader.


⚙️ Features

  • Kinetic Power Requirement: Easy Villagers machines require rotational force supplied to the power port at the rear of the block.
  • Speed Thresholds & Scaling:
    • Minimum Speed: Machines require at least 32 RPM to operate (configurable). Below 32 RPM, operations are paused.
    • Dynamic Speed Multipliers: Faster rotation speeds directly accelerate production intervals (e.g. $1\times$ at 32 RPM, $2\times$ at 64 RPM, $4\times$ at 128 RPM, $8\times$ at 256 RPM).
  • 🔄 Auto Trader Trade Cycling:
    • Cycle Trades Button: Adds the cycle trades button (and C keybind) directly into the Auto Trader GUI, matching the regular Trader block.
    • Smart Lock Detection: The button is only visible when the villager is a novice with 0 XP and a workstation assigned. Once traded with, the button cleanly disappears.
    • Dynamic Refresh: Swapping the workstation or inserting a new unlocked villager automatically resets trades.
  • Create Flywheel GPU Instancing: Realistic SHAFT_QUARTER models render on the input side with full Flywheel shader support and 22.5° grid angle alignment.
  • Independent Stress (SU) Controls: Customize stress (SU) consumption per machine or globally in separate configuration categories without modifying production speeds.
  • Engineer's Goggles Support: Look at any machine with Engineer's Goggles to inspect real-time RPM, SU consumption, and speed multipliers.
  • Full In-Game Configuration: Configurable via config/create_easy_villagers-common.toml or the in-game Catnip / Create Config UI.

📊 Speed Scaling & Multiplier Chart

The production rate is calculated dynamically from the shaft speed:

$$\text{Speed Multiplier} = \min\left(\left\lfloor \frac{\text{RPM}}{\text{rpmPerMultiplier}} \right\rfloor, \text{maxMultiplier}\right)$$

(By default: $\text{rpmPerMultiplier} = 32$, $\text{maxMultiplier} = 16$)

| Speed (RPM) | Multiplier | Operation Speed | Efficiency Boost | | :--- : | :---: | :---: | :---: |\n| < 32 RPM | 0× | Halted / Idle | No production | | 32 RPM | 1× | Standard Baseline | Baseline (100%) | | 64 RPM | 2× | 2× faster | 200% Output | | 128 RPM | 4× | 4× faster | 400% Output | | 256 RPM (Max Create) | 8× | 8× faster | 800% Output |


🏭 Machine Breakdown & SU Consumption

Each machine consumes Stress Units proportional to its rotational speed:

$$\text{Stress Impact (SU)} = \text{Speed (RPM)} \times \text{Base Impact (SU/RPM)} \times \text{Global Multiplier}$$


1. 🪙 Auto Trader

  • Base Stress Impact: 4.0 SU / RPM
  • Default Stress at 256 RPM: 1,024 SU
  • Effect: Accelerates automated villager trade cooldowns. At 256 RPM (8×), trades execute 8 times faster as long as items and restocks are available.
  • Trade Cycling: Includes an in-GUI cycle trade button and keyboard shortcut (C) for novice villagers with 0 XP.
  • Goggles Diagnostic: Trading Speed

2. 🌾 Farmer

  • Base Stress Impact: 4.0 SU / RPM
  • Default Stress at 256 RPM: 1,024 SU
  • Effect: Drives crop growth ticks and auto-harvest cycles. At 256 RPM (8×), crops grow and yield harvest 8 times faster.
  • Goggles Diagnostic: Farming Speed

3. 👶 Breeder

  • Base Stress Impact: 4.0 SU / RPM
  • Default Stress at 256 RPM: 1,024 SU
  • Effect: Decreases the breeding cooldown timer and produces one baby villager at the end of each cycle.
    • At 32 RPM (1×): 1 baby every ~3 minutes (3,600 ticks).
    • At 256 RPM (8×): 1 baby every ~22.5 seconds (450 ticks).
  • Goggles Diagnostic: Breeding Speed

4. 🧪 Converter

  • Base Stress Impact: 4.0 SU / RPM
  • Default Stress at 256 RPM: 1,024 SU
  • Effect: Drastically shortens both the zombie villager infection time and the golden apple curing countdown. A process normally taking 3–5 minutes finishes in ~20–35 seconds (8× faster) at 256 RPM.
  • Goggles Diagnostic: Curing Speed

5. 🍼 Incubator

  • Base Stress Impact: 4.0 SU / RPM
  • Default Stress at 256 RPM: 1,024 SU
  • Effect: Accelerates the baby villager maturation timer into an adult. At 256 RPM (8×), baby villagers grow into working adults 8 times faster.
  • Goggles Diagnostic: Aging Speed

6. ⚔️ Iron Farm

  • Base Stress Impact: 6.0 SU / RPM
  • Default Stress at 256 RPM: 1,536 SU
  • Effect: Accelerates Iron Golem scare, spawn, and processing intervals.
  • Goggles Diagnostic: Iron Output Rate

⚙️ Configuration Options

Configuration file is located at config/create_easy_villagers-common.toml:

[kinetics]
    # Minimum RPM required for Easy Villagers machines to operate.
    # Range: 0.0 ~ 256.0 (Default: 32.0)
    minimumSpeed = 32.0

    # RPM required for each +1x processing speed multiplier.
    # Range: 1.0 ~ 256.0 (Default: 32.0)
    rpmPerMultiplier = 32.0

    # Maximum processing speed multiplier cap.
    # Range: 1 ~ 64 (Default: 16)
    maxSpeedMultiplier = 16

    # Base breeding time in ticks required to produce one baby villager (Default: 3600 ticks = 3 minutes).
    # Range: 20 ~ 72000 (Default: 3600)
    breederBreedingTime = 3600

[global_stress]
    # Global multiplier applied to all machine stress values (Default: 1.0)
    # e.g., 2.0 = double stress for all machines, 0.5 = half stress
    globalStressMultiplier = 1.0

[stress_impact]
    # Custom stress impact (SU/RPM) for the Auto Trader (Default: 4.0)
    autoTrader = 4.0

    # Custom stress impact (SU/RPM) for the Farmer (Default: 4.0)
    farmer = 4.0

    # Custom stress impact (SU/RPM) for the Breeder (Default: 4.0)
    breeder = 4.0

    # Custom stress impact (SU/RPM) for the Converter (Default: 4.0)
    converter = 4.0

    # Custom stress impact (SU/RPM) for the Incubator (Default: 4.0)
    incubator = 4.0

    # Custom stress impact (SU/RPM) for the Iron Farm (Default: 6.0)
    ironFarm = 6.0

📦 Supported Platforms & Dependencies

  • Supported Mod Loaders:
    • NeoForge (Minecraft 1.21.1)
    • Forge (Minecraft 1.20.1)
  • Dependencies:

🔗 Links & Resources


📄 License

This project is licensed under the MIT License.

About

Powers Easy Villagers machines using Create rotational kinetic stress (SU), featuring speed-scaled production rates, animated quarter-shaft visuals, and Engineer's Goggles diagnostics.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages