infinitesource

Infinite Source is a NeoForge 1.21.1 mod adding four machines that turn a one-time input into an endless supply of items, fluids, FE energy or Mekanism chemicals.Infinite Source 是一个 NeoForge 1.21.1 模组可以将一次性输入转换成源源不断的物品、液体、FE 能量或 Mekanism 化学品。

Infinite Source / 无限源

A NeoForge 1.21.1 mod: after a fixed amount of resources is put into a machine, it will output that resource infinitely. Items, fluids, and Mekanism chemical blocks support an unlimited number of types—the same block can simultaneously cultivate any number of resources, each with independent charging and independent infinite output. Energy blocks have no subtypes, so they only handle FE.

Infinite Source is a NeoForge 1.21.1 mod adding four machines that turn a one-time input into an endless supply of items, fluids, FE energy, or Mekanism chemicals.

Blocks and Fixed Values

Block

Resources

Activation Threshold (per resource type, fixed)

Output / Storage

Item Infinite Source (item_source)

Unlimited item types

256 per type

Exceeds int (AE bridge is Long.MAX_VALUE)

Fluid Infinite Source (fluid_source)

Unlimited fluid types

8,000 mB per type

Exceeds int (AE bridge is Long.MAX_VALUE)

Energy Infinite Source (energy_source)

FE (single type)

10,000 FE

Exceeds int (multi-batch output)

Chemical Infinite Source (chemical_source)

Unlimited chemical types

8,000 mB per type

Long.MAX_VALUE

Item, fluid, and chemical blocks can store any number of types at the same time. Each type accumulates its own threshold independently; the first type to become full becomes infinite, while the other types continue charging.

The activation threshold, output speed, and storage capacity are all locked and cannot be modified in the GUI; they are displayed as read-only.

Each face outputs Integer.MAX_VALUE of each fully charged resource per tick; the actual amount that can be received is determined by the capacity of adjacent blocks.

Chemical blocks are only registered when Mekanism is installed (recipes are also enabled automatically). Without Mekanism, the other three blocks work normally.

Usage

Place the block.

Put resources into the block; each resource accumulates independently:

Items: right-click the block with the item in hand (Shift+right-click or right-click with an empty hand to open the GUI); it can also be input through pipes or hoppers.

Fluids: right-click with a bucket, or input through pipes/pumps.

Energy: input FE through cables.

Chemicals: input through Mekanism pipes.

Once a resource reaches the fixed threshold for its type, that resource enters the “full” state, while other resources are unaffected. As long as “Stop” has not been clicked, the block will:

Automatically output all fully charged resources through faces configured as “Output/Both”;

Provide Integer.MAX_VALUE of each resource externally (AE storage buses and pipes can extract by type).

Right-click with an empty hand (or Shift+right-click) to open the GUI:

View all resource types currently in the block, along with their progress and status, across pages.

View the locked values in read-only mode.

The status bar at the top shows the operating status, and the bottom has an “Running/Stopped” toggle.

The “Input/Output Settings” button opens a separate interface for adjusting each face to Off/Input/Output/Both.

Each resource row has a small x button on the right, which only resets that resource and does not clear other types.

Once a resource is full, the block will no longer accept input of that type. To switch resources, click the x on the right side of that resource row.

Item, fluid, and chemical blocks always keep one empty virtual slot or tank, so pipes/AE can continue inputting new types even after multiple resources are already present; there is no need to clear the list first.

GUI Description

The GUI has been redesigned for “multiple types + locked configuration”:

Top: block name; below the title is a separate status bar (Running/Stopped/Charging).

Middle: content list, with each row showing the resource icon/color, name, quantity/threshold or MAX. If there are more than 3 types, use < / > to page through them.

Items display the actual item icon.

Fluids display the actual fluid texture, colored by fluid type; water, lava, milk, etc. are no longer a uniform blue block.

Chemicals display Mekanism’s built-in chemical icons and are colored according to their tint.

The small x on the right of each row only resets that resource.

Below: a compact summary of the locked values (threshold / output MAX / storage MAX).

Bottom: the “Input/Output Settings” button and the Run/Stop button, fixed at the bottom instead of being crowded on the right side of the title bar.

Input/Output Settings Interface

The six faces each display: direction · adjacent block name · current mode.

Clicking the button cycles through: Off → Input → Output → Both.

The mode is immediately saved to the block entity and synchronized to the server. The “Input” face allows pipes/busses to insert resources into the block; the “Output” face allows the block to automatically output to or be extracted from adjacent blocks; “Both” allows both; “Off” disables both. By default, all six faces are set to “Both,” consistent with the behavior of older versions.

Storage and Output Limits

All internal counters use long; chemical storage/output uses Long.MAX_VALUE. Energy blocks additionally provide Mekanism’s IStrictEnergyHandler (long-based energy API), so Mekanism cables/machines will see Long.MAX_VALUE instead of only int. When Applied Flux is installed, an MEStorage bridge for FE is also provided, so AE’s energy storage bus will display FE as Long.MAX_VALUE.

Automatic output can push up to 8 int batches per face per tick (about 17.1 billion), no longer limited to a single Integer.MAX_VALUE; the actual amount is still determined by the capacity of adjacent containers. In standard NeoForge, individual slots/tanks/energy units in IItemHandler/IFluidHandler/IEnergyStorage are still int, which is a limitation of the API itself.

To break through the int limit in AE: when AE2 is installed, the block additionally exposes an MEStorage capability, and the storage bus reads the long quantity directly (when full, the type is Long.MAX_VALUE), no longer going through the int-limited IItemHandler/IFluidHandler adapters.

When AE2/Applied Flux/Mekanism is not installed, the standard capabilities for items/fluids/FE still have an int limit per slot, but the block itself is treated as having unlimited capacity, and automatic output will still push in multiple batches.

ProjectCell

When ProjectCell is installed, an optional Mixin changes the upper limit of its EMC storage units to Long.MAX_VALUE:

ProjectCell originally used its own limitItemCount config to limit each item to Integer.MAX_VALUE;

This mod bypasses that int limit at runtime, allowing EMC storage units to display and handle larger quantities;

No manual changes to ProjectCell’s config are required;

If ProjectCell is not installed, the Mixin will not be applied; a “target not found” message may appear in the log, which is a normal warning for an optional Mixin.

Project Expansion

Transmutation Interface

When ProjectE + Project Expansion + AE2 are installed, an AE MEStorage bridge is additionally registered for Project Expansion’s Transmutation Interface:

When AE’s storage bus reads this interface, it no longer goes through its original IItemHandler with an int limit; Each item type in the interface reports Long.MAX_VALUE for learned/convertible items; extraction from the interface is supported, with quantities handled as longs; this only affects AE Storage Bus reads; Project Expansion’s own GUI and other int-based pipes still work according to their original logic; the bridge will not load without AE2 or Project Expansion. Equivalent Exchange (ProjectE): When ProjectE is installed, all infinite source blocks additionally expose ProjectE’s IEmcStorage interface: getStoredEmc() / getMaximumEmc() return Long.MAX_VALUE; ProjectE’s EMC Relays, EMC Interfaces, etc. can directly read/extract long EMC values, no longer limited by int; it follows each face’s output settings; it only acts as an infinite EMC source and does not accept EMC; the interface will not be registered if ProjectE is not installed. AE2 Storage Bus Compatibility: The block exposes standard NeoForge capabilities externally and respects each face’s input/output settings: IItemHandler (items): one slot per resource type, with full slots reporting Integer.MAX_VALUE, and the AE2 Storage Bus can read/extract multiple item types at once; IFluidHandler (fluids): one tank per fluid type, with full tanks reporting Integer.MAX_VALUE, and the AE2 Storage Bus can read multiple fluid types at once; IEnergyStorage (FE): a single type, reporting Integer.MAX_VALUE when full. However, AE2’s native Storage Bus only has item/fluid channels and cannot read FE; IChemicalHandler (Mekanism chemicals): one tank per chemical type, reporting Long.MAX_VALUE when full. AE2’s native Storage Bus also lacks a chemical channel. When AE2 is installed, the additional MEStorage bridge lets the Storage Bus directly see long item/fluid quantities (Long.MAX_VALUE when full), no longer limited by int. Why FE Is Not Visible in the Storage Bus: This is not because the block fails to expose the FE capability, but because of a limitation in AE2 itself: a standard ME Storage Bus only recognizes items and fluids, and FE is not a native AE2 storage type. To read FE, you need to install a mod that registers an FE channel: Applied Flux: after installing it, use its Energy Storage Bus to read this block; it reads FE through the standard IEnergyStorage. On some versions, after installing Applied Flux, the standard Storage Bus will also display FE because it registers an FE external storage strategy. The block also provides an additional FE MEStorage bridge: after installing Applied Flux, the AE Storage Bus will read from it first, and the FE amount is directly Long.MAX_VALUE, no longer limited by the int limit of IEnergyStorage. It also provides Mekanism IStrictEnergyHandler, so the FE read by Mekanism cables/machines is also a long.

