Entity Documentation - minecraft:admire_item
minecraft:admire_item
compels an entity to ignore attackable targets for a given duration.
Parameters
Name | Default Value | Type | Description |
---|---|---|---|
cooldown_after_being_attacked | 0 | Integer | Duration, in seconds, that th mob won't admire items if it was hurt |
duration | 10 | Integer | Duration, in seconds, that the mob is pacified. |
Example
"minecraft:admire_item":{
"cooldown_after_being_attacked": 5,
"duration":10
}
Vanilla entities examples
piglin
"minecraft:admire_item": {
"duration": 8,
"cooldown_after_being_attacked": 20
}
Vanilla entities using minecraft:admire_item
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for