[BUG] Capacitor Bank energy limit #302

Closed
opened 2023-07-14 08:19:52 +00:00 by gabrieldn · 0 comments
gabrieldn commented 2023-07-14 08:19:52 +00:00 (Migrated from github.com)

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Currently can't fill a Capacitor Bank multiblock with more than 2,147,483,647 energy and the "percentage gauge" does not represent its actual capacity when over that value.

Reading the energy of the multiblock works fine in the UI.
But if you connect to another capacitor bank that contains more energy, it will increase the total in the UI but the "percentage gauge" will keep its behavior, limited to the mentioned value.

Just to be clear what I refer as "percentage gauge" is the capacitor bank face that can be changed by crouching + right clicking it once on an empty face.

Expected Behavior

  1. Allow the Capacitor Bank multiblock to be filled to its entire capacity and the "percentage gauge" to actually represent its capacity
  2. Or prevent multiblocks that can't be fully functional to be formed

Steps To Reproduce

  1. Build a Capactior Bank multiblock with at least 2,147,483,647 energy capacity
  2. Try to fill it
  3. Observe the "percentage gauge" as it fills

Environment

- OS: Windows
- Java version: Temurin 17.0.7+7 hotspot
- Minecraft version: 1.20.1
- Version: 6.0.5-alpha-all

Anything else?

No response

### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Behavior Currently can't fill a Capacitor Bank multiblock with more than 2,147,483,647 energy and the "percentage gauge" does not represent its actual capacity when over that value. Reading the energy of the multiblock works fine in the UI. But if you connect to another capacitor bank that contains more energy, it will increase the total in the UI but the "percentage gauge" will keep its behavior, limited to the mentioned value. Just to be clear what I refer as "percentage gauge" is the capacitor bank face that can be changed by crouching + right clicking it once on an empty face. ### Expected Behavior 1. Allow the Capacitor Bank multiblock to be filled to its entire capacity and the "percentage gauge" to actually represent its capacity 2. Or prevent multiblocks that can't be fully functional to be formed ### Steps To Reproduce 1. Build a Capactior Bank multiblock with at least 2,147,483,647 energy capacity 2. Try to fill it 3. Observe the "percentage gauge" as it fills ### Environment ```markdown - OS: Windows - Java version: Temurin 17.0.7+7 hotspot - Minecraft version: 1.20.1 - Version: 6.0.5-alpha-all ``` ### Anything else? _No response_
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Team-EnderIO/EnderIO#302
No description provided.