Confirm that the block is fully charged: the Energy Block must first receive 10,000 FE before entering the infinite state; when not fully charged, it only reports the small amount of FE in its buffer, and the Storage Bus may show 0 or nothing.

Confirm that the bus is adjacent to the block, the network has power/channels, and the mode is set to bidirectional or the appropriate input/output mode.

Chemicals

A chemical channel addon such as Applied Mekanistics is required; without it, the native AE2 Storage Bus will not display chemicals.

In other words: multi-type reading of items and fluids works out of the box; chemicals and FE require the corresponding AE addons.

Crafting

All blocks are crafted in a fixed order using a crafting table, and the recipe book unlocks after you obtain the corresponding materials.

Item Infinite Source

Code block

Iron Ingot

Redstone

Iron Ingot

Redstone

Chest

Redstone

Iron Ingot

Redstone

Iron Ingot

Fluid Infinite Source

Code block

Iron Ingot

Bucket

Iron Ingot

Bucket

Glass

Bucket

Iron Ingot

Bucket

Iron Ingot

Energy Infinite Source

Code block

Iron Ingot

Copper Ingot

Iron Ingot

Copper Ingot

Redstone Block

Copper Ingot

Iron Ingot

Copper Ingot

Iron Ingot

Chemical Infinite Source

Mekanism must be installed for the recipe to load:

Code block

Iron Ingot

Steel Ingot

Iron Ingot

Steel Ingot

Enriched Iron

Steel Ingot

Iron Ingot

Steel Ingot

Iron Ingot

Steel Ingot: mekanism:ingot_steel

Enriched Iron: mekanism:enriched_iron

Infinite Source / 无限源

Infinite Source 图标

一个 NeoForge 1.21.1 模组:向机器中投入固定数量的资源后,它就会无限输出这种资源。 物品、流体、Mekanism 化学品方块支持无限多种类——同一个方块里可以同时培养任意多种资源,每种资源独立充能、独立无限。电量方块没有子类型,因此只处理 FE。

Infinite Source is a NeoForge 1.21.1 mod adding four machines that turn a one-time input into an endless supply of items, fluids, FE energy or Mekanism chemicals.

方块与固定数值

方块资源启动阈值(每种资源,固定)输出 / 储量
物品无限源 item_source无限多种物品每种 256 个超出 int(AE 桥为 Long.MAX_VALUE)
流体无限源 fluid_source无限多种流体每种 8,000 mB超出 int(AE 桥为 Long.MAX_VALUE)
电量无限源 energy_sourceFE(单一类型)10,000 FE超出 int(多批次输出)
化学品无限源 chemical_source无限多种化学品每种 8,000 mBLong.MAX_VALUE
  • 物品、流体、化学品方块可以同时保存任意多种类型;每种类型分别累计自己的阈值,先充满的类型先变成无限,其他类型继续充能。
  • 启动阈值、输出速度、储量全部锁定,GUI 里不能修改,只做只读展示。
  • 每个面每 tick 对每种已充满资源输出 Integer.MAX_VALUE;实际能接收多少由相邻方块的容量决定。
  • 化学品方块只有在安装 Mekanism 时才会注册(配方也会自动启用);没有 Mekanism 时其余三个方块正常工作。

使用方式

  1. 放置方块。
  2. 向方块投入资源,每种资源独立累计:
    • 物品:手持物品右键点击方块(Shift+右键或空手右键打开 GUI);也可以由管道/漏斗输入;
    • 流体:用桶右键,或用管道/泵输入;
    • 电量:用电缆输入 FE;
    • 化学品:用 Mekanism 管道输入。
  3. 某种资源达到该类型的固定阈值后,这一种资源进入 已充满 状态,其他资源不受影响。只要没有点击“停止”,方块就会:
    • 通过配置为“输出/双向”的面自动输出所有已充满的资源;
    • 对外提供每种资源 Integer.MAX_VALUE 的储量(AE 存储总线、管道都可以按类型抽取)。
  4. 空手右键(或 Shift+右键)打开 GUI:
    • 分页查看当前方块内的所有资源类型、各自进度和状态;
    • 只读查看锁定数值;
    • 顶部状态条显示运行状态,底部有“运行中/已停止”开关;
    • “输入 / 输出设置”按钮会打开一个独立界面,逐面调整 关闭 / 输入 / 输出 / 双向;
    • 每条资源行右侧有一个小 x 按钮,只重置这一种资源,不会清空其他类型。

