Cell⁴

One cell. Infinite resources. Any filter you need.
Back to Files

Cell4-1.21.1-NeoForge-1.0.5.jar

File nameCell4-1.21.1-NeoForge-1.0.5.jar
Uploader
HuaikerHuaiker
Uploaded
Nov 14, 2026
Downloads
990
Size
231.9 KB
Mod Loaders
NeoForge
File ID
9606558
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:cell4-1529814:9606558"

Learn more about Curse Maven

What's new

Cell4 Changelog

Supported versions: Forge 1.20.1 / NeoForge 1.21.1 / NeoForge 26.1.2 Current version: 1.0.5


1.0.5

Added

Cells and Storage

  • Added three portable variants: Portable Infinity Item / Tag / Mod ID Cell, reusing AE2's portable terminal UI.
  • Portable cells support cell4power_max (capacity), cell4power_cost (cost per item), and cell4power_charge (charge rate).
    • max=0: no power needed and no energy bar.
    • max>0 && cost=0: energy bar shown, but no power is consumed.
    • max>0 && cost>0: AE power is consumed per extracted item.
  • Cell binding lists now accept the full vanilla item syntax:
    • 1.20.1: plain ID, id{full NBT}, and full compound {id:"...",Count:1,tag:{...}}.
    • 1.21.1 / 26.1.2: plain ID, id[components] (real enchantments, names, potions, etc.), id{custom_data:{...}}, and full compound {id:"...",count:1,components:{...}}.
    • Custom components registered by other mods are supported through the vanilla ItemParser / ItemStack.CODEC and RegistryAccess.
  • Glob (*, ?) and regex (regex:) matching for items, tags, mod IDs, and blacklists.
  • UI1 / UI2 binding preserves the full NBT/components of the held item; JEI / REI / EMI drag-and-drop does the same.
  • Identical entries are counted once; entries with different NBT/components are counted and displayed separately.

Cell Configurator

  • Added the second UI (UI2, AE2 cell-workbench style), available for Infinity Item Cells only:
    • 63 configuration slots per page plus the cell slot in the top-right corner.
    • Auto-saves after binding, replacing, or removing an entry; no save button required.
    • Clicking any empty slot appends in order; clicking an occupied slot replaces it.
    • Free page navigation, including staying on a blank page.
    • Live preview: item icon + content icon grid + tooltip, updated as you type.
  • UI1 can directly edit the energy fields of portable cells.
  • All cells support custom names and texture names.
  • Both UI1 and UI2 can display/edit cell4texture.
  • Added an "Open Texture Folder" button and commands:
    • /cell4 gui: open the Cell Configurator.
    • /cell4 texfile: open the custom texture folder.

Custom Textures

  • Textures are selected through the cell4texture NBT/component (the cell4textrue typo is also accepted).
  • Textures live directly inside the runtime resource pack: config/Cell4/.pack/assets/cell4/textures/item/, supporting static PNGs and animated PNG.mcmeta files.
  • config/Cell4/config.json configures default energy, charge rate, texture set limit, etc.; supports hot reload.

Mod Compatibility

  • JEI / REI / EMI preview-area avoidance: the item panel moves aside when the preview appears.
  • JEI / REI / EMI drag-and-drop: drag an item from the panel onto the Item / Blacklist section of UI1 or a UI2 grid slot.
    • 1.20.1 / 1.21.1: JEI + REI + EMI.
    • 26.1.2: JEI + REI (EMI has no 26.1 version).

Parsing and Compatibility

  • 1.21.1: supports custom_name={text:'...'}, JSON text components, and text components inside full compounds; the parser converts them into the form 1.21.1 accepts.
  • 26.1.2: automatically normalizes legacy component formats — minecraft:enchantments={levels:{...}} → bare map, attribute_modifiers={modifiers:[...]} → bare list, dyed_color={rgb:...} → int.
  • Failed entries now emit a log line (entry summary + exception) instead of disappearing silently.
  • On 26.1.2, prefer {text:'...'} for text components; '{"text":"..."}' is treated as plain text.

Fixed

Storage and Energy

  • Fixed tooltip overflow with many bound items: more than 6 entries collapse into an ellipsis; more than 18 are truncated with a remaining count.

Configurator and Workbench

  • Fixed save failures after binding roughly 48 long-ID items (writeUtf limit 4096 → 32767).
  • Fixed full NBT/component entries containing commas being split during save (comma splitting is now bracket/quote aware).
  • Fixed component/full-compound entries being rejected by the old validation or misdetected as glob patterns.
  • Fixed gray/black entry text on 1.20.1 (now ARGB white 0xFFFFFFFF).
  • Fixed same-ID items with different NBT/components showing as only one entry in the AE terminal (variants are kept by full entry string and written individually).
  • Fixed duplicate entries being counted multiple times ("bound n", tooltip, and preview icons are now deduplicated).
  • Fixed the UI1 entry index not being black on 26.1.2.
  • Fixed 1.20.1 truncating long NBT entries at the EditBox's 1024-character limit (raised to 32767).
  • Fixed nested AE2 portable cells not showing at all on 1.20.1 (the oversized save packet failed to encode; entries are now written individually).

Saving and Networking

  • Save packets now write entries one by one (writeVarInt + per-entry writeUtf); one oversized entry no longer breaks the whole save.
  • Raised limits with anti-explosion guards: up to 16384 entries, 1 MiB per entry, 1.9 MB per packet (UTF-8 byte budget). Only data beyond these hard limits is dropped and logged; normal long NBT/component entries are not truncated.
  • Added storage NBT snapshot validation on 1.21.1 / 26.1.2, so the AE terminal shows the new configuration immediately.
  • Fixed 26.1.2 storage amount overflow (KeyCounter now uses set(Long.MAX_VALUE)).

26.1.2 Specific

  • Fixed the cell slot not showing the vanilla tooltip.
  • Fixed the preview not updating in real time.
  • Fixed the preview not showing item icons; it now uses a vanilla tooltip-style panel.
  • Fixed legacy enchantment/attribute/dyed-color syntax causing entry parse failures (automatic normalization).
  • Fixed the UI1 entry index color not being black.

1.20.1 Specific

  • Fixed entry text being gray/black.
  • Fixed long NBT entries being truncated by the EditBox and therefore missing from the terminal.

Performance and Stability

  • Cell4Config.get() is throttled to one file check per 1000 ms instead of hitting the disk on every call.
  • Portable cell default energy values are loaded lazily; reading current energy no longer touches the config.
  • UI2 grid parsing is cached (256-entry LRU); 1.21.1 reuses ItemParser and registry reflection results.
  • Tag/mod-ID previews and the 26.1.2 preview are cached, avoiding per-frame registry scans or deep copies of long NBT.

Changed

  • Component parsing is cached on 1.21.1 / 26.1.2 (512-entry LRU on 26.1.2), avoiding per-frame parsing of all 63 workbench slots.
  • On 26.1.2, glob patterns starting with [ must be written as regex: to avoid conflicting with component syntax.
  • 1.20.1 has no data-component system and only supports NBT; 1.21+ component formats differ between versions (26.1.2 uses a bare enchantment map, bare attribute list, and int dyed color).

Build

  • All three versions build with gradle build --rerun-tasks; version is unified at 1.0.5.
  • Fixed Gradle JDK selection, NeoForge/AE2 repository URLs, and dependency resolution so 1.20.1 / 1.21.1 / 26.1.2 can build offline.