# Batch 6 notes Paths are relative to `gt5-2.9.0/src/main/java` (GT5-Unofficial 5.09.54.265). Java reference runs: `tools/java-ref/run.sh "" case ...` with `JAVA_TOOL_OPTIONS=-Xmx1g`. General finding: `MTEMultiBlockBase.setProcessingLogicPower` calls `logic.setAmperageOC(true)` before every recipe check (`MTEMultiBlockBase.java:1171-1176`, called from `:1164`). A `setAmperageOC(false)` in `createProcessingLogic()` therefore only holds if the machine also overrides `setProcessingLogicPower`. ## eic — Electric Implosion Compressor - `MTEElectricImplosionCompressor.java:212-214`: `new ProcessingLogic().setMaxParallelSupplier(this::getTrueParallel)`; nothing else (no speed, EU modifier, OC change). - Parallel `(int) powInt(4, max(pistonTier − 1, 0))` (`:221-223`). Block tiers from `getTierBlock` (`:105-120`): with Avaritia loaded (GTNH) Neutronium block 1, Infinity block 2, Transcendent Metal 3, Spacetime 4, Universium 5 (`sBlockMetal5` meta 2 = Neutronium, `sBlockMetal9` meta 4/3/8 = TranscendentMetal/SpaceTime/Universium, `LoaderGTBlockFluid.java:808-816, 870-876`). - `getTrueParallel` = `max(1, alwaysMaxParallel ? max : min(max, powerPanelMaxParallel))` (`MTEMultiBlockBase.java:3278-3282`); `alwaysMaxParallel` defaults to true (`:205`). - Hatches `Energy.or(ExoticEnergy)` (`:196`), class extends `MTEExtendedPowerMultiBlockBase`. Batch mode (`:288-290`). Max tier skips 1 (tooltip `:138`, ProcessingLogic default). - Controller: UV assembly line (`bwcrossmod/tectech/TecTechResearchLoader.java:70-86`). - Default recipe from the dump (`gt.recipe.electricimplosioncompressor`, 319 recipes, 294 at 7,864,320 EU/t / 1 t): 4 diamond dust → 3 diamond. - Examples 1-2 from Java reference runs (values in the spec). Example 1 shows a 1-tick recipe still taking an amperage OC and turning it into a sub-tick multiplier of 2. ## Controller tiers (index filter) From the 2.9.0 dump, recipes producing each controller (`gt.blockmachines...@`): HIP and Nano Forge assembly line 122,880 EU/t (ZPM); BHC and QFT assembly line 31,457,280 EU/t (UIV); Elemental Duplicator assembly line 491,520 EU/t (UV); Neutron Activator precise assembler 7,680 EU/t (IV, recipe tier; the 7680 EU/t precise assembler recipe is IV-voltage). EIC: TecTech research assembly line at UV (`bwcrossmod/tectech/TecTechResearchLoader.java:70-86`). Neutronium Compressor: the only producing recipe in the dump is an assembler recipe at 16 EU/t, 50 t (see its section). ## black-hole-compressor — Pseudostable Black Hole Containment Field - Logic `MTEBlackHoleCompressor.java:536-592`: EU modifier 0.7, speed bonus 0.2, `setMaxOverclocks(getTier(getAverageInputVoltage()) − getTier(recipe.mEUt))` (`:570-574`), NO_BLACK_HOLE when status 1 (`:579`), `isNotBlackHoleRecipe = compression tier < 2` and the parallel supplier re-read right after (`:580-585`). - Parallel `8 × getTierExtended(getMaxInputEu())` (`:721-722`). `getMaxInputEu` = Σ voltage × working amps over normal + exotic hatches (`MTEExtendedPowerMultiBlockBase.java:131-133`, `ExoticEnergyInputHelper.java:54-64`). `getTierExtended(l)` = `(bitLength(l − 1) − 2) / 2`, 0 for l ≤ 8 (`GTUtility.java:461-465`); for l = V[t] this is t, and it continues past tier 14 for laser totals. The JS uses BigInt for it. - Status codes: 1 none, 2 seed, 3 unstable (set when stability ≤ 0, `:702`), 4 superstable, 5 supermassive (`:488-527`). Unstable supermassive black holes become status 3 and lose the ×4 (`:727` checks status 5 only). - Spacetime: `FluidStack(spacetime, catalyzingCostModifier)` per second; after 30 drains the modifier doubles while `≤ 1e9` (`:672-689`), so it caps at 2^30 for both seeds (64 × 2^24 = 2^30). Decay halting only while stability > 0 (`:670`). - Exotic hatch rule `:416-419`: exotic hatch → no regular hatches and only one exotic hatch. The page flags this as a structure error. - Mode circuit `:474-486`: damage 20 → compressor map; any other integrated circuit with damage ≤ 21 → neutronium compressor map (so circuits 0-19 and 21 all select black-hole mode). - Page type: kept generic (stability, black-hole type and halted time are inputs; sweeps over stability and halted time) instead of `mount()`; the generic form covers the state. - Examples: parallels by hand from the lines above; EU/t, duration, parallel from `tools/java-ref/run.sh` (euMod 0.7, speed 0.2, maxOC as derived). Spacetime sums by hand. - Default recipe: hot protohalkonite from an Infinity superdense plate, `CompressorRecipes.java:284-292` (COMPRESSION_TIER 2, UIV, 45 s); the dump has it at 31,457,280 EU/t, 900 t. ## neutronium-compressor — Neutronium Compressor - `MTENeutroniumCompressor.java:185-199`: base `ProcessingLogic`, `noRecipeCaching`, parallel supplier `getTrueParallel`; `validateRecipe` rejects `COMPRESSION_TIER > 0` with NO_BLACK_HOLE (`:191-194`). `getMaxParallelRecipes` = 8 (`:201-204`). Batch (`:216-219`), void protection, input separation. - Hatches: `HatchElement.Energy` only (`:83`), so no multi-amp or laser. - Which neutronium compressor recipes carry `COMPRESSION_TIER` is not visible in the dump (no metadata field) and those recipes are added outside GT5 (`grep metadata(COMPRESSION_TIER` finds no neutronium compressor map recipes in the GT5 tree). The page leaves it as a toggle. - Controller tier: the dump's only recipe producing the controller is an assembler conversion from the Avaritia `tile.neutronium_compressor` (16 EU/t, 50 t, circuit 16). The index tier is set to HV because the map's recipes start at 480 EU/t; the crafting tier of the Avaritia block was not checked. - Examples: all four running cases from `tools/java-ref/run.sh` (maxParallel 8). ## hip-compressor — Hot Isostatic Pressurization Unit - Constants `MTEHIPCompressor.java:71-80`. `validateRecipe` (`:296-312`) sets speed 1/3.5 and EU 0.75, or 2.5 and 1.1 when overheated, before `super.validateRecipe`; Java's `createParallelHelper`/`createOverclockCalculator` run after it, so the modifiers apply to the same recipe check. Compression tier 2 → NO_RECIPE (`:308-310`). `onRecipeStart` with tier 1 while overheated → `stopMachine(OVERHEAT_FAIL)` and NO_RECIPE (`:318-324`); `ProcessingLogic.onRecipeStart` documents that a non-successful result voids the inputs. - Parallel `(overheated ? 1 : 4) × getTier(getMaxInputVoltage())` (`:369-372`); `getMaxInputVoltage` is the voltage sum (extended base). - Heat (`:333-366`), once per 20 ticks: running (`maxProgresstime() != 0`) → `(float)(5 × powInt(0.9, coilTier))`, timer reset; idle → `−2 − timer`, timer += 2. `heat = clamp(heat + mod, 0, 100)` in float (`bartworks/util/MathUtils.java:82-84`). Overheated toggles at ≥ 100 (on) and ≤ 0 (off) (`:356-359`). `coilTier = HeatingCoilLevel.getTier()` = ordinal − 2, Cupronickel 0 (`HeatingCoilLevel.java:39-41`). The tooltip writes the exponent as "(Coil Tier − 1)", which matches if its coil tier counts Cupronickel as 1. - Consequence: a unit that keeps running stays overheated (heat only falls while idle). For tier-0 recipes the steady state of continuous running is the overheated state. - Sustained running fraction: page-derived estimate (run r s, idle k s; idle k s removes k(k+1); pick max r/(r+k) with r·h ≤ k(k+1) and r·h < 100). Not a game value; marked so on the page. - Default recipe: superdense neutronium (dump: 30,720 EU/t, 3200 t). Compression tier 1 because Neutronium's processing tier is LuV (`MaterialsInit.java:1209`, rule in `ProcessingPlate.java:380-389`). - Examples: EU/t, parallel, duration from `tools/java-ref/run.sh` (speed passed as 0.2857142857142857, which is the shortest round-trip form of the double 1/3.5); heat times and duty by hand. ## nano-forge — Nano Forge - `setProcessingLogicPower` override (`MTENanoForge.java:535-540`): voltage = `getMaxInputEu()` (Σ V × working amps, regular hatch 2 A), amperage 1, `setAmperageOC(false)`, unlimited tier skips. Because the override replaces the base method, the base `setAmperageOC(true)` never runs here, and the single-hatch 1 A rule does not apply. - Structure tier `mSpecialTier` from the controller nanite (`:590-643`): Carbon 1, Neutronium 2, Transcendent Metal 3, Eternity 4. Recipe runs if `mSpecialValue <= mSpecialTier` (`:507-508`). - OC factor (`:519-530`): 4 if `(tier < 4 || recipeTier < 3) && tier > recipeTier`; else 4 if `recipeTier == 3 && maxParallel > 1`; else 2. Duration modifier `powInt(0.9999, maxParallel)` at tier 4, else 1. - `maxParallel = max((int)(drainedMagmatter / (288 / powInt(2, 4 − recipeTier))), 1)` (`:505-506`). `powInt(2, int)` resolves to the double overload (no long overload in `GTUtility`), so 288 / 8.0 etc. Magmatter is drained only at tier 4 when the output nanite is in a bus and no foreign nanite is present (`:432-503`). The loop drains every hatch fully but `drainedMagmatter` is overwritten per hatch, so only the last drained hatch counts, and one output nanite is removed per drained hatch (`:492-503`). - Hatches: `Energy.or(ExoticEnergy)` (`:335`), `checkExoticAndNormalEnergyHatches` (`MTEMultiBlockBase.java:2998-3017`): one exotic hatch alone or ≤ 2 regular hatches. - Recipe presets: all 12 `gt.recipe.nanoforge` recipes from the dump (EU/t, ticks, special value, output count). - Examples: all running cases from `tools/java-ref/run.sh` with `amperage=1 amperageOC=false maxTierSkips=2147483647`; parallels and OC factor by hand from the lines above. ## qft — Quantum Force Transformer - `validateRecipe` (`MTEQuantumForceTransformer.java:361-433`): `mSpecialValue > craftingTier` → insufficient tier (`:362-364`); parallel = item count of the first catalyst housing whose stored catalyst meta matches (`:366-389`); plasma flags only if `QFT_FOCUS_TIER ≤ focusingTier` (`:396`); neptunium needs a circuit index `0 ≤ circuit < outputs` (`:397-406`, circuit = damage − 1, `:482-500`). - `setProcessingLogicPower` (`:504-508`): average voltage, `getMaxInputAmps()` (summed), unlimited tier skips. It does not call `setAmperageOC`; ProcessingLogic's default is amperage OC on. No single-hatch 1 A rule (one regular hatch gives 2 A). - Chances (`:576-631`) use `difference = focusingTier − recipe.mSpecialValue` (the crafting tier of the recipe, not `QFT_FOCUS_TIER`). Negative difference: no case matches, chances stay at base while plasma is still consumed (`onRunningTick` consumes whenever the flags are set). - Plasma (`:513-560`): every 20 running ticks `(int)(focusingTier × 4 × sqrt(min(mMaxParallel, currentParallels)))` L of each active plasma; failure to drain voids the recipe outputs. - Bulk Catalyst Housing capacity `Integer.MAX_VALUE` (`gregtech/loaders/preload/LoaderMetaTileEntities.java:9499-9505`); catalysts are not consumed (non-consumable hatch base). - Chanced output amount: `ParallelHelper.calculateChancedOutputMultiplier` (`ParallelHelper.java:593-631`) draws from a normal or binomial distribution around chance × parallel; the page shows the mean. - Fluid mode not modelled (changes output form, not throughput). - Examples: EU/t, parallel, duration from `tools/java-ref/run.sh`; chances and plasma by hand from the lines above. ## elemental-duplicator — Elemental Duplicator - `MTEElementalDuplicator.java:303-307`: `setSpeedBonus(1/2)`, `enablePerfectOverclock()`, parallel supplier `getTrueParallel`; `getMaxParallelRecipes` = `8 × getTier(getMaxInputVoltage())` (`:320-322`). GT++ base extends `MTEExtendedPowerMultiBlockBase` (`GTPPMultiBlockBase.java:94-95`), so the voltage is summed; hatches `Energy` only (`:156`). - `getTier` returns 15 above V[14] (`GTUtility.java:443-453`), so 2× MAX hatches give 120 parallels. - Data orb via `setSpecialSlotItem` (`:309-317`): recipe selection only. - Replicator recipes in the dump: all 92 at 30 EU/t, duration grows with mass; default iridium (549 L UU, 281,088 t). - Examples: all from `tools/java-ref/run.sh` (speed 0.5, timeRed 4) with parallels by hand. ## neutron-activator — Neutron Activator - Logic `MTENeutronActivator.java:126-155`: `OverclockCalculator.ofNoOverclock(recipe).setDuration((int) ceil(mDuration × powInt(0.9f, height − 4))).setDurationUnderOneTickSupplier(raw)`; `process()` sets `calculatedEut = 0` and replaces outputs with 4 radioactive waste when eV is outside [floor, ceil] (`:142-148`). `powInt(0.9f, n)` resolves to the double overload with base `(double) 0.9f`; the JS uses `Math.fround(0.9)` as base. - Power: `setAvailableVoltage(Long.MAX_VALUE)`, amperage 1, unlimited tier skips (`:157-163`). The class extends `TTMultiblockBase`; no parallel supplier, so max parallel 1 apart from sub-tick and batch. - Batch: on by default (`:357-359`), size = TecTech parameter (group 9, default 1, clamped 1..128, `:340-349`); wire cutter toggles 1 ↔ 128 (`:166-177`). - eV (`:367-404`): per tick per active accelerator `eV += max((rand(maxEU+1) + maxEU) × 10 × powInt(0.95, height − 4), 10)` (int compound assignment truncates), accelerator active when it can pay `maxEU = (int)(V[tier] × 8 / 10)` per tick (`MTENeutronAccelerator.java:31-37, 57-64`) and the activator has full repair status (`:377`). No accelerator active: −72000 eV per 20 ticks (`:385-390`). Moderators (`:406-417`): graphite/beryllium dust, 10 MeV each. Explosion above 1.2e9 eV (`:331-333, 393`). The page's MeV/s uses the mean gain (1.5 × maxEU × 10 × eff per tick). - Window encoding: `floor = (sv % 10000) MeV`, `ceil = (sv / 10000) MeV` (`:144-145`); the 12 dump recipes are page presets. - Examples: durations checked with a scratch Java run (the java-ref `GTUtilityStub` `powInt`, `/tmp/batch-6/na/`): h10 → 53.14409155297335 → 54, h30 → 6.461 → 7, h60 (80 t) → 0.21911 → 1 t / 4 parallel, h20 (10000 t) → 1853.019 → 1854. Batch and accelerator values by hand. `tools/java-ref/run.sh` was not used: RefMain has no no-overclock option. - Max height input 254 layers follows the tooltip's 6–256 block structure height (`:207`). `checkMachine` loops over middle layers without an explicit cap (`:290-294`); `getMaximumStructureHeight` (`:112-115`) only limits the auto-build (`:422, 480`). Taller activators were not checked in game. ## Unverified - Which neutronium compressor map recipes carry `COMPRESSION_TIER` 1 or 2: they are added outside the GT5 tree and the dump has no metadata field. The Neutronium Compressor and BHC pages take it as a toggle. - Neutronium Compressor index tier (HV): the controller is converted from the Avaritia block; that block's crafting tier was not checked. - Recipe preset labels (Nano Forge, Neutron Activator) are built from dump oredict/fluid names and `OrePrefixes.nanite` (" Nanites" suffix, `OrePrefixes.java:2373-2374`), not from the lang file. - HIP "sustained running fraction" is a page-derived estimate from the heat rules, not a game value. - BHC spacetime totals assume a drain succeeds every second from opening; partial insertion is not modelled. - QFT output amounts: the page shows the mean of the random draw. - Neutron Activator heights above the tooltip's 256-block structure were not checked. - The pages were checked through the DOM stub and the test suite only; no real-browser rendering was done in this batch. - The recipe dump is from April 2026 and may predate the final 2.9.0 release; all mechanics come from the source. ## Page-type decision - `black-hole-compressor` is listed as `custom` in CURATED.md. It is built as a generic page: black-hole type, stability and halted time are inputs, with sweeps over stability and halted time and a stability-band table. No `mount()` was needed. ## Verification Independent review of all eight specs against the 2.9.0 source. Main was already merged (no new commits on main). No shared files were edited in this batch, by the implementer or the verifier. Per machine, the controller and the relevant base classes were read (`MTEExtendedPowerMultiBlockBase.java:116-133`, `MTEMultiBlockBase.java:1171-1176, 2998-3017`, `ProcessingLogic.java:53-58` defaults: max tier skips 1, amperage OC on; `GTPPMultiBlockBase.java:94-95, 861-863`). Re-run with `tools/java-ref/run.sh` (independently of the implementer): EIC example 1, BHC example 2, Nano Forge tier 4 Eternity with 1440 L magmatter, Elemental Duplicator batch, HIP overheated. All five match the spec values. All other examples were rederived by hand from the cited lines and match. - eic: parallel `(int) powInt(4, max(pistonTier − 1, 0))` (`:216-223`), block tiers with Avaritia (`:105-120`), base `ProcessingLogic` with `getTrueParallel` (`:211-214`), `Energy.or(ExoticEnergy)` (`:196`), batch (`:288-290`). Default recipe (4 diamond dust → 3 diamonds, 7,864,320 EU/t, 1 t) is in the dump. No defect. - black-hole-compressor: EU 0.7, speed 0.2, max OC `getTier(avg V) − getTier(recipe EU/t)`, NO_BLACK_HOLE, parallel re-read after `isNotBlackHoleRecipe` (`:536-592`), `getMaxParallelRecipes` (`:720-737`), spacetime drain (`:663-705`), exotic hatch rule (`:415-419`) all match. Defects fixed: - Default mode was "Neutronium Compressor (21)" while the default recipe (hot protohalkonite) is a `compressorRecipes` recipe (`CompressorRecipes.java:284-292`, needs circuit 20). Every `COMPRESSION_TIER` recipe in the GT5 tree goes to `compressorRecipes` (`ProcessingPlate.java:388`, `MultipleMetalLoader.java:56`, `RecipeGenPlates.java:175`, `CompressorRecipes.java:289-328`, `NetheriteRecipes.java:434`). Default is now "Compressor (20)", with a hint that the mode selects the recipe map only. - The "> 4500 s black-hole recipe cannot exist" warning came from the `neutroniumCompressorRecipes` transformer (`RecipeMaps.java:216-220`) but showed in both modes; the compressor map has no such check (it holds the MHDCSM superdense recipe at exactly 90,000 t). Now shown only in neutronium mode. - Added two verifier examples: unstable supermassive (status 3 drops the ×4: 416 max parallel) and superstable with a recipe that needs no black hole (`Integer.MAX_VALUE`). - neutronium-compressor: 8 parallels (`:201-204`), NO_BLACK_HOLE for `COMPRESSION_TIER > 0` (`:191-194`), `Energy` only (`:83`), batch, extended base. Defect fixed: index tier was HV. The structure needs Neutronium Casing / Active / Stable casings (`gt.blockcasings10` meta 6/7/8, `:83-90`), made in the dump by chemical bath, polarizer and assembler recipes at 491,520 EU/t (UV). Tier set to UV. The `neutroniumCompressorRecipes` map sorts and validates by `COMPRESSION_TIER` (`RecipeMaps.java:213-233`), so some of its recipes (added outside GT5) do carry it; which ones is still not visible in the dump. - hip-compressor: constants (`:71-80`), modifiers set in `validateRecipe` (`:296-312`), OVERHEAT_FAIL in `onRecipeStart` (`:316-324`), heat (`:333-366`, float clamp), coil tier = `HeatingCoilLevel.getTier()` (`:398-400`), parallel `(overheated ? 1 : 4) × getTier(Σ V)` (`:369-372`), `Energy` only (`:105`). No defect. The duty-cycle tile remains a page estimate. - nano-forge: `validateRecipe` magmatter/parallel/tier check (`:427-509`), OC factor and duration modifier (`:518-531`), `setProcessingLogicPower` (`:535-540`), structure tiers (`:590-643`), hatch rule (`MTEMultiBlockBase.java:2998-3017`). `GTUtility.powInt` has only double-base overloads (`:3570, 3597`), so the magmatter divisor is a double, as the spec has it. The 12 presets match the dump. No defect. - qft: tier check, catalyst parallel, plasma flags with `circuit = damage − 1` and `0 ≤ circuit < outputs` (`:361-433, 482-500`), chances (`:576-631`), power (`:504-508`, no `setAmperageOC` call; default true), plasma use (`:513-560`). No defect. Added a verifier example for d = 1 with both plasmas. - elemental-duplicator: speed 1/2, perfect OC, `getTrueParallel` (`:302-307`), `8 × getTier(Σ V)` (`:320-322`), `Energy` only plus the data orb hatch (`:150-166`), batch from `GTPPMultiBlockBase.java:861-863`. Iridium (549 L UU, 281,088 t) and helium (5 L, 2560 t) defaults match the dump. No defect. - neutron-activator: duration and sub-tick supplier (`:126-135`), waste outside the window (`:137-150`), power (`:157-163`), batch parameter (`:340-359`), height loop (`:288-299`, min 4), accelerator `(int)(V × 8 / 10)` (`MTENeutronAccelerator.java:35-37`). Defect fixed: the moderator text said each dust removes 10 MeV "at once". `tryUseModerator` runs every 20 ticks while eV > 0, and every tick while eV > ceiling, and consumes `min(⌊eV ÷ 10 MeV⌋, stack)` dusts (`:370-372, 406-417`), so moderators left in the bus pull the energy below 10 MeV. Info line and notes corrected. Unverified (verifier): real-browser rendering was not checked; the index tiers of the other seven machines were not re-derived (only the Neutronium Compressor's).