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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user