# Batch 8 notes Paths in citations are relative to `gt5-2.9.0/src/main/java` (GT5-Unofficial 5.09.54.265, GTNH 2.9.0). Page type: CURATED.md marks EoH, Forge of the Gods, DTPF and Horus as `custom`. All six pages of this batch use the generic form (inputs, tiles, tables, sweeps); no `mount()` was needed. No shared file was changed. ## Transcendent Plasma Mixer (`machines/tpm.js`) - No overclock: `createOverclockCalculator` returns `OverclockCalculator.ofNoOverclock(recipe)` (`MTETranscendentPlasmaMixer.java:206-209`). Power: `setAvailableVoltage(Long.MAX_VALUE)`, 1 A, amperage OC off, unlimited tier skips (`:218-225`); the voltage only serves recipe lookup. - EU per craft = `EU_MULTIPLIER × mEUt × mDuration` in long (`:179-180`), default multiplier 10. Stellar catalyst 20, Stargate Crystal Slurry 1000 (`TranscendentPlasmaMixerRecipes.java:126, 193`). The 2.9.0 dump has no recipe metadata, so multipliers come from source. The dump lacks the Inactive Cosmic Solder recipe (`:157-165`, EU/t `1_073_007_39` = 107,300,739); the source wins and the page lists it. - Parallel: `getMaxParallelRecipes()` = GUI `multiplier` (`:213-216`, GUI range 1 … Integer.MAX_VALUE, `MTETranscendentPlasmaMixerGui.java:29`, text field `numbersInt(1, Integer.MAX_VALUE)`), through `getTrueParallel` (`MTEMultiBlockBase.java:3278-3282`). `validateRecipe` lowers it to `min(storedEU / EUperCraft, maxParallel)` and fails with `insufficientStartupPower` below one craft (`:176-188`). - Payment: `onRecipeStart` subtracts `EUperCraft × calculatedParallels` from the wireless network and overwrites EU/t to 0 (`:192-203`). - No batch mode (`supportsBatchMode` not overridden, base returns false, `MTEMultiBlockBase.java:3379-3381`). - Examples are hand-derived from those lines (no overclock path, so `tools/java-ref` adds nothing). - Machine tier `UIV`: the controller is a research-station assembly line output at `RECIPE_UIV` (`tectech/loader/recipe/ResearchStationAssemblyLine.java:613-616`). ## Space Assembler Module (`machines/space-assembler.js`, rebuild of `new/Space Assembler Planner.html`) - Ported from `NOTES-nfr-space.md` (Space Assembler part), re-read against `TileEntityModuleAssembler.java`: power `V[tTier]` × `getMaxParallels()` A (`:156-160`), amperage OC off, max parallel `min(getMaxParallels(), parallelParameter)` (`:188-189`, parameter range 1 … max at `:104-111`), `setSpeedBonus(getSpeedBonus())` where `getSpeedBonus()` returns `1.0F / SPEED_BONUS` (`:190, 324, 407, 490`). Module constants T1 9/1/1/4/1.0F, T2 11/2/3/16/1.5F, T3 13/3/5/64/2.0F (`:276-284, 359-367, 442-450`). Module tier gate `:181-183`, space project gate `:172-178`. - The engine `ProcessingLogic` runs the whole chain (default `maxTierSkips` 1, imperfect OC). The old page had its own port; the engine port is the one checked against Java fixtures. - New in this page: module EU buffer `EU_BUFFER_BASE_SIZE (160,008,000) × (2L << (tTier − 7)) × bufferSizeMultiplier`, and the module constructors pass `MAX_PARALLELS` as `bufferSizeMultiplier` (`TileEntityModuleBase.java:43, 124`; T1 `super(..., MAX_PARALLELS)` `:294`). Mk-I 5.12 GEU, Mk-II 81.9 GEU, Mk-III 1.31 TEU. Power loss stop when the buffer is empty (`:175-177`). - Elevator charging (every 20 t, formed modules meeting the motor tier, `getEUVar() / n × 20` each, limited by what is left): `TileEntitySpaceElevator.java:676-700`. Not modelled numerically. - No batch mode: neither `TileEntityModuleBase` nor `TTMultiblockBase` overrides `supportsBatchMode` (grep), base returns false. - Examples: Energy Cluster Mk-II, Universe cell Mk-III, sub-tick Mk-III at parallel 8, Mk-I insufficient power were run through `tools/java-ref/run.sh "" case` with the module voltage, amperage = max parallels, `maxParallel` = setting, `speed` = `(double) (1.0F / SPEED_BONUS)` (0.6666666865348816 for Mk-II), `amperageOC=false`, `maxTierSkips=1`. All match the page. The 600 t Mk-II case reproduces the old hand check (192 outputs/min). - Presets: the example buttons use recipes from the 2.9.0 dump `gt.recipe.spaceAssembler` (23 recipes). Names: Energy Cluster = `gt.metaitem.01.32737` (`IDMetaItem01.java:430`). - Defect in the first draft of this page, fixed before commit: the Mk-II budget was written as UHV (2,097,152 V); `V[11]` is UIV, 33,554,432 V. ### Unverified - `MODULE_TIER` metadata of the real recipes: the recipes are registered outside GT5 and the dump does not export the metadata, so the required module tier stays an input (as in the old page). ## Dyson Swarm Ground Unit (`machines/horus.js`, rebuild of `new/Horus Swarm Console.html`) - Everything in the old page is ported: output formula, match point (modules for the bank), UHV wireless nominal, EU per rebalance and per hour, coolant, laser pair pick with buffer/burst/loss, the hatch matrix, the output-vs-modules chart and all six "failure mechanics" cards (now notes items 3-7). Citations re-checked against 2.9.0 line numbers (`TileEntityDysonSwarm.java:168, 291, 314, 369`; `TTMultiblockBase.java:1008, 1028, 1544, 1548`; `MTEHatchDynamoTunnel.java:69-76, 106-113, 164-176`; `BaseMetaTileEntity.java:474-550, 1320`). - New mechanic the old page did not model: module destruction per cycle. `destroyModules()` runs after `euPerTick` is fixed and after the coolant is consumed (`TileEntityDysonSwarm.java:282-311`): `moduleCount -= moduleCount * (2 * destroyModuleChance) / (exp(-a * (moduleCount - 1)) + exp(b * min(eAvailableData, (long) destroyModuleMaxCPS)))`. `int -= double` truncates the result. Defaults a 5e-5, b 3e-5, chance 0.066, max CPS 100,000 (`IGConfig.java:31-60`), identical in the pack `config/gtnhintergalactic.cfg:30-52`. Example loss values come from a Java copy of those lines (`/tmp/batch-8/dsj/DS.java`): 297/0 CPS → 20, 1000/100k → 7, 10000/0 → 822, 5000/50k → 126, 1/0 → 1. - New: dimension select from the full `powerFactors` list (defaults equal the pack config); other dimensions use `powerFactorDefault` = 0.0 (pack cfg). Wireless capacitor tier select: UHV/UEV/UIV/UMV, threshold ×100 per tier ÷ 6000 t (`ItemBlockLapotronicEnergyUnit.java:38-73`). - Laser matrix changed versus the old page: UMV 4,194,304 A (`dynamotunnel8.tier.12`) and UXV 4,194,304 / 16,777,216 A (`dynamotunnel8/9.tier.13`) are registered in 2.9.0 (`tectech/loader/thing/MachineLoader.java:1271, 1300, 1307`) and crafted in the research-station assembly line (`ResearchStationAssemblyLine.java:2937-2981`). The old page listed only assembler-craftable variants. The Legendary hatch (`dynamotunnel.tier.14`, UXV × V[13] A, `:1311-1313`) is not listed. - Machine tier `UIV`: the 2.9.0 dump has the controller (`gt.blockmachines.dysonswarm@14001`) in `gt.recipe.fakeAssemblylineProcess` at 31,457,280 EU/t. Modules: 64 per assembly-line craft at 1,966,080 EU/t, 100 t. - Computation unit: the config comment calls `eAvailableData` "computation per second"; the page uses that wording without further verification of the TecTech data unit. ## Dimensionally Transcendent Plasma Forge (`machines/dtpf.js`) - Read `MTEPlasmaForge.java` in full for processing: heat = coil heat only (`:820-822`), heat gate in `validateRecipe` (`:730-735`), `createOverclockCalculator` sets recipe/machine heat but neither `setHeatOC` nor `setHeatDiscount`, so heat has no OC/discount effect (`:713-723`); `setUnlimitedTierSkips()` (`:736`). Max parallel 1 (no supplier). (Verifier: the original note said "no batch mode override"; that is wrong, see Verification.) Hatch rules `:798-813`: ≤ 2 regular hatches of one tier, or exactly one exotic hatch and no regular one. - Discount: `running_time += mMaxProgresstime` on each successful start (`:669-677`), −100 per idle tick (`:940-942`), discount `max(0.5, 1 − min(rt / 576000, 1) × 0.5)` (`:881-887`). Catalyst input `(int) Math.round(amount × discount)`, residue output unchanged (`:742-752`). - Convergence: `isConvergenceActive() = convergence && discount == 0.5` (`:833-835`); the flag is cleared when the controller slot does not hold a Transdimensional Alignment Matrix (`:943-950`). `calculateCatalystIncrease` (`:893-933`) uses `getMaxInputEu()` = Σ hatch V × `maxWorkingAmperesIn` over normal + exotic hatches (`MTEExtendedPowerMultiBlockBase.java:131-133`, `ExoticEnergyInputHelper.java:54-64`), `powInt(double, long)` (no truncation of `recipeDuration`), long product then double, `(int)` of a long quotient. Enough-catalyst check `(amount + extra) / 2` against the matching hatch fluid. Residue `+= (int) (extra × Float factor)`, ported with `Math.fround`. - Recipes without catalyst under convergence: the chosen catalyst is appended with 0 L, extra computed, then `amount /= 2` regardless of running time (`:756-779`). - Examples: catalyst values from a Java copy of those lines (`/tmp/batch-8/dtpfj/DT.java`): Infinity T3 n 6, extra 59,882, catalyst 54,987, residue 54,987; SpaceTime with DTCC n 4, extra 826,731, catalyst 413,365, residue 103,341. OC values from `tools/java-ref/run.sh "" case` (regular and `timeRed=4`). All match the page. - Presets from the 2.9.0 dump `gt.recipe.plasmaforge` (83 recipes): EU/t, duration, heat, catalyst and residue amounts as dumped. Machine tier UIV: controller in `gt.recipe.fakeAssemblylineProcess` at 31,457,280 EU/t. ### Unverified - The dump's catalyst amounts are taken as given; the recipe generator (`PlasmaForgeRecipes`/loader) was not re-derived. ## Eye of Harmony (`machines/eye-of-harmony.js`) - Read `MTEEyeOfHarmony.java` (processing parts: `:787-847`, `:869-910`, `:1058-1263`, `:1298-1392`), `EyeOfHarmonyRecipe.java:115-213, 563-618` and `EyeOfHarmonyRecipeStorage.java` in full. - Recipe parameters per planet: the storage passes `spacetimeTier − 1` (rocket tier, 0 → 1, minus 1) as the recipe "rocket tier", so the required compression tier is `min(8, max(r, 1) − 1)`; time, H/He, efficiency and base chance use the dimension rocket tier `r` itself (`EyeOfHarmonyRecipeStorage.java:80-100`). Deep Dark uses 9 for everything (`:194-204`). - Start cost includes a plasma term: `Σ (long)(fuel × 3.85) × amount`, then `(long)(total × 3.85)` again (`EyeOfHarmonyRecipe.java:563-583, 605-617`), i.e. 3.85 is applied twice. Plasma fuel values (EU/L) were taken from the 2.9.0 dump `gt.recipe.plasmageneratorfuels` (cell recipes' specialValue), since `getPlasmaFuelValueInEUPerLiterFromMaterial` reads `plasmaFuels` (`GTUtility.java:4182-4192`). - Planet presets: plasma sets copied from the dump's `gt.recipe.eyeofharmony` fluid outputs; the rocket tier follows from the recipe duration (`(long)(18000 × 1.4^r)` s: 360000, 504000, 705580, 987820, 1382960, 1936160, 2710620, 3794880, 5312840, 7437960 t). Planets identified by their stone-dust output (`getStoneDustType`, `EyeOfHarmonyRecipe.java:215-248`): Moon, Europa, Callisto, Asteroids, Enceladus, Triton, Barnarda E, T Ceti E; Deep Dark is the 16-plasma recipe (`:162-166`). - Examples: all four running cases come from a Java copy of the arithmetic (`/tmp/batch-8/eohj/EOH.java`, includes `powBySquaring` verbatim). EU values exceed 2^53, so those examples use a 1e-12 relative tolerance. - Model choices: expected values for random rolls (`calculateIntegralChancedOutputMultiplier`), pity chance not modelled, item outputs not listed. ### Unverified - "Kuiper Belt" preset: the r = 7 recipe with asteroid stone dust. `getStoneDustType` maps both `As` and `KB` to asteroid dust; the identification as Kuiper Belt rests on rocket tier 7 vs Asteroids at 3, not on a direct dimension lookup. - Plasma fuel values come from the dump only (not re-derived from the plasma fuel loader). ## Forge of the Gods modules (`machines/forge-of-gods.js`) - One generic page for the four modules (Helioflare Power Forge = smelting, Helioflux Melting Core = molten, Heliothermal Plasma Fabricator = plasma, Heliofusion Exoticizer = exotic/magmatter; names from `tectech/loader/thing/MachineLoader.java:1349-1361`). A custom `mount()` page was not needed: module choice, recipe, Forge state and 30 upgrade toggles fit the generic form. - Module stats ported from `GodforgeMath.java:34-312` (heat, OC heat, max parallel in float, speed, EU discount cast to float, processing voltage, OC time factor, plasma tier, connection rules, max fuel factor, fuel consumption). The Forge applies them every 5 s to connected modules (`MTEForgeOfGods.java:374-458`); with TBF active, `calculateProcessingVoltageForModules` is skipped and the module keeps the GUI voltage (range 2e9 … Long.MAX, `VoltageConfigPanel.java:174-176`). - `maxBatteryCharge` is 100 in practice: `DEFAULT_MAX_BATTERY_CHARGE = 100` and the only writer outside NBT load is none (grep), so REC's discount is a constant 0.98918. - Active-upgrade count = START + toggled upgrades; rings = 3 with END, 2 with CD, else 1 (assumes the rings are built; `MTEForgeOfGods.java:313-357`). - Processing (`MTESmeltingModule.java:121-142`, `MTEMoltenModule`, `MTEPlasmaModule`, `MTEExoticModule`): `setAvailableVoltage(Long.MAX_VALUE)` × `setAvailableAmperage(Integer.MAX_VALUE)` → `availableEUt` wraps to 9,223,372,034,707,292,161 in `ProcessingLogic.createParallelHelper` (`ProcessingLogic.java:563`); the engine's `lmul` reproduces the wrap. Overclock calculator `setEUt(getSafeProcessingVoltage())`, amperage OC off, heat OC + heat discount with `setHeatDiscountMultiplier(0.95 | 0.92)` for smelting/molten. Exoticizer: ProcessingLogic max parallel stays 1; the generated recipe (200 t, RECIPE_MAX) scales outputs and EU by the module's max parallel (`MTEExoticModule.java:204-264`). - Verification: module stats from a Java copy of the GodforgeMath arithmetic (`/tmp/batch-8/fogref/FOGStats.java`), processing from the unmodified 2.9.0 `OverclockCalculator` through a scratch copy of `tools/java-ref/RefMain.java` with two extra keys (`heatExp` → `setHeatDiscountMultiplier`, `avail` → wrapped available EU/t). All 8 running examples match. The shared `tools/java-ref` was not changed. - Dead end: the first plasma/exotic expectations used 31 active upgrades (TBF on); the page default turns TBF off (30 upgrades), which changes POS and DOR. Re-ran the Java copy with 30. ### Unverified - Upgrade prerequisites and the "Rings assumed built" shortcut are not checked against the structure code paths. - Plasma recipe tier metadata (`FOG_PLASMA_TIER`, multi-step) is not in the dump; the page takes them as inputs. ## Verification Independent review of the six pages against the 2.9.0 source, after merging main (batches 2, 3, 6, 7). No shared file is changed on this branch (`git diff main -- assets tools tests index.html` is empty), so there were no shared edits to review. ### Transcendent Plasma Mixer - Re-read `MTETranscendentPlasmaMixer.java:162-225`, `TranscendentPlasmaMixerRecipes.java` and `getTrueParallel` (`MTEMultiBlockBase.java:3278-3282`). EU per craft, wireless cap on the parallel (BigInteger `availableEU / recipeEU`, then `min` with the GUI value), no overclock, `Long.MAX_VALUE` × 1 A and the 0 EU/t overwrite match the page. Recipe EU/t, multipliers and outputs re-checked against the source; the 8 dump recipes match (`gt.recipe.transcendentplasmamixerrecipes`). - Defect fixed: the input hints of four presets were wrong. Stellar catalyst has 18 plasmas plus Naquadria 100 L and Raw Star Matter 25 L (`:100-127`); Creon has Fermium, Thorium, Celestial Tungsten, Calcium plasma and DTR (`:141-153`); Inactive Cosmic Solder has DTR, Tin, Antimony and Lead plasma and Raw Star Matter 25 L (`:155-166`); Stargate slurry has 15 plasmas plus the 5 catalysts (`:168-196`). - Added: an error when `multiplier × mEUt × mDuration` exceeds `Long.MAX_VALUE` (Java long overflow, reachable only with custom inputs). ### Space Assembler Module - Re-read `TileEntityModuleAssembler.java:90-200, 270-330`, `TileEntityModuleBase.java:35-230, 300-312`, `TTMultiblockBase.checkProcessing` (`:816-822`). Power, speed, parallel, module-tier gate and buffer size match. No defect found. - Independent Java checks: `run.sh "" case recipeEUt=491520 duration=200 voltage=2097152 amperage=4 maxParallel=4 speed=1.0 amperageOC=false maxTierSkips=1` → 4 parallels, 1 OC, 7,864,320 EU/t, 100 t; `recipeEUt=7864320 duration=37 voltage=33554432 amperage=16 maxParallel=16 speed=0.6666666865348816` → 16, 1 OC, 503,316,480 EU/t, 12 t. The page gives the same (not added as examples; the six existing examples cover these paths). - Coverage against `new/Space Assembler Planner.html`: inputs, six tiles, ME pattern factor, both charts and the note are all present. Duration is entered in ticks instead of seconds. ### Dyson Swarm Ground Unit (Horus) - Re-read `TileEntityDysonSwarm.java:150-420, 553-570` and `IGConfig.java:25-170`; the config fields are `double` (not float), so the destruction formula is double arithmetic as ported. Power factors and the other defaults equal the pack `config/gtnhintergalactic.cfg`. Laser hatch matrix equals the registrations in `tectech/loader/thing/MachineLoader.java:1162-1313`. - Hand checks: 297 modules, 0 CPS → 297 × 0.132 ÷ (e^−0.0148 + 1) = 19.74 → 277 left → 20 lost; 100,000 CPS → 2 lost; 10,000 modules, 0 CPS → 822 lost. All match. - Coverage gap fixed: the old page showed the capacity of the laser hatch as bought (V × stocked amps); the rebuild dropped it. It is back in the laser pair tile (`laserCapacity`). ### Dimensionally Transcendent Plasma Forge - Re-read `MTEPlasmaForge.java:95-150, 660-960, 1055-1075`, `GTUtility.powInt` overloads (`:3570, 3597`, both double) and `MTEExtendedPowerMultiBlockBase.getMaxInputEu` (`:131-133`). - Defect fixed: `supportsBatchMode()` returns true (`MTEPlasmaForge.java:1061-1063`); the page and the notes said there was no batch mode. Added the toggle (batch size 128, `MTEMultiBlockBase.java:1162, 1365-1367`) and the example "Bedrockium T4, batch mode": `run.sh "" case recipeEUt=271988160 duration=213 voltage=134217728 amperage=4096 maxTierSkips=2147483647 batch=128` → 5 OC, 6 t, ×21 → 126 t, 278,515,875,840 EU/t; catalyst round(4279 × 0.5) = 2140 per parallel. - Hand check of the convergence example: n = log4(549,755,813,888 ÷ 102,400,000) = 6; extra = (long)(63 × 419,430,400,000 × 2500/4096) ÷ 269,326,451 = 59,882; needed (50,092 + 59,882) / 2 = 54,987; catalyst round(109,974 × 0.5) = 54,987; residue 25,046 + (int)(59,882 × 0.5f) = 54,987. Matches. - The seven presets match the dump `gt.recipe.plasmaforge` (EU/t, duration, heat, catalyst, residue). ### Eye of Harmony - Re-read `MTEEyeOfHarmony.java:780-910, 1055-1270, 1290-1395`, `EyeOfHarmonyRecipe.java:110-215, 555-620` (`pow` is Guava `IntMath.pow`, so the VM3 term is long arithmetic), `EyeOfHarmonyRecipeStorage.java:60-110, 185-215`. Time, chance, yield, overflow penalty, parallels, BigInteger EU scaling and the molten SpaceTime per failed parallel (recipe rocket tier = storage tier − 1) match. - The 16 plasma fuel values were checked against the dump `gt.recipe.plasmageneratorfuels` (plasma cells `gt.metaitem.01.31`); all match. Plasma sets of the presets match `gt.recipe.eyeofharmony` rows of the same duration. - Added the example "Moon, all fields T1", derived by hand (derivation in its `source`): 504,000 t, chance 0.95, plasma EU 148,181,202,400,000, EU in 50,548,445,443,552,000, EU out 21,230,347,086,291,836, SpaceTime 27,360 L per failed parallel. - Coverage limit (not a defect in the arithmetic): the dump has 40 EoH recipes; the page names 9 planets plus Deep Dark. Other planets use the "Other planet" option with a rocket tier and a manual plasma EU term. ### Forge of the Gods modules - Re-read `GodforgeMath.java:30-340`, `MTEBaseModule.java:130-215, 278-280, 344-346, 450-467`, `MTESmeltingModule.java:50-150`, `MTEMoltenModule.java:55-118`, `MTEPlasmaModule.java:55-116`, `MTEExoticModule.java:95-270`, `MTEForgeOfGods.java:430-500`, `ForgeOfGodsData.java:26-58, 121-155`. Heat, OC heat, float parallel product, speed (computed after the parallel, `MTEForgeOfGods.java:442-446`), discount, voltage, OC factor, connection rules and the processing setup match. The plasma module has no processing-voltage check in `validateRecipe`, as the page has it. - Independent Java check of "Smelting, no upgrades, factor 5": `run.sh "" case recipeEUt=1966080 duration=10800 voltage=2000000000 amperage=1024 maxParallel=1024 amperageOC=false maxTierSkips=2147483647 recipeHeat=10800 machineHeat=15000 heatOC=true heatDiscount=true` → 1024 parallels, 5 OC, 84 t, 1,679,173,298,947 EU/t. Matches. Hand check of the plasma module stats (factor 20, all upgrades but TBF): heat 30,700, max parallel ⌊512 × 2 × 4.6666665 × 2.228 × 4.75⌋ = 50,572, voltage 2.56·10¹¹. Matches. - Defect fixed: the Exoticizer only starts when the hatches hold exactly the generated input amounts (`MTEExoticModule.java:150-155`), so the parallel helper never finds more than one input set. The page let sub-tick parallels through (26 parallels at TBF 9·10¹⁸). It now sets an input limit of 1; new example "Exoticizer at TBF 9e18" from `run.sh "" case recipeEUt=2013265912 duration=200 voltage=14322006268408036 amperage=1 maxParallel=1 amperageOC=false maxTierSkips=2147483647 speed=0.913505134925432 euMod=0.9435352087020874 timeRed=2.0225 inputLimit=1` → 11 OC, 1 t, parallel 1, 7,967,446,495,193,332 EU/t. - Added: warning that the Forge skips all module updates while the internal battery is 0 (`MTEForgeOfGods.java:437-438`); fuel use doubles while the battery charges (`:497-498`); hint that the smelting module's furnace mode switches to furnace recipes (`MTESmeltingModule.java:63-65`). ### Unverified (verifier) - FoG: the wireless start-power check (`predictDrainedEnergy` against the stored network EU) is not modelled; the page has no stored-EU input. - FoG Exoticizer: input limit 1 assumes the player supplies exactly one generated set; `ArrayUtils.contains` on `FluidStack` equality was not traced into Forge's `FluidStack.equals`. - EoH planet names of the presets rest on the implementer's stone-dust identification; the verifier only checked that each preset's plasma set and duration exist in the dump. - Horus: the CPS unit of `eAvailableData` (see above) was not verified.