mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-30 17:49:34 +00:00
Fix world settings generator
This commit is contained in:
@@ -22,7 +22,18 @@ import type { VersionId } from './Versions.js'
|
||||
|
||||
const builtinMcdoc = `
|
||||
use ::java::server::util::text::Text
|
||||
use ::java::data::worldgen::dimension::Dimension
|
||||
|
||||
dispatch minecraft:resource[text_component] to Text
|
||||
|
||||
dispatch minecraft:resource[world] to struct WorldSettings {
|
||||
generate_features: boolean,
|
||||
bonus_chest: boolean,
|
||||
seed: #[random] int,
|
||||
dimensions: struct {
|
||||
[#[id="dimension"] string]: Dimension,
|
||||
},
|
||||
}
|
||||
`
|
||||
|
||||
interface ClientDocument {
|
||||
@@ -204,6 +215,9 @@ export class SpyglassService {
|
||||
text_component: {
|
||||
category: 'text_component',
|
||||
},
|
||||
world: {
|
||||
category: 'world',
|
||||
},
|
||||
},
|
||||
},
|
||||
lint: {
|
||||
|
||||
Reference in New Issue
Block a user