net.minecraft.client.server

public class IntegratedServer

extends MinecraftServer

All mapped superinterfaces:

ProfilerMeasured, ProcessorHandle, SnooperPopulator, CommandSource

faq
net.minecraft.client.server.IntegratedServer
net.minecraft.class_1132
net.minecraft.server.integrated.IntegratedServer
net.minecraft.src.C_4585_

Field summary

Modifier and TypeField
public static final int
p
CLIENT_VIEW_DISTANCE_OFFSET
field_33015
field_33015
f_174965_
private static final org.apache.logging.log4j.Logger
q
LOGGER
field_5520
LOGGER
f_120014_
private final Minecraft
r
minecraft
field_5518
client
f_120015_
private boolean
s
paused
field_5524
paused
f_120016_
private int
t
publishedPort
field_5522
lanPort
f_120017_
private GameType
u
publishedGameType
field_28075
forcedGameMode
f_174966_
private LanServerPinger
v
lanPinger
field_5519
lanPinger
f_120018_
private UUID
w
uuid
field_5521
localPlayerUuid
f_120019_

Constructor summary

ModifierConstructor
public (Thread serverThread, Minecraft client, RegistryAccess$RegistryHolder registryManager, LevelStorageSource$LevelStorageAccess session, PackRepository dataPackManager, ServerResources serverResourceManager, WorldData saveProperties, com.mojang.authlib.minecraft.MinecraftSessionService sessionService, com.mojang.authlib.GameProfileRepository gameProfileRepo, GameProfileCache userCache, ChunkProgressListenerFactory worldGenerationProgressListenerFactory)

Method summary

Modifier and TypeMethod
public boolean
e()
initServer()
method_3823()
setupServer()
m_7038_()
init()
public void
a(BooleanSupplier arg0)
tickServer(BooleanSupplier arg0)
method_3748(BooleanSupplier arg0)
tick(BooleanSupplier arg0)
m_5705_(BooleanSupplier arg0)
private void
a()
tickPaused()
method_36439()
incrementTotalWorldTimeStat()
m_174968_()
public boolean
j()
shouldRconBroadcast()
method_3732()
shouldBroadcastRconToOps()
m_6983_()
public boolean
E_()
shouldInformAdmins()
method_9201()
shouldBroadcastConsoleToOps()
m_6102_()
shouldBroadcastCommands()
public File
B()
getServerDirectory()
method_3831()
getRunDirectory()
m_6237_()
public boolean
k()
isDedicatedServer()
method_3816()
isDedicated()
m_6982_()
public int
l()
getRateLimitPacketsPerSecond()
method_30612()
getRateLimit()
m_7032_()
public boolean
m()
isEpollEnabled()
method_3759()
isUsingNativeTransport()
m_6994_()
public void
a(q arg0)
onServerCrash(CrashReport arg0)
method_3744(class_128 arg0)
setCrashReport(CrashReport arg0)
m_7268_(C_4883_ arg0)
public SystemReport
a(ac arg0)
fillServerSystemReport(SystemReport arg0)
method_3859(class_6396 arg0)
addExtraSystemDetails(SystemDetails arg0)
m_142424_(C_140956_ arg0)
public Optional<String>
p()
getModdedStatus()
method_24307()
getModdedStatusMessage()
m_6730_()
getModded()
public void
a(asi arg0)
populateSnooper(Snooper arg0)
method_5495(class_1276 arg0)
addSnooperInfo(Snooper arg0)
m_7108_(C_481_ arg0)
public boolean
U()
isSnooperEnabled()
method_35033()
isSnooperEnabled()
m_142725_()
public boolean
a(bwn arg0, boolean arg1, int arg2)
publishServer(GameType arg0, boolean arg1, int arg2)
method_3763(class_1934 arg0, boolean arg1, int arg2)
openToLan(GameMode arg0, boolean arg1, int arg2)
m_7386_(C_1593_ p_120042_, boolean p_120043_, int arg2)
public void
u()
stopServer()
method_3782()
shutdown()
m_7041_()
stop()
public void
a(boolean arg0)
halt(boolean arg0)
method_3747(boolean arg0)
stop(boolean arg0)
m_7570_(boolean arg0)
safeShutdown(boolean arg0)
public boolean
o()
isPublished()
method_3860()
isRemote()
m_6992_()
public int
M()
getPort()
method_3756()
getServerPort()
m_7010_()
getPort()
public void
a(bwn arg0)
setDefaultGameType(GameType arg0)
method_3838(class_1934 arg0)
setDefaultGameMode(GameMode arg0)
m_7835_(C_1593_ arg0)
public boolean
n()
isCommandBlockEnabled()
method_3812()
areCommandBlocksEnabled()
m_6993_()
getEnableCommandBlock()
public int
h()
getOperatorUserPermissionLevel()
method_3798()
getOpPermissionLevel()
m_7022_()
public int
i()
getFunctionCompilationLevel()
method_21714()
getFunctionPermissionLevel()
m_7034_()
public void
a(UUID arg0)
setUUID(UUID arg0)
method_4817(UUID arg0)
setLocalPlayerUuid(UUID localPlayerUuid)
m_120046_(UUID arg0)
public boolean
a(com.mojang.authlib.GameProfile arg0)
isSingleplayerOwner(com.mojang.authlib.GameProfile arg0)
method_19466(com.mojang.authlib.GameProfile arg0)
isHost(com.mojang.authlib.GameProfile arg0)
m_7779_(com.mojang.authlib.GameProfile arg0)
public int
b(int arg0)
getScaledTrackingDistance(int arg0)
method_27903(int arg0)
adjustTrackingDistance(int arg0)
m_7186_(int arg0)
public boolean
aT()
forceSynchronousWrites()
method_27051()
syncChunkWrites()
m_6365_()
isSyncChunkWrites()
public GameType
aY()
getForcedGameType()
method_3761()
getForcedGameMode()
m_142359_()