1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

ABM without_neighbors (#14116)

This commit is contained in:
sfence
2024-09-26 17:32:55 +02:00
committed by GitHub
parent c1ea49940b
commit d08d34d803
16 changed files with 347 additions and 6 deletions

View File

@@ -5524,6 +5524,8 @@ Utilities
hotbar_hud_element = true,
-- Bulk LBM support (5.10.0)
bulk_lbms = true,
-- ABM supports field without_neighbors (5.10.0)
abm_without_neighbors = true,
}
```
@@ -9106,6 +9108,11 @@ Used by `minetest.register_abm`.
-- If left out or empty, any neighbor will do.
-- `group:groupname` can also be used here.
without_neighbors = {"default:lava_source", "default:lava_flowing"},
-- Only apply `action` to nodes that have no one of these neighbors.
-- If left out or empty, it has no effect.
-- `group:groupname` can also be used here.
interval = 10.0,
-- Operation interval in seconds