{
  "type": "minecraft:entity",
  "random_sequence": "manic:entities/grinn",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:loot_table",
          "name": "manic:items/elderskin",
          "conditions": [
            {
              "condition": "minecraft:random_chance_with_looting",
              "chance": 0.4,
              "looting_multiplier": 0.01
            },
            {
              "condition": "minecraft:killed_by_player"
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:loot_table",
          "name": "manic:items/reticulum",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 4
              },
              "add": false
            },
            {
              "function": "minecraft:looting_enchant",
              "count": {
                "min": 0,
                "max": 2
              }
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:killed_by_player"
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:structure_block",
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{CustomModelData:8360000,nucleus:{id:\"death_item\",xp:10},manic:{entity:\"grinn\"}}"
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:inverted",
              "term": {
                "condition": "minecraft:entity_properties",
                "entity": "killer",
                "predicate": {
                  "type": "minecraft:wolf"
                }
              }
            },
            {
              "condition": "minecraft:killed_by_player"
            }
          ]
        }
      ]
    }
  ]
}
