File Details
lightdust-1.7.4.jar
- R
- Apr 24, 2026
- 96.71 KB
- 380
- 1.20.1
- Forge
File Name
lightdust-1.7.4.jar
Supported Versions
- 1.20.1
Curse Maven Snippet
Sorry for the wait! Done with my finals so now I have some time again.
Major Features
Cave Drafts: Ambient dust now dynamically calculates a pressure gradient allowing it to flow through cave systems (high pressure to low pressure basically). Dust should mostly go down long corridors, wrap around corners, and get sucked through U bends just like real atmospheric drafts instead of just bouncing off walls.
enableCaveDrafts(Default:true): Enables air pressure and drafts inside caves.caveDraftStrength(Default:0.85): Multiplier for the speed of wind drafts inside caves.
In the case that you are worried about the performance of it, don't worry I have done a number of optimizations to it so it should have little to no performance impact except on older computers. The following optimizations were made:
Environmental Collision Optimization: Rewrote the environmental collision logic. The mod now uses fast fail checks that skip heavy collision calculations for empty air blocks.
Wind Caching: Added a new spatial caching system for environmental wind data. Particles flying through the same space share their pressure gradient calculations instead of doing the math individually.
Minor Features
Minecarts: Minecarts will now push the ambient dust ahead of them and disturb the dust.
Cobwebs: Ambient dust that drifts into a cobweb will now get caught and stick to it.
Simplified Configuration: Adjusted the internal math for multiple configs. Configs that used very small (eg 0.0001) numbers can now be written as 1 for 1x or 2 for 2x instead of 0.0001 and 0.0002.
Performance
This is a more general optimization.
BFS Spawning: Replaced the expensive per tick LOS raycasts with an optimized Breadth First Search flood fill. The mod now maps out guaranteed contiguous air spaces twice a second which should eliminate the wasted spawn calculations in solid walls.
Fixes
Crash Fix (issue #5): Fixed a ticking particle crash when dust attempts to interact with soul fire in the Nether. This occurred because I forgot to check if the fire block actually had directional properties (standard fire can attach to walls, but minecraft:soul_fire only burns flat on surfaces).

