    001    package cpw.mods.fml.common;
    002
    003    import java.util.List;
    004
    005    import net.minecraft.server.MinecraftServer;
    006    import net.minecraft.src.Entity;
    007    import net.minecraft.src.NetHandler;
    008    import net.minecraft.src.Packet;
    009    import net.minecraft.src.Packet131MapData;
    010    import cpw.mods.fml.common.network.EntitySpawnAdjustmentPacket;
    011    import cpw.mods.fml.common.network.EntitySpawnPacket;
    012    import cpw.mods.fml.common.network.ModMissingPacket;
    013    import cpw.mods.fml.common.registry.EntityRegistry.EntityRegistration;
    014
    015    public interface IFMLSidedHandler
    016    {
    017        List<String> getAdditionalBrandingInformation();
    018
    019        Side getSide();
    020
    021        void haltGame(String message, Throwable exception);
    022
    023        void showGuiScreen(Object clientGuiElement);
    024
    025        Entity spawnEntityIntoClientWorld(EntityRegistration registration, EntitySpawnPacket packet);
    026
    027        void adjustEntityLocationOnClient(EntitySpawnAdjustmentPacket entitySpawnAdjustmentPacket);
    028
    029        void beginServerLoading(MinecraftServer server);
    030
    031        void finishServerLoading();
    032
    033        MinecraftServer getServer();
    034
    035        void sendPacket(Packet packet);
    036
    037        void displayMissingMods(ModMissingPacket modMissingPacket);
    038
    039        void handleTinyPacket(NetHandler handler, Packet131MapData mapData);
    040
    041        void setClientCompatibilityLevel(byte compatibilityLevel);
    042
    043        byte getClientCompatibilityLevel();
    044    }