编辑

Entity Documentation - minecraft:admire_item

Allows an entity to ignore attackable targets for a given duration.

Entity Admire Item Properties

Name Default Value Type Description
cooldown_after_being_attacked 10 Integer number Duration, in seconds, for which mob won't admire items if it was hurt
duration 10 Integer number Duration, in seconds, that the mob admires an item.

Samples