Player api

This commit is contained in:
2026-10-13 22:59:48 -03:00
parent b34e97e487
commit a10b15a3fd
22 changed files with 581 additions and 89 deletions
+1
View File
@@ -286,6 +286,7 @@ function client_context(listing: ModListing): ClientContext {
return rules_world.season_at(x, z);
},
is_swimming: () => need_client().player.swimming,
is_sneaking: () => need_client().player.holding_sneak,
},
world: {
get_block(x, y, z) {