// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) braces deadcode fieldsfirst 

package net.minecraft.server;

import java.util.Random;

// Referenced classes of package net.minecraft.server:
//            BaseModMp, WorldGenMinable, Block, ModLoader, 
//            ItemStack, Item, EntityComod, ModLoaderMp, 
//            EntityHolodilnik, EntityShkaf, EntityTumba, EntityBox, 
//            EntityYashik, Reshetka, Camufl, Parket, 
//            SnBrick, GlowCobblestone, Tumba, Stol, 
//            Holodilnik, Taburet, Kojkaver, Laminat, 
//            Plitka, GlowStone, GlowPlanks, Comod, 
//            Shkaf, Plita, GlowKamen, Box, 
//            Yashik, Izvest, Wbrick, Wsherb, 
//            Nastperskaver, Nastkripskaver, ItemItem, Koja, 
//            BlockThinFence, Material, BlockStairs, Lampa, 
//            flYelow, flRed, Lustra, Garshek, 
//            Garshek1, BlockSpawnItem, World

public class mod_decor extends BaseModMp
{

    public static Block reshetka = (new Reshetka(201, 1)).c(1.0F).b(1.0F).a("reshetka");
    public static Block camufl = (new Camufl(202, 0)).c(0.7F).b(1.0F).a("camufl");
    public static Block parket = (new Parket(203, 0)).c(1.5F).b(1.5F).a("parket");
    public static Block koja;
    public static Block snBrick = (new SnBrick(205, 0)).c(2.0F).b(2.0F).a("snBrick");
    public static Block glowCobblestone = (new GlowCobblestone(206, 0)).c(2.0F).b(2.0F).a(1.0F).a("glowCobblestone");
    public static Block zaborBambuk;
    public static Block divan;
    public static Block stol = (new Stol(210, 0)).c(1.5F).b(1.5F).a("stol");
    public static int stolSide;
    public static Block taburet = (new Taburet(213, 0)).c(1.5F).b(1.5F).a("taburet");
    public static int taburetSide;
    public static Block kojkaver = (new Kojkaver(214, 0)).c(1.5F).b(1.5F).a("kojkaver");
    public static Block laminat = (new Laminat(216, 0)).c(1.5F).b(1.5F).a("laminat");
    public static Block plitka = (new Plitka(217, 0)).c(1.5F).b(1.5F).a("plitka");
    public static Block glowStone = (new GlowStone(218, 0)).c(2.0F).b(2.0F).a(1.0F).a("glowStone");
    public static Block glowPlanks = (new GlowPlanks(219, 0)).c(2.0F).b(2.0F).a(1.0F).a("glowPlanks");
    public static Block plita = (new Plita(222, 0)).c(1.5F).b(1.5F).a("plita");
    public static Block glowKamen = (new GlowKamen(223, 0)).c(0.5F).b(2.0F).a(1.0F).a("glowKamen");
    public static Block izvest = (new Izvest(226, 0)).c(1.5F).b(1.5F).a("izvest");
    public static Block wbrick = (new Wbrick(227, 0)).c(1.5F).b(1.5F).a("wbrick");
    public static Block lampa;
    public static Block flyelow;
    public static Block flred;
    public static Block fltul;
    public static Block flvas;
    public static Block flgar;
    public static Block fllil;
    public static Block lustra;
    public static Block garshek1;
    public static Block garshek2;
    public static Block nastperskaver = (new Nastperskaver(235, 0)).c(0.5F).b(0.5F).a("nastperskaver");
    public static Block nastkripkaver = (new Nastkripskaver(236, 0)).c(0.5F).b(0.5F).a("nastkripkaver");
    public static final Item plitkaItem = (new ItemItem(3004)).a("plitkaItem");
    public static final Item izvestItem = (new ItemItem(3005)).a("izvestItem");
    public static final Item wbrickItem = (new ItemItem(3006)).a("wbrickItem");
    public static Block wbrickm = (new Wbrickm(237, 0)).c(1.5F).b(1.5F).a("wbrickm");
    public static Block wbrickt = (new Wbrickt(238, 0)).c(1.5F).b(1.5F).a("wbrickt"); 
    public static Block wbrickz = (new Wbrickz(239, 0)).c(1.5F).b(1.5F).a("wbrickz");
    public static final Item monetag = (new monetagold(3000)).a("monetag");
    public static final Item monetas = (new monetasilver(3001)).a("monetas");
    public static final Item monetsg = (new monetsgold(3002)).a("monetsg");
    public static final Item monetss = (new monetssilver(3003)).a("monetss");
    public static final Item lampaItem;
    public static final Item flyelowItem;
    public static final Item flredItem;
    public static final Item flvasItem;
    public static final Item fltulItem;
    public static final Item flgarItem;
    public static final Item fllilItem;
    public static final Item lustraItem;
    public static final Item garshekItem1;
    public static final Item garshekItem2;