某种资源充满后不再接受该类型的输入;想换资源请点该资源行右侧的 x。

物品/流体/化学品方块始终保留一个空的虚拟槽位或储罐,因此管道/AE 在已有多种资源后仍能继续输入新类型;不需要先清空列表。

GUI 说明

GUI 已按“多类型 + 配置锁定”重新布局:

  • 顶部:方块名称;标题下方有独立的状态条(运行中/已停止/充能中);
  • 中部:内容列表,每行显示资源图标/颜色、名称、数量/阈值 或 MAX;超过 3 种时用 < / > 翻页;
    • 物品显示实际物品图标;
    • 流体显示实际流体贴图(按流体类型着色,水/岩浆/牛奶等不再是统一蓝色方块);
    • 化学品显示 Mekanism 自带的化学品图标并按其 tint 着色;
    • 每行右侧的小 x 只重置该资源;
  • 下方:紧凑的锁定数值摘要(阈值 / 输出 MAX / 储量 MAX);
  • 底部:“输入 / 输出设置”按钮和 运行/停止 按钮,位置固定在底部,不再挤在标题栏右侧。

输入 / 输出设置界面

  • 六个面分别显示:方向 · 相邻方块名称 · 当前模式;
  • 点击按钮循环切换:关闭 → 输入 → 输出 → 双向;
  • 模式立即保存到方块实体,并同步到服务端;
  • “输入”面允许管道/总线向方块插入资源;“输出”面允许方块向相邻方块自动输出/被抽取;“双向”两者都允许;“关闭”两者都禁止。
  • 默认六个面均为“双向”,与旧版本行为一致。

存储与输出上限

  • 内部计数器全部使用 long;化学品储量/输出使用 Long.MAX_VALUE。
  • 电量方块额外提供 Mekanism IStrictEnergyHandler(长整型能量 API),Mekanism 的电缆/机器会看到 Long.MAX_VALUE,不再只看到 int。
  • 安装 Applied Flux 时,还提供一个 FE 的 MEStorage 桥,AE 的能源存储总线会把 FE 显示为 Long.MAX_VALUE。
  • 自动输出每面每 tick 最多推送 8 个 int 批次(约 171 亿),不再受单次 Integer.MAX_VALUE 限制;实际数量仍由相邻容器容量决定。
  • 标准 NeoForge 的 IItemHandler/IFluidHandler/IEnergyStorage 单个槽位/储罐/能量单位仍是 int,这是 API 本身的限制。
  • 为了在 AE 中突破 int:安装 AE2 时,方块会额外暴露 MEStorage capability,存储总线直接读取 long 数量(已充满类型为 Long.MAX_VALUE),不再走 int 限制的 IItemHandler/IFluidHandler 适配。
  • 未安装 AE2/Applied Flux/Mekanism 时,物品/流体/FE 的标准 capability 单槽仍是 int 上限,但方块本身按无限量处理,自动输出仍会多批次推送。

ProjectCell

安装 ProjectCell 时,会通过可选 Mixin 把它的 EMC 存储单元上限改为 Long.MAX_VALUE:

  • ProjectCell 原本用自己的 limitItemCount 配置把每种物品限制在 Integer.MAX_VALUE;
  • 本模组会在运行时绕过这个 int 限制,EMC 存储单元可以显示/操作更大的数量;
  • 不需要手动改 ProjectCell 配置;
  • 没有安装 ProjectCell 时 Mixin 不会应用;日志里可能出现一条“target not found”的提示,这是可选 Mixin 的正常警告。

Project Expansion 转化接口

安装 ProjectE + Project Expansion + AE2 时,会额外给 Project Expansion 的 转化接口(Transmutation Interface) 注册一个 AE MEStorage 桥:

  • AE 存储总线读取该接口时,不再走它原本 int 上限的 IItemHandler;
  • 接口里每种已学会/可转化的物品报告 Long.MAX_VALUE;
  • 支持从接口抽取,数量按 long 处理;
  • 只影响 AE 存储总线读取;Project Expansion 自己的 GUI、其他 int 管道仍按它原本的逻辑工作;
  • 没有 AE2 或 Project Expansion 时不会加载该桥。

