diff --git a/.vscode/tasks.json b/.vscode/tasks.json index db3909c5..00c6674e 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -4,7 +4,7 @@ { "label": "Start", "type": "shell", - "command": "rm -r \"./node_modules/@mcschema\" && npm link @mcschema/core && npm link @mcschema/java-1.16 && npm start" + "command": "rm -r \"./node_modules/@mcschema\" && npm link @mcschema/core && npm link @mcschema/locales && npm link @mcschema/java-1.16 && npm start" } ] } diff --git a/package.json b/package.json index 4ee77fc1..be744ed1 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,9 @@ "author": "Misode", "license": "MIT", "dependencies": { - "@mcschema/core": "^0.4.0", - "@mcschema/java-1.16": "^0.2.3", + "@mcschema/core": "^0.5.0", + "@mcschema/locales": "^0.1.1", + "@mcschema/java-1.16": "^0.2.8", "@types/google.analytics": "0.0.40", "@types/split.js": "^1.4.0", "copy-webpack-plugin": "^6.0.1", diff --git a/src/config.json b/src/config.json index f16f0f97..dfe92a8f 100644 --- a/src/config.json +++ b/src/config.json @@ -62,6 +62,11 @@ "name": "Feature", "schema": "configured_feature" }, + { + "id": "worldgen/noise-settings", + "name": "Noise Settings", + "schema": "noise_settings" + }, { "id": "worldgen/structure-feature", "name": "Structure Feature", @@ -98,6 +103,7 @@ "mob_effect", "rule_test", "pos_rule_test", + "sound_event", "stat_type", "worldgen/block_state_provider_type", "worldgen/block_placer_type", diff --git a/src/locales/en.json b/src/locales/en.json index 67c6173c..cb2e3833 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -9,6 +9,7 @@ "worldgen/biome": "Biome", "worldgen/carver": "Carver", "worldgen/feature": "Feature", + "worldgen/noise-settings": "Noise Settings", "worldgen/structure-feature": "Structure Feature", "worldgen/surface-builder": "Surface Builder", "worldgen/processor-list": "Processor List", diff --git a/webpack.config.js b/webpack.config.js index 2a8ebb2d..e4281be3 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -30,7 +30,7 @@ module.exports = (env, argv) => ({ new MergeJsonWebpackPlugin({ output: { groupBy: config.languages.map(lang => ({ - pattern: `{./src/locales/${lang.code}.json,./node_modules/@mcschema/core/locales/${lang.code}.json}`, + pattern: `{./src/locales/${lang.code}.json,./node_modules/@mcschema/locales/src/${lang.code}.json}`, fileName: `./locales/${lang.code}.json` })) }