    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.concurrent.Callable;
    006    import net.minecraft.client.Minecraft;
    007
    008    @SideOnly(Side.CLIENT)
    009    public class CallableTexturePack implements Callable
    010    {
    011        /** The Minecraft instance. */
    012        final Minecraft mc;
    013
    014        public CallableTexturePack(Minecraft par1Minecraft)
    015        {
    016            this.mc = par1Minecraft;
    017        }
    018
    019        public String getTexturePack()
    020        {
    021            return this.mc.gameSettings.skin;
    022        }
    023
    024        public Object call()
    025        {
    026            return this.getTexturePack();
    027        }
    028    }