package net.mechanicalcat.pycode.init;

import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.EnumDyeColor;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fml.common.registry.GameRegistry;

public class ModCrafting {
    public static void register() {
        GameRegistry.addShapedRecipe(
            new ItemStack(ModBlocks.python_block),
                "CLC",
                "LRY",
                "CYC",
                'C', Blocks.COBBLESTONE,
                'L', new ItemStack(Items.DYE, 1, EnumDyeColor.BLUE.getDyeDamage()),
                'Y', new ItemStack(Items.DYE, 1, EnumDyeColor.YELLOW.getDyeDamage()),
                'R', Items.REDSTONE
        );
        GameRegistry.addShapedRecipe(
                new ItemStack(ModItems.python_wand),
                "  L",
                " RY",
                "S  ",
                'S', Items.STICK,
                'L', new ItemStack(Items.DYE, 1, EnumDyeColor.BLUE.getDyeDamage()),
                'Y', new ItemStack(Items.DYE, 1, EnumDyeColor.YELLOW.getDyeDamage()),
                'R', Items.REDSTONE
        );
        GameRegistry.addShapelessRecipe(
                new ItemStack(ModItems.python_book),
                ModItems.python_wand,
                Items.WRITABLE_BOOK
        );
    }
}

@@ -140,16 +140,48 @@
 eColor;%0A
+import net.minecraft.item.Item;%0A
 import n
@@ -1152,32 +1152,443 @@
 TONE%0A        );%0A
+        GameRegistry.addShapedRecipe(%0A                new ItemStack(ModItems.python_hand),%0A                %22 L %22,%0A                %22WRY%22,%0A                %22 W %22,%0A                'W', Blocks.WOOL,%0A                'L', new ItemStack(Items.DYE, 1, EnumDyeColor.BLUE.getDyeDamage()),%0A                'Y', new ItemStack(Items.DYE, 1, EnumDyeColor.YELLOW.getDyeDamage()),%0A                'R', Items.REDSTONE%0A        );%0A
         GameRegi

add hand recipe