    001    package cpw.mods.fml.common.modloader;
    002
    003    import net.minecraft.entity.Entity;
    004    import net.minecraft.entity.player.EntityPlayer;
    005    import net.minecraft.network.INetworkManager;
    006    import net.minecraft.network.packet.NetHandler;
    007    import net.minecraft.network.packet.Packet250CustomPayload;
    008    import cpw.mods.fml.common.network.EntitySpawnPacket;
    009    import cpw.mods.fml.common.registry.EntityRegistry.EntityRegistration;
    010
    011    public interface IModLoaderSidedHelper
    012    {
    013
    014        void finishModLoading(ModLoaderModContainer mc);
    015
    016        Object getClientGui(BaseModProxy mod, EntityPlayer player, int iD, int x, int y, int z);
    017
    018        Entity spawnEntity(BaseModProxy mod, EntitySpawnPacket input, EntityRegistration registration);
    019
    020        void sendClientPacket(BaseModProxy mod, Packet250CustomPayload packet);
    021
    022        void clientConnectionOpened(NetHandler netClientHandler, INetworkManager manager, BaseModProxy mod);
    023
    024        boolean clientConnectionClosed(INetworkManager manager, BaseModProxy mod);
    025
    026    }