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

LootTables calling another LootTable set all items inside counts to 1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.20.6
    • Unconfirmed
    • (Unassigned)

      This is odd, but i've tested this with my server and single player. Happens on both.

      When you have a LootTable spawn another LootTable. It will make anything you have inside only set 1 item. Regardless of what you have set for the count.

      Here is a datapack to test this with. 

      Do /loot give @a loot ghostly:chests/test     You will only ever get 1 egg.

      But if you do the base loottable with

      /loot give @a loot ghostly:chests/blank       It will work correctly giving a random number between 1 and 6 eggs.

            Unassigned Unassigned
            GhostlyScythe Ghostly
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: