2013-03-08 00:25:48 +00:00
|
|
|
/*
|
|
|
|
* Forge Mod Loader
|
|
|
|
* Copyright (c) 2012-2013 cpw.
|
|
|
|
* All rights reserved. This program and the accompanying materials
|
|
|
|
* are made available under the terms of the GNU Lesser Public License v2.1
|
|
|
|
* which accompanies this distribution, and is available at
|
|
|
|
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
2013-07-02 05:39:40 +00:00
|
|
|
*
|
2013-03-08 00:25:48 +00:00
|
|
|
* Contributors:
|
|
|
|
* cpw - implementation
|
|
|
|
*/
|
|
|
|
|
2012-04-05 15:34:57 +00:00
|
|
|
package cpw.mods.fml.common;
|
|
|
|
|
2012-06-02 03:07:32 +00:00
|
|
|
import java.util.List;
|
2012-04-05 15:34:57 +00:00
|
|
|
|
2013-12-31 14:45:26 +00:00
|
|
|
import net.minecraft.network.INetHandler;
|
2013-12-06 16:17:40 +00:00
|
|
|
import net.minecraft.network.NetworkManager;
|
2012-08-09 13:21:16 +00:00
|
|
|
import net.minecraft.server.MinecraftServer;
|
2012-12-16 04:21:26 +00:00
|
|
|
import cpw.mods.fml.relauncher.Side;
|
2012-06-01 02:09:45 +00:00
|
|
|
|
2012-04-05 15:34:57 +00:00
|
|
|
public interface IFMLSidedHandler
|
|
|
|
{
|
2012-06-02 03:07:32 +00:00
|
|
|
List<String> getAdditionalBrandingInformation();
|
2012-07-31 02:31:07 +00:00
|
|
|
|
2012-06-02 19:13:55 +00:00
|
|
|
Side getSide();
|
2012-07-31 02:31:07 +00:00
|
|
|
|
2012-07-04 02:39:35 +00:00
|
|
|
void haltGame(String message, Throwable exception);
|
2012-08-08 04:31:24 +00:00
|
|
|
|
|
|
|
void showGuiScreen(Object clientGuiElement);
|
2012-08-09 05:58:14 +00:00
|
|
|
|
2012-08-09 13:21:16 +00:00
|
|
|
void beginServerLoading(MinecraftServer server);
|
2012-08-11 15:01:18 +00:00
|
|
|
|
2012-08-09 13:21:16 +00:00
|
|
|
void finishServerLoading();
|
2012-08-11 15:01:18 +00:00
|
|
|
|
|
|
|
MinecraftServer getServer();
|
2012-08-13 02:45:18 +00:00
|
|
|
|
2012-12-07 06:52:16 +00:00
|
|
|
boolean shouldServerShouldBeKilledQuietly();
|
|
|
|
|
2013-07-02 05:39:40 +00:00
|
|
|
void addModAsResource(ModContainer container);
|
2013-07-10 04:42:40 +00:00
|
|
|
|
|
|
|
void updateResourcePackList();
|
2013-09-14 00:04:25 +00:00
|
|
|
|
|
|
|
String getCurrentLanguage();
|
2013-09-20 21:02:56 +00:00
|
|
|
|
|
|
|
void serverStopped();
|
2013-12-06 16:17:40 +00:00
|
|
|
|
|
|
|
NetworkManager getClientToServerNetworkManager();
|
2013-12-31 14:45:26 +00:00
|
|
|
|
|
|
|
INetHandler getClientPlayHandler();
|
2014-01-16 19:58:28 +00:00
|
|
|
|
|
|
|
void waitForPlayClient();
|
2012-04-05 15:34:57 +00:00
|
|
|
}
|