{
  "type": "minecraft:entity",
  "pools": [
    {
      "bonus_rolls": 0.0,
      "entries": [
        {
          "type": "minecraft:item",
          "functions": [
            {
              "components": {
                "minecraft:resin": {
                  "impurities": "f",
                  "quality": "c"
                }
              },
              "function": "minecraft:set_components"
            },
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "max": 1.0,
                "min": 0.0
              },
              "function": "minecraft:set_count"
            },
            {
              "function": "minecraft:enchanted_count_increase",
              "enchantment": "minecraft:looting",
              "count": {
                "type": "minecraft:uniform",
                "min": 0,
                "max": 1
              }
            }
          ],
          "name": "minecraft:toxic_resin"
        }
      ],
      "rolls": 1.0
    },
    {
      "bonus_rolls": 0.0,
      "conditions": [
        {
          "condition": "minecraft:random_chance_with_enchanted_bonus",
          "enchantment": "minecraft:looting",
          "unenchanted_chance": 0.1,
          "enchanted_chance": {
            "type": "minecraft:linear",
            "base": 0.3,
            "per_level_above_first": 0.2
          }
        }
      ],
      "entries": [
        {
          "type": "minecraft:item",
          "functions": [
            {
              "components": {
                "minecraft:resin": {
                  "impurities": "f",
                  "quality": "j"
                }
              },
              "function": "minecraft:set_components"
            },
            {
              "function": "minecraft:enchanted_count_increase",
              "enchantment": "minecraft:looting",
              "count": {
                "type": "minecraft:uniform",
                "min": 0,
                "max": 1
              }
            }
          ],
          "name": "minecraft:toxic_resin"
        }
      ],
      "rolls": 1.0
    },
    {
      "bonus_rolls": 0.0,
      "conditions": [
        {
          "condition": "minecraft:killed_by_player"
        },
        {
          "condition": "minecraft:random_chance_with_enchanted_bonus",
          "enchantment": "minecraft:looting",
          "unenchanted_chance": 0.5,
          "enchanted_chance": {
            "type": "minecraft:linear",
            "base": 0.51,
            "per_level_above_first": 0.01
          }
        }
      ],
      "entries": [
        {
          "type": "minecraft:item",
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "max": 1.0,
                "min": 0.0
              },
              "function": "minecraft:set_count"
            }
          ],
          "name": "minecraft:toxic_beam"
        }
      ],
      "rolls": 1.0
    }
  ],
  "random_sequence": "minecraft:entities/toxifin"
}