Skip to main content

Module consumable

Module consumable 

Source
Expand description

Vanilla consumable and death-protection item components.

Structsยง

Consumable
Use timing, presentation, and post-consumption effects.
ConsumeEffectList ๐Ÿ”’
DeathProtection
Effects applied when an item prevents death.

Enumsยง

ItemUseAnimation
Arm animation displayed while using an item.

Functionsยง

default_eat_sound ๐Ÿ”’
float_equals ๐Ÿ”’
hash_entries ๐Ÿ”’
is_default_eat_sound ๐Ÿ”’
is_non_negative_float ๐Ÿ”’
optional_f32 ๐Ÿ”’
push_hash_entry ๐Ÿ”’
read_effect_list ๐Ÿ”’
write_effect_list ๐Ÿ”’