|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.server.MinecraftServer
net.minecraft.src.IntegratedServer
public class IntegratedServer
Field Summary |
---|
Fields inherited from class net.minecraft.server.MinecraftServer |
---|
currentTask, logger, percentDone, recievedPacketCountArray, recievedPacketSizeArray, sentPacketCountArray, sentPacketSizeArray, spawnProtectionSize, theProfiler, theWorldServer, tickTimeArray, worlds, worldTickTimes |
Constructor Summary | |
---|---|
IntegratedServer(Minecraft par1Minecraft,
String par2Str,
String par3Str,
WorldSettings par4WorldSettings)
|
Method Summary | |
---|---|
CrashReport |
addServerInfoToCrashReport(CrashReport par1CrashReport)
iterates the worldServers and adds their info also |
void |
addServerStatsToSnooper(PlayerUsageSnooper par1PlayerUsageSnooper)
|
boolean |
canStructuresSpawn()
|
IntegratedServerListenThread |
func_71343_a()
|
boolean |
func_71344_c()
|
int |
getDifficulty()
defaults to "1" for the dedicated server |
EnumGameType |
getGameType()
|
NetworkListenThread |
getNetworkThread()
|
boolean |
isDedicatedServer()
|
boolean |
isHardcore()
defaults to false |
boolean |
isSnooperEnabled()
Returns whether snooping is enabled or not. |
void |
setGameType(EnumGameType par1EnumGameType)
sets the game type for all dimensions |
void |
setServerStopping()
sets serverRunning to false |
String |
shareToLAN(EnumGameType par1EnumGameType,
boolean par2)
does nothing on dedicated. |
void |
stopServer()
Saves all necessary data as preparation for stopping the server. |
void |
tick()
main function called by run() every loop |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntegratedServer(Minecraft par1Minecraft, String par2Str, String par3Str, WorldSettings par4WorldSettings)
Method Detail |
---|
public void tick()
tick
in class MinecraftServer
public boolean canStructuresSpawn()
canStructuresSpawn
in class MinecraftServer
public EnumGameType getGameType()
getGameType
in class MinecraftServer
public int getDifficulty()
getDifficulty
in class MinecraftServer
public boolean isHardcore()
isHardcore
in class MinecraftServer
public boolean isDedicatedServer()
isDedicatedServer
in class MinecraftServer
public IntegratedServerListenThread func_71343_a()
public CrashReport addServerInfoToCrashReport(CrashReport par1CrashReport)
addServerInfoToCrashReport
in class MinecraftServer
public void addServerStatsToSnooper(PlayerUsageSnooper par1PlayerUsageSnooper)
addServerStatsToSnooper
in interface IPlayerUsage
addServerStatsToSnooper
in class MinecraftServer
public boolean isSnooperEnabled()
isSnooperEnabled
in interface IPlayerUsage
isSnooperEnabled
in class MinecraftServer
public String shareToLAN(EnumGameType par1EnumGameType, boolean par2)
shareToLAN
in class MinecraftServer
public void stopServer()
stopServer
in class MinecraftServer
public void setServerStopping()
setServerStopping
in class MinecraftServer
public boolean func_71344_c()
public void setGameType(EnumGameType par1EnumGameType)
setGameType
in class MinecraftServer
public NetworkListenThread getNetworkThread()
getNetworkThread
in class MinecraftServer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |