refactor(world)!: create find_all variants of entity filters

This commit is contained in:
2025-03-06 21:48:22 -05:00
parent 1ebe7dd0b9
commit 492fecc32c
3 changed files with 136 additions and 82 deletions

View File

@@ -60,6 +60,8 @@ impl UserData for Client {
fn add_methods<M: UserDataMethods<Self>>(m: &mut M) {
m.add_async_method("attack", interaction::attack);
m.add_async_method("find_all_entities", world::find_all_entities);
m.add_async_method("find_all_players", world::find_all_players);
m.add_async_method("find_entities", world::find_entities);
m.add_async_method("find_players", world::find_players);
m.add_async_method("go_to", movement::go_to);