public class DedicatedServer extends MinecraftServer implements IServer
Modifier and Type | Field and Description |
---|---|
static boolean |
allowPlayerLogins |
java.util.List |
pendingCommandList |
currentTask, field_152367_a, percentDone, serverProxy, theProfiler, tickTimeArray, timeOfLastDimensionTick, worldServers
Constructor and Description |
---|
DedicatedServer(java.io.File p_i1508_1_) |
Modifier and Type | Method and Description |
---|---|
void |
addPendingCommand(java.lang.String p_71331_1_,
ICommandSender p_71331_2_) |
CrashReport |
addServerInfoToCrashReport(CrashReport p_71230_1_) |
void |
addServerStatsToSnooper(PlayerUsageSnooper p_70000_1_) |
boolean |
allowSpawnMonsters() |
boolean |
canStructuresSpawn() |
void |
executePendingCommands() |
protected void |
finalTick(CrashReport p_71228_1_) |
void |
func_143006_e(int p_143006_1_) |
EnumDifficulty |
func_147135_j() |
boolean |
func_147136_ar() |
boolean |
func_152363_m() |
protected boolean |
func_152368_aE() |
boolean |
getAllowNether() |
boolean |
getBooleanProperty(java.lang.String p_71332_1_,
boolean p_71332_2_) |
DedicatedPlayerList |
getConfigurationManager() |
WorldSettings.GameType |
getGameType() |
boolean |
getGuiEnabled() |
int |
getIntProperty(java.lang.String p_71327_1_,
int p_71327_2_) |
int |
getOpPermissionLevel() |
java.lang.String |
getSettingsFilename() |
int |
getSpawnProtectionSize() |
java.lang.String |
getStringProperty(java.lang.String p_71330_1_,
java.lang.String p_71330_2_) |
boolean |
isBlockProtected(World p_96290_1_,
int p_96290_2_,
int p_96290_3_,
int p_96290_4_,
EntityPlayer p_96290_5_) |
boolean |
isCommandBlockEnabled() |
boolean |
isDedicatedServer() |
boolean |
isHardcore() |
boolean |
isSnooperEnabled() |
void |
saveProperties() |
void |
setGuiEnabled() |
void |
setProperty(java.lang.String p_71328_1_,
java.lang.Object p_71328_2_) |
java.lang.String |
shareToLAN(WorldSettings.GameType p_71206_1_,
boolean p_71206_2_) |
protected boolean |
startServer() |
protected void |
systemExitNow() |
void |
updateTimeLightAndEntities() |
addChatMessage, addServerTypeToSnooper, canCommandSenderUseCommand, canCreateBonusChest, clearCurrentTask, convertMapIfNeeded, deleteWorldAndStopServer, enableProfiling, func_143007_ar, func_145748_c_, func_147130_as, func_147132_au, func_147134_at, 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, getAllUsernames, getBuildLimit, getCanSpawnAnimals, getCanSpawnNPCs, getCommandManager, getCommandSenderName, getCurrentPlayerCount, getDataDirectory, getEntityWorld, getFile, getFolderName, getForceGamemode, getHostname, getKeyPair, getMaxPlayers, getMinecraftVersion, getMotd, getMOTD, getPlayerCoordinates, getPlayerUsageSnooper, getPlugins, getPort, getPossibleCompletions, getServer, getServerHostname, getServerModName, getServerOwner, getServerPort, getServerProxy, getSystemTimeMillis, getTexturePack, getTickCounter, getUserMessage, getWorldName, handleRConCommand, initialWorldChunkLoad, initiateShutdown, isDebuggingEnabled, isDemo, isFlightAllowed, isPVPEnabled, isServerInOnlineMode, isServerRunning, isServerStopped, isSinglePlayer, loadAllWorlds, logDebug, logInfo, logSevere, logWarning, main, outputPercentRemaining, run, saveAllWorlds, serverIsInRunLoop, setAllowFlight, setAllowPvp, setBuildLimit, setCanSpawnAnimals, setCanSpawnNPCs, setDemo, setFolderName, setForceGamemode, setGameType, setHostname, setKeyPair, setMOTD, setOnlineMode, setServerOwner, setServerPort, setUserMessage, setWorldName, startServerThread, stopServer, tick, worldServerForDimension
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAllUsernames, getCurrentPlayerCount, getFolderName, getHostname, getMaxPlayers, getMinecraftVersion, getMotd, getPlugins, getPort, handleRConCommand, isDebuggingEnabled, logDebug, logInfo, logSevere, logWarning
public final java.util.List pendingCommandList
public static boolean allowPlayerLogins
protected boolean startServer() throws java.io.IOException
startServer
in class MinecraftServer
java.io.IOException
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
protected void finalTick(CrashReport p_71228_1_)
finalTick
in class MinecraftServer
public CrashReport addServerInfoToCrashReport(CrashReport p_71230_1_)
addServerInfoToCrashReport
in class MinecraftServer
protected void systemExitNow()
systemExitNow
in class MinecraftServer
public void updateTimeLightAndEntities()
updateTimeLightAndEntities
in class MinecraftServer
public boolean getAllowNether()
getAllowNether
in class MinecraftServer
public boolean allowSpawnMonsters()
allowSpawnMonsters
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 void addPendingCommand(java.lang.String p_71331_1_, ICommandSender p_71331_2_)
public void executePendingCommands()
public boolean isDedicatedServer()
isDedicatedServer
in class MinecraftServer
public DedicatedPlayerList getConfigurationManager()
getConfigurationManager
in class MinecraftServer
public int getIntProperty(java.lang.String p_71327_1_, int p_71327_2_)
getIntProperty
in interface IServer
public java.lang.String getStringProperty(java.lang.String p_71330_1_, java.lang.String p_71330_2_)
getStringProperty
in interface IServer
public boolean getBooleanProperty(java.lang.String p_71332_1_, boolean p_71332_2_)
public void setProperty(java.lang.String p_71328_1_, java.lang.Object p_71328_2_)
setProperty
in interface IServer
public void saveProperties()
saveProperties
in interface IServer
public java.lang.String getSettingsFilename()
getSettingsFilename
in interface IServer
public void setGuiEnabled()
public boolean getGuiEnabled()
getGuiEnabled
in class MinecraftServer
public java.lang.String shareToLAN(WorldSettings.GameType p_71206_1_, boolean p_71206_2_)
shareToLAN
in class MinecraftServer
public boolean isCommandBlockEnabled()
isCommandBlockEnabled
in class MinecraftServer
public int getSpawnProtectionSize()
getSpawnProtectionSize
in class MinecraftServer
public boolean isBlockProtected(World p_96290_1_, int p_96290_2_, int p_96290_3_, int p_96290_4_, EntityPlayer p_96290_5_)
isBlockProtected
in class MinecraftServer
public int getOpPermissionLevel()
getOpPermissionLevel
in class MinecraftServer
public void func_143006_e(int p_143006_1_)
func_143006_e
in class MinecraftServer
public boolean func_152363_m()
func_152363_m
in class MinecraftServer
public boolean func_147136_ar()
func_147136_ar
in class MinecraftServer
protected boolean func_152368_aE() throws java.io.IOException
java.io.IOException