PolyFactory:Windmill: Difference between revisions
m Typo "Whatever to Whenever" |
Added formulas for windmill speed and stress |
||
| Line 22: | Line 22: | ||
# Amount of sails, with minimum being 2. It effects final stress capacity supported by the windmill. | # Amount of sails, with minimum being 2. It effects final stress capacity supported by the windmill. | ||
# Height it is placed on (depending on dimension). It needs to be at least 5 blocks above the ground in Overworld to start rotating, through being higher gives better results. In The Nether, it needs to be around y=64. In The End dimension position doesn't matter. It effects final speed and stress capacity. | # Height it is placed on (depending on dimension). It needs to be at least 5 blocks above the ground in Overworld (and any modded dimensions) to start rotating, through being higher gives better results. In The Nether, it needs to be around y=64. In The End dimension position doesn't matter. It effects final speed and stress capacity. | ||
# The biome, with ocean biomes giving x1.3 and beaches and mountains x1.2 boost to both speed and stress capacity. | # The biome, with ocean biomes giving x1.3 and beaches and mountains x1.2 boost to both speed and stress capacity. | ||
# Whenever it is raining, giving additional x1.1 boost to speed and stress capacity. | # Whenever it is raining, giving additional x1.1 boost to speed and stress capacity even if under shelter. | ||
You can connect multiple windmills in parallel to increase total stress capacity available. | You can connect multiple windmills in parallel to increase total stress capacity available. | ||
Formula for speed, where ''x'' is speed, ''y'' is the number of sails, ''p'' is the block position, ''b'' is the biome multiplier, ''r'' is the rain multiplier, and ''d'' is the distance to ground:<ref name=":0">Assuming 2 or more sails</ref> | |||
If NETHER: Base ''x = 32 - abs(p.getY() - 64) / 2.0; If END: x = 5; Else: x = d - 2;'' | |||
If < 2 sails or x = 0, consume 0.15 stress and return 0 speed, 0 stress capacity. [??, needs checking!] | |||
''speed = min(log(x) / log(2) * 2.1, 10.5) * b * r;'' | |||
If speed <= 0 return 0 speed, 0 stress capacity. | |||
Formula for stress capacity, where ''s'' is speed and ''y'' is the number of sails:<ref name=":0" /> | |||
''stress = min(max(s * 0.15 * y * 1.2, 0.5), 18)'' | |||
=== Obtaining === | === Obtaining === | ||