    001package cpw.mods.fml.common.modloader;
    002
    003import net.minecraft.entity.Entity;
    004import net.minecraft.entity.player.EntityPlayer;
    005import net.minecraft.network.INetworkManager;
    006import net.minecraft.network.packet.NetHandler;
    007import net.minecraft.network.packet.Packet250CustomPayload;
    008import cpw.mods.fml.common.network.EntitySpawnPacket;
    009import cpw.mods.fml.common.registry.EntityRegistry.EntityRegistration;
    010
    011public 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}