Add recipe generator

This commit is contained in:
Misode
2021-10-04 23:32:41 +02:00
parent 6c6277217d
commit 17ed93a182
7 changed files with 53 additions and 43 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ import { CachedDecorator, CachedFeature } from '../Schemas'
import { deepClone, deepEqual, hexId, isObject, newSeed } from '../Utils'
import { ModelWrapper } from './ModelWrapper'
const selectRegistries = ['loot_table.type', 'loot_entry.type', 'function.function', 'condition.condition', 'criterion.trigger', 'dimension.generator.type', 'dimension.generator.biome_source.type', 'dimension.generator.biome_source.preset', 'carver.type', 'feature.type', 'decorator.type', 'feature.tree.minimum_size.type', 'block_state_provider.type', 'trunk_placer.type', 'foliage_placer.type', 'tree_decorator.type', 'int_provider.type', 'float_provider.type', 'height_provider.type', 'structure_feature.type', 'surface_builder.type', 'processor.processor_type', 'rule_test.predicate_type', 'pos_rule_test.predicate_type', 'template_element.element_type', 'block_placer.type', 'block_predicate.type']
const selectRegistries = ['loot_table.type', 'loot_entry.type', 'function.function', 'condition.condition', 'criterion.trigger', 'recipe.type', 'dimension.generator.type', 'dimension.generator.biome_source.type', 'dimension.generator.biome_source.preset', 'carver.type', 'feature.type', 'decorator.type', 'feature.tree.minimum_size.type', 'block_state_provider.type', 'trunk_placer.type', 'foliage_placer.type', 'tree_decorator.type', 'int_provider.type', 'float_provider.type', 'height_provider.type', 'structure_feature.type', 'surface_builder.type', 'processor.processor_type', 'rule_test.predicate_type', 'pos_rule_test.predicate_type', 'template_element.element_type', 'block_placer.type', 'block_predicate.type']
const hiddenFields = ['number_provider.type', 'score_provider.type', 'nbt_provider.type', 'int_provider.type', 'float_provider.type', 'height_provider.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']
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']
+8 -1
View File
@@ -106,6 +106,12 @@
"path": "advancements",
"schema": "advancement"
},
{
"id": "recipe",
"url": "recipe",
"path": "recipes",
"schema": "recipe"
},
{
"id": "dimension",
"url": "dimension",
@@ -212,6 +218,7 @@
{ "id": "potion", "minVersion": "1.15" },
{ "id": "predicate", "dynamic": true },
{ "id": "recipe", "dynamic": true },
{ "id": "recipe_serializer" },
{ "id": "rule_test", "minVersion": "1.16" },
{ "id": "sound_event" },
{ "id": "stat_type" },
@@ -223,7 +230,7 @@
{ "id": "tag/item", "dynamic": true },
{ "id": "worldgen/biome", "dynamic": true },
{ "id": "worldgen/block_state_provider_type", "minVersion": "1.16" },
{ "id": "worldgen/block_placer_type", "minVersion": "1.16" },
{ "id": "worldgen/block_placer_type", "minVersion": "1.16", "maxVersion": "1.17" },
{ "id": "worldgen/biome_source", "minVersion": "1.16" },
{ "id": "worldgen/carver", "minVersion": "1.16" },
{ "id": "worldgen/chunk_generator", "minVersion": "1.16" },
+1
View File
@@ -39,6 +39,7 @@
"no_presets": "No presets",
"output_settings": "JSON output settings",
"predicate": "Predicate",
"recipe": "Recipe",
"redo": "Redo",
"reset": "Reset",
"settings": "Settings",
+1
View File
@@ -3,6 +3,7 @@ https://misode.github.io/loot-table/
https://misode.github.io/predicate/
https://misode.github.io/item-modifier/
https://misode.github.io/advancement/
https://misode.github.io/recipe/
https://misode.github.io/dimension/
https://misode.github.io/dimension-type/
https://misode.github.io/world/