Skip to content

Missing loot table - entity - minecraft:set_nbt #838

@ErythroCraft

Description

@ErythroCraft

Hello

Would like use your "Loot Table Generator".
But there no entity loot table in presets and custom mob heads
are not showing the tag/properties

For Testing what I mean:

{
  "type": "minecraft:entity",
  "pools": [
    {
      "bonus_rolls": 0.0,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:black_wool"
        }
      ],
      "rolls": 1.0
    },
    {
      "bonus_rolls": 0.0,
      "entries": [
        {
          "type": "minecraft:loot_table",
          "name": "minecraft:entities/sheep"
        }
      ],
      "rolls": 1.0
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:player_head",
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{display:{Name:'{\"text\":\"Black Sheep\"}'},SkullOwner:{Id:[I;194915362,1300580043,-1268254588,-544766014],Properties:{textures:[{Value:\"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjM0YWM1YjM5OGNmN2M4NmUzZjZmMTg4YTUxMjdkOGIyODNkNzcyYmY1ODg1YzcwZTBjMTMwODA1ZjA2OTk1MCJ9fX0=\"}]}}}"
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 1.0
            }
          ]
        }
      ]
    }
  ],
  "random_sequence": "minecraft:entities/sheep/black"
}

Aktually version I would use is 1.20.1+

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions