Files
minecraft-bedrock-json-schemas/source/behavior/items/format/components/repairable.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

35 lines
1.1 KiB
JSON

{
"$id": "blockception.minecraft.behavior.items.minecraft:repairable",
"title": "Repairable",
"description": "Repairable item component: how much damage can this item repair, what items can repair it.",
"type": "object",
"additionalProperties": false,
"properties": {
"repair_items": {
"title": "Repair Items",
"description": "Repair item entries.",
"type": "array",
"items": {
"type": "object",
"title": "Repar Item",
"description": "List of repair item entries.",
"additionalProperties": false,
"properties": {
"items": {
"title": "Items",
"description": "Items that can be used to repeair it",
"$comment": "List of items",
"type": "array",
"items": { "$ref": "../../../../general/item/descriptor.json" }
},
"repair_amount": {
"title": "Repair Amount",
"description": "Amount that can be repaired",
"$ref": "../../../../molang/number.json"
}
}
}
}
}
}