ForgePatch/fml/src/main/java/cpw/mods/fml/common/IFMLSidedHandler.java

54 lines
1.2 KiB
Java
Raw Normal View History

/*
* 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
*
* Contributors:
* cpw - implementation
*/
package cpw.mods.fml.common;
import java.util.List;
import net.minecraft.network.INetHandler;
import net.minecraft.network.NetworkManager;
import net.minecraft.server.MinecraftServer;
import cpw.mods.fml.relauncher.Side;
2012-06-01 02:09:45 +00:00
public interface IFMLSidedHandler
{
List<String> getAdditionalBrandingInformation();
2012-07-31 02:31:07 +00:00
Side getSide();
2012-07-31 02:31:07 +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
void beginServerLoading(MinecraftServer server);
void finishServerLoading();
MinecraftServer getServer();
boolean shouldServerShouldBeKilledQuietly();
void addModAsResource(ModContainer container);
void updateResourcePackList();
String getCurrentLanguage();
void serverStopped();
NetworkManager getClientToServerNetworkManager();
INetHandler getClientPlayHandler();
2014-01-16 19:58:28 +00:00
void waitForPlayClient();
}