* 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
97 lines
2.5 KiB
JSON
97 lines
2.5 KiB
JSON
{
|
|
"$id": "blockception.minecraft.behavior.entities.minecraft.healable",
|
|
"description": "Defines the interactions with this entity for healing it.",
|
|
"type": "object",
|
|
"title": "Healable",
|
|
"additionalProperties": false,
|
|
"required": [],
|
|
"definitions": {
|
|
"effect": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"title": "Name",
|
|
"description": "Effect name.",
|
|
"$ref": "../../../../general/vanilla/effect.json",
|
|
"type": "string"
|
|
},
|
|
"duration": {
|
|
"title": "Duration",
|
|
"anyOf": [
|
|
{
|
|
"type": "integer",
|
|
"default": 1,
|
|
"minimum": 0
|
|
},
|
|
{
|
|
"const": "infinite"
|
|
}
|
|
],
|
|
"description": "The duration of the effect."
|
|
},
|
|
"amplifier": {
|
|
"type": "integer",
|
|
"default": 0,
|
|
"minimum": 0,
|
|
"description": "The amplifier of the effect."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"properties": {
|
|
"filters": {
|
|
"$ref": "../../filters/filters.json"
|
|
},
|
|
"force_use": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Determines if item can be used regardless of entity being at full health.",
|
|
"title": "Force Use"
|
|
},
|
|
"items": {
|
|
"description": "The array of items that can be used to heal this entity.",
|
|
"title": "Items",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"filters": {
|
|
"$ref": "../../filters/filters.json",
|
|
"description": "The filter group that defines the conditions for using this item to heal the entity."
|
|
},
|
|
"heal_amount": {
|
|
"type": "integer",
|
|
"default": 1,
|
|
"description": "The amount of health this entity gains when fed this item.",
|
|
"title": "Heal Amount"
|
|
},
|
|
"item": {
|
|
"$ref": "../../../../general/item/descriptor.json",
|
|
"description": "Item that can be used to heal this entity.",
|
|
"title": "Item"
|
|
},
|
|
"effects": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/effect"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/effect"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"examples": [
|
|
{
|
|
"force_use": false,
|
|
"items": []
|
|
}
|
|
]
|
|
}
|