GregTechCEu Modern

GregTechCEu Modern

6M Downloads

Unlock FE-EU ratio in config

Closed this issue ยท 1 comments

commented

Cross-mod Integration

No response

Minecraft Version

Both

Feature Description

Currently as of 7.1.2 (for MC 1.20.1), the config value for FE-EU conversion ratio is restricted between 1 through 16.

When trying to change to a value higher than 16, the value is clamped down to 16 when Minecraft boots up.

Therefore I would like for the value to be unlocked, possibly with the maximum 2147483647 if able, or more reasonable value such as 32767 FE to 1EU.

For context, there is a certain mod I use which generates FE too easily. Although I can change the FE requirement of recipes to compensate, I can't change the generation.
The value I'm intending to use is nowhere near that high, only 256:1.

@Configurable
@Configurable.Comment({ "Forge Energy to GTEU ratio for converting FE to EU.", "Only affects converters.",
"Default: 4 FE == 1 EU" })
@Configurable.Range(min = 1, max = 16)
public int feToEuRatio = 4;
@Configurable
@Configurable.Comment({ "GTEU to Forge Energy ratio for converting EU to FE.",
"Affects native conversion and Converters.", "Default: 4 FE == 1 EU" })
@Configurable.Range(min = 1, max = 16)
public int euToFeRatio = 4;
}

commented

Handled by Pull #3656