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

Luck and Bad Luck don't work with double chests


    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 19w02a
    • Minecraft 15w44b, Minecraft 15w45a, Minecraft 15w46a, Minecraft 15w49b, Minecraft 15w50a, Minecraft 15w51b, Minecraft 16w02a, Minecraft 16w03a, Minecraft 16w04a, Minecraft 16w05a, Minecraft 1.9 Pre-Release 1, Minecraft 1.10.2, Minecraft 1.11, Minecraft 1.13.1
    • Confirmed

      The effects Luck and Bad Luck don't work when a double chest is opened, but the effects work when a simple chest is opened.

      1: Place the file updated_table_loot.json in the folder:
      .minecraft\saves\ MAP_NAME \data\loot_tables\test\chests\

      2: Use the command:
      /give @p minecraft:chest{BlockEntityTag:{LootTable:"test:chests/updated_table_loot"}} 1

      3: Place and open the chest with effect Luck or Bad Luck.

      4: Place and open an another chest (a double chest) with effect Luck or Bad Luck.


      Look the screenshots in Attachment for the examples.

      Sorry for my bad english.

      Code analysis by marcono1234 can be found in this comment.

        1. 1.8.5.json
          5 kB
        2. Chest with Bad Luck.png
          Chest with Bad Luck.png
          339 kB
        3. Chest with Luck.png
          Chest with Luck.png
          337 kB
        4. Chest without enchantment.png
          Chest without enchantment.png
          387 kB
        5. Double chest with Bad Luck.png
          Double chest with Bad Luck.png
          337 kB
        6. Double chest with Luck.png
          Double chest with Luck.png
          335 kB
        7. Double chest without enchantment.png
          Double chest without enchantment.png
          362 kB
        8. table_loot.json
          1 kB
        9. updated_table_loot.json
          1 kB

            Unassigned Unassigned
            fenrius Fenrius
            7 Vote for this issue
            10 Start watching this issue