====== FE Power Support ====== LanteaCraft exposes optional NeoForge FE support for Stargate bases and the Naquadah Generator. The default gameplay path stays close to classic LanteaCraft: gates can dial and remain open without FE unless the relevant power requirements are enabled in ''lanteacraft-common.toml''. ===== Stargate Buffers ===== Assembled Stargate bases accept FE into an internal buffer. Capacity and transfer are controlled by ''power.gateBufferCapacity'', ''power.gateMaxReceive'', and ''power.gateMaxExtract''. Extraction is disabled by default with ''power.allowGateEnergyExtract=false'', so gates behave like consumers rather than general-purpose batteries. ===== Dial And Sustain Costs ===== ''power.requirePowerToDial'' makes dialing consume FE before a connection is created. By default the origin gate pays this cost. ''power.requirePowerToMaintainWormhole'' drains FE every tick while an outgoing wormhole is open. If sustain power cannot be paid, ''power.closeWormholeWhenPowerRunsOut=true'' closes the connection cleanly. ''power.wormholePowerMode'' controls which side pays sustain: * ''ORIGIN_ONLY'': only the dialing gate pays. * ''DESTINATION_ONLY'': only the receiving gate pays. * ''BOTH_SIDES'': both buffers can contribute. * ''PREFER_ORIGIN'': origin pays first, destination covers the remainder. * ''PREFER_DESTINATION'': destination pays first, origin covers the remainder. ===== Distance Scaling ===== Same-dimension distance costs are enabled with ''power.distance.enableDistanceCost''. Tiered scaling uses near, medium, and far multipliers; linear scaling uses ''sameDimensionDistanceMultiplier'' and is capped by ''sameDimensionDistanceCostCap''. Cross-dimension links use separate dial and sustain multipliers. ===== Energy Iris ===== Mechanical irises do not require FE. Energy irises consume ''power.iris.energyIrisClosedCostPerTick'' while closed when ''power.requirePowerForEnergyIris=true''. If the gate cannot pay, ''power.iris.energyIrisFailOpenWhenUnpowered=true'' opens the iris. ===== Naquadah Generator ===== The Naquadah Generator uses the legacy LanteaCraft 1.7.10 generator model and produces FE from Naquadah fuel. Insert Naquadah, Naquadah Ingots, or Naquadah Blocks by using them on the generator, or automate the fuel slot with item capabilities. The generator stores FE internally and outputs to adjacent FE handlers. Casual packs can leave dial and sustain requirements disabled. Tech packs can enable ''requirePowerToDial'' and ''requirePowerToMaintainWormhole'', raise distance multipliers, and use ''PREFER_DESTINATION'' or ''BOTH_SIDES'' to make powered receiving gates meaningful.