Dimension api
This commit is contained in:
@@ -34,7 +34,13 @@ import { fluid_exists } from "./fluids.ts";
|
||||
import { resolve_tags, Tags } from "./tags.ts";
|
||||
import type { LootTableJson } from "./loot.ts";
|
||||
import { type BiomeJson, register_biome } from "./worldgen/biomes.ts";
|
||||
import type { BiomeSourceJson, DensityFunctionJson, NoiseJson, NoiseSettingsJson } from "./worldgen/data.ts";
|
||||
import type {
|
||||
BiomeSourceJson,
|
||||
DensityFunctionJson,
|
||||
DimensionJson,
|
||||
NoiseJson,
|
||||
NoiseSettingsJson,
|
||||
} from "./worldgen/data.ts";
|
||||
import type { FeatureJson } from "./worldgen/features.ts";
|
||||
import { register_block_item } from "./utils.ts";
|
||||
import { find_model, type ModelFileJson, type ModelJson, resolve_models } from "./block_models.ts";
|
||||
@@ -66,6 +72,8 @@ export interface ModData {
|
||||
density_functions?: DensityFunctionJson[];
|
||||
noise_settings?: NoiseSettingsJson[];
|
||||
biome_sources?: BiomeSourceJson[];
|
||||
// which noise settings the world is generated with, see DimensionJson. server only too
|
||||
dimensions?: DimensionJson[];
|
||||
// data features, see common/worldgen/features.ts. server only too
|
||||
features?: FeatureJson[];
|
||||
// the mod's settings, its config.json's "config", with the server's changes once the server loads it. server only
|
||||
|
||||
Reference in New Issue
Block a user