Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-6366

error when executing "loot spawn ..." for shulker_box

XMLWordPrintable

    • git-Spigot-a93cbb1-7a6c3c9 (MC: 1.16.4)
    • Yes

      I have put the following file into "data/minecraft/loot_tables/blocks" of a data pack, then execute the following command

      loot spawn ~ ~ ~ mine ~ 0 ~ minecraft:wooden_pickaxe{loot_table_tool:1b}
      

      where ~ 0 ~ has a shulker_box with some item in it.

       

      The expected behavior (in vanilla) is to summon all items in shulker_box at the current location, but in the spigot, it only summons the item in the box with a smaller slot number, won't summon the item in the box with a larger slot number (the exact splitting number varies), and a message of "An unexpected error occurred trying to execute that command" is printed.

       

      However, the command 

      loot give @s mine ~ 0 ~ minecraft:wooden_pickaxe{loot_table_tool:1b}
      

      work as expected.

       

            Doc Doc
            logic_f Yongda Fan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: