PolyFactory:Fan: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
Added formula for fan speed
m Fixed docs on fomula
 
Line 17: Line 17:


=== Movement ===
=== Movement ===
Fans will move an entity direction it's facing with force proportional to distance from the fan, using this formula, where ''d'' is the distance from the fan to the entity, ''l'' is the length between the fan and the closest fan-preventing block, ''s'' is the rotation speed, and ''m'' is the movement multiplier<ref>[[PolyFactory:Stable Ground]] sets this to 0, otherwise 1</ref>:
Fans will move an entity direction it's facing with force proportional to distance from the fan, using this formula, where ''d'' is the distance from the fan to the entity, ''l'' is the length between the fan and the closest fan-preventing block<ref>Up until the length is not less than speed * 20 * 0.98 ^ length</ref>, ''s'' is the rotation speed, and ''m'' is the movement multiplier<ref>[[PolyFactory:Stable Ground]] sets this to 0, otherwise 1</ref>:
  push = max(s * (l - d) / (l + 1) * 0.98 ^ l * m, 0);
  push = max(s * (l - d) / (l + 1) * 0.98 ^ l * m, 0);



Latest revision as of 02:39, 15 January 2026

Fan
PolyFactory-Fan.png: Infobox image for Fan the block in Minecraft
Renewable

Yes

Stackable

Yes  (64)

Tool

Any (Pickaxe speeds up)

Blast resistance

1

Hardness

1

Luminous

No

Transparent

Yes

Flammable

No

Catches fire from Lava

No

Fan is a rotational block added by PolyFactory. It can be placed in any direction, similar to a dropper. When connected and powered with rotational force, it will push any entity (including the player) in direction it's facing with force proportional to distance from the fan, distance from fan to a wall, and the speed it's rotating. By using the Wrench, it can be rotated or set to "reverse" mode, which makes it pull entities instead.

Movement

Fans will move an entity direction it's facing with force proportional to distance from the fan, using this formula, where d is the distance from the fan to the entity, l is the length between the fan and the closest fan-preventing block[1], s is the rotation speed, and m is the movement multiplier[2]:

push = max(s * (l - d) / (l + 1) * 0.98 ^ l * m, 0);

Obtaining

It can be crafted using Steel Plate, Axle, Iron Ingot and Iron Bars.

Gallery

  1. Up until the length is not less than speed * 20 * 0.98 ^ length
  2. PolyFactory:Stable Ground sets this to 0, otherwise 1