// Item Creation of All Kinds!

#loader contenttweaker

import crafttweaker.api.item.IItemStack;
import crafttweaker.api.food.MCFood;
import mods.contenttweaker.item.ItemBuilder;
import mods.contenttweaker.item.advance.ItemBuilderAdvanced;
import mods.contenttweaker.block.BlockBuilder;
import mods.contenttweaker.block.basic.BlockBuilderBasic;


// Making the Items
// ---------------------------------------------------------------------------------------------------------------------------------------------
var dummyItemBuilder = new ItemBuilder();
dummyItemBuilder.withItemGroup(<itemGroup:misc>);

var advancedItemBuilder = new ItemBuilder().withMaxStackSize(1).withType<ItemBuilderAdvanced>();

dummyItemBuilder.build("potentia_sapling");
dummyItemBuilder
    .withMaxStackSize(1)
    .build("blood_thorn");
dummyItemBuilder
    .withMaxStackSize(1)
    .build("theurgic_knowledge");
dummyItemBuilder
    .withMaxStackSize(1)
    .build("astral_anchor");

advancedItemBuilder
    .build("ending_ancient");
advancedItemBuilder
    .build("ending_cursed");
advancedItemBuilder
    .build("ending_living");
advancedItemBuilder
    .build("ending_true");

advancedItemBuilder
    .build("kit_ancient");
advancedItemBuilder
    .build("kit_cursed");
advancedItemBuilder
    .build("kit_living");

advancedItemBuilder
    .build("astrolabe");

advancedItemBuilder
    .build("readme");
// ---------------------------------------------------------------------------------------------------------------------------------------------


// Blocking the Blocks
// ---------------------------------------------------------------------------------------------------------------------------------------------
var rockBlockBuilder = new BlockBuilder(<blockmaterial:rock>);
rockBlockBuilder.withType<BlockBuilderBasic>();
rockBlockBuilder.build("crimson_transmutation_catalyst");
// ---------------------------------------------------------------------------------------------------------------------------------------------


// Fooding the Foods
// ---------------------------------------------------------------------------------------------------------------------------------------------
var foodBuilder = new ItemBuilder();
foodBuilder.withItemGroup(<itemGroup:food>);
foodBuilder.build("emerald_eclair");
// ---------------------------------------------------------------------------------------------------------------------------------------------












