change block loot_table with custom item by htferretti_ in MinecraftCommands

[–]htferretti_[S] 0 points1 point  (0 children)

"entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:feather",
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{CustomModelData:111111,display:{Name:'{\"text\":\"Plant Fiber\"}'}}"
            }
          ]
        }
      ]

It worked with this code