Download

How do I install this?

Air Currents

sum_air_currents

In development. Expect issues!

  • can push players
  • can push entities that implement it
  • particles that show wind direction
  • commands and settings for configurability
  • no sounds yet
  • doesn't apply underground, only when 15 light level (which is only in natural light) or tests for natural light (mte 5.6)
  • works with sum_airship for smoke and airship being affected by wind

This is primarily for airships, but can effect flying with elytra in mcl for example. Should be compatible with any game, and almost any engine (if the get_natural_light function is not available it defaults to a pre 5.6 method).

Documentation

The global var is sum_air_currents. Use this to get the wind or set anything. For most uses you can do

local wind = vector.new() 
if sum_air_currents ~= nil then
⠀⠀wind = sum_air_currents.get_wind()
end

You can also use apply_wind:

local new_vel = sum_air_currents.apply_wind(vel, pos)

All of these methods are turned on or off with the command wind off/on and wind pushentities true/false.

More documentation will come with time.

Reviews

Review

Do you recommend this mod?

  • Dont stand still if you are on the edge of a cliff

    The wind moves you and other mobs around, you can also see particles flown by the wind and it really sets a mood playing with this mod

    0 comments

Used By