rwtema / Extra-Utilities-2-Source

Sourcecode for Extra Utilities
Other
109 stars 75 forks source link

Terraformer may not be changing tile temperature enough #407

Open gchristopher opened 4 years ago

gchristopher commented 4 years ago

Symptom: When using the terraformer to change tile biomes for Forestry bees, the Forestry mod reports that the temperature value for the tile does not match what it should be for the changed biome. Rainfall appears to work correctly. Temperature and rainfall values are both changing at least enough that other mods register the value is changing.

Suspected cause: https://github.com/rwtema/Extra-Utilities-2-Source/blob/master/1.10.2/src/main/java/com/rwtema/extrautils2/tile/TileTerraformer.java#L80 hardcodes different multipliers for temperature and rainfall differences, but I wasn't able to find any difference in the subsequent arithmetic used to apply a changed value to the map tile. Is may be possible that the lower value for temperature is related to that value not changing enough. (And if resulting values were inspected in NBT, a 3/4 scaling factor in the resulting difference applied to the tile would help to confirm that guess.)