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

Loot Table of luck to be killed by a monster player invalid

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.9 Pre-Release 3
    • None
    • Put your operating system (Windows 7, Windows XP, OSX) and Java version if you know it here
    • Unconfirmed

      1. Write a LootTable.
      Like this:

      {
          "pools": [
              {
                  "rolls": 1,
                  "entries": [
                      {
                          "type": "item",
                          "name": "minecraft:iron_ingot",
                          "weight": 1,
                          "luck": -100
                      }
                  ]
              }
          ]
      }
      

      2. Save to .minecraft \ saves \ map \ data \ loot tables \ command \ loot table
      3./effect @p minecraft:luck 3000 0
      4./summon Zombie ~ ~ ~

      {DeathLootTable:command:loottable}

      5. to kill the zombie
      6. The zombie will loot iron_ingot(If you are in luck effect)

            Unassigned Unassigned
            liangzi Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: