|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcpw.mods.fml.server.FMLServerHandler
public class FMLServerHandler
Handles primary communication from hooked code into the system
The FML entry point is beginServerLoading(MinecraftServer) called from
net.minecraft.shared.DedicatedServer
Obfuscated code should focus on this class and other members of the "server"
(or "client") code
The actual mod loading is handled at arms length by Loader
It is expected that a similar class will exist for each target environment:
Bukkit and Client side.
It should not be directly modified.
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void beginServerLoading(MinecraftServer minecraftServer)
MinecraftServer.startServer()
beginServerLoading in interface IFMLSidedHandlerminecraftServer - public void finishServerLoading()
finishServerLoading in interface IFMLSidedHandler
public void haltGame(String message,
Throwable exception)
haltGame in interface IFMLSidedHandlerpublic MinecraftServer getServer()
getServer in interface IFMLSidedHandlerpublic static FMLServerHandler instance()
public List<String> getAdditionalBrandingInformation()
getAdditionalBrandingInformation in interface IFMLSidedHandlerpublic Side getSide()
getSide in interface IFMLSidedHandlerpublic void showGuiScreen(Object clientGuiElement)
showGuiScreen in interface IFMLSidedHandler
public Entity spawnEntityIntoClientWorld(EntityRegistry.EntityRegistration er,
EntitySpawnPacket packet)
spawnEntityIntoClientWorld in interface IFMLSidedHandlerpublic void adjustEntityLocationOnClient(EntitySpawnAdjustmentPacket entitySpawnAdjustmentPacket)
adjustEntityLocationOnClient in interface IFMLSidedHandlerpublic void sendPacket(Packet packet)
sendPacket in interface IFMLSidedHandlerpublic void displayMissingMods(ModMissingPacket modMissingPacket)
displayMissingMods in interface IFMLSidedHandler
public void handleTinyPacket(NetHandler handler,
Packet131MapData mapData)
handleTinyPacket in interface IFMLSidedHandlerpublic void setClientCompatibilityLevel(byte compatibilityLevel)
setClientCompatibilityLevel in interface IFMLSidedHandlerpublic byte getClientCompatibilityLevel()
getClientCompatibilityLevel in interface IFMLSidedHandlerpublic boolean shouldServerShouldBeKilledQuietly()
shouldServerShouldBeKilledQuietly in interface IFMLSidedHandler
public void disconnectIDMismatch(com.google.common.collect.MapDifference<Integer,ItemData> s,
NetHandler handler,
INetworkManager mgr)
disconnectIDMismatch in interface IFMLSidedHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||