    public mod_decor()
    {
        load();
    }

    public String getVersion()
    {
        return "1.4";
    }

    public void GenerateSurface(World world, Random random, int i, int j)
    {
        for(int k = 0; k < 15; k++)
        {
            int l = i + random.nextInt(16);
            int i1 = random.nextInt(60);
            int j1 = j + random.nextInt(16);
            (new WorldGenMinable(izvest.id, 15)).a(world, random, l, i1, j1);
        }

    }

    public void load()
    {
    	ModLoader.RegisterBlock(wbrickm);
    	ModLoader.RegisterBlock(wbrickt);
        ModLoader.RegisterBlock(reshetka);
        ModLoader.AddRecipe(new ItemStack(reshetka, 2), new Object[] {
            "#X#", "X#X", "#X#", Character.valueOf('#'), Item.STICK
        });
        ModLoader.RegisterBlock(camufl);
        ModLoader.AddRecipe(new ItemStack(camufl, 1), new Object[] {
            "XX", "XX", Character.valueOf('X'), Block.SAPLING
        });
        ModLoader.RegisterBlock(parket);
        ModLoader.AddRecipe(new ItemStack(parket, 4), new Object[] {
            "#X", "X#", Character.valueOf('X'), Block.WOOD, Character.valueOf('#'), Block.LOG
        });
        ModLoader.RegisterBlock(koja);
        ModLoader.AddRecipe(new ItemStack(koja, 3), new Object[] {
            "XXX", "X#X", "XXX", Character.valueOf('X'), Item.LEATHER, Character.valueOf('#'), Block.WOOL
        });
        ModLoader.RegisterBlock(snBrick);
        ModLoader.AddRecipe(new ItemStack(snBrick, 2), new Object[] {
            "XX", "XX", Character.valueOf('X'), Block.SNOW_BLOCK
        });
        ModLoader.RegisterBlock(glowCobblestone);
        ModLoader.AddRecipe(new ItemStack(glowCobblestone, 1), new Object[] {
            "#D#", "DCD", "#D#", Character.valueOf('C'), Block.COBBLESTONE, Character.valueOf('D'), Item.GLOWSTONE_DUST
        });
        ModLoader.RegisterBlock(glowStone);
        ModLoader.AddRecipe(new ItemStack(glowStone, 1), new Object[] {
            "#D#", "DCD", "#D#", Character.valueOf('C'), Block.STONE, Character.valueOf('D'), Item.GLOWSTONE_DUST
        });
        ModLoader.RegisterBlock(glowPlanks);
        ModLoader.AddRecipe(new ItemStack(glowPlanks, 1), new Object[] {
            "#D#", "DCD", "#D#", Character.valueOf('C'), Block.WOOD, Character.valueOf('D'), Item.GLOWSTONE_DUST
        });
        ModLoader.RegisterBlock(zaborBambuk);
        ModLoader.AddRecipe(new ItemStack(zaborBambuk, 4), new Object[] {
            "XXX", "XXX", Character.valueOf('X'), Item.SUGAR_CANE
        });
        ModLoader.RegisterBlock(divan);
        ModLoader.AddRecipe(new ItemStack(divan, 2), new Object[] {
            "L##", "SL#", "PSL", Character.valueOf('P'), Block.WOOD, Character.valueOf('L'), Item.LEATHER, Character.valueOf('S'), Block.WOOL
        });
        ModLoader.RegisterBlock(stol);
        ModLoader.AddRecipe(new ItemStack(stol, 1), new Object[] {
            "PPP", "S#S", "S#S", Character.valueOf('P'), Block.WOOD, Character.valueOf('S'), Item.STICK
        });
        ModLoader.RegisterBlock(taburet);
        ModLoader.AddRecipe(new ItemStack(taburet, 2), new Object[] {
            "XSX", "I#I", Character.valueOf('S'), Block.WOOL, Character.valueOf('X'), Block.WOOD, Character.valueOf('I'), Item.STICK
        });
        ModLoader.RegisterBlock(kojkaver);
        ModLoader.AddRecipe(new ItemStack(kojkaver, 4), new Object[] {
            "###", Character.valueOf('#'), Item.LEATHER
        });
        ModLoader.RegisterBlock(laminat);
        ModLoader.AddRecipe(new ItemStack(laminat, 4), new Object[] {
            "PC", Character.valueOf('C'), Block.LOG, Character.valueOf('P'), Block.WOOD
        });
        ModLoader.RegisterBlock(plitka);
        ModLoader.AddRecipe(new ItemStack(plitka, 4), new Object[] {
            "PPP", Character.valueOf('P'), plitkaItem
        });
        ModLoader.RegisterBlock(plita);
        ModLoader.AddRecipe(new ItemStack(plita, 1), new Object[] {
            "PP", "PP", Character.valueOf('P'), plitkaItem
        });
        ModLoader.RegisterBlock(glowKamen);
        ModLoader.AddRecipe(new ItemStack(glowKamen, 1), new Object[] {
            "GG", Character.valueOf('G'), Item.GLOWSTONE_DUST
        });
        ModLoader.RegisterBlock(izvest);
        ModLoader.AddRecipe(new ItemStack(izvest, 1), new Object[] {
            "II", "II", Character.valueOf('I'), izvestItem
        });
        ModLoader.RegisterBlock(wbrick);
        ModLoader.AddRecipe(new ItemStack(wbrick, 1), new Object[] {
            "II", "II", Character.valueOf('I'), wbrickItem
        });
		
		ModLoader.RegisterBlock(wbrickz);
        ModLoader.AddRecipe(new ItemStack(wbrickz, 1), new Object[] {
            "III", "IXI", "III", Character.valueOf('X'), mod_decor.wbrick, Character.valueOf('I'), Item.SEEDS
        });
        ModLoader.RegisterBlock(lampa);
        ModLoader.RegisterBlock(flyelow);
        ModLoader.RegisterBlock(flred);
        ModLoader.RegisterBlock(fltul);
        ModLoader.RegisterBlock(flvas);
        ModLoader.RegisterBlock(flgar);
        ModLoader.RegisterBlock(fllil);
        ModLoader.RegisterBlock(lustra);
        ModLoader.RegisterBlock(garshek1);
        ModLoader.RegisterBlock(garshek2);
        ModLoader.RegisterBlock(nastperskaver);
        ModLoader.AddRecipe(new ItemStack(nastperskaver, 1), new Object[] {
            "Z  ", "I  ", "Z  ", Character.valueOf('I'), new ItemStack(Item.INK_SACK, 1, 1), Character.valueOf('Z'), Block.WOOL
        });
        ModLoader.RegisterBlock(nastkripkaver);
        ModLoader.AddRecipe(new ItemStack(nastkripkaver, 1), new Object[] {
            "Z  ", "I  ", "Z  ", Character.valueOf('I'), Item.SULPHUR, Character.valueOf('Z'), Block.WOOL
        });
        ModLoader.AddRecipe(new ItemStack(plitkaItem, 2), new Object[] {
            "XX", Character.valueOf('X'), Item.CLAY_BALL
        });
        ModLoader.AddRecipe(new ItemStack(lampaItem, 1), new Object[] {
            "WSW", " G ", " P ", Character.valueOf('W'), Block.WOOL, Character.valueOf('G'), Item.GLOWSTONE_DUST, Character.valueOf('P'), Block.WOOD
        });
        ModLoader.AddRecipe(new ItemStack(flyelowItem, 1), new Object[] {
            "FF", "FF", Character.valueOf('F'), Block.YELLOW_FLOWER
        });
        ModLoader.AddRecipe(new ItemStack(Item.INK_SACK, 2, 15), new Object[] {
            "F", Character.valueOf('F'), mod_decor.flgarItem
        });
        ModLoader.AddRecipe(new ItemStack(Item.INK_SACK, 2, 14), new Object[] {
            "F", Character.valueOf('F'), mod_decor.fllilItem
        });
        ModLoader.AddRecipe(new ItemStack(Item.INK_SACK, 2, 6), new Object[] {
            "F", Character.valueOf('F'), mod_decor.flvasItem
        });
        ModLoader.AddRecipe(new ItemStack(Item.INK_SACK, 2, 9), new Object[] {
            "F", Character.valueOf('F'), mod_decor.fltulItem
        });
        ModLoader.AddRecipe(new ItemStack(flredItem, 1), new Object[] {
            "FF", "FF", Character.valueOf('F'), Block.RED_ROSE
        });
        ModLoader.AddRecipe(new ItemStack(lustraItem, 1), new Object[] {
            " W ", "CGC", " P ", Character.valueOf('W'), Item.STICK, Character.valueOf('G'), Item.GLOWSTONE_DUST, Character.valueOf('C'), Block.WOOL, Character.valueOf('P'), 
            Block.GLASS
        });
        ModLoader.AddRecipe(new ItemStack(garshekItem1, 1), new Object[] {
            " F ", "GDG", " G ", Character.valueOf('F'), Block.YELLOW_FLOWER, Character.valueOf('D'), Block.DIRT, Character.valueOf('G'), Item.CLAY_BALL
        });
        ModLoader.AddRecipe(new ItemStack(garshekItem2, 1), new Object[] {
            " F ", "GDG", " G ", Character.valueOf('F'), Block.RED_ROSE, Character.valueOf('D'), Block.DIRT, Character.valueOf('G'), Item.CLAY_BALL
        });
        ModLoader.AddSmelting(izvestItem.id, new ItemStack(wbrickItem));
           }

