    001    package net.minecraft.src;
    002
    003    import cpw.mods.fml.common.Side;
    004    import cpw.mods.fml.common.asm.SideOnly;
    005    import java.util.ArrayList;
    006    import java.util.List;
    007
    008    @SideOnly(Side.CLIENT)
    009    public class Session
    010    {
    011        public static List registeredBlocksList = new ArrayList();
    012        public String username;
    013        public String sessionId;
    014
    015        public Session(String par1Str, String par2Str)
    016        {
    017            this.username = par1Str;
    018            this.sessionId = par2Str;
    019        }
    020
    021        static
    022        {
    023            registeredBlocksList.add(Block.stone);
    024            registeredBlocksList.add(Block.cobblestone);
    025            registeredBlocksList.add(Block.brick);
    026            registeredBlocksList.add(Block.dirt);
    027            registeredBlocksList.add(Block.planks);
    028            registeredBlocksList.add(Block.wood);
    029            registeredBlocksList.add(Block.leaves);
    030            registeredBlocksList.add(Block.torchWood);
    031            registeredBlocksList.add(Block.stoneSingleSlab);
    032            registeredBlocksList.add(Block.glass);
    033            registeredBlocksList.add(Block.cobblestoneMossy);
    034            registeredBlocksList.add(Block.sapling);
    035            registeredBlocksList.add(Block.plantYellow);
    036            registeredBlocksList.add(Block.plantRed);
    037            registeredBlocksList.add(Block.mushroomBrown);
    038            registeredBlocksList.add(Block.mushroomRed);
    039            registeredBlocksList.add(Block.sand);
    040            registeredBlocksList.add(Block.gravel);
    041            registeredBlocksList.add(Block.sponge);
    042            registeredBlocksList.add(Block.cloth);
    043            registeredBlocksList.add(Block.oreCoal);
    044            registeredBlocksList.add(Block.oreIron);
    045            registeredBlocksList.add(Block.oreGold);
    046            registeredBlocksList.add(Block.blockSteel);
    047            registeredBlocksList.add(Block.blockGold);
    048            registeredBlocksList.add(Block.bookShelf);
    049            registeredBlocksList.add(Block.tnt);
    050            registeredBlocksList.add(Block.obsidian);
    051        }
    052    }