等价交换(ProjectE)

安装 ProjectE 时,所有无限源方块都会额外暴露 ProjectE 的 IEmcStorage 接口:

  • getStoredEmc() / getMaximumEmc() 返回 Long.MAX_VALUE;
  • ProjectE 的 EMC 中继、EMC 接口等可以直接读取/抽取长整型 EMC,不再受 int 限制;
  • 遵循方块每个面的输出设置;只作为无限 EMC 源,不接收 EMC;
  • 没有安装 ProjectE 时该接口不会注册。

AE2 存储总线兼容

方块对外暴露标准 NeoForge capability,并遵守每个面的输入/输出设置:

  • IItemHandler(物品):每个资源类型一个槽位,已充满的槽位数量为 Integer.MAX_VALUE,AE2 存储总线可以同时读取/抽取多个物品类型;
  • IFluidHandler(流体):每个流体类型一个储罐,已充满的储罐报告 Integer.MAX_VALUE,AE2 存储总线可以同时读取多个流体类型;
  • IEnergyStorage(FE):单一类型,已充满时报告 Integer.MAX_VALUE。但 AE2 原生存储总线只有物品/流体通道,不能读取 FE;
  • IChemicalHandler(Mekanism 化学品):每个化学品类型一个储罐,已充满时报告 Long.MAX_VALUE。AE2 原生存储总线同样没有化学品通道。

安装 AE2 时,额外的 MEStorage 桥会让存储总线直接看到物品/流体的 long 数量(充满时为 Long.MAX_VALUE),不再受 int 限制。

FE 为什么在存储总线里看不到

这不是方块没有暴露 FE capability,而是 AE2 本体的限制:普通 ME 存储总线只认识物品和流体,FE 不是 AE2 的原生存储类型。要读取 FE,需要安装注册了 FE 通道的附属:

  • 通量应用(Applied Flux):安装后使用它的 能源存储总线(Energy Storage Bus) 读取本方块;它通过标准 IEnergyStorage 读取 FE。部分版本下,安装了通量应用后普通存储总线也会因为它注册了 FE 外部存储策略而显示 FE。
  • 方块还额外提供了一个 FE 的 MEStorage 桥:安装 Applied Flux 后,AE 存储总线会优先读取它,FE 数量直接是 Long.MAX_VALUE,不再受 IEnergyStorage 的 int 限制。
  • 同时提供 Mekanism IStrictEnergyHandler,Mekanism 电缆/机器读取的 FE 也是长整型。
  • 确认方块已经充满:电量方块需要先输入 10,000 FE 才会进入无限状态;未充满时它只报告缓冲区里的少量 FE,存储总线可能显示 0 或不显示。
  • 确认总线贴着方块、网络有电/频道、模式为双向或输入/输出中合适的一项。

化学品

需要 Applied Mekanistics 之类的化学品通道附属;没有它时 AE2 原生存储总线不会显示化学品。

也就是说:物品和流体的多类型读取开箱即用;化学品和 FE 需要对应的 AE 附属。

合成方式

所有方块都用工作台有序合成,配方书会在拿到对应材料后解锁。

物品无限源

代码块

 

铁锭  红石  铁锭
红石  箱子  红石
铁锭  红石  铁锭

流体无限源

代码块

 

铁锭  桶    铁锭
桶    玻璃  桶
铁锭  桶    铁锭

电量无限源

代码块

 

铁锭  铜锭      铁锭
铜锭  红石块    铜锭
铁锭  铜锭      铁锭

化学品无限源

需要安装 Mekanism,配方才会加载:

代码块

 

铁锭  钢锭        铁锭
钢锭  浓缩铁      钢锭
铁锭  钢锭        铁锭
  • 钢锭:mekanism:ingot_steel
  • 浓缩铁:mekanism:enriched_iron

infinitesource Team

profile avatar
Owner
  • 1
    Followers
  • 2
    Projects
  • 959
    Downloads

More from shirebi

  • duplicator(复制机) project image

    duplicator(复制机)

    It provides players with a convenient item duplication function. Whether you want to quickly obtain resources in survival mode

    • 947
    • December 26, 2025
  • duplicator(复制机) project image

    duplicator(复制机)

    It provides players with a convenient item duplication function. Whether you want to quickly obtain resources in survival mode

    • 947
    • December 26, 2025