Add dialog generator

This commit is contained in:
Misode
2025-05-14 01:22:37 +02:00
parent 8fdb3873bc
commit 21c0d65425
6 changed files with 100 additions and 90 deletions

View File

@@ -326,6 +326,8 @@ const selectRegistries = new Set([
'creative_mode_tab',
'data_component_predicate_type',
'data_component_type',
'dialog_body_type',
'dialog_type',
'enchantment_effect_component_type',
'enchantment_entity_effect_type',
'enchantment_level_based_value_type',
@@ -336,6 +338,7 @@ const selectRegistries = new Set([
'float_provider_type',
'frog_variant',
'height_provider_type',
'input_control_type',
'int_provider_type',
'item_sub_predicate_type',
'loot_condition_type',
@@ -357,6 +360,7 @@ const selectRegistries = new Set([
'slot_display',
'spawn_condition_type',
'stat_type',
'submit_method_type',
'test_instance_type',
'test_environment_definition_type',
'trigger_type',

View File

@@ -409,7 +409,7 @@ const initialize: core.ProjectInitializer = async (ctx) => {
registerAttributes(meta, release, versions)
json.initialize(ctx)
json.getInitializer()(ctx)
je.json.initialize(ctx)
je.mcf.initialize(ctx, summary.commands, release)
nbt.initialize(ctx)