Item Unlock Cost has incorrect image for Potions #407

Open
opened 2026-10-31 05:43:08 +00:00 by DiscordBot · 6 comments
Owner

When using the item unlock cost on an ability, if you pass in a potion as the item, the preview will instead show a water bottle.

For example, in the image attached, the item cost is a fire resistance potion, and although it is correctly detected in the inventory, the icon is just wrong.

Here is the unlock cost json:

"unlocking": {
          "type": "palladium:buyable",
          "cost": {
            "type": "palladium:item",
            "ingredient": {
              "items": "minecraft:potion",
              "components": {
                "minecraft:potion_contents": {
                  "potion": "minecraft:long_fire_resistance"
                }
              },
              "neoforge:ingredient_type": "neoforge:components"
            },
            "amount": 1
          }
}

Attachments:
image.png


Reported by Bandit (@letbandithelp) via Discord — open thread

When using the item unlock cost on an ability, if you pass in a potion as the item, the preview will instead show a water bottle. For example, in the image attached, the item cost is a fire resistance potion, and although it is correctly detected in the inventory, the icon is just wrong. Here is the unlock cost json: ``` "unlocking": { "type": "palladium:buyable", "cost": { "type": "palladium:item", "ingredient": { "items": "minecraft:potion", "components": { "minecraft:potion_contents": { "potion": "minecraft:long_fire_resistance" } }, "neoforge:ingredient_type": "neoforge:components" }, "amount": 1 } } ``` **Attachments:** ![image.png](https://cdn.discordapp.com/attachments/1565964312827396227/1565964313011953664/image.png?ex=6ae6d16a&is=6ae57fea&hm=51ece3af54740bf02edb3eb28f48b2504c1e0007dfaadae2b5a9333ada5cdbda&) --- <sub>Reported by Bandit (@letbandithelp) via Discord — [open thread](https://discord.com/channels/116908382878695430/1565964312827396227)</sub>
Author
Owner

Can you test this? <@1286349487346028620>


lucas (@idkmaybelucas) via Discord — jump to message

Can you test this? <@1286349487346028620> --- <sub>lucas (@idkmaybelucas) via Discord — [jump to message](https://discord.com/channels/116908382878695430/1565964312827396227/1566205393586360452)</sub>
Author
Owner

I can in like 5 hours. <@1386769034875375626> might be able to test it faster tho


Bandit (@letbandithelp) via Discord — jump to message

I can in like 5 hours. <@1386769034875375626> might be able to test it faster tho --- <sub>Bandit (@letbandithelp) via Discord — [jump to message](https://discord.com/channels/116908382878695430/1565964312827396227/1566205829546381393)</sub>
Author
Owner

no rush


lucas (@idkmaybelucas) via Discord — jump to message

no rush --- <sub>lucas (@idkmaybelucas) via Discord — [jump to message](https://discord.com/channels/116908382878695430/1565964312827396227/1566205881044177088)</sub>
Author
Owner

mb didnt see this


I Love Cats (@kingandranis_og) via Discord — jump to message

mb didnt see this --- <sub>I Love Cats (@kingandranis_og) via Discord — [jump to message](https://discord.com/channels/116908382878695430/1565964312827396227/1566208251807404113)</sub>
Author
Owner

il test it rq


I Love Cats (@kingandranis_og) via Discord — jump to message

il test it rq --- <sub>I Love Cats (@kingandranis_og) via Discord — [jump to message](https://discord.com/channels/116908382878695430/1565964312827396227/1566208330571972713)</sub>
Author
Owner

(no message content)

Attachments:
image.png


I Love Cats (@kingandranis_og) via Discord — jump to message

_(no message content)_ **Attachments:** ![image.png](https://cdn.discordapp.com/attachments/1565964312827396227/1566210255317110854/image.png?ex=6ae7b677&is=6ae664f7&hm=50f9c39718c948c2d388810ca425f67599ed73961565a9469e14fe413932e8de&) --- <sub>I Love Cats (@kingandranis_og) via Discord — [jump to message](https://discord.com/channels/116908382878695430/1565964312827396227/1566210255615037503)</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ThreeTAG/Palladium#407
No description provided.