public class IntegratedServer extends MinecraftServer
chunkStatusListenerFactory, DEMO_WORLD_SETTINGS, serverProxy, serverThread, serverTime, tickTimeArray, USER_CACHE_FILEDUMMY| コンストラクタと説明 | 
|---|
IntegratedServer(Minecraft mcIn,
                java.lang.String worldName,
                java.lang.String worldNameIn,
                WorldSettings worldSettingsIn,
                com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService authServiceIn,
                com.mojang.authlib.minecraft.MinecraftSessionService sessionServiceIn,
                com.mojang.authlib.GameProfileRepository profileRepositoryIn,
                PlayerProfileCache profileCacheIn,
                IChunkStatusListenerFactory listenerFactoryIn)  | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
CrashReport | 
addServerInfoToCrashReport(CrashReport report)
Adds the server info, including from theWorldServer, to the crash report. 
 | 
boolean | 
allowLogging()  | 
boolean | 
allowLoggingRcon()  | 
boolean | 
canStructuresSpawn()  | 
void | 
fillSnooper(Snooper snooper)  | 
void | 
finalTick(CrashReport report)
Called on exit from the main run() loop. 
 | 
java.util.Optional<java.lang.String> | 
func_230045_q_()  | 
java.io.File | 
getDataDirectory()  | 
Difficulty | 
getDifficulty()
Get the server's difficulty 
 | 
int | 
getFunctionLevel()  | 
GameType | 
getGameType()  | 
int | 
getOpPermissionLevel()  | 
boolean | 
getPublic()
Returns true if this integrated server is open to LAN 
 | 
int | 
getServerPort()
Gets serverPort. 
 | 
boolean | 
init()
Initialises the server and starts it. 
 | 
void | 
initiateShutdown(boolean waitForServer)
Sets the serverRunning variable to false, in order to get the server to shut down. 
 | 
boolean | 
isCommandBlockEnabled()
Return whether command blocks are enabled. 
 | 
boolean | 
isDedicatedServer()  | 
boolean | 
isHardcore()
Defaults to false. 
 | 
boolean | 
isServerOwner(com.mojang.authlib.GameProfile profileIn)  | 
void | 
loadAllWorlds(java.lang.String saveName,
             java.lang.String worldNameIn,
             long seed,
             WorldType type,
             com.google.gson.JsonElement generatorOptions)  | 
void | 
setGameType(GameType gameMode)
Sets the game type for all worlds. 
 | 
void | 
setPlayerUuid(java.util.UUID uuid)  | 
boolean | 
shareToLAN(GameType gameMode,
          boolean cheats,
          int port)  | 
boolean | 
shouldUseNativeTransport()
Get if native transport should be used. 
 | 
void | 
stopServer()
Saves all necessary data as preparation for stopping the server. 
 | 
void | 
tick(java.util.function.BooleanSupplier hasTimeLeft)
Main function called by run() every loop. 
 | 
