* Update vscode-settings.json * - Updated map color * - Added replaceable block component * - Effect durations can be set to infinite now * - Added support for entity sound variants * - Fix description for renders_when_invisible entity component * - Added is_collidable component * - Updated entity_sensor * - Added body_rotation_axis_aligned * - Updated projectile > on_hit * - Set min and max for collision_box * - Added locator field to sounds in animation controllers and animations * - Added new event response * - Removed peak_factor from mountain_parameters component * - Added isotropic field to material_instances * - Added tint field to material_instances * - Added input_air_controlled entity component * - Added use_beta_features property to entity.json * - Added missing match_tool property * - Added use_home_position_restriction to float_wander goal * - Added deferred client biome components * - Added dry_foliage_color client biome component * - Added destruction_particles * - Marked biome tinting as experimental * - Fix property_inheritance under breedable * - Fix inconsistency with scatter feature * - Update rideable description * - Allowed event.add/remove to be strings * - Added missing property in move_around_target behavior * - Made features accept block references * - Allowed repairable to use item descriptors * - Fix typo
54 lines
2.2 KiB
JSON
54 lines
2.2 KiB
JSON
{
|
|
"type": "object",
|
|
"title": "Ore Feature",
|
|
"description": "`minecraft:ore_feature` places a vein of blocks to simulate ore deposits. Despite the name, any block can be placed by this feature. During placement, existing world blocks are checked to see if they can be replaced by the new ore block based on the list provided in the `may_replace` field of a `replace_rules` entry. If no `may_replace` field is specified in a `replace_rule` entry, the ore block can replace any existing block.\nSucceeds if: At least one ore block is successfully placed.\nFails if: All ore block placements fail.",
|
|
"additionalProperties": false,
|
|
"required": ["count", "description"],
|
|
"properties": {
|
|
"description": {
|
|
"$ref": "../types/description.json"
|
|
},
|
|
"count": {
|
|
"title": "Count",
|
|
"description": "The number of blocks to be placed.",
|
|
"type": "number",
|
|
"minimum": 1
|
|
},
|
|
"replace_rules": {
|
|
"title": "Replace Rules",
|
|
"description": "Collection of replace rules that will be checked in order of definition. If a rule is resolved, the rest will not be resolved for that block position.",
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"items": {
|
|
"title": "Repalce Rule",
|
|
"description": "If a rule is resolved, the rest will not be resolved for that block position.",
|
|
"type": "object",
|
|
"required": ["places_block"],
|
|
"properties": {
|
|
"places_block": {
|
|
"title": "Places Block",
|
|
"description": "Reference to the block to be placed.",
|
|
"$ref": "../../../general/block/reference.json"
|
|
},
|
|
"may_replace": {
|
|
"title": "May Replace",
|
|
"description": "A list of blocks that may be replaced during placement. Omit this field to allow any block to be replaced.",
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"items": {
|
|
"$ref": "../../../general/block/reference.json"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"discard_chance_on_air_exposure": {
|
|
"title": "Discard Chance On Air Exposure",
|
|
"description": "Chance of discarding placement if neighboring block is Air.",
|
|
"type": "number",
|
|
"minimum": 0,
|
|
"maximum": 1
|
|
}
|
|
}
|
|
}
|