diff --git a/package-lock.json b/package-lock.json index 949b0099..bf77b351 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,8 +22,8 @@ "@mcschema/java-1.20": "^0.0.20", "@mcschema/java-1.20.2": "^0.0.9", "@mcschema/java-1.20.3": "^0.0.10", - "@mcschema/java-1.20.5": "^0.0.26", - "@mcschema/java-1.21": "^0.0.6", + "@mcschema/java-1.20.5": "^0.0.27", + "@mcschema/java-1.21": "^0.0.8", "@mcschema/locales": "^0.1.98", "@zip.js/zip.js": "^2.4.5", "brace": "^0.11.1", @@ -669,17 +669,17 @@ } }, "node_modules/@mcschema/java-1.20.5": { - "version": "0.0.26", - "resolved": "https://registry.npmjs.org/@mcschema/java-1.20.5/-/java-1.20.5-0.0.26.tgz", - "integrity": "sha512-DPS/RhEjudzy7D8H9EF2Qxx8Nb+DX16+AA6sCFW+8e7MF+7ghz+3AfGXtDWOe90apHJB3dE3TRkyQgsSNDNR0g==", + "version": "0.0.27", + "resolved": "https://registry.npmjs.org/@mcschema/java-1.20.5/-/java-1.20.5-0.0.27.tgz", + "integrity": "sha512-gRGx9UF5E+1DOhBtiihcZZjeb1s8QPkrAjOtoFz4A8bbLb2cBsYtBSZkDH2M7uyx5v/5YYZ3M6cprrVbCvIJ5A==", "dependencies": { "@mcschema/core": "^0.13.0" } }, "node_modules/@mcschema/java-1.21": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/@mcschema/java-1.21/-/java-1.21-0.0.6.tgz", - "integrity": "sha512-33qg7ZW01PV8BxBnBEhtJqSgpuNonozWUzXJFQboXZWs2NQF46MgcLVCr0OElBPCH2Sv5+bazhPWa+mKB0A/HA==", + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/@mcschema/java-1.21/-/java-1.21-0.0.8.tgz", + "integrity": "sha512-5xac6v4dDqdjgmdwDtckr6PnvF7/JvVdbbtq2vW0hojL7D8MSJOJhl3rF67VZIqG1+4GMuUm+xipg/mTzg5pbQ==", "dependencies": { "@mcschema/core": "^0.13.0" } @@ -4786,17 +4786,17 @@ } }, "@mcschema/java-1.20.5": { - "version": "0.0.26", - "resolved": "https://registry.npmjs.org/@mcschema/java-1.20.5/-/java-1.20.5-0.0.26.tgz", - "integrity": "sha512-DPS/RhEjudzy7D8H9EF2Qxx8Nb+DX16+AA6sCFW+8e7MF+7ghz+3AfGXtDWOe90apHJB3dE3TRkyQgsSNDNR0g==", + "version": "0.0.27", + "resolved": "https://registry.npmjs.org/@mcschema/java-1.20.5/-/java-1.20.5-0.0.27.tgz", + "integrity": "sha512-gRGx9UF5E+1DOhBtiihcZZjeb1s8QPkrAjOtoFz4A8bbLb2cBsYtBSZkDH2M7uyx5v/5YYZ3M6cprrVbCvIJ5A==", "requires": { "@mcschema/core": "^0.13.0" } }, "@mcschema/java-1.21": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/@mcschema/java-1.21/-/java-1.21-0.0.6.tgz", - "integrity": "sha512-33qg7ZW01PV8BxBnBEhtJqSgpuNonozWUzXJFQboXZWs2NQF46MgcLVCr0OElBPCH2Sv5+bazhPWa+mKB0A/HA==", + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/@mcschema/java-1.21/-/java-1.21-0.0.8.tgz", + "integrity": "sha512-5xac6v4dDqdjgmdwDtckr6PnvF7/JvVdbbtq2vW0hojL7D8MSJOJhl3rF67VZIqG1+4GMuUm+xipg/mTzg5pbQ==", "requires": { "@mcschema/core": "^0.13.0" } diff --git a/package.json b/package.json index 8d25e18b..ed0db5a4 100644 --- a/package.json +++ b/package.json @@ -28,8 +28,8 @@ "@mcschema/java-1.20": "^0.0.20", "@mcschema/java-1.20.2": "^0.0.9", "@mcschema/java-1.20.3": "^0.0.10", - "@mcschema/java-1.20.5": "^0.0.26", - "@mcschema/java-1.21": "^0.0.6", + "@mcschema/java-1.20.5": "^0.0.27", + "@mcschema/java-1.21": "^0.0.8", "@mcschema/locales": "^0.1.98", "@zip.js/zip.js": "^2.4.5", "brace": "^0.11.1", diff --git a/src/app/schema/renderHtml.tsx b/src/app/schema/renderHtml.tsx index 3713132f..3957b358 100644 --- a/src/app/schema/renderHtml.tsx +++ b/src/app/schema/renderHtml.tsx @@ -19,7 +19,7 @@ const selectRegistries = ['loot_table.type', 'loot_entry.type', 'function.functi const datalistEnums = ['item_stack.components', 'function.set_components.components'] const hiddenFields = ['number_provider.type', 'score_provider.type', 'nbt_provider.type', 'int_provider.type', 'float_provider.type', 'height_provider.type', 'level_based_value.type'] const flattenedFields = ['feature.config', 'decorator.config', 'int_provider.value', 'float_provider.value', 'block_state_provider.simple_state_provider.state', 'block_state_provider.rotated_block_provider.state', 'block_state_provider.weighted_state_provider.entries.entry.data', 'rule_test.block_state', 'structure_feature.config', 'surface_builder.config', 'template_pool.elements.entry.element', 'decorator.block_survives_filter.state', 'material_rule.block.result_state', 'enchantment.effects.entry.effect'] -const inlineFields = ['loot_entry.type', 'function.function', 'condition.condition', 'criterion.trigger', 'dimension.generator.type', 'dimension.generator.biome_source.type', 'feature.type', 'decorator.type', 'block_state_provider.type', 'feature.tree.minimum_size.type', 'trunk_placer.type', 'foliage_placer.type', 'tree_decorator.type', 'block_placer.type', 'rule_test.predicate_type', 'processor.processor_type', 'template_element.element_type', 'nbt_operation.op', 'number_provider.value', 'score_provider.name', 'score_provider.target', 'nbt_provider.source', 'nbt_provider.target', 'generator_biome.biome', 'block_predicate.type', 'material_rule.type', 'material_condition.type', 'density_function.type', 'root_placer.type', 'entity.type_specific.type', 'glyph_provider.type', 'sprite_source.type', 'rule_block_entity_modifier.type', 'immersive_weathering.area_condition.type', 'immersive_weathering.block_growth.growth_for_face.entry.direction', 'immersive_weathering.position_test.predicate_type', 'pool_alias_binding.type', 'item_stack.id', 'data_component.banner_patterns.entry.pattern', 'data_component.container.entry.slot', 'map_decoration.type', 'suspicious_stew_effect_instance.id', 'enchantment_value_effect.type', 'enchantment_effect.type'] +const inlineFields = ['loot_entry.type', 'function.function', 'condition.condition', 'criterion.trigger', 'dimension.generator.type', 'dimension.generator.biome_source.type', 'feature.type', 'decorator.type', 'block_state_provider.type', 'feature.tree.minimum_size.type', 'trunk_placer.type', 'foliage_placer.type', 'tree_decorator.type', 'block_placer.type', 'rule_test.predicate_type', 'processor.processor_type', 'template_element.element_type', 'nbt_operation.op', 'number_provider.value', 'score_provider.name', 'score_provider.target', 'nbt_provider.source', 'nbt_provider.target', 'generator_biome.biome', 'block_predicate.type', 'material_rule.type', 'material_condition.type', 'density_function.type', 'root_placer.type', 'entity.type_specific.type', 'glyph_provider.type', 'sprite_source.type', 'rule_block_entity_modifier.type', 'immersive_weathering.area_condition.type', 'immersive_weathering.block_growth.growth_for_face.entry.direction', 'immersive_weathering.position_test.predicate_type', 'pool_alias_binding.type', 'item_stack.id', 'data_component.banner_patterns.entry.pattern', 'data_component.container.entry.slot', 'map_decoration.type', 'suspicious_stew_effect_instance.id', 'enchantment_value_effect.type', 'enchantment_effect.type', 'particle.type'] const nbtFields = ['function.set_nbt.tag', 'advancement.display.icon.nbt', 'text_component_object.nbt', 'entity.nbt', 'block.nbt', 'item.nbt'] const fixedLists = ['generator_biome.parameters.temperature', 'generator_biome.parameters.humidity', 'generator_biome.parameters.continentalness', 'generator_biome.parameters.erosion', 'generator_biome.parameters.depth', 'generator_biome.parameters.weirdness', 'feature.end_spike.crystal_beam_target', 'feature.end_gateway.exit', 'decorator.block_filter.offset', 'block_predicate.has_sturdy_face.offset', 'block_predicate.inside_world_bounds.offset', 'block_predicate.matching_block_tag.offset', 'block_predicate.matching_blocks.offset', 'block_predicate.matching_fluids.offset', 'block_predicate.would_survive.offset', 'model_element.from', 'model_element.to', 'model_element.rotation.origin', 'model_element.faces.uv', 'item_transform.rotation', 'item_transform.translation', 'item_transform.scale', 'generator_structure.random_spread.locate_offset', 'pack_overlay.formats', 'data_component.profile.id', 'data_component.lodestone_tracker.tracker.pos', 'attribute_modifier.uuid'] const collapsedFields = ['noise_settings.surface_rule', 'noise_settings.noise.terrain_shaper']