Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-151385

Loot table entry type fails to validate namespaces

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.19.0.21 Preview, 1.18.2 Hotfix
    • None
    • Confirmed
    • Windows
    • 693754

      How to reproduce

      Create this loot table in a behavior pack

      {
         "pools": [
            {
               "rolls": 1.0,
               "entries": [
                  {
                     "type": "minecraft:item",
                     "name": "minecraft:diamond_ore"
                  }
               ]
            }
         ]
      }
      

      Use /loot to evaluate it

      Expected behavior
      One diamond ore is dropped

      Actual behavior
      Content log warning telling you that item must be used instead of minecraft:item

      Notes

      JE loot tables support both, so this bug makes JE loot tables incompatible in BE but not vice versa (putting aside the dozens of new Java-only loot table features)

            tryashtar [Mod] tryashtar
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: