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

Block loot tables and set_nbt doesn't work properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • Minecraft 19w09a
    • None
    • Win 10
    • Unconfirmed

      I have a custom model working for an object
      (tested with /give @s minecraft:item{CustomModelData:1} )

      I have modified the loot table of the oak leaves in a jungle leaves one (replacing leaves and sappling) and changed the apple to the custom model with "set_nbt".

      All should work according to various people I asked, but it doesn't.

      When I just modify oak in jungle, I get all drops written including apples. The moment I add nbt, only sapplings and sticks remains, no apples (vanilla or custom model)

      Searching here lead to a similar issue back in 1.12, but marked as resolved. I think now that blocks also have loot tables, it could be tied.

      Similar issue resolved 1.12 MC-122536

      loot_table attached

            Unassigned Unassigned
            Mogyle Mogyle Le Toulousain
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: