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

Loot table function "set_data" doestn't work with tools

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 15w43c
    • Minecraft 15w43b
    • None
    • Community Consensus

      With the new table loot system, it is possible to change the data value for generated items with the function "set_data" (see exemples with the sheep colored loots tables)

      But if I use the "set_data" function on a tool (axe, sword, etc.) the data value is not set, so it's not possible to create tools with custom damage value.

      I join an exemple file, with this generator:

      • 5 random color wools (that's work)
      • 1 sword with fix data value (don't work)
      • 1 axe with random "set_data" value (don't work)

      For both tools, the damage value are set to 0 in game.

            Unassigned Unassigned
            Tronics Tronics
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: