[CSM] Add callback on open inventory (#5793)
This commit is contained in:
@@ -57,5 +57,7 @@ class ScriptApiClient : virtual public ScriptApiBase
|
||||
bool on_placenode(const PointedThing &pointed, const ItemDefinition &item);
|
||||
bool on_item_use(const ItemStack &item, const PointedThing &pointed);
|
||||
|
||||
bool on_inventory_open(Inventory *inventory);
|
||||
|
||||
void setEnv(ClientEnvironment *env);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user