net.minecraft.server.MinecraftServer.MinecraftServer |
( |
File |
par1File) | |
|
Adds the server info, including from theWorldServer, to the crash report.
void net.minecraft.server.MinecraftServer.addServerStatsToSnooper |
( |
PlayerUsageSnooper |
par1PlayerUsageSnooper) | |
|
void net.minecraft.server.MinecraftServer.addServerTypeToSnooper |
( |
PlayerUsageSnooper |
par1PlayerUsageSnooper) | |
|
boolean net.minecraft.server.MinecraftServer.allowSpawnMonsters |
( |
) | |
|
|
protected |
boolean net.minecraft.server.MinecraftServer.canCommandSenderUseCommand |
( |
int |
par1, |
|
|
String |
par2Str |
|
) |
| |
void net.minecraft.server.MinecraftServer.canCreateBonusChest |
( |
boolean |
par1) | |
|
abstract boolean net.minecraft.server.MinecraftServer.canStructuresSpawn |
( |
) | |
|
|
pure virtual |
void net.minecraft.server.MinecraftServer.clearCurrentTask |
( |
) | |
|
|
protected |
Set current task to null and set its percentage to 0.
void net.minecraft.server.MinecraftServer.convertMapIfNeeded |
( |
String |
par1Str) | |
|
|
protected |
void net.minecraft.server.MinecraftServer.deleteWorldAndStopServer |
( |
) | |
|
WARNING : directly calls getActiveAnvilConverter().deleteWorldDirectory(theWorldServer[0].getSaveHandler().getWorldDirectoryName());
void net.minecraft.server.MinecraftServer.enableProfiling |
( |
) | |
|
String net.minecraft.server.MinecraftServer.executeCommand |
( |
String |
par1Str) | |
|
void net.minecraft.server.MinecraftServer.finalTick |
( |
CrashReport |
par1CrashReport) | |
|
|
protected |
Called on exit from the main run() loop.
static void net.minecraft.server.MinecraftServer.fmlReentry |
( |
ArgsWrapper |
wrap) | |
|
|
static |
void net.minecraft.server.MinecraftServer.func_104055_i |
( |
boolean |
par1) | |
|
boolean net.minecraft.server.MinecraftServer.func_104056_am |
( |
) | |
|
void net.minecraft.server.MinecraftServer.func_82010_a |
( |
IUpdatePlayerListBox |
par1IUpdatePlayerListBox) | |
|
boolean net.minecraft.server.MinecraftServer.func_96290_a |
( |
World |
par1World, |
|
|
int |
par2, |
|
|
int |
par3, |
|
|
int |
par4, |
|
|
EntityPlayer |
par5EntityPlayer |
|
) |
| |
ISaveFormat net.minecraft.server.MinecraftServer.getActiveAnvilConverter |
( |
) | |
|
boolean net.minecraft.server.MinecraftServer.getAllowNether |
( |
) | |
|
String [] net.minecraft.server.MinecraftServer.getAllUsernames |
( |
) | |
|
Returns an array of the usernames of all the connected players.
int net.minecraft.server.MinecraftServer.getBuildLimit |
( |
) | |
|
boolean net.minecraft.server.MinecraftServer.getCanSpawnAnimals |
( |
) | |
|
boolean net.minecraft.server.MinecraftServer.getCanSpawnNPCs |
( |
) | |
|
String net.minecraft.server.MinecraftServer.getCommandSenderName |
( |
) | |
|
int net.minecraft.server.MinecraftServer.getCurrentPlayerCount |
( |
) | |
|
Returns the number of players currently on the server.
File net.minecraft.server.MinecraftServer.getDataDirectory |
( |
) | |
|
|
protected |
abstract int net.minecraft.server.MinecraftServer.getDifficulty |
( |
) | |
|
|
pure virtual |
File net.minecraft.server.MinecraftServer.getFile |
( |
String |
par1Str) | |
|
Returns a File object from the specified string.
String net.minecraft.server.MinecraftServer.getFolderName |
( |
) | |
|
abstract EnumGameType net.minecraft.server.MinecraftServer.getGameType |
( |
) | |
|
|
pure virtual |
boolean net.minecraft.server.MinecraftServer.getGuiEnabled |
( |
) | |
|
String net.minecraft.server.MinecraftServer.getHostname |
( |
) | |
|
Returns the server's hostname.
KeyPair net.minecraft.server.MinecraftServer.getKeyPair |
( |
) | |
|
abstract ILogAgent net.minecraft.server.MinecraftServer.getLogAgent |
( |
) | |
|
|
pure virtual |
int net.minecraft.server.MinecraftServer.getMaxPlayers |
( |
) | |
|
Returns the maximum number of players allowed on the server.
String net.minecraft.server.MinecraftServer.getMinecraftVersion |
( |
) | |
|
Returns the server's Minecraft version as string.
String net.minecraft.server.MinecraftServer.getMOTD |
( |
) | |
|
String net.minecraft.server.MinecraftServer.getPlugins |
( |
) | |
|
Used by RCon's Query in the form of "MajorServerMod 1.2.3: MyPlugin 1.3; AnotherPlugin 2.1; AndSoForth 1.0".
int net.minecraft.server.MinecraftServer.getPort |
( |
) | |
|
Never used, but "getServerPort" is already taken.
List net.minecraft.server.MinecraftServer.getPossibleCompletions |
( |
ICommandSender |
par1ICommandSender, |
|
|
String |
par2Str |
|
) |
| |
If par2Str begins with /, then it searches for commands, otherwise it returns players.
Gets the current player count, maximum player count, and player entity list.
String net.minecraft.server.MinecraftServer.getServerHostname |
( |
) | |
|
"getHostname" is already taken, but both return the hostname.
String net.minecraft.server.MinecraftServer.getServerModName |
( |
) | |
|
String net.minecraft.server.MinecraftServer.getServerMOTD |
( |
) | |
|
Returns the server message of the day
String net.minecraft.server.MinecraftServer.getServerOwner |
( |
) | |
|
Returns the username of the server owner (for integrated servers)
int net.minecraft.server.MinecraftServer.getServerPort |
( |
) | |
|
int net.minecraft.server.MinecraftServer.getSpawnProtectionSize |
( |
) | |
|
Return the spawn protection area's size.
String net.minecraft.server.MinecraftServer.getTexturePack |
( |
) | |
|
int net.minecraft.server.MinecraftServer.getTickCounter |
( |
) | |
|
synchronized String net.minecraft.server.MinecraftServer.getUserMessage |
( |
) | |
|
String net.minecraft.server.MinecraftServer.getWorldName |
( |
) | |
|
void net.minecraft.server.MinecraftServer.initialWorldChunkLoad |
( |
) | |
|
|
protected |
void net.minecraft.server.MinecraftServer.initiateShutdown |
( |
) | |
|
Sets the serverRunning variable to false, in order to get the server to shut down.
abstract boolean net.minecraft.server.MinecraftServer.isCommandBlockEnabled |
( |
) | |
|
|
pure virtual |
boolean net.minecraft.server.MinecraftServer.isDebuggingEnabled |
( |
) | |
|
Returns true if debugging is enabled, false otherwise.
abstract boolean net.minecraft.server.MinecraftServer.isDedicatedServer |
( |
) | |
|
|
pure virtual |
boolean net.minecraft.server.MinecraftServer.isDemo |
( |
) | |
|
Gets whether this is a demo or not.
boolean net.minecraft.server.MinecraftServer.isFlightAllowed |
( |
) | |
|
abstract boolean net.minecraft.server.MinecraftServer.isHardcore |
( |
) | |
|
|
pure virtual |
boolean net.minecraft.server.MinecraftServer.isPVPEnabled |
( |
) | |
|
boolean net.minecraft.server.MinecraftServer.isServerInOnlineMode |
( |
) | |
|
boolean net.minecraft.server.MinecraftServer.isServerRunning |
( |
) | |
|
boolean net.minecraft.server.MinecraftServer.isServerStopped |
( |
) | |
|
boolean net.minecraft.server.MinecraftServer.isSinglePlayer |
( |
) | |
|
boolean net.minecraft.server.MinecraftServer.isSnooperEnabled |
( |
) | |
|
void net.minecraft.server.MinecraftServer.loadAllWorlds |
( |
String |
par1Str, |
|
|
String |
par2Str, |
|
|
long |
par3, |
|
|
WorldType |
par5WorldType, |
|
|
String |
par6Str |
|
) |
| |
|
protected |
void net.minecraft.server.MinecraftServer.logDebug |
( |
String |
par1Str) | |
|
void net.minecraft.server.MinecraftServer.logInfo |
( |
String |
par1Str) | |
|
Logs the message with a level of INFO.
void net.minecraft.server.MinecraftServer.logSevere |
( |
String |
par1Str) | |
|
Logs the error message with a level of SEVERE.
void net.minecraft.server.MinecraftServer.logWarning |
( |
String |
par1Str) | |
|
Logs the message with a level of WARN.
static void net.minecraft.server.MinecraftServer.main |
( |
String[] |
par0ArrayOfStr) | |
|
|
static |
void net.minecraft.server.MinecraftServer.outputPercentRemaining |
( |
String |
par1Str, |
|
|
int |
par2 |
|
) |
| |
|
protected |
Used to display a percent remaining given text and the percentage.
void net.minecraft.server.MinecraftServer.run |
( |
) | |
|
void net.minecraft.server.MinecraftServer.saveAllWorlds |
( |
boolean |
par1) | |
|
|
protected |
par1 indicates if a log message should be output.
void net.minecraft.server.MinecraftServer.sendChatToPlayer |
( |
String |
par1Str) | |
|
boolean net.minecraft.server.MinecraftServer.serverIsInRunLoop |
( |
) | |
|
void net.minecraft.server.MinecraftServer.setAllowFlight |
( |
boolean |
par1) | |
|
void net.minecraft.server.MinecraftServer.setAllowPvp |
( |
boolean |
par1) | |
|
void net.minecraft.server.MinecraftServer.setBuildLimit |
( |
int |
par1) | |
|
void net.minecraft.server.MinecraftServer.setCanSpawnAnimals |
( |
boolean |
par1) | |
|
void net.minecraft.server.MinecraftServer.setCanSpawnNPCs |
( |
boolean |
par1) | |
|
void net.minecraft.server.MinecraftServer.setDemo |
( |
boolean |
par1) | |
|
Sets whether this is a demo or not.
void net.minecraft.server.MinecraftServer.setDifficultyForAllWorlds |
( |
int |
par1) | |
|
void net.minecraft.server.MinecraftServer.setFolderName |
( |
String |
par1Str) | |
|
void net.minecraft.server.MinecraftServer.setGameType |
( |
EnumGameType |
par1EnumGameType) | |
|
Sets the game type for all worlds.
void net.minecraft.server.MinecraftServer.setHostname |
( |
String |
par1Str) | |
|
void net.minecraft.server.MinecraftServer.setKeyPair |
( |
KeyPair |
par1KeyPair) | |
|
void net.minecraft.server.MinecraftServer.setMOTD |
( |
String |
par1Str) | |
|
void net.minecraft.server.MinecraftServer.setOnlineMode |
( |
boolean |
par1) | |
|
void net.minecraft.server.MinecraftServer.setServerOwner |
( |
String |
par1Str) | |
|
Sets the username of the owner of this server (in the case of an integrated server)
void net.minecraft.server.MinecraftServer.setServerPort |
( |
int |
par1) | |
|
void net.minecraft.server.MinecraftServer.setTexturePack |
( |
String |
par1Str) | |
|
synchronized void net.minecraft.server.MinecraftServer.setUserMessage |
( |
String |
par1Str) | |
|
|
protected |
Typically "menu.convertingLevel", "menu.loadingLevel" or others.
void net.minecraft.server.MinecraftServer.setWorldName |
( |
String |
par1Str) | |
|
abstract String net.minecraft.server.MinecraftServer.shareToLAN |
( |
EnumGameType |
enumgametype, |
|
|
boolean |
flag |
|
) |
| |
|
pure virtual |
abstract boolean net.minecraft.server.MinecraftServer.startServer |
( |
) | |
throws IOException |
|
protectedpure virtual |
void net.minecraft.server.MinecraftServer.startServerThread |
( |
) | |
|
void net.minecraft.server.MinecraftServer.stopServer |
( |
) | |
|
Saves all necessary data as preparation for stopping the server.
void net.minecraft.server.MinecraftServer.systemExitNow |
( |
) | |
|
|
protected |
Directly calls System.exit(0), instantly killing the program.
int net.minecraft.server.MinecraftServer.textureSize |
( |
) | |
|
This is checked to be 16 upon receiving the packet, otherwise the packet is ignored.
void net.minecraft.server.MinecraftServer.tick |
( |
) | |
|
Main function called by run() every loop.
String net.minecraft.server.MinecraftServer.translateString |
( |
String |
par1Str, |
|
|
Object... |
par2ArrayOfObj |
|
) |
| |
void net.minecraft.server.MinecraftServer.updateTimeLightAndEntities |
( |
) | |
|
WorldServer net.minecraft.server.MinecraftServer.worldServerForDimension |
( |
int |
par1) | |
|
Gets the worldServer by the given dimension.
String net.minecraft.server.MinecraftServer.currentTask |
The task the server is currently working on(and will output on outputPercentRemaining).
int net.minecraft.server.MinecraftServer.percentDone |
The percentage of the current task finished so far.
final long [] net.minecraft.server.MinecraftServer.receivedPacketCountArray = new long[100] |
final long [] net.minecraft.server.MinecraftServer.receivedPacketSizeArray = new long[100] |
final long [] net.minecraft.server.MinecraftServer.sentPacketCountArray = new long[100] |
final long [] net.minecraft.server.MinecraftServer.sentPacketSizeArray = new long[100] |
final Profiler net.minecraft.server.MinecraftServer.theProfiler = new Profiler() |
final long [] net.minecraft.server.MinecraftServer.tickTimeArray = new long[100] |
The server world instances.
Hashtable<Integer, long[]> net.minecraft.server.MinecraftServer.worldTickTimes = new Hashtable<Integer, long[]>() |
Stats are [dimension][tick%100] system.nanoTime is stored.
The documentation for this class was generated from the following file:
- C:/Users/LazDude/Downloads/MinecraftModding/YATS/forge/mcp/src/minecraft/net/minecraft/server/MinecraftServer.java