Appearance
helix / Consumable
Interface: Consumable โ
Defined in: core/values/item/consumable.ts:60
The consumable component (1.21.2+), for ItemBuilder.consumable.
Properties โ
animation? โ
readonlyoptionalanimation?:ItemUseAnimation
Defined in: core/values/item/consumable.ts:64
Default eat.
consumeSeconds? โ
readonlyoptionalconsumeSeconds?:number
Defined in: core/values/item/consumable.ts:62
Seconds to finish using it (default 1.6). A huge value makes an item that's held in use and never eaten.
hasConsumeParticles? โ
readonlyoptionalhasConsumeParticles?:boolean
Defined in: core/values/item/consumable.ts:68
The item particles while using it (default true).
onConsumeEffects? โ
readonlyoptionalonConsumeEffects?: readonlyConsumeEffect[]
Defined in: core/values/item/consumable.ts:69
sound? โ
readonlyoptionalsound?:ConsumeSound
Defined in: core/values/item/consumable.ts:66
Played while using and on finishing.