public class IntegratedServer extends MinecraftServer
chunkStatusListenerFactory, DEMO_WORLD_SETTINGS, serverProxy, serverThread, serverTime, tickTimeArray, USER_CACHE_FILEfield_213139_a_| Constructor and Description |
|---|
IntegratedServer(Minecraft p_i50895_1_,
java.lang.String worldName,
java.lang.String p_i50895_3_,
WorldSettings p_i50895_4_,
com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService p_i50895_5_,
com.mojang.authlib.minecraft.MinecraftSessionService p_i50895_6_,
com.mojang.authlib.GameProfileRepository p_i50895_7_,
PlayerProfileCache p_i50895_8_,
IChunkStatusListenerFactory p_i50895_9_) |
| Modifier and Type | Method and Description |
|---|---|
CrashReport |
addServerInfoToCrashReport(CrashReport report) |
boolean |
allowLogging() |
boolean |
allowLoggingRcon() |
boolean |
canStructuresSpawn() |
void |
fillSnooper(Snooper snooper) |
void |
finalTick(CrashReport report) |
boolean |
func_213199_b(com.mojang.authlib.GameProfile p_213199_1_) |
int |
func_223707_k() |
java.io.File |
getDataDirectory() |
Difficulty |
getDifficulty() |
GameType |
getGameType() |
int |
getOpPermissionLevel() |
boolean |
getPublic() |
int |
getServerPort() |
boolean |
init() |
void |
initiateShutdown(boolean p_71263_1_) |
boolean |
isCommandBlockEnabled() |
boolean |
isDedicatedServer() |
boolean |
isHardcore() |
void |
loadAllWorlds(java.lang.String saveName,
java.lang.String worldNameIn,
long seed,
WorldType type,
com.google.gson.JsonElement generatorOptions) |
void |
setGameType(GameType gameMode) |
void |
setPlayerUuid(java.util.UUID uuid) |
boolean |
shareToLAN(GameType gameMode,
boolean cheats,
int port) |
boolean |
shouldUseNativeTransport() |
void |
stopServer() |
void |
tick(java.util.function.BooleanSupplier hasTimeLeft) |
allowSpawnMonsters, applyServerIconToResponse, canCreateBonusChest, canRun, close, convertMapIfNeeded, driveOne, enableProfiling, forgeGetWorldMap, func_223711_a, getActiveAnvilConverter, getAdvancementManager, getAllowNether, getBackgroundExecutor, getBuildLimit, getCanSpawnAnimals, getCanSpawnNPCs, getCommandManager, getCommandSource, getCurrentPlayerCount, getCustomBossEvents, getDataFixer, getExecutionThread, getFile, getFolderName, getForceGamemode, getFrameTimer, getFunctionManager, getGameProfileRepository, getGameRules, getGuiEnabled, getKeyPair, getLootModifierManager, 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, 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, wrapTaskisTaskRunning, rundeferTask, drainTasks, driveUntil, dropTasks, enqueue, execute, func_223704_be, func_223705_bi, getName, isOnExecutionThread, runAsync, runImmediately, supplyAsyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfunc_213141_a, inlinepublic IntegratedServer(Minecraft p_i50895_1_, java.lang.String worldName, java.lang.String p_i50895_3_, WorldSettings p_i50895_4_, com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService p_i50895_5_, com.mojang.authlib.minecraft.MinecraftSessionService p_i50895_6_, com.mojang.authlib.GameProfileRepository p_i50895_7_, PlayerProfileCache p_i50895_8_, IChunkStatusListenerFactory p_i50895_9_)
public void loadAllWorlds(java.lang.String saveName,
java.lang.String worldNameIn,
long seed,
WorldType type,
com.google.gson.JsonElement generatorOptions)
loadAllWorlds in class MinecraftServerpublic boolean init()
throws java.io.IOException
init in class MinecraftServerjava.io.IOExceptionpublic void tick(java.util.function.BooleanSupplier hasTimeLeft)
tick in class MinecraftServerpublic boolean canStructuresSpawn()
canStructuresSpawn in class MinecraftServerpublic GameType getGameType()
getGameType in class MinecraftServerpublic Difficulty getDifficulty()
getDifficulty in class MinecraftServerpublic boolean isHardcore()
isHardcore in class MinecraftServerpublic boolean allowLoggingRcon()
allowLoggingRcon in class MinecraftServerpublic boolean allowLogging()
public java.io.File getDataDirectory()
getDataDirectory in class MinecraftServerpublic boolean isDedicatedServer()
isDedicatedServer in class MinecraftServerpublic boolean shouldUseNativeTransport()
shouldUseNativeTransport in class MinecraftServerpublic void finalTick(CrashReport report)
finalTick in class MinecraftServerpublic CrashReport addServerInfoToCrashReport(CrashReport report)
addServerInfoToCrashReport in class MinecraftServerpublic void fillSnooper(Snooper snooper)
fillSnooper in interface ISnooperInfofillSnooper in class MinecraftServerpublic boolean shareToLAN(GameType gameMode, boolean cheats, int port)
shareToLAN in class MinecraftServerpublic void stopServer()
stopServer in class MinecraftServerpublic void initiateShutdown(boolean p_71263_1_)
initiateShutdown in class MinecraftServerpublic boolean getPublic()
getPublic in class MinecraftServerpublic int getServerPort()
getServerPort in class MinecraftServerpublic void setGameType(GameType gameMode)
setGameType in class MinecraftServerpublic boolean isCommandBlockEnabled()
isCommandBlockEnabled in class MinecraftServerpublic int getOpPermissionLevel()
getOpPermissionLevel in class MinecraftServerpublic int func_223707_k()
func_223707_k in class MinecraftServerpublic void setPlayerUuid(java.util.UUID uuid)
public boolean func_213199_b(com.mojang.authlib.GameProfile p_213199_1_)
func_213199_b in class MinecraftServer