Seasons api

This commit is contained in:
2026-10-08 13:42:18 -03:00
parent 7e7ac8f6f4
commit dd66d6caa7
16 changed files with 231 additions and 10 deletions
+2
View File
@@ -147,6 +147,8 @@ interface EntityRef {
readonly id: string; // this entity's own id
readonly type: string; // its kind, like "bworld:fishing_hook"
readonly position: { x: number; y: number; z: number };
readonly biome: string; // where its feet are, see ../worldgen/biomes.md#seasons
readonly season: Season; // that biome's
readonly removed: boolean;
teleport(x: number, y: number, z: number): void;
remove(): void;