[Bug]: FE and Kinesis extraction pipes render flow starting at the centre and scroll the source arm backwards
@chonkzillaofficial đang làm issue này rồi.
Từ ngày 5/12/2026.
- #88 của @chonkzillaofficial — đang mở
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 79/100
Hướng nghiên cứu
Đọc tryExtractPower trong PipeFlowForgeEnergy và PipeFlowPower, sau đó so sánh cách hạch toán và hướng dòng chảy của nó với vòng lặp định tuyến trong onTick. Xóa phần cập nhật trùng lặp giá trị trung bình công suất và phần gán dòng chảy cho tay hút được mô tả trong issue. Xác minh rằng các tay hút FE và Kinesis vẫn kết nối và dòng chảy hướng về trung tâm, đồng thời trung tâm cuộn trong khi truyền.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Minecraft version
26.3
Mod loader
NeoForge
BuildCraft Community Edition version
8.0.31 (also confirmed still present on current main at c8dff44713fd9f6917d6b1eeda3bf1164db99426)
Bug description
On a wooden (or diamond-wood) FE or Kinesis pipe that is extracting from an adjacent energy source, the visible flow is wrong in two ways:
- The arm next to the source shrinks and detaches from the centre cube, so the flow looks like it starts in the middle of the pipe rather than at the source face.
- That same source arm scrolls toward the source. On a straight pipe the two arms then cancel, so the centre cube does not scroll at all.
Expected: the same as classic BuildCraft 1.12. The extraction arm stays connected to the centre, flow on an input arm moves toward the centre, and the centre cube scrolls with the transfer.
Actual: the source arm is drawn short and detached, scrolls backwards, and the centre cube stays still.
Root cause (both symptoms live in tryExtractPower):
-
tryExtractPowerdoessection.powerAverage.push(accepted)on the pulling side. The routing loop inonTicklater doesinput.powerAverage.push(used)for the same energy (that input is the pulling section). The pulling section therefore averages 2× the real throughput.displayPower = sqrt(avg / maxPower)reaches √2 ≈ 1.41 at full flow.PipeFlowRendererFE.renderSidePowerassumes 0..1 and computescentreRadius = 0.252 - 0.248 * centrePower, so the arm is drawn short and detached from the centre cube. BuildCraft 1.12 has no push intryExtractPower(extraction was a TODO there); the routing loop is the only accounting. -
tryExtractPoweralso setssection.displayFlow = EnumFlow.INon the pulling arm. In the routing loop the input arm is labelledOUTand the output armIN(same as 1.12; with the UV offset convention,OUTon an input arm means content moves toward the centre).tryExtractPowerruns after the routing loop in the same tick, so the pulling arm ends the tick asINand content moves toward the source. The two arms of a straight wood pipe then cancel inclientDisplayFlowCentre, and the centre stays at (0.5, 0.5, 0.5). Classic 1.12 never toucheddisplayFlowin extraction.
Steps to reproduce
- Place a wooden FE pipe (or wooden Kinesis pipe) next to a source that it can extract from (for example an FE engine / energy storage, or a Kinesis engine).
- Connect the other side to a consumer with a gold or stone pipe so energy actually flows.
- Look at the wooden pipe at full flow:
- The arm against the source is short and does not meet the centre cube (flow appears to start mid-pipe).
- That arm's texture scrolls toward the source, and the centre cube does not scroll.
Additional context
Reproduced in a private 26.3 NeoForge pack with BCCE 8.0.31.
After removing the powerAverage.push and the displayFlow = IN assignment from tryExtractPower (both classes), measurements on T and 4-way junctions of gold FE pipes, and on a line fed from both ends, were correct: every input arm is OUT, every output arm is IN, and the centre scroll sums correctly. No per-arm direction bug was found in the junction routing itself.
This is not issue #54 (FE connecting to a non-MJ sender) or #82 (MJ drop-off over distance).
A follow-up PR removes those two assignments from tryExtractPower in PipeFlowForgeEnergy and PipeFlowPower. Actual energy transfer is unchanged.
Found and fixed with AI assistance; tested on the versions listed.
- Ngôn ngữ chính
- Java
- Star
- 20
- Fork
- 12
- Merge trung bình
- 21 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của BCCE-team/BuildCraft
-
[Bug]: Void fluid pipes refund destroyed fluid and fill up instead of voidingCó thể đã có người làm @chonkzillaofficial đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
BCCE-team/BuildCraft#84 ·
-
[Bug]: Stacked tanks draw fluid at the seam / bottom of the upper tankCó thể đã có người làm @chonkzillaofficial đã nhận hôm nay. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
BCCE-team/BuildCraft#83 ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
BCCE-team/BuildCraft#82 ·
Tất cả issue của BCCE-team/BuildCraft
Issue tương tự
-
[P2] 生产环境下启动门闩的失败明细不进容器标准输出Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Lincoln-cn/JAiRouter#1473 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Link not working in the feedback concerning String.format() in exercise 'Tim from Marketing'Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
exercism/java-analyzer#379 ·
-
area: ui bug priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
tetsuji16/microProject#1893 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
liberation-data/fornax4j#325 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 3 ngày