Minecraft:Configured feature: Difference between revisions
More actions
Sync: updated from Minecraft |
Sync: updated from Minecraft |
||
| Line 48: | Line 48: | ||
{{collapse|title={{BlockSprite|sculk-vein|link=Sculk Patch|text='''sculk_patch'''}}|content={{#lst:Sculk patch|config}}}} | {{collapse|title={{BlockSprite|sculk-vein|link=Sculk Patch|text='''sculk_patch'''}}|content={{#lst:Sculk patch|config}}}} | ||
{{collapse|title={{BlockSprite|seagrass|link=Seagrass (feature)|text='''seagrass'''}}|content={{#lst:Seagrass (feature)|config}}}}{{until|JE 26.3}} | {{collapse|title={{BlockSprite|seagrass|link=Seagrass (feature)|text='''seagrass'''}}|content={{#lst:Seagrass (feature)|config}}}}{{until|JE 26.3}} | ||
{{collapse|title={{BlockSprite|sea-pickle|link=Sea Pickle (feature)|text='''sea_pickle'''}}|content={{#lst:Sea Pickle (feature)|config}}}}{{until|JE 26.3}} | {{collapse|title={{BlockSprite|sea-pickle|link=Sea Pickle (feature)|text='''sea_pickle'''}}|content={{#lst:Sea Pickle (feature)|config}}}}{{until|JE 26.3}}{{Collapse|title={{BlockSprite|air|link=Sequence|text='''sequence'''}}|content={{#lst:Sequence|config}}}}{{collapse|title={{BlockSprite|air|link=Simple block|text='''simple_block'''}}|content={{#lst:Simple block|config}}}} | ||
{{collapse|title={{BlockSprite|air|link=Simple block|text='''simple_block'''}}|content={{#lst:Simple block|config}}}} | |||
{{collapse|title={{BlockSprite|air|link=Simple random selector|text='''simple_random_selector'''}}|content={{#lst:Simple random selector|config}}}} | {{collapse|title={{BlockSprite|air|link=Simple random selector|text='''simple_random_selector'''}}|content={{#lst:Simple random selector|config}}}} | ||
{{collapse|title={{BlockSprite|pointed-dripstone|link=Dripstone (feature)|text='''speleothem'''}}|content={{#lst:Dripstone (feature)|pointed config}}}} | {{collapse|title={{BlockSprite|pointed-dripstone|link=Dripstone (feature)|text='''speleothem'''}}|content={{#lst:Dripstone (feature)|pointed config}}}} | ||
{{collapse|title={{BlockSprite|pointed-dripstone|link=Dripstone (feature)|text='''speleothem_cluster'''}}|content={{#lst:Dripstone (feature)|cluster config}}}} | {{collapse|title={{BlockSprite|pointed-dripstone|link=Dripstone (feature)|text='''speleothem_cluster'''}}|content={{#lst:Dripstone (feature)|cluster config}}}} | ||
{{collapse|title={{EnvSprite|ice-spike|link=Ice Spike|text='''spike'''}}|content={{#lst:Ice spike|config}}}} | {{collapse|title={{EnvSprite|ice-spike|link=Ice Spike|text='''spike'''}}|content={{#lst:Ice spike|config}}}} | ||
{{collapse|title={{EnvSprite|spring|link=Spring|text='''spring_feature'''}}|content={{#lst:Spring|config}}}} | {{collapse|title={{EnvSprite|spring|link=Spring|text='''spring_feature'''}}|content={{#lst:Spring|config}}}}{{Collapse|content={{#lst:Template (feature)|config}}|title={{BlockSprite|air|link=Template (feature)|text='''template'''}}}}{{collapse|title={{EnvSprite|tree|link=Tree definition|text='''tree'''}}|content={{#lst:Tree|config}}}} | ||
{{collapse|title={{EnvSprite|tree|link=Tree definition|text='''tree'''}}|content={{#lst:Tree|config}}}} | |||
{{collapse|title={{BlockSprite|twisting-vines-plant|link=Twisting Vines (feature)|text='''twisting_vines'''}}|content={{#lst:Twisting Vines (feature)|config}}}}{{until|JE 26.3}} | {{collapse|title={{BlockSprite|twisting-vines-plant|link=Twisting Vines (feature)|text='''twisting_vines'''}}|content={{#lst:Twisting Vines (feature)|config}}}}{{until|JE 26.3}} | ||
{{collapse|title={{BlockSprite|magma-block|link=Underwater Magma|text='''underwater_magma'''}}|content={{#lst:Underwater magma|config}}}} | {{collapse|title={{BlockSprite|magma-block|link=Underwater Magma|text='''underwater_magma'''}}|content={{#lst:Underwater magma|config}}}} | ||
{{collapse|title={{BlockSprite|moss-block|link=Vegetation Patch|text='''vegetation_patch'''}}|content={{#lst:Vegetation patch|config}}}} | {{collapse|title={{BlockSprite|moss-block|link=Vegetation Patch|text='''vegetation_patch'''}}|content={{#lst:Vegetation patch|config}}}} | ||
{{collapse|title={{BlockSprite|moss-block|link=Vegetation Patch|text='''waterlogged_vegetation_patch'''}}|content={{#lst:Vegetation patch|config}}}} | {{collapse|title={{BlockSprite|moss-block|link=Vegetation Patch|text='''waterlogged_vegetation_patch'''}}|content={{#lst:Vegetation patch|config}}}}{{Collapse|title={{BlockSprite|air|link=Weighted random selector|text='''weighted_random_selector'''}}|content={{#lst:Weighted random selector|config}}}} | ||
=== Configuration-less features === | === Configuration-less features === | ||
| Line 111: | Line 109: | ||
|{{HistoryLine||26.1|dev=snap6|Renamed {{cd|forest_rock}} feature type to {{cd|block_blob}}.}} | |{{HistoryLine||26.1|dev=snap6|Renamed {{cd|forest_rock}} feature type to {{cd|block_blob}}.}} | ||
|{{HistoryLine||26.1|Removed {{cd|random_patch}}, {{cd|flower}}, and {{cd|flower_no_bonemeal}} feature types. Instead, patches can be expressed as a sequence of {{cd|count}} and {{cd|random_offset}} placement modifiers.}} | |{{HistoryLine||26.1|Removed {{cd|random_patch}}, {{cd|flower}}, and {{cd|flower_no_bonemeal}} feature types. Instead, patches can be expressed as a sequence of {{cd|count}} and {{cd|random_offset}} placement modifiers.}} | ||
|{{HistoryLine||26.2|dev=snap1|{{cd|minecraft:geode}}: The fields {{cd|cannot_replace}} and {{cd|invalid_blocks}} in blocks section of feature configuration now also accept an ID and a list of IDs in addition to a tag.|{{cd|minecraft:root_system}}: The field {{cd|root_replaceable}} in the feature configuration now also accepts an ID or a list of IDs in addition to a tag.|{{cd|minecraft:vegetation_patch}}: The field {{cd|replaceable}} in the feature configuration now also accepts an ID and or a list of IDs in addition to a tag.|{{cd|minecraft:waterlogged_vegetation_patch}}: The field replaceable in the feature configuration now also accepts an ID and or a list of IDs in addition to a tag.|{{cd|pointed_dripstone}} has been renamed to {{cd|speleothem}}.|{{cd|dripstone_cluster}} has been renamed to {{cd|speleothem_cluster}}.|Added the {{cd|base_block}}, {{cd|pointed_block}}, and {{cd|replaceable_blocks}} fields to the renamed features, as well as the latter to {{cd|large_dripstone}}.|Additional speleothem fields have been renamed (e.g. {{cd|chance_of_taller_dripstone}} to {{cd|chance_of_taller_generation}}) to account for the name changes.}} | |{{HistoryLine||26.2|dev=snap1|{{cd|minecraft:geode}}: The fields {{cd|cannot_replace}} and {{cd|invalid_blocks}} in blocks section of feature configuration now also accept an ID and a list of IDs in addition to a tag.|{{cd|minecraft:root_system}}: The field {{cd|root_replaceable}} in the feature configuration now also accepts an ID or a list of IDs in addition to a tag.|{{cd|minecraft:vegetation_patch}}: The field {{cd|replaceable}} in the feature configuration now also accepts an ID and or a list of IDs in addition to a tag.|{{cd|minecraft:waterlogged_vegetation_patch}}: The field replaceable in the feature configuration now also accepts an ID and or a list of IDs in addition to a tag.|{{cd|pointed_dripstone}} has been renamed to {{cd|speleothem}}.|{{cd|dripstone_cluster}} has been renamed to {{cd|speleothem_cluster}}.|Added the {{cd|base_block}}, {{cd|pointed_block}}, and {{cd|replaceable_blocks}} fields to the renamed features, as well as the latter to {{cd|large_dripstone}}.|Additional speleothem fields have been renamed (e.g. {{cd|chance_of_taller_dripstone}} to {{cd|chance_of_taller_generation}}) to account for the name changes.|Added {{cd|minecraft:sequence}} feature type.|Added {{cd|minecraft:template}} feature type.}}|{{HistoryLine|||dev=snap5|{{cd|minecraft:multiface_growth}}: The field {{cd|block}} is now mandatory (defaulted to {{cd|minecraft:glow_lichen}}).}}|{{HistoryLine|||dev=snap6|Added the {{cd|minecraft:weighted_random_selector}} feature type.|{{cd|minecraft:large_dripstone}}: The maximum allowed value for {{cd|column_radius}} has been reduced from {{cd|19}} to {{cd|16}}.|{{cd|minecraft:root_system}}: Added {{cd|level_test_distance}} and {{cd|field max_level_deviation}} fields.}}|{{HistoryLine|upcoming java}}|{{HistoryLine||26.3|dev=snap1|The {{cd|worldgen/configured_feature}} registry has moved to {{cd|worldgen/feature}} and configuration is now done inline in the root object rather than separated into a config field.|Added {{cd|minecraft:end_podium}} feature type.|{{cd|minecraft:tree}} feature type: added {{cd|shelf_mushroom}} tree decorator type, added {{cd|poplar_foliage_placer}} foliage placer type, added {{cd|poplar_trunk_placer}} trunk placer type.}}|{{HistoryLine|||dev=snap2|Renamed the following feature types: | ||
|{{HistoryLine|||dev=snap5|{{cd|minecraft:multiface_growth}}: The field {{cd|block}} is now mandatory (defaulted to {{cd|minecraft:glow_lichen}}).}} | |||
|{{HistoryLine|||dev=snap6|Added the {{cd|minecraft:weighted_random_selector}} feature type.|{{cd|minecraft:large_dripstone}}: The maximum allowed value for {{cd|column_radius}} has been reduced from {{cd|19}} to {{cd|16}}.|{{cd|minecraft:root_system}}: Added {{cd|level_test_distance}} and {{cd|field max_level_deviation}} fields.}} | |||
|{{HistoryLine|upcoming java}} | |||
|{{HistoryLine||26.3|dev=snap1|The {{cd|worldgen/configured_feature}} registry has moved to {{cd|worldgen/feature}} and configuration is now done inline in the root object rather than separated into a config field.|Added {{cd|minecraft:end_podium}} feature type.|{{cd|minecraft:tree}} feature type: added {{cd|shelf_mushroom}} tree decorator type, added {{cd|poplar_foliage_placer}} foliage placer type, added {{cd|poplar_trunk_placer}} trunk placer type.}} | |||
|{{HistoryLine|||dev=snap2|Renamed the following feature types: | |||
* {{cd|basalt_columns}} to {{cd|stepped_column_cluster}} | * {{cd|basalt_columns}} to {{cd|stepped_column_cluster}} | ||
* {{cd|basalt_pillar}} to {{cd|single_block_pillar}} | * {{cd|basalt_pillar}} to {{cd|single_block_pillar}} | ||
* {{cd|glowstone_blob}} to {{cd|random_neighbor_spread}} | * {{cd|glowstone_blob}} to {{cd|random_neighbor_spread}} | ||
|Added {{cd|minecraft:overlay}} and {{cd|minecraft:projected_random_patchy_square}} feature types.}} | |Added {{cd|minecraft:overlay}} and {{cd|minecraft:projected_random_patchy_square}} feature types.}}|{{HistoryLine|||dev=snap3|Removed the following feature types: | ||
|{{HistoryLine|||dev=snap3|Removed the following feature types: | |||
* {{cd|minecraft:coral_mushroom}} | * {{cd|minecraft:coral_mushroom}} | ||
* {{cd|minecraft:kelp}} | * {{cd|minecraft:kelp}} | ||
* {{cd|minecraft:seagrass}} | * {{cd|minecraft:seagrass}} | ||
* {{cd|minecraft:sea_pickle}} | * {{cd|minecraft:sea_pickle}} | ||
|{{cd|minecraft:coral_claw}} and {{cd|minecraft:coral_tree}} feature types: Added the {{cd|feature}} field.}} | |{{cd|minecraft:coral_claw}} and {{cd|minecraft:coral_tree}} feature types: Added the {{cd|feature}} field.}}|{{HistoryLine|||dev=snap4|Removed the following feature types: | ||
|{{HistoryLine|||dev=snap4|Removed the following feature types: | |||
* {{cd|minecraft:nether_forest_vegetation}} | * {{cd|minecraft:nether_forest_vegetation}} | ||
* {{cd|minecraft:twisting_vines}} | * {{cd|minecraft:twisting_vines}} | ||
* {{cd|minecraft:weeping_vines}} | * {{cd|minecraft:weeping_vines}} | ||
}} | }}|{{HistoryLine|||dev=snap5|{{cd|minecraft:sculk_patch}} feature type: Removed the {{cd|extra_rare_growths}} and {{cd|catalyst_chance}} fields.}}}} | ||
|{{HistoryLine|||dev=snap5|{{cd|minecraft:sculk_patch}} feature type: Removed the {{cd|extra_rare_growths}} and {{cd|catalyst_chance}} fields.}} | |||
}} | |||
== Issues == | == Issues == | ||
Revision as of 11:04, 4 September 2026
Template:Exclusive A configured feature is the configuration of a feature type. They can be used in Minecraft:placed features to define the Minecraft:features that are placed in a world.
Configured features are stored as JSON files within a Minecraft:data pack in the Template:CdTemplate:Until / Template:CdTemplate:Upcoming folder.
JSON format
- Template:Nbt: Root object.
- Template:Nbt: The ID of feature type.
- Template:NbtTemplate:Until: Configuration of this configured feature. The properties depend on the value of Template:Nbt, described below.
Feature types
Template:Cleanup A feature type determines how and what a configured feature should generate. They are hardcoded, thus new ones cannot be added through datapacks. Most feature types have configuration options that can be set using a configured feature. The following lists all feature types and their configuration options.
Template:Collapse Template:Collapse Template:Collapse Template:Collapse Template:Collapse Template:Collapse Template:Collapse Template:Collapse Template:CollapseTemplate:Upcoming Template:Collapse Template:Collapse Template:Collapse Template:Collapse Template:Collapse Template:Collapse Template:Collapse Template:Collapse Template:Collapse Template:Collapse Template:Collapse Template:Collapse Template:CollapseTemplate:Until Template:Collapse Template:Collapse Template:CollapseTemplate:Upcoming Template:CollapseTemplate:Upcoming Template:Collapse Template:Collapse Template:Collapse Template:Collapse Template:Collapse Template:Collapse Template:CollapseTemplate:Until Template:CollapseTemplate:UntilTemplate:CollapseTemplate:Collapse Template:Collapse Template:Collapse Template:Collapse Template:Collapse Template:CollapseTemplate:CollapseTemplate:Collapse Template:CollapseTemplate:Until Template:Collapse Template:Collapse Template:CollapseTemplate:Collapse
Configuration-less features
These features have files in the data/<namespace>/worldgen/configured_feature folder, but none of them have any configuration options in current versions.
Template:CollapseTemplate:Until Template:Collapse Template:Collapse Template:Collapse Template:CollapseTemplate:Until Template:CollapseTemplate:Until Template:CollapseTemplate:Until Template:CollapseTemplate:Until Template:Collapse Template:Collapse Template:Collapse Template:CollapseTemplate:Until Template:CollapseTemplate:Until Template:Collapse Template:Collapse Template:Collapse Template:Collapse Template:CollapseTemplate:Until
History
Issues
External links
Template:Navbox Java Edition technical
Minecraft:de:Merkmaldefinition Minecraft:fr:Élément du terrain configuré Minecraft:ja:生成物のカスタマイズ Minecraft:ko:설정된 지물 Minecraft:pt:Recurso configurado Minecraft:zh:已配置的地物