mekanism / Mekanism

A mod for Minecraft
MIT License
1.4k stars 531 forks source link

Wind Generator Clamping Issue #8228

Open wallonfire opened 2 months ago

wallonfire commented 2 months ago

Issue description

In generators.toml it has maxY = 2031.

This normally wouldn't be an issue because the config says it would be clamped. But it's not, or at least not properly.

Default configs points to generating 480J/t. However at max world height it only generates 404J/t. Losing about 16% of the value.

Can not place generators in the nether to test if it's properly clamped there.

Placing at y=128 produces a very small amount of power, so this is not an issue of getting smaller as you diverge from y=128.

Setting "maxY" to any value <319 will work properly.

Steps to reproduce

  1. Place Wind Generator Max Height
  2. Observe incorrect generation value.

Minecraft version

1.21.1 (Latest)

NeoForge version

21,1,5

Mekanism version

10.7.7 (Latest)

Other relevant versions

Alpha version 10.7.7.64

If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)

No response