鏡像自
https://github.com/luanti-org/luanti.git
已同步 2025-11-01 15:55:26 +01:00
DOCS: state that initial_properties are shared between entity instances
此提交包含在:
@@ -8915,7 +8915,10 @@ Player properties need to be saved manually.
|
||||
Entity definition
|
||||
-----------------
|
||||
|
||||
Used by `minetest.register_entity`.
|
||||
Used by `minetest.register_entity`.
|
||||
The entity definition table becomes a metatable of a newly created per-entity
|
||||
luaentity table, meaning its fields (e.g. `initial_properties`) will be shared
|
||||
between all instances of an entity.
|
||||
|
||||
```lua
|
||||
{
|
||||
|
||||
新增問題並參考
封鎖使用者