Appearance
twine / CustomItemMeta
Type Alias: CustomItemMeta โ
CustomItemMeta =
CustomItemCommon& {item:Item;label?:never;look?:never;vanilla?:true; } | {item?:never;label:TextComponent;look:Item;vanilla?:never; }
Defined in: twine/src/item/types.ts:58
What CustomItem declares: an item, or a look and label for an item vanilla does nothing with.
It gets the id custom_data: { smithed: { id: "<ns>:<name>" } } and is matched by it, unless vanilla is set.