net.minecraft.server.integrated

public class IntegratedServer

extends MinecraftServer

All mapped superinterfaces:

TaskExecutor, SampleableExecutor, CommandOutput, QueryableServer, ChunkErrorHandler

net.minecraft.client.server.IntegratedServer
net.minecraft.class_1132
net.minecraft.server.integrated.IntegratedServer

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
field_5520
LOGGER
private static final int
MIN_SIM_DISTANCE
field_34964
field_34964
public static final int
MAX_PLAYERS
field_62489
field_62489
private final MinecraftClient
minecraft
field_5518
client
private boolean
paused
field_5524
paused
private int
publishedPort
field_5522
lanPort
private GameMode
publishedGameType
field_28075
forcedGameMode
private LanServerPinger
lanPinger
field_5519
lanPinger
private UUID
uuid
field_5521
localPlayerUuid
private int
previousSimulationDistance
field_34965
simulationDistance
private volatile List<GizmoCollectorImpl$Entry>
latestTicksGizmos
field_63623
gizmoEntries
private final GizmoCollectorImpl
gizmoCollector
field_63624
gizmoCollector

Constructor summary

ModifierConstructor
public (Thread serverThread, MinecraftClient client, LevelStorage$Session session, ResourcePackManager dataPackManager, SaveLoader saveLoader, Optional<GameRules> gameRules, ApiServices apiServices, ChunkLoadProgress chunkLoadProgress)

Method summary

Modifier and TypeMethod
protected boolean
initServer()
method_3823()
setupServer()
public boolean
isPaused()
method_54809()
isPaused()
protected void
processPacketsAndTick(boolean sprinting)
method_76677(boolean arg0)
processPacketsAndTick(boolean arg0)
protected void
tickServer(BooleanSupplier haveTime)
method_3748(BooleanSupplier arg0)
tick(BooleanSupplier arg0)
protected MultiValueDebugSampleLogImpl
getTickTimeLogger()
method_56593()
getDebugSampleLog()
public boolean
isTickTimeLoggingEnabled()
method_56626()
shouldPushTickTimeLog()
private void
tickPaused()
method_36439()
incrementTotalWorldTimeStat()
public boolean
shouldRconBroadcast()
method_3732()
shouldBroadcastRconToOps()
public boolean
shouldInformAdmins()
method_9201()
shouldBroadcastConsoleToOps()
public Path
getServerDirectory()
method_3831()
getRunDirectory()
public boolean
isDedicatedServer()
method_3816()
isDedicated()
public int
getRateLimitPacketsPerSecond()
method_30612()
getRateLimit()
public boolean
useNativeTransport()
method_3759()
isUsingNativeTransport()
protected void
onServerCrash(CrashReport report)
method_3744(class_128 arg0)
handleCrashReport(CrashReport arg0)
public SystemDetails
fillServerSystemReport(SystemReport systemReport)
method_3859(class_6396 arg0)
addExtraSystemDetails(SystemDetails arg0)
public ModStatus
getModdedStatus()
method_24307()
getModStatus()
public boolean
publishServer(GameType gameMode, boolean allowCommands, int port)
method_3763(class_1934 arg0, boolean arg1, int arg2)
openToLan(GameMode arg0, boolean arg1, int arg2)
public void
stopServer()
method_3782()
shutdown()
public void
halt(boolean wait)
method_3747(boolean arg0)
stop(boolean arg0)
public boolean
isPublished()
method_3860()
isRemote()
public int
getPort()
method_3756()
getServerPort()
public void
setDefaultGameType(GameType gameType)
method_3838(class_1934 arg0)
setDefaultGameMode(GameMode arg0)
public LeveledPermissionPredicate
operatorUserPermissions()
method_74994()
getOpPermissionLevel()
public LeveledPermissionPredicate
getFunctionCompilationPermissions()
method_74995()
getFunctionPermissions()
public void
setUUID(UUID uuid)
method_4817(UUID arg0)
setLocalPlayerUuid(UUID localPlayerUuid)
public boolean
isSingleplayerOwner(NameAndId nameAndId)
method_19466(class_11560 arg0)
isHost(PlayerConfigEntry arg0)
public int
getScaledTrackingDistance(int baseRange)
method_27903(int arg0)
adjustTrackingDistance(int arg0)
public boolean
forceSynchronousWrites()
method_27051()
syncChunkWrites()
public GameMode
getForcedGameType()
method_3761()
getForcedGameMode()
protected GlobalPos
selectLevelLoadFocusPos()
method_73041()
getSpawnPos()
public void
sendLowDiskSpaceWarning()
method_57823()
showLowDiskSpaceWarning()
public void
reportChunkLoadFailure(Throwable throwable, RegionStorageInfo storageInfo, ChunkPos pos)
method_57821(Throwable arg0, class_9240 arg1, class_1923 arg2)
onChunkLoadFailure(Throwable arg0, StorageKey arg1, ChunkPos arg2)
public void
reportChunkSaveFailure(Throwable throwable, RegionStorageInfo storageInfo, ChunkPos pos)
method_57822(Throwable arg0, class_9240 arg1, class_1923 arg2)
onChunkSaveFailure(Throwable arg0, StorageKey arg1, ChunkPos arg2)
public int
getMaxPlayers()
method_3802()
getMaxPlayerCount()
public Collection<GizmoCollectorImpl$Entry>
getPerTickGizmos()
method_75491()
getGizmoEntries()
protected DebugSampleLog
getTickTimeLogger()
method_56593()
getDebugSampleLog()
public PermissionPredicate
getFunctionCompilationPermissions()
method_74995()
getFunctionPermissions()
private void
lambda$reportChunkSaveFailure$0(ChunkPos arg0)
method_61079(class_1923 arg0)
method_61079(ChunkPos arg0)
private void
lambda$reportChunkLoadFailure$0(ChunkPos arg0)
method_61080(class_1923 arg0)
method_61080(ChunkPos arg0)
private void
lambda$halt$0()
method_4816()
method_4816()
private String
lambda$fillServerSystemReport$0()
method_4815()
method_4815()