-
Notifications
You must be signed in to change notification settings - Fork 406
Description
Your GTNH Discord Username
No response
Your Pack Version
2.8.0
Your Server
SP
Java Version
Java 25
Type of Server
Single Player
Your Expectation
A transformer should not be able to explode unless power is input into an input side that does not accept the input voltage.
The Reality
If a transformer is right-clicked with a soft mallet (swapping it from Step Down to Step Up mode) it is possible for the transformer to explode if power is drawn in that same tick.
Consider the following setup (this works with any voltage tier, just using LV and MV as example):
(MV generator) -> (MV to LV transformer) -> (LV machine)
If the transformer is in Step Down mode the LV machine is powered, everything is working correctly.
If the transformer is in Step Up mode, nothing happens because the output side is facing the generator and not the LV machine, no power is input into or output out of the transformer.
However, if the transformer is in Step Down mode and is hit with a soft mallet to change to Step Up mode, it will most likely explode instantly. This should not happen because in Step Up mode the transformer should not be receiving energy at all.
I suspect there is one tick in which the transformer still accepts power through its (now) output side, but because it expects LV voltage and gets MV voltage it explodes.
This might be the underlying cause of #15094.
Your Proposal
Make the transformer not explode when switching modes while power is connected.
Final Checklist
- I have searched this issue tracker and there is nothing similar already. Posting on a closed issue saying the bug still exists will prompt us to investigate and reopen it once we confirm your report.
- I can reproduce this problem consistently by follow the exact steps I described above, or this does not need reproducing, e.g. recipe loophole.
- I have asked other people and they confirm they also have this problem by follow the exact steps I described above, or this does not need reproducing, e.g. recipe loophole.