Guide 1 Docs 2 Reference 3

Function of EntitySpec

entitySpec.on_load

Told when one that already existed comes back: a saved chunk loaded it or a reload rebound it.

entitySpec.on_load((e: EntityHandle) -> ()) → ?

Parameters

(eEntityHandle) -> ()required

Returns

?