Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/components/admire_item.json

28 lines
763 B
JSON
Raw Normal View History

2021-10-08 12:59:03 +02:00
{
2021-10-08 13:04:13 +02:00
"$id": "blockception.minecraft.behavior.entities.minecraft.admire_item",
2021-10-08 12:59:03 +02:00
"type": "object",
2021-10-08 13:04:13 +02:00
"title": "Admire Item",
2021-10-08 12:59:03 +02:00
"description": "Causes the mob to ignore attackable targets for a given duration.",
"additionalProperties": false,
"properties": {
"cooldown_after_being_attacked": {
"type": "integer",
"default": 0,
2022-07-22 19:41:04 +02:00
"description": "Duration, in seconds, for which mob won't admire items if it was hurt.",
2021-10-08 12:59:03 +02:00
"title": "Cooldown After Being Attacked"
},
2021-10-11 18:10:42 +02:00
"duration": {
"type": "integer",
"default": 10,
"description": "Duration, in seconds, that the mob is pacified.",
"title": "Duration"
}
},
"examples": [
{
"cooldown_after_being_attacked": 0,
"duration": 10
}
]
2021-10-08 12:59:03 +02:00
}