Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-223110

Loot Table function exploration_map uses case insensitive StructureType, which is different from /locate command

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 21w14a
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The following loot table gives one an exploration map of buried treasure.
      The "destination" should be "buried_treasure" but not "Buried_Treasure", since the command /locate uses "buried_treasure" but not "Buried_Treasure", for consistency.

      {
        "pools": [
          {
            "rolls": 1,
            "entries": [
              {
                "type": "minecraft:item",
                "name": "minecraft:map",
                "functions": [
                  {
                    "function": "minecraft:exploration_map",
                    "destination": "Buried_Treasure"
                  }
                ]
              }
            ]
          }
        ]
      }

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ruhuasiyu wayne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              CHK: