Implement any/unsafe type

This commit is contained in:
Misode
2024-10-29 02:41:59 +01:00
parent a536c78e05
commit 7770b97a7a
2 changed files with 66 additions and 3 deletions

View File

@@ -27,9 +27,12 @@ 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] long,
/// Defaults to \`true\`.
generate_features?: boolean,
/// Defaults to \`false\`.
bonus_chest?: boolean,
legacy_custom_options?: string,
dimensions: struct {
[#[id="dimension"] string]: Dimension,
},