events.listen('recipes', function (e) {

    /*********** FARLENDER ***********/
//Titan
e.custom({
        "type": "cagedmobs:mob_data",
        "entity": "farlanders:titan",
        "samplerTier": 3,
        "environments": ["end"],
        "growTicks": 1800,
        "results": [
            {
                "chance": 0.75,
                "output": {
                    "item": "farlanders:titan_hide"
                },
                "minAmount": 1,
                "maxAmount": 3
}]})
//Golem
e.custom({
        "type": "cagedmobs:mob_data",
        "entity": "farlanders:ender_golem",
        "samplerTier": 2,
        "environments": ["end"],
        "growTicks": 1800,
        "results": [
            {
                "chance": 0.75,
                "output": {
                    "item": "farlanders:ender_horn"
                },
                "minAmount": 1,
                "maxAmount": 3
}]})
//Guardian
e.custom({
        "type": "cagedmobs:mob_data",
        "entity": "farlanders:ender_guardian",
        "samplerTier": 2,
        "environments": ["end"],
        "growTicks": 1800,
        "results": [
            {
                "chance": 1,
                "output": {
                    "item": "minecraft:arrow"
                },
                "minAmount": 1,
                "maxAmount": 3
            },
            {
                "chance": 0.8,
                "output": {
                    "item": "farlanders:endumium_crystal"
                },
                "minAmount": 1,
                "maxAmount": 1
}]})
//Looter
e.custom({
        "type": "cagedmobs:mob_data",
        "entity": "farlanders:looter",
        "samplerTier": 2,
        "environments": ["end"],
        "growTicks": 1200,
        "results": [
            {
                "chance": 1,
                "output": {
                    "item": "farlanders:endumium_crystal"
                },
                "minAmount": 1,
                "maxAmount": 2
}]})
    /*********** UNDERGARDEN ***********/
//environement
e.custom({"type": "cagedmobs:env_data","conditions": [{"type": "forge:mod_loaded","modid": "cagedmobs"}],"input": {"item": "undergarden:depthrock"},"render": "undergarden:depthrock","growModifier": 1.0,"categories": ["undergarden"]})
//Brute
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "undergarden:brute",
    "samplerTier": 2,
    "environments": ["undergarden"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 1,
            "output": {
                "item": "undergarden:brute_tusk"
            },
            "minAmount": 0,
            "maxAmount": 2
        }
]})
//Dweller
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "undergarden:dweller",
    "samplerTier": 2,
    "environments": ["undergarden"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 1,
            "output": {
                "item": "undergarden:raw_dweller_meat"
            },
            "minAmount": 1,
            "maxAmount": 3
        },
        {
            "chance": 1,
            "output": {
                "item": "minecraft:leather"
            },
            "minAmount": 0,
            "maxAmount": 2
        }
]})
//Forgotten Guardian
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "undergarden:forgotten_guardian",
    "samplerTier": 3,
    "environments": ["undergarden"],
    "growTicks": 1800,
    "results": [
        {
            "chance": 1,
            "output": {
                "item": "undergarden:forgotten_nugget"
            },
            "minAmount": 4,
            "maxAmount": 16
        }
]})
//Gloomer
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "undergarden:gloomper",
    "samplerTier": 2,
    "environments": ["undergarden"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 1,
            "output": {
                "item": "undergarden:raw_gloomper_leg"
            },
            "minAmount": 1,
            "maxAmount": 2
        },
        {
            "chance": 1,
            "output": {
                "item": "minecraft:leather"
            },
            "minAmount": 0,
            "maxAmount": 2
        }
]})
//Gwibling
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "undergarden:gwibling",
    "samplerTier": 2,
    "environments": ["undergarden"],
    "growTicks": 1200,
	"requiresWater": true,
    "results": [
        {
            "chance": 1,
            "output": {
                "item": "undergarden:raw_gwibling"
            },
            "minAmount": 1,
            "maxAmount": 1
        },
        {
            "chance": 0.05,
            "output": {
                "item": "minecraft:bone_meal"
            },
            "minAmount": 1,
            "maxAmount": 1
        }
]})
//Masticator
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "undergarden:masticator",
    "samplerTier": 3,
    "environments": ["undergarden"],
    "growTicks": 1800,
    "results": [
        {
            "chance": 1,
            "output": {
                "item": "undergarden:masticator_scales"
            },
            "minAmount": 4,
            "maxAmount": 8
        }
]})
//Muncher
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "undergarden:muncher",
    "samplerTier": 2,
    "environments": ["undergarden"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 1,
            "output": {
                "item": "undergarden:cloggrum_nugget"
            },
            "minAmount": 1,
            "maxAmount": 3
        },
        {
            "chance": 1,
            "output": {
                "item": "undergarden:froststeel_nugget"
            },
            "minAmount": 1,
            "maxAmount": 3
        }
]})
//Nargoyle
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "undergarden:nargoyle",
    "samplerTier": 2,
    "environments": ["undergarden"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 1,
            "output": {
                "item": "minecraft:string"
            },
            "minAmount": 1,
            "maxAmount": 1
        }
]})
//Rotbeast
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "undergarden:rotbeast",
    "samplerTier": 3,
    "environments": ["undergarden"],
    "growTicks": 1800,
    "results": [
        {
            "chance": 1,
            "output": {
                "item": "undergarden:utheric_shard"
            },
            "minAmount": 2,
            "maxAmount": 8
        }
]})
//Rotling
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "undergarden:rotling",
    "samplerTier": 2,
    "environments": ["undergarden"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 1,
            "output": {
                "item": "undergarden:utheric_shard"
            },
            "minAmount": 0,
            "maxAmount": 2
        }
]})
//Rotwalker
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "undergarden:rotwalker",
    "samplerTier": 2,
    "environments": ["undergarden"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 1,
            "output": {
                "item": "undergarden:utheric_shard"
            },
            "minAmount": 1,
            "maxAmount": 4
        }
]})
//Rotweller
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "undergarden:rotdweller",
    "samplerTier": 2,
    "environments": ["undergarden"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 1,
            "output": {
                "item": "minecraft:leather"
            },
            "minAmount": 0,
            "maxAmount": 2
        }
]})
//Scintling
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "undergarden:scintling",
    "samplerTier": 2,
    "environments": ["undergarden"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 1,
            "output": {
                "item": "undergarden:goo_ball"
            },
            "minAmount": 1,
            "maxAmount": 2
        }
]})
//Sploogie
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "undergarden:sploogie",
    "samplerTier": 2,
    "environments": ["undergarden"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 1,
            "output": {
                "item": "undergarden:depthrock_pebble"
            },
            "minAmount": 3,
            "maxAmount": 6
        }
]})
//Stoneborn
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "undergarden:stoneborn",
    "samplerTier": 2,
    "environments": ["undergarden"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 1,
            "output": {
                "item": "undergarden:depthrock_pebble"
            },
            "minAmount": 3,
            "maxAmount": 6
        }
]})
/*********** ICE AND FIRE ***********/
//Ice Dragon
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "iceandfire:ice_dragon",
    "samplerTier": 3,
    "environments": ["snow"],
    "growTicks": 2400,
    "results": [
        {
            "chance": 0.5,
            "output": {
                "item": "iceandfire:ice_dragon_heart"
            },
            "minAmount": 0,
            "maxAmount": 1
        },
        {
            "chance": 1,
            "output": {
                "item": "iceandfire:ice_dragon_flesh"
            },
            "minAmount": 1,
            "maxAmount": 1
        },
        {
            "chance": 0.25,
            "output": {
                "item": "iceandfire:dragonscales_blue"
            },
            "minAmount": 1,
            "maxAmount": 3
        },
        {
            "chance": 0.25,
            "output": {
                "item": "iceandfire:dragonscales_white"
            },
            "minAmount": 1,
            "maxAmount": 3
        },
        {
            "chance": 0.25,
            "output": {
                "item": "iceandfire:dragonscales_sapphire"
            },
            "minAmount": 1,
            "maxAmount": 3
        },
        {
            "chance": 0.25,
            "output": {
                "item": "iceandfire:dragonscales_silver"
            },
            "minAmount": 1,
            "maxAmount": 3
        },
        {
            "chance": 0.1,
            "output": {
                "item": "iceandfire:ice_dragon_blood"
            },
            "minAmount": 0,
            "maxAmount": 1
        },
        {
            "chance": 0.1,
            "output": {
                "item": "iceandfire:dragon_skull_ice"
            },
            "minAmount": 0,
            "maxAmount": 1
        }
]})
//Fire Dragon
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "iceandfire:fire_dragon",
    "samplerTier": 3,
    "environments": ["nether"],
    "growTicks": 2400,
    "results": [
        {
            "chance": 0.5,
            "output": {
                "item": "iceandfire:fire_dragon_heart"
            },
            "minAmount": 0,
            "maxAmount": 1
        },
        {
            "chance": 1,
            "output": {
                "item": "iceandfire:fire_dragon_flesh"
            },
            "minAmount": 1,
            "maxAmount": 1
        },
        {
            "chance": 0.25,
            "output": {
                "item": "iceandfire:dragonscales_gray"
            },
            "minAmount": 1,
            "maxAmount": 3
        },
        {
            "chance": 0.25,
            "output": {
                "item": "iceandfire:dragonscales_bronze"
            },
            "minAmount": 1,
            "maxAmount": 3
        },
        {
            "chance": 0.25,
            "output": {
                "item": "iceandfire:dragonscales_green"
            },
            "minAmount": 1,
            "maxAmount": 3
        },
        {
            "chance": 0.25,
            "output": {
                "item": "iceandfire:dragonscales_red"
            },
            "minAmount": 1,
            "maxAmount": 3
        },
        {
            "chance": 0.1,
            "output": {
                "item": "iceandfire:fire_dragon_blood"
            },
            "minAmount": 0,
            "maxAmount": 1
        },
        {
            "chance": 0.1,
            "output": {
                "item": "iceandfire:dragon_skull_fire"
            },
            "minAmount": 0,
            "maxAmount": 1
        }
]})
//Lightning Dragon
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "iceandfire:lightning_dragon",
    "samplerTier": 3,
    "environments": ["cave"],
    "growTicks": 2400,
    "results": [
        {
			"lightning": true,
            "chance": 0.5,
            "output": {
                "item": "iceandfire:lightning_dragon_heart"
            },
            "minAmount": 0,
            "maxAmount": 1
        },
        {
			"lightning": true,
            "chance": 1,
            "output": {
                "item": "iceandfire:lightning_dragon_flesh"
            },
            "minAmount": 1,
            "maxAmount": 1
        },
        {
			"lightning": true,
            "chance": 0.25,
            "output": {
                "item": "iceandfire:dragonscales_electric"
            },
            "minAmount": 1,
            "maxAmount": 3
        },
        {
			"lightning": true,
            "chance": 0.25,
            "output": {
                "item": "iceandfire:dragonscales_amythest"
            },
            "minAmount": 1,
            "maxAmount": 3
        },
        {
			"lightning": true,
            "chance": 0.25,
            "output": {
                "item": "iceandfire:dragonscales_copper"
            },
            "minAmount": 1,
            "maxAmount": 3
        },
        {
			"lightning": true,
            "chance": 0.25,
            "output": {
                "item": "iceandfire:dragonscales_black"
            },
            "minAmount": 1,
            "maxAmount": 3
        },
        {
			"lightning": true,
            "chance": 0.1,
            "output": {
                "item": "iceandfire:lightning_dragon_blood"
            },
            "minAmount": 0,
            "maxAmount": 1
        },
        {
			"lightning": true,
            "chance": 0.1,
            "output": {
                "item": "iceandfire:dragon_skull_lightning"
            },
            "minAmount": 0,
            "maxAmount": 1
        }
]})
//Stymphalian Bird
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "iceandfire:stymphalian_bird",
    "samplerTier": 2,
    "environments": ["cave"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 0.025,
            "output": {
                "item": "iceandfire:stymphalian_skull"
            },
            "minAmount": 1,
            "maxAmount": 1
        },
        {
            "chance": 0.25,
            "output": {
                "item": "thermal;copper_ingot"
            },
            "minAmount": 1,
            "maxAmount": 3
        },
        {
            "chance": 0.25,
            "output": {
                "item": "thermal:copper_nugget"
            },
            "minAmount": 0,
            "maxAmount": 4
        },
        {
            "chance": 0.25,
            "output": {
                "item": "iceandfire:stymphalian_bird_feather"
            },
            "minAmount": 2,
            "maxAmount": 6
        },
        {
            "chance": 0.25,
            "output": {
                "item": "minecraft:iron_ingot"
            },
            "minAmount": 0,
            "maxAmount": 4
        }
]})
//Amphithere
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "iceandfire:amphithere",
    "samplerTier": 2,
    "environments": ["cave"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 1,
            "output": {
                "item": "iceandfire:amphithere_feather"
            },
            "minAmount": 1,
            "maxAmount": 7
        },
        {
            "chance": 0.025,
            "output": {
                "item": "iceandfire:amphithere_skull"
            },
            "minAmount": 1,
            "maxAmount": 1
        }
]})
//Cockatrice
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "iceandfire:cockatrice",
    "samplerTier": 2,
    "environments": ["cave"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 0.025,
            "output": {
                "item": "iceandfire:cockatrice_eye"
            },
            "minAmount": 1,
            "maxAmount": 1
        },
        {
            "chance": 0.025,
            "output": {
                "item": "iceandfire:cockatrice_skull"
            },
            "minAmount": 1,
            "maxAmount": 1
        },
        {
            "chance": 1,
            "output": {
                "item": "iceandfire:witherbone"
            },
            "minAmount": 0,
            "maxAmount": 2
        },
        {
            "chance": 1,
            "output": {
                "item": "minecraft:chicken"
            },
            "minAmount": 1,
            "maxAmount": 3
        },
        {
            "chance": 1,
            "output": {
                "item": "minecraft:feathere"
            },
            "minAmount": 0,
            "maxAmount": 3
        }
]})
//cyclops
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "iceandfire:cyclops",
    "samplerTier": 3,
    "environments": ["cave"],
    "growTicks": 1800,
    "results": [
        {
            "chance": 1,
            "output": {
                "item": "minecraft:white_wool"
            },
            "minAmount": 0,
            "maxAmount": 5
        },
        {
            "chance": 1,
            "output": {
                "item": "minecraft:mutton"
            },
            "minAmount": 0,
            "maxAmount": 10
        },
        {
            "chance": 1,
            "output": {
                "item": "minecraft:leather"
            },
            "minAmount": 1,
            "maxAmount": 10
        },
        {
            "chance": 0.025,
            "output": {
                "item": "iceandfire:cyclops_skull"
            },
            "minAmount": 1,
            "maxAmount": 1
        },
        {
            "chance": 0.5,
            "output": {
                "item": "iceandfire:cyclops_eye"
            },
            "minAmount": 1,
            "maxAmount": 1
        }
]})
//deathworm
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "iceandfire:deathworm",
    "samplerTier": 2,
    "environments": ["cave"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 0.3,
            "output": {
                "item": "iceandfire:deathworm_chitin_white"
            },
            "minAmount": 0,
            "maxAmount": 2
        },
        {
            "chance": 0.3,
            "output": {
                "item": "iceandfire:deathworm_chitin_red"
            },
            "minAmount": 0,
            "maxAmount": 2
        },
        {
            "chance": 0.3,
            "output": {
                "item": "iceandfire:deathworm_chitin_yellow"
            },
            "minAmount": 0,
            "maxAmount": 2
        },
        {
            "chance": 1,
            "output": {
                "item": "minecraft:rotten_flesh"
            },
            "minAmount": 0,
            "maxAmount": 2
        },
        {
            "chance": 0.1,
            "output": {
                "item": "iceandfire:deathworm_egg"
            },
            "minAmount": 0,
            "maxAmount": 1
        }
]})
//Dread Beast
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "iceandfire:dread_beast",
    "samplerTier": 2,
    "environments": ["cave"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 0.33,
            "output": {
                "item": "iceandfire:dread_shard"
            },
            "minAmount": 0,
            "maxAmount": 2
        },
        {
            "chance": 0.33,
            "output": {
                "item": "minecraft:bone"
            },
            "minAmount": 0,
            "maxAmount": 2
        },
        {
            "chance": 0.33,
            "output": {
                "item": "minecraft:rotten_flesh"
            },
            "minAmount": 0,
            "maxAmount": 2
        }
]})
//Dread Ghoul
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "iceandfire:dread_ghoul",
    "samplerTier": 2,
    "environments": ["cave"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 0.33,
            "output": {
                "item": "iceandfire:dread_shard"
            },
            "minAmount": 0,
            "maxAmount": 2
        },
        {
            "chance": 0.33,
            "output": {
                "item": "minecraft:bone"
            },
            "minAmount": 0,
            "maxAmount": 2
        },
        {
            "chance": 0.33,
            "output": {
                "item": "minecraft:rotten_flesh"
            },
            "minAmount": 0,
            "maxAmount": 2
        }
]})
//Dread Knight
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "iceandfire:dread_knight",
    "samplerTier": 2,
    "environments": ["cave"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 0.33,
            "output": {
                "item": "iceandfire:dread_shard"
            },
            "minAmount": 0,
            "maxAmount": 2
        },
        {
            "chance": 0.33,
            "output": {
                "item": "minecraft:bone"
            },
            "minAmount": 0,
            "maxAmount": 2
        },
        {
            "chance": 0.33,
            "output": {
                "item": "minecraft:iron_ingot"
            },
            "minAmount": 0,
            "maxAmount": 1
        }
]})
//Dread Scuttler"
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "iceandfire:dread_scuttler",
    "samplerTier": 2,
    "environments": ["cave"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 0.5,
            "output": {
                "item": "minecraft:rotten_flesh"
            },
            "minAmount": 0,
            "maxAmount": 1
        },
        {
            "chance": 0.5,
            "output": {
                "item": "minecraft:spider_eye"
            },
            "minAmount": 0,
            "maxAmount": 1
        }
]})
//Dread Thrall
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "iceandfire:dread_thrall",
    "samplerTier": 2,
    "environments": ["cave"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 0.5,
            "output": {
                "item": "iceandfire:dread_shard"
            },
            "minAmount": 0,
            "maxAmount": 2
        },
        {
            "chance": 0.5,
            "output": {
                "item": "minecraft:bone"
            },
            "minAmount": 0,
            "maxAmount": 2
        }
]})
//Ghost
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "iceandfire:ghost",
    "samplerTier": 2,
    "environments": ["cave"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 1,
            "output": {
                "item": "iceandfire:ectoplasm"
            },
            "minAmount": 0,
            "maxAmount": 1
        },
        {
            "chance": 0.025,
            "output": {
                "item": "iceandfire:ghost_ingot"
            },
            "minAmount": 1,
            "maxAmount": 1
        }
]})
//Gorgon
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "iceandfire:gorgon",
    "samplerTier": 3,
    "environments": ["cave"],
    "growTicks": 1800,
    "results": [
        {
            "chance": 1,
            "output": {
                "item": "iceandfire:gorgon_head"
            },
            "minAmount": 0,
            "maxAmount": 1
        }
]})
//Hippocampus
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "iceandfire:hippocampus",
    "samplerTier": 2,
    "environments": ["cave"],
    "growTicks": 1200,
	"requiresWater": true,
    "results": [
        {
            "chance": 1,
            "output": {
                "item": "iceandfire:shiny_scales"
            },
            "minAmount": 1,
            "maxAmount": 4
        },
        {
            "chance": 0.025,
            "output": {
                "item": "iceandfire:hippocampus_fin"
            },
            "minAmount": 1,
            "maxAmount": 1
        }
]})
//Hippogryph
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "iceandfire:hippogryph",
    "samplerTier": 2,
    "environments": ["cave"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 0.025,
            "output": {
                "item": "iceandfire:hippogryph_skull"
            },
            "minAmount": 1,
            "maxAmount": 1
        }, 
        {
            "chance": 0.025,
            "output": {
                "item": "iceandfire:hippogryph_talon"
            },
            "minAmount": 1,
            "maxAmount": 1
        }, 
        {
            "chance": 1,
            "output": {
                "item": "minecraft:feather"
            },
            "minAmount": 0,
            "maxAmount": 5
        }, 
        {
            "chance": 1,
            "output": {
                "item": "minecraft:leather"
            },
            "minAmount": 0,
            "maxAmount": 5
        }
]})
//Hydra
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "iceandfire:hydra",
    "samplerTier": 3,
    "environments": ["cave"],
    "growTicks": 2400,
    "results": [
        {
            "chance": 0.1,
            "output": {
                "item": "iceandfire:hydra_heart"
            },
            "minAmount": 1,
            "maxAmount": 1
        }, 
        {
            "chance": 0.025,
            "output": {
                "item": "iceandfire:hydra_skull"
            },
            "minAmount": 1,
            "maxAmount": 1
        }, 
        {
            "chance": 0.5,
            "output": {
                "item": "iceandfire:hydra_fang"
            },
            "minAmount": 1,
            "maxAmount": 5
        }, 
        {
            "chance": 0.5,
            "output": {
                "item": "minecraft:rotten_flesh"
            },
            "minAmount": 0,
            "maxAmount": 4
        }
]})
//Dread Lich
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "iceandfire:dread_lich",
    "samplerTier": 2,
    "environments": ["cave"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 0.1,
            "output": {
                "item": "iceandfire:dread_key"
            },
            "minAmount": 1,
            "maxAmount": 1
        },
        {
            "chance": 0.5,
            "output": {
                "item": "iceandfire:dread_shard"
            },
            "minAmount": 0,
            "maxAmount": 2
        },
        {
            "chance": 0.5,
            "output": {
                "item": "minecraft:bone"
            },
            "minAmount": 0,
            "maxAmount": 2
        }
]})
//Myrmex Queen
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "iceandfire:myrmex_queen",
    "samplerTier": 3,
    "environments": ["cave"],
    "growTicks": 1800,
    "results": [
        {
            "chance": 0.5,
            "output": {
                "item": "iceandfire:myrmex_desert_chitin"
            },
            "minAmount": 5,
            "maxAmount": 12
        },
        {
            "chance": 0.5,
            "output": {
                "item": "iceandfire:myrmex_jungle_chitin"
            },
            "minAmount": 5,
            "maxAmount": 12
        },
        {
            "chance": 1,
            "output": {
                "item": "iceandfire:myrmex_desert_resin"
            },
            "minAmount": 5,
            "maxAmount": 12
        },
        {
            "chance": 0.1,
            "output": {
                "item": "iceandfire:myrmex_stinger"
            },
            "minAmount": 1,
            "maxAmount": 1
        }
]})
//Myrmex Royal
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "iceandfire:myrmex_royal",
    "samplerTier": 3,
    "environments": ["cave"],
    "growTicks": 1800,
    "results": [
        {
            "chance": 0.5,
            "output": {
                "item": "iceandfire:myrmex_desert_chitin"
            },
            "minAmount": 5,
            "maxAmount": 12
        },
        {
            "chance": 0.5,
            "output": {
                "item": "iceandfire:myrmex_jungle_chitin"
            },
            "minAmount": 5,
            "maxAmount": 12
        },
        {
            "chance": 1,
            "output": {
                "item": "iceandfire:myrmex_desert_resin"
            },
            "minAmount": 5,
            "maxAmount": 12
        },
        {
            "chance": 0.1,
            "output": {
                "item": "iceandfire:myrmex_stinger"
            },
            "minAmount": 1,
            "maxAmount": 1
        }
]})
//Myrmex Sentinel
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "iceandfire:myrmex_sentinel",
    "samplerTier": 2,
    "environments": ["cave"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 0.25,
            "output": {
                "item": "iceandfire:myrmex_desert_chitin"
            },
            "minAmount": 2,
            "maxAmount": 6
        },
        {
            "chance": 0.25,
            "output": {
                "item": "iceandfire:myrmex_jungle_chitin"
            },
            "minAmount": 2,
            "maxAmount": 6
        },
        {
            "chance": 1,
            "output": {
                "item": "iceandfire:myrmex_desert_resin"
            },
            "minAmount": 2,
            "maxAmount": 6
        },
        {
            "chance": 0.1,
            "output": {
                "item": "iceandfire:myrmex_stinger"
            },
            "minAmount": 1,
            "maxAmount": 1
        }
]})
//Myrmex Soldier
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "iceandfire:myrmex_soldier",
    "samplerTier": 2,
    "environments": ["cave"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 0.25,
            "output": {
                "item": "iceandfire:myrmex_desert_chitin"
            },
            "minAmount": 2,
            "maxAmount": 6
        },
        {
            "chance": 0.25,
            "output": {
                "item": "iceandfire:myrmex_jungle_chitin"
            },
            "minAmount": 2,
            "maxAmount": 6
        },
        {
            "chance": 1,
            "output": {
                "item": "iceandfire:myrmex_desert_resin"
            },
            "minAmount": 2,
            "maxAmount": 6
        },
        {
            "chance": 0.1,
            "output": {
                "item": "iceandfire:myrmex_stinger"
            },
            "minAmount": 1,
            "maxAmount": 1
        }
]})
//Myrmex Worker
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "iceandfire:myrmex_worker",
    "samplerTier": 2,
    "environments": ["cave"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 0.25,
            "output": {
                "item": "iceandfire:myrmex_desert_chitin"
            },
            "minAmount": 2,
            "maxAmount": 6
        },
        {
            "chance": 0.25,
            "output": {
                "item": "iceandfire:myrmex_jungle_chitin"
            },
            "minAmount": 2,
            "maxAmount": 6
        },
        {
            "chance": 1,
            "output": {
                "item": "iceandfire:myrmex_desert_resin"
            },
            "minAmount": 2,
            "maxAmount": 6
        },
        {
            "chance": 0.1,
            "output": {
                "item": "iceandfire:myrmex_stinger"
            },
            "minAmount": 1,
            "maxAmount": 1
        }
]})
//Pixie
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "iceandfire:pixie",
    "samplerTier": 2,
    "environments": ["cave"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 1,
            "output": {
                "item": "iceandfire:pixie_dust"
            },
            "minAmount": 0,
            "maxAmount": 2
        },
        {
            "chance": 0.025,
            "output": {
                "item": "iceandfire:pixie_wings"
            },
            "minAmount": 1,
            "maxAmount": 1
        }
]})
//Sea Serpent
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "iceandfire:sea_serpent",
    "samplerTier": 3,
    "environments": ["cave"],
    "growTicks": 2400,
	"requiresWater": true,
    "results": [
        {
            "chance": 1,
            "output": {
                "item": "iceandfire:sea_serpent_fang"
            },
            "minAmount": 1,
            "maxAmount": 1
        },
        {
            "chance": 0.14,
            "output": {
                "item": "iceandfire:sea_serpent_scales_blue"
            },
            "minAmount": 1,
            "maxAmount": 1
        },
        {
            "chance": 0.14,
            "output": {
                "item": "iceandfire:sea_serpent_scales_bronze"
            },
            "minAmount": 1,
            "maxAmount": 1
        },
        {
            "chance": 0.14,
            "output": {
                "item": "iceandfire:sea_serpent_scales_deepblue"
            },
            "minAmount": 1,
            "maxAmount": 1
        },
        {
            "chance": 0.14,
            "output": {
                "item": "iceandfire:sea_serpent_scales_green"
            },
            "minAmount": 1,
            "maxAmount": 1
        },
        {
            "chance": 0.14,
            "output": {
                "item": "iceandfire:sea_serpent_scales_purple"
            },
            "minAmount": 1,
            "maxAmount": 1
        },
        {
            "chance": 0.14,
            "output": {
                "item": "iceandfire:sea_serpent_scales_red"
            },
            "minAmount": 1,
            "maxAmount": 1
        },
        {
            "chance": 0.14,
            "output": {
                "item": "iceandfire:sea_serpent_scales_teal"
            },
            "minAmount": 1,
            "maxAmount": 1
        },
        {
            "chance": 0.025,
            "output": {
                "item": "iceandfire:seaserpent_skull"
            },
            "minAmount": 1,
            "maxAmount": 1
        }
]})
//Siren
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "iceandfire:siren",
    "samplerTier": 2,
    "environments": ["cave"],
    "growTicks": 1200,
	"requiresWater": true,
    "results": [
        {
            "chance": 1,
            "output": {
                "item": "iceandfire:shiny_scales"
            },
            "minAmount": 1,
            "maxAmount": 5
        },
        {
            "chance": 0.025,
            "output": {
                "item": "iceandfire:siren_tear"
            },
            "minAmount": 1,
            "maxAmount": 1
        },
        {
            "chance": 1,
            "output": {
                "item": "minecraft:prismarine_crystals"
            },
            "minAmount": 1,
            "maxAmount": 5
        },
        {
            "chance": 1,
            "output": {
                "item": "minecraft:prismarine_shard"
            },
            "minAmount": 0,
            "maxAmount": 3
        }
]})
//Troll
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "iceandfire:troll",
    "samplerTier": 2,
    "environments": ["cave"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 0.3,
            "output": {
                "item": "iceandfire:troll_leather_forest"
            },
            "minAmount": 1,
            "maxAmount": 4
        },
        {
            "chance": 0.3,
            "output": {
                "item": "iceandfire:troll_leather_frost"
            },
            "minAmount": 1,
            "maxAmount": 4
        },
        {
            "chance": 0.3,
            "output": {
                "item": "iceandfire:troll_leather_mountain"
            },
            "minAmount": 1,
            "maxAmount": 4
        },
        {
            "chance": 0.25,
            "output": {
                "item": "iceandfire:troll_tusk"
            },
            "minAmount": 1,
            "maxAmount": 2
        },
        {
            "chance": 0.3,
            "output": {
                "item": "minecraft:brown_mushroom"
            },
            "minAmount": 1,
            "maxAmount": 2
        },
        {
            "chance": 0.3,
            "output": {
                "item": "minecraft:red_mushroom"
            },
            "minAmount": 1,
            "maxAmount": 2
        },
        {
            "chance": 0.3,
            "output": {
                "item": "minecraft:snowball"
            },
            "minAmount": 1,
            "maxAmount": 8
        },
        {
            "chance": 0.25,
            "output": {
                "item": "bluepower:sapphire_gem"
            },
            "minAmount": 0,
            "maxAmount": 1
        },
        {
            "chance": 0.25,
            "output": {
                "item": "minecraft:emerald"
            },
            "minAmount": 0,
            "maxAmount": 1
        }
]})

