只读
cooldown只读
cooldown只读
beta
is只读
type静态
只读
componentThe cooldown category that might be associated with this item.
True if the item is the given cooldown category.
Will return true if the item is the cooldown category passed in and false otherwise.
无法在只读模式下调用此函数,详见 WorldBeforeEvents。
表示物品使用冷却组件。当出现在物品上时,表示该物品被实体使用后会有冷却效果。 注意,若使用后不会进入冷却,原版物品会获取到没有实际作用的该组件。
When present on an item, this item has a cooldown effect when used by entities.