Player api
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user