Seasons api
This commit is contained in:
@@ -22,6 +22,8 @@ interface Player {
|
||||
readonly position: { x: number; y: number; z: number }; // their feet
|
||||
readonly eye_position: { x: number; y: number; z: number }; // where they see from, lower while swimming
|
||||
readonly look_direction: { x: number; y: number; z: number }; // which way they look, 1 long
|
||||
readonly biome: string; // where their feet are, see ../worldgen/biomes.md#seasons
|
||||
readonly season: Season; // that biome's
|
||||
readonly inventory: Container; // 36 slots, the hotbar is 0-8
|
||||
readonly selected_slot: number;
|
||||
readonly held_item: ItemStack | undefined;
|
||||
|
||||
Reference in New Issue
Block a user