public class IntegratedServer extends MinecraftServer
currentTask, field_152367_a, percentDone, serverProxy, theProfiler, tickTimeArray, timeOfLastDimensionTick, worldServers
Constructor and Description |
---|
IntegratedServer(Minecraft p_i1317_1_,
java.lang.String p_i1317_2_,
java.lang.String p_i1317_3_,
WorldSettings p_i1317_4_) |
Modifier and Type | Method and Description |
---|---|
CrashReport |
addServerInfoToCrashReport(CrashReport p_71230_1_) |
void |
addServerStatsToSnooper(PlayerUsageSnooper p_70000_1_) |
boolean |
canStructuresSpawn() |
protected void |
finalTick(CrashReport p_71228_1_) |
EnumDifficulty |
func_147135_j() |
boolean |
func_152363_m() |
protected java.io.File |
getDataDirectory() |
WorldSettings.GameType |
getGameType() |
int |
getOpPermissionLevel() |
boolean |
getPublic() |
void |
initiateShutdown() |
boolean |
isCommandBlockEnabled() |
boolean |
isDedicatedServer() |
boolean |
isHardcore() |
boolean |
isSnooperEnabled() |
protected void |
loadAllWorlds(java.lang.String p_71247_1_,
java.lang.String p_71247_2_,
long p_71247_3_,
WorldType p_71247_5_,
java.lang.String p_71247_6_) |
void |
setGameType(WorldSettings.GameType p_71235_1_) |
java.lang.String |
shareToLAN(WorldSettings.GameType p_71206_1_,
boolean p_71206_2_) |
protected boolean |
startServer() |
void |
stopServer() |
void |
tick() |
addChatMessage, addServerTypeToSnooper, allowSpawnMonsters, canCommandSenderUseCommand, canCreateBonusChest, clearCurrentTask, convertMapIfNeeded, deleteWorldAndStopServer, enableProfiling, func_143006_e, func_143007_ar, func_145748_c_, func_147130_as, func_147132_au, func_147134_at, func_147136_ar, func_147137_ag, func_147139_a, func_152357_F, func_152358_ax, func_152359_aw, func_152361_a, func_155759_m, func_82010_a, getActiveAnvilConverter, getAllowNether, getAllUsernames, getBuildLimit, getCanSpawnAnimals, getCanSpawnNPCs, getCommandManager, getCommandSenderName, getConfigurationManager, getCurrentPlayerCount, getEntityWorld, getFile, getFolderName, getForceGamemode, getGuiEnabled, getHostname, getKeyPair, getMaxPlayers, getMinecraftVersion, getMotd, getMOTD, getPlayerCoordinates, getPlayerUsageSnooper, getPlugins, getPort, getPossibleCompletions, getServer, getServerHostname, getServerModName, getServerOwner, getServerPort, getServerProxy, getSpawnProtectionSize, getSystemTimeMillis, getTexturePack, getTickCounter, getUserMessage, getWorldName, handleRConCommand, initialWorldChunkLoad, isBlockProtected, isDebuggingEnabled, isDemo, isFlightAllowed, isPVPEnabled, isServerInOnlineMode, isServerRunning, isServerStopped, isSinglePlayer, logDebug, logInfo, logSevere, logWarning, main, outputPercentRemaining, run, saveAllWorlds, serverIsInRunLoop, setAllowFlight, setAllowPvp, setBuildLimit, setCanSpawnAnimals, setCanSpawnNPCs, setDemo, setFolderName, setForceGamemode, setHostname, setKeyPair, setMOTD, setOnlineMode, setServerOwner, setServerPort, setUserMessage, setWorldName, startServerThread, systemExitNow, updateTimeLightAndEntities, worldServerForDimension
public IntegratedServer(Minecraft p_i1317_1_, java.lang.String p_i1317_2_, java.lang.String p_i1317_3_, WorldSettings p_i1317_4_)
protected void loadAllWorlds(java.lang.String p_71247_1_, java.lang.String p_71247_2_, long p_71247_3_, WorldType p_71247_5_, java.lang.String p_71247_6_)
loadAllWorlds
in class MinecraftServer
protected boolean startServer() throws java.io.IOException
startServer
in class MinecraftServer
java.io.IOException
public void tick()
tick
in class MinecraftServer
public boolean canStructuresSpawn()
canStructuresSpawn
in class MinecraftServer
public WorldSettings.GameType getGameType()
getGameType
in class MinecraftServer
public EnumDifficulty func_147135_j()
func_147135_j
in class MinecraftServer
public boolean isHardcore()
isHardcore
in class MinecraftServer
public boolean func_152363_m()
func_152363_m
in class MinecraftServer
protected java.io.File getDataDirectory()
getDataDirectory
in class MinecraftServer
public boolean isDedicatedServer()
isDedicatedServer
in class MinecraftServer
protected void finalTick(CrashReport p_71228_1_)
finalTick
in class MinecraftServer
public CrashReport addServerInfoToCrashReport(CrashReport p_71230_1_)
addServerInfoToCrashReport
in class MinecraftServer
public void addServerStatsToSnooper(PlayerUsageSnooper p_70000_1_)
addServerStatsToSnooper
in interface IPlayerUsage
addServerStatsToSnooper
in class MinecraftServer
public boolean isSnooperEnabled()
isSnooperEnabled
in interface IPlayerUsage
isSnooperEnabled
in class MinecraftServer
public java.lang.String shareToLAN(WorldSettings.GameType p_71206_1_, boolean p_71206_2_)
shareToLAN
in class MinecraftServer
public void stopServer()
stopServer
in class MinecraftServer
public void initiateShutdown()
initiateShutdown
in class MinecraftServer
public boolean getPublic()
public void setGameType(WorldSettings.GameType p_71235_1_)
setGameType
in class MinecraftServer
public boolean isCommandBlockEnabled()
isCommandBlockEnabled
in class MinecraftServer
public int getOpPermissionLevel()
getOpPermissionLevel
in class MinecraftServer