# Icons

## Overview

### Palladium

- Compound Icon
- Experience Icon
- Ingredient Icon
- Item Icon
- Item in Slot Icon
- Textured Icon

## Compound Icon

Let's you merge multiple icons into one.

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
icons | IIcon[] | Array of the icons you want to merge | true | /

### Example:

    {"type":"palladium:compound","icons":["minecraft:apple","example:textures/icons/my_icon.png"]}

## Experience Icon

Displays an experience amount as an icon.

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
amount | Integer | Amount of experience points/level | true | /
level | Boolean | Determines if icon should display level or not | false | true

### Example:

    {"type":"palladium:experience","amount":3,"level":true}

## Ingredient Icon

Circles through the items of an ingredient.

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
ingredient | class_1856 | Ingredient for the item | true | /

### Example:

    {"type":"palladium:ingredient","ingredient":{"tag":"minecraft:arrows"}}

## Item Icon

Uses an item as an icon.

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
item | class_2960 | ID of the item that's supposed to be displayed. If you leave it out, it will display the item from the current context (if given). | false | minecraft:air

### Example:

    {"type":"palladium:item","item":"minecraft:apple"}

## Item in Slot Icon

Uses the item that's in the specified slot.

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
slot | String | Name of the slot. | true | /

### Example:

    {"type":"palladium:item_in_slot","slot":"chest"}

## Textured Icon

Uses a texture to render as an icon.

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
texture | TextureReference | Path to the texture file or dynamic texture json file. | true | /
tint | Integer[] | Adds an additional tint to the texture. | false | /

### Example:

    {"type":"palladium:texture","texture":"example:textures/icons/my_icon.png","tint":[123,32,212]}