Skip to content

Fix Fuel Generator energy output querying the wrong receiver face - #873

Merged
Rearth merged 1 commit into
Rearth:26.1from
GammaQQ:patch-1
Nov 18, 2026
Merged

Rearth merged 1 commit into
Rearth:26.1from
GammaQQ:patch-1

Conversation

@GammaQQ

@GammaQQ GammaQQ commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Description

Fix Fuel Generator energy output querying the wrong face of neighboring blocks.

The output direction is computed from a machine core toward its neighboring receiver, but the capability context must name the receiver face pointing back toward the generator. Reverse that direction for both output ports.

This prevents direct output into side-sensitive handlers such as Ender IO energy conduits from silently accepting zero energy. Oritech energy pipes hide the issue because their energy lookup ignores the queried direction.

Reported environment: Minecraft 26.1.2, Oritech 2.0.0-exp12, Ender IO 9.0.6-alpha. The same code remains in upstream branch 26.1 at the time of inspection.

How Has This Been Tested?

  • Inspected the installed Oritech and Ender IO implementations and current upstream source.
  • The reporting player confirms direct Ender IO output fails while adding an Oritech energy pipe between the generator and conduit works.
  • Patched build tested in game. This remains pending; no post-fix in-game result is claimed.

Suggested verification: test both generator ports in all four horizontal orientations, with Ender IO conduits connected to a non-full consumer; compare before and after the patch and verify an Oritech pipe still works.

Checklist

  • My code uses the var keyword where applicable.
  • The capability face inversion is explained in a code comment.

Refactor direction calculation to use opposite direction.
@Rearth

Rearth commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Hi, thanks for the detailed investigation and simple fix

@Rearth
Rearth merged commit fa37aef into Rearth:26.1 Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants