Air Currents (wind)

Description

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?

Releases

2022-08-20

Download

2022-08-20 01:15 UTC

2022-08-20 🔗

No release notes

2022-08-19

Download

2022-08-19 01:15 UTC

2022-08-19 🔗

No release notes

2022-08-15

Download

2022-08-15 13:17 UTC

2022-08-15 🔗

No release notes

2022-08-14

Download

2022-08-13 16:18 UTC

2022-08-14 🔗

No release notes

2022-08-11

Download

2022-08-11 01:28 UTC

2022-08-11 🔗

No release notes

All releases

Threads

New thread

Thread Last Reply

No threads found

Information

Provides

sum_air_currents

Dependencies

Required
No required dependencies

Information

Type
Mod
Technical Name
sum_air_currents
Languages
English
License
MIT for code,
CC-BY-4.0 for media.
Maintenance State
Maintenance Only
Added
2022-08-09 06:12 UTC
Maintainers
Sumi

Used By