Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ItemIconOverrideFunction

Function used in "ItemIconOverride" callback

Hierarchy

  • ItemIconOverrideFunction

Callable

  • Function used in "ItemIconOverride" callback

    Parameters

    • item: ItemInstance

      information about item that is used in override function

    • isModUi: boolean

      whether icon override is working in mod ui or in vanilla one

    Returns void | TextureData

    void if used in callback, Item.TextureData if used in item override function to return texture that will be used for the item

Generated using TypeDoc