    static 
    {
        koja = (new Koja(204, 0)).c(0.3F).b(1.0F).a("koja");
        zaborBambuk = (new BlockThinFence(207, 73, 73, Material.SHATTERABLE, true)).c(1.0F).b(1.5F).a(0.1F).a("zaborBambuk");
        divan = (new BlockStairs(208, koja)).a("divan");
        lampa = (new Lampa(229, 0)).c(0.5F).b(0.5F).a(1.0F).a("lampa");
        flyelow = (new flYelow(230, 0)).c(0.0F).a("flyelow");
        flred = (new flRed(231, 0)).c(0.0F).a("flred");
        fltul = (new fltul(240, 0)).c(0.0F).a("fltul");
        flvas = (new flvas(241, 0)).c(0.0F).a("flvas");
        flgar = (new flgar(242, 0)).c(0.0F).a("flgar");
        fllil = (new fllil(243, 0)).c(0.0F).a("fllil");
        lustra = (new Lustra(232, 0)).c(0.5F).b(0.5F).a(1.0F).a("lustra");
        garshek1 = (new Garshek(233, 0)).c(0.5F).b(0.5F).a("garshek1");
        garshek2 = (new Garshek1(234, 0)).c(0.5F).b(0.5F).a("garshek2");
        lampaItem = (new BlockSpawnItem(3007, lampa)).a("lampaItem");
        flyelowItem = (new BlockSpawnItem(3008, flyelow)).a("flyelowItem");
        flredItem = (new BlockSpawnItem(3009, flred)).a("flredItem");
        fltulItem = (new BlockSpawnItem(3013, fltul)).a("fltukItem");
        flvasItem = (new BlockSpawnItem(3014, flvas)).a("flvasItem");
        flgarItem = (new BlockSpawnItem(3015, flgar)).a("flgarItem");
        fllilItem = (new BlockSpawnItem(3016, fllil)).a("fllilItem");
        lustraItem = (new BlockSpawnItem(3010, lustra)).a("lustraItem");
        garshekItem1 = (new BlockSpawnItem(3011, garshek1)).a("garshekItem1");
        garshekItem2 = (new BlockSpawnItem(3012, garshek2)).a("garshekItem2");
    }
}
