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

No content log warning when referencing a nonexistent loot table inside another

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.20.20 Preview, 1.19.10.20 Preview, 1.17.20.22 Beta, 1.17.10, 1.18.31
    • None
    • Confirmed
    • Windows
    • 578630

      The bug

      When a loot table is evaluated and attempts to drop a nonexistent item, you get the following content log warning:

      [Item][error]-<itemname> is not a valid item name. 

      However, when a loot table is evaluated and attempts to drop a nonexistent loot table, there is no warning. You just get no drops.

      How to reproduce

      1. Download the attached world
      2. Kill the pig

      Expected result

      Content log warning

      Actual result

      Nothing

      Notes

      Fixing this should cause vanilla to produce such an error due to MCPE-57215

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

              Created:
              Updated:
              CHK: