misode.github.io icon indicating copy to clipboard operation
misode.github.io copied to clipboard

Some items are invisible or render incorrectly in the loot table preview

Open Apollounknowndev opened this issue 3 years ago • 4 comments

Invisible items (incomplete list):

  • beds
  • shields
  • skulls and heads

Missing item colors:

  • tipped arrows
  • potions
  • spawn eggs
  • leather armor
  • firework star
  • mangrove leaves
  • filled map

image

Apollounknowndev avatar Nov 08 '22 18:11 Apollounknowndev

Skulls do not render either.

Apollounknowndev avatar Nov 18 '22 02:11 Apollounknowndev

This affects all block entities, or items using special entity renderers

misode avatar Nov 18 '22 03:11 misode

Not sure if more examples are needed, but found it also applies to potions. Uses this loot table for example:

{
  "type": "minecraft:entity",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:potion",
          "functions": [
            {
              "function": "minecraft:set_potion",
              "id": "minecraft:fire_resistance"
            }
          ]
        }
      ]
    }
  ]
}

image

catter1 avatar Nov 21 '22 12:11 catter1

Part of this issue has been implemented in b165d551e4cd8f4db0051e04c412a9f8a44307ce. A loot table demonstrating this: https://misode.github.io/loot-table/?share=oQTVAdG5qr chrome_d3bfDwChUQ

misode avatar Nov 23 '22 04:11 misode