Files
minecraft-bedrock-json-schemas/source/behavior/features/features/minecraft.multiface_feature.json
Xterionix c9449c75d6 Updated for 1.21.70 along with other improvements (#337)
* 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
2025-03-03 08:44:05 +01:00

59 lines
2.6 KiB
JSON

{
"title": "Multiface Feature",
"description": "`minecraft:multiface_feature` places one or a few multiface blocks on floors/walls/ceilings. Despite the name, any block can be placed by this feature. During placement, existing world blocks are checked to see if this feature can be placed on them based on the list provided in the `can_place_on` field. If no `can_replace_on` field is specified, the `place_block` block can be placed on any existing block.\nThis feature will also try to spread the `place_block` block around the location in world the feature is placed.\nSucceeds if: At least one block is successfully placed.\nFails if: All block placements fail.",
"type": "object",
"additionalProperties": false,
"required": ["description", "places_block", "search_range", "can_place_on_floor", "can_place_on_ceiling", "can_place_on_wall", "chance_of_spreading"],
"properties": {
"description": {
"$ref": "../types/description.json"
},
"places_block": {
"title": "Places Block",
"description": "Reference to the block to be placed.",
"type": "string",
"$ref": "../../../general/block/reference.json"
},
"search_range": {
"title": "Search Range",
"description": "How far, in blocks, this feature can search for a valid position to place.",
"type": "integer",
"minimum": 1,
"maximum": 64
},
"can_place_on_floor": {
"title": "Can Place On Floor",
"description": "Can this feature be placed on the ground (top face of a block)?.",
"type": "boolean"
},
"can_place_on_ceiling": {
"title": "Can Place On Ceiling",
"description": "Can this feature be placed on the ceiling (bottom face of a block)?.",
"type": "boolean"
},
"can_place_on_wall": {
"title": "Can Place On Wall",
"description": "Can this feature be placed on the wall (side faces of a block)?.",
"type": "boolean"
},
"chance_of_spreading": {
"title": "Chance Of Spreading",
"description": "For each block placed by this feature, how likely will that block spread to another?.",
"type": "number",
"minimum": 0.0,
"maximum": 1.0
},
"can_place_on": {
"title": "Can Place On",
"description": " How far, in blocks, this feature can search for a valid position to place.",
"type": "array",
"minItems": 1,
"items": {
"title": "Block",
"description": " A list of blocks that the block in this feature can be placed on. Omit this field to allow any block to be placed on.",
"$ref": "../../../general/block/reference.json"
}
}
}
}