//Environment RFTOOL
e.custom({
	"type": "cagedmobs:env_data",
	"input": {
		"item": "rftoolsdim:dimensional_blank_block"
	},
	"render": "rftoolsdim:dimensional_blank_block",
	"growModifier": 1.0,
	"categories": ["rftool"]
})

//RFTOOL Slime Common
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "rftoolsdim:dimensional_blob_common",
    "samplerTier": 2,
    "environments": ["rftool"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 0.5,
            "output": {
                "item": "rftoolsdim:common_essence"
            },
            "minAmount": 1,
            "maxAmount": 2
        }
]})
//RFTOOL Slime Rare
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "rftoolsdim:dimensional_blob_rare",
    "samplerTier": 2,
    "environments": ["rftool"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 0.5,
            "output": {
                "item": "rftoolsdim:rare_essence"
            },
            "minAmount": 1,
            "maxAmount": 2
        }
]})
//RFTOOL Slime Legendary
e.custom({
    "type": "cagedmobs:mob_data",
    "entity": "rftoolsdim:dimensional_blob_legendary",
    "samplerTier": 3,
    "environments": ["rftool"],
    "growTicks": 1200,
    "results": [
        {
            "chance": 0.5,
            "output": {
                "item": "rftoolsdim:legendary_essence"
            },
            "minAmount": 1,
            "maxAmount": 2
        }
]})
//Add Dragon loot
e.custom({
	"type": "cagedmobs:additional_loot_data",
	"conditions": [
		{
			"type": "forge:mod_loaded",
			"modid": "cagedmobs"
		}
	],
	"entity": "minecraft:ender_dragon",
	"results": [
		{
			"lightning": true,
			"chance": 0.05,
			"output": {
				"item": "mysticalagradditions:dragon_scale"
			},
			"minAmount": 1,
			"maxAmount": 1
		},
		{
			"lightning": true,
			"chance": 0.05,
			"output": {
				"item": "tconstruct:dragon_scale"
			},
			"minAmount": 1,
			"maxAmount": 1
		}
	]

})
//Add Creeper loot
e.custom({
	"type": "cagedmobs:additional_loot_data",
	"conditions": [
		{
			"type": "forge:mod_loaded",
			"modid": "cagedmobs"
		}
	],
	"entity": "minecraft:creeper",
	"results": [
		{
			"lightning":true,
			"chance": 0.1,
			"output": {
				"item": "rats:charged_creeper_chunk"
			},
			"minAmount": 1,
			"maxAmount": 1
		}
	]

})

})