minecraft:admire_item
Causes the mob to ignore attackable targets for a given duration.
Properties
| Property | Type | Default | What it does |
|---|---|---|---|
duration | Integer | 10 | Duration, in seconds, that the mob admires an item. |
cooldown_after_being_attacked | Integer | 10 | Duration, in seconds, for which mob won't admire items if it was hurt |
Example from the game files
This is how vanilla Piglin uses it in Minecraft Bedrock 1.26.60.5:
{
"minecraft:admire_item": {
"duration": 8,
"cooldown_after_being_attacked": 20
}
}Used by 1
Vanilla entities with minecraft:admire_item in their definition: