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