import crafttweaker.api.Brewing;

//change autoclicker Recipe
var autoClicker = <item:clickmachine:auto_clicker>;
var redstoneBlock = <item:minecraft:redstone_block>;
var oberserver = <item:minecraft:observer>;
var ironIngot = <item:minecraft:iron_ingot>;


craftingTable.addShaped("custom_auto_clicker_1", autoClicker, [
    [ironIngot, ironIngot, ironIngot],
    [ironIngot, oberserver, ironIngot],
    [ironIngot, redstoneBlock, ironIngot],
]);

//add wired Modem for computercraft

var wiredModem = <item:computercraft:wired_modem>;
var wiredModemFull = <item:computercraft:wired_modem_full>;
var stone = <item:minecraft:stone>;
var networkingCable = <item:computercraft:cable>;

//remove old

craftingTable.addShaped("custom_wired_modem_1", wiredModem, [
    [stone, stone, stone],
    [stone, networkingCable, stone],
    [stone, stone, stone],
]);


//add dragon breath recipe
var dragonBreath = <item:minecraft:dragon_breath>;
var potionOfHarming = <item:minecraft:potion>.withTag({Potion: "minecraft:harming" as string});
var enderEye = <item:minecraft:ender_eye>;

brewing.addRecipe(dragonBreath, enderEye, potionOfHarming);


//add prosperity Shards

var prosperityShard = <item:mysticalagriculture:prosperity_shard>;
var sand = <item:minecraft:sand>;

<recipetype:exnihilosequentia:sieve>
    .create("sieve_prosperityshard")
    .setInput(sand)
    .addDrop(prosperityShard)
    .addRoll("iron", 0.03)
    .addRoll("diamond", 0.06)
    .addRoll("emerald", 0.1)
    .addRoll("netherite", 0.12);
    