    001    /*
    002     * The FML Forge Mod Loader suite.
    003     * Copyright (C) 2012 cpw
    004     *
    005     * This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free
    006     * Software Foundation; either version 2.1 of the License, or any later version.
    007     *
    008     * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
    009     * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
    010     *
    011     * You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51
    012     * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
    013     */
    014
    015    package cpw.mods.fml.common;
    016
    017    import net.minecraft.src.EntityPlayer;
    018
    019    /**
    020     * @author cpw
    021     *
    022     */
    023    public interface IPlayerTracker
    024    {
    025        void onPlayerLogin(EntityPlayer player);
    026
    027        void onPlayerLogout(EntityPlayer player);
    028
    029        void onPlayerChangedDimension(EntityPlayer player);
    030
    031        void onPlayerRespawn(EntityPlayer player);
    032    }