allowSpawnMonsters, applyServerIconToResponse, canCreateBonusChest, canRun, close, convertMapIfNeeded, driveOne, dumpDebugInfo, enableProfiling, forgeGetWorldMap, func_229735_aN_, func_229736_aP_, getActiveAnvilConverter, getAdvancementManager, getAllowNether, getBackgroundExecutor, getBuildLimit, getCanSpawnAnimals, getCanSpawnNPCs, getCommandManager, getCommandSource, getCurrentPlayerCount, getCustomBossEvents, getDataFixer, getExecutionThread, getFile, getFolderName, getForceGamemode, getFrameTimer, getFunctionManager, getGameProfileRepository, getGameRules, getGuiEnabled, getKeyPair, getLootTableManager, getMaxPlayerIdleMinutes, getMaxPlayers, getMaxWorldSize, getMinecraftSessionService, getMinecraftVersion, getMOTD, getNetworkCompressionThreshold, getNetworkSystem, getNetworkTagManager, getOnlinePlayerNames, getPermissionLevel, getPlayerList, getPlayerProfileCache, getPreventProxyConnections, getProfiler, getRecipeManager, getResourceManager, getResourcePackHash, getResourcePacks, getResourcePackUrl, getScoreboard, getServerHostname, getServerModName, getServerOwner, getServerStatusResponse, getServerTime, getSnooper, getSpawnProtectionSize, getSpawnRadius, getTickCounter, getTickTime, getTickTime, getWorld, getWorldIconFile, getWorldName, getWorlds, isAnvilFileSet, isBlockProtected, isDebuggingEnabled, isDemo, isFlightAllowed, isPVPEnabled, isServerInOnlineMode, isServerRunning, isServerStopped, isSinglePlayer, isThreadAlive, isWhitelistEnabled, isWorldIconSet, kickPlayersNotWhitelisted, loadDataPacks, loadInitialChunks, loadWorlds, logDebug, logInfo, logSevere, logWarning, main, markWorldsDirty, refreshStatusNextTick, registerTickable, reload, run, run, runScheduledTasks, save, sendMessage, serverIsInRunLoop, setAllowFlight, setAllowPvp, setBuildLimit, setCanSpawnAnimals, setCanSpawnNPCs, setDemo, setDifficultyForAllWorlds, setDifficultyLocked, setEraseCache, setForceGamemode, setForceWorldUpgrade, setHostname, setKeyPair, setMOTD, setOnlineMode, setPlayerIdleTimeout, setPlayerList, setPreventProxyConnections, setResourcePack, setResourcePackFromWorld, setServerId, setServerOwner, setServerPort, setUserMessage, setWhitelistEnabled, setWorldName, shouldDeferTasks, shouldReceiveErrors, shouldReceiveFeedback, startServerThread, systemExitNow, updateTimeLightAndEntities, wrapTaskisTaskRunningdeferTask, drainTasks, driveUntil, dropTasks, enqueue, execute, getName, getQueueSize, isOnExecutionThread, runAsync, runImmediately, supplyAsync, threadYieldParkclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfunc_213141_a, inlinepublic IntegratedServer(Minecraft mcIn, java.lang.String worldName, java.lang.String worldNameIn, WorldSettings worldSettingsIn, com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService authServiceIn, com.mojang.authlib.minecraft.MinecraftSessionService sessionServiceIn, com.mojang.authlib.GameProfileRepository profileRepositoryIn, PlayerProfileCache profileCacheIn, IChunkStatusListenerFactory listenerFactoryIn)
public void loadAllWorlds(java.lang.String saveName,
                          java.lang.String worldNameIn,
                          long seed,
                          WorldType type,
                          com.google.gson.JsonElement generatorOptions)
loadAllWorlds クラス内 MinecraftServerpublic boolean init()
             throws java.io.IOException
init クラス内 MinecraftServerjava.io.IOExceptionpublic void tick(java.util.function.BooleanSupplier hasTimeLeft)
tick クラス内 MinecraftServerpublic boolean canStructuresSpawn()
canStructuresSpawn クラス内 MinecraftServerpublic GameType getGameType()
getGameType クラス内 MinecraftServerpublic Difficulty getDifficulty()
getDifficulty クラス内 MinecraftServerpublic boolean isHardcore()
isHardcore クラス内 MinecraftServerpublic boolean allowLoggingRcon()
allowLoggingRcon クラス内 MinecraftServerpublic boolean allowLogging()
public java.io.File getDataDirectory()
getDataDirectory クラス内 MinecraftServerpublic boolean isDedicatedServer()
isDedicatedServer クラス内 MinecraftServerpublic boolean shouldUseNativeTransport()
shouldUseNativeTransport クラス内 MinecraftServerpublic void finalTick(CrashReport report)
finalTick クラス内 MinecraftServerpublic CrashReport addServerInfoToCrashReport(CrashReport report)
addServerInfoToCrashReport クラス内 MinecraftServerpublic java.util.Optional<java.lang.String> func_230045_q_()
func_230045_q_ クラス内 MinecraftServerpublic void fillSnooper(Snooper snooper)
fillSnooper インタフェース内 ISnooperInfofillSnooper クラス内 MinecraftServerpublic boolean shareToLAN(GameType gameMode, boolean cheats, int port)
shareToLAN クラス内 MinecraftServerpublic void stopServer()
stopServer クラス内 MinecraftServerpublic void initiateShutdown(boolean waitForServer)
initiateShutdown クラス内 MinecraftServerpublic boolean getPublic()
getPublic クラス内 MinecraftServerpublic int getServerPort()
getServerPort クラス内 MinecraftServerpublic void setGameType(GameType gameMode)
setGameType クラス内 MinecraftServerpublic boolean isCommandBlockEnabled()
isCommandBlockEnabled クラス内 MinecraftServerpublic int getOpPermissionLevel()
getOpPermissionLevel クラス内 MinecraftServerpublic int getFunctionLevel()
getFunctionLevel クラス内 MinecraftServerpublic void setPlayerUuid(java.util.UUID uuid)
public boolean isServerOwner(com.mojang.authlib.GameProfile profileIn)
isServerOwner クラス内 MinecraftServer