TomatitoToho commited on
Commit
ec9f30b
·
verified ·
1 Parent(s): 98a0e54

Upload src/types/biome.ts with huggingface_hub

Browse files
Files changed (1) hide show
  1. src/types/biome.ts +35 -0
src/types/biome.ts ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ export interface Biome {
2
+ id: string;
3
+ name: string;
4
+ category: string;
5
+ temperature: number;
6
+ humidity: number;
7
+ downfall: number;
8
+ precipitation: 'rain' | 'snow' | 'none';
9
+ grassColor: number;
10
+ foliageColor: number;
11
+ waterColor: number;
12
+ waterFogColor: number;
13
+ skyColor: number;
14
+ fogColor: number;
15
+ hasSkyLight: boolean;
16
+ depth: number;
17
+ scale: number;
18
+ effects: {
19
+ music?: string;
20
+ ambientSound?: string;
21
+ addSound?: string;
22
+ moodSound?: string;
23
+ };
24
+ features: string[];
25
+ spawns: {
26
+ [type: string]: SpawnEntry[];
27
+ };
28
+ }
29
+
30
+ export interface SpawnEntry {
31
+ type: string;
32
+ weight: number;
33
+ minCount: number;
34
+ maxCount: number;
35
+ }