add entity on_save event and SAVED_DATA variable
This commit is contained in:
@@ -76,6 +76,7 @@ namespace scripting {
|
||||
/// @return true if prevents default action
|
||||
bool on_item_break_block(Player* player, const ItemDef* item, int x, int y, int z);
|
||||
|
||||
dynamic::Value get_component_value(const scriptenv& env, const std::string& name);
|
||||
void on_entity_spawn(
|
||||
const EntityDef& def,
|
||||
entityid_t eid,
|
||||
|
||||
Reference in New Issue
Block a user