| icon | list-dropdown |
|---|
{% hint style="warning" %}
{% endhint %}
{% code title="contents/test_tooltip/test_tooltip_item.yml" %}
info:
namespace: test_tooltip
items:
tooltip_rainbow_item:
display_name: tooltip_rainbow_item
resource:
generate: false
model_path: minecraft:item/emerald
material: PAPER
tooltip_style: test_tooltip:tooltip/rainbow
{% endcode %}
Create the required files into contents/test_tooltip/textures/tooltip/.
{% hint style="info" %}
Tooltip support animated textures (.png.mcmeta files).
{% endhint %}
Run /iazip and then get the item ingame.
You can add custom textured tooltips for your items, please refer to this example addon:
https://www.spigotmc.org/resources/items-custom-tooltip-texture-example-itemsadder-addon.87883/.
{% hint style="warning" %}
- You cannot show custom enchants as they will go out of the window if the image is too small.
- You have to write everything in the tooltip image, text would go out of the window if the image is too small. {% endhint %}
.png)
.png)
