mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
ABM without_neighbors (#14116)
This commit is contained in:
parent
c1ea49940b
commit
d08d34d803
16 changed files with 347 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue