Interface ItemIconOverrideFunction

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

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

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.