@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
22 lines • 789 B
JSON
{
"description": "Adds a cooldown to an entity. The intention of this cooldown is to be used to prevent the entity from attempting to acquire new attack targets.",
"fields": [
{
"id": "attack_cooldown_complete_event",
"description": "Event to be run when the cooldown is complete.",
"dataType": 8,
"lookupId": "entityTypeEvents",
"title": "Attack Cooldown Complete Event"
},
{
"id": "attack_cooldown_time",
"description": "Amount of time in seconds for the cooldown. Can be specified as a number or a pair of numbers (min and max).",
"dataType": 19,
"maxValue": 1,
"title": "Attack Cooldown Time"
}
],
"title": "Attack Cooldown",
"samples": {},
"id": "minecraft:attack_cooldown"
}