net.minecraft.server.dedicated

public class DedicatedServer

extends MinecraftServer implements ServerInterface

All mapped superinterfaces:

ProfilerMeasured, TaskScheduler, ServerInfo, ChunkIOErrorReporter, CommandSource, ServerInterface

aqy
net.minecraft.server.dedicated.DedicatedServer
net.minecraft.class_3176
net.minecraft.server.dedicated.MinecraftDedicatedServer
net.minecraft.server.dedicated.DedicatedServer

Field summary

Modifier and TypeField
static final org.slf4j.Logger
l
LOGGER
field_13814
LOGGER
private static final int
m
CONVERSION_RETRY_DELAY_MS
field_29662
field_29662
private static final int
n
CONVERSION_RETRIES
field_29663
field_29663
private final List<ConsoleInput>
o
consoleInput
field_13815
commandQueue
private QueryThreadGs4
p
queryThreadGs4
field_13816
queryResponseHandler
private final RconConsoleSource
q
rconConsoleSource
field_13811
rconCommandOutput
private RconThread
r
rconThread
field_13819
rconServer
private final DedicatedServerSettings
s
settings
field_16799
propertiesLoader
private MinecraftServerGui
t
gui
field_16800
gui
private final ServerTextFilter
u
serverTextFilter
field_52350
filterer
private RemoteSampleLogger
v
tickTimeLogger
field_48788
debugSampleLog
private DebugSampleSubscriptionTracker
w
debugSampleSubscriptionTracker
field_48789
subscriptionTracker
private final ServerLinks
x
serverLinks
field_52215
serverLinks

Constructor summary

ModifierConstructor
public (Thread serverThread, LevelStorageSource$LevelStorageAccess session, PackRepository dataPackManager, WorldStem saveLoader, DedicatedServerSettings propertiesLoader, com.mojang.datafixers.DataFixer dataFixer, Services apiServices, ChunkProgressListenerFactory worldGenerationProgressListenerFactory)

Method summary

Modifier and TypeMethod
public boolean
e()
initServer()
method_3823()
setupServer()
public boolean
W()
isSpawningMonsters()
method_3783()
isMonsterSpawningEnabled()
public DedicatedServerProperties
a()
getProperties()
method_16705()
getProperties()
public void
t()
forceDifficulty()
method_27731()
updateDifficulty()
public SystemReport
a(ac arg0)
fillServerSystemReport(SystemReport arg0)
method_3859(class_6396 arg0)
addExtraSystemDetails(SystemDetails arg0)
public void
a(Path arg0)
dumpServerProperties(Path arg0)
method_37113(Path arg0)
dumpProperties(Path arg0)
public void
i()
onServerExit()
method_3821()
exit()
public void
G()
tickConnection()
method_61254()
tickNetworkIo()
public boolean
a(dhi arg0)
isLevelEnabled(Level arg0)
method_60671(class_1937 arg0)
isWorldAllowed(World arg0)
public void
a(String arg0, ew arg1)
handleConsoleInput(String arg0, CommandSourceStack arg1)
method_13947(String arg0, class_2168 arg1)
enqueueCommand(String command, ServerCommandSource commandSource)
public void
br()
handleConsoleInputs()
method_13941()
executeQueuedCommands()
public boolean
n()
isDedicatedServer()
method_3816()
isDedicated()
public int
o()
getRateLimitPacketsPerSecond()
method_30612()
getRateLimit()
public boolean
p()
isEpollEnabled()
method_3759()
isUsingNativeTransport()
public DedicatedPlayerList
bs()
getPlayerList()
method_13949()
getPlayerManager()
public boolean
r()
isPublished()
method_3860()
isRemote()
public String
b()
getServerIp()
method_12929()
getHostname()
public int
d()
getServerPort()
method_12918()
getPort()
public String
h()
getServerName()
method_12930()
getMotd()
public void
bt()
showGui()
method_13948()
createGui()
public boolean
aj()
hasGui()
method_3727()
hasGui()
public boolean
q()
isCommandBlockEnabled()
method_3812()
areCommandBlocksEnabled()
public int
al()
getSpawnProtectionRadius()
method_3841()
getSpawnProtectionRadius()
public boolean
a(ash arg0, jh arg1, cpx arg2)
isUnderSpawnProtection(ServerLevel arg0, BlockPos arg1, Player arg2)
method_3785(class_3218 arg0, class_2338 arg1, class_1657 arg2)
isSpawnProtected(ServerWorld arg0, BlockPos arg1, PlayerEntity arg2)
public boolean
am()
repliesToStatus()
method_27902()
acceptsStatusQuery()
public boolean
an()
hidesOnlinePlayers()
method_39424()
hideOnlinePlayers()
public int
k()
getOperatorUserPermissionLevel()
method_3798()
getOpPermissionLevel()
public int
l()
getFunctionCompilationLevel()
method_21714()
getFunctionPermissionLevel()
public void
c(int arg0)
setPlayerIdleTimeout(int arg0)
method_3803(int arg0)
setPlayerIdleTimeout(int arg0)
public boolean
m()
shouldRconBroadcast()
method_3732()
shouldBroadcastRconToOps()
public boolean
c()
shouldInformAdmins()
method_9201()
shouldBroadcastConsoleToOps()
public int
aw()
getAbsoluteMaxWorldSize()
method_3749()
getMaxWorldBorderRadius()
public int
az()
getCompressionThreshold()
method_3773()
getNetworkCompressionThreshold()
public boolean
aA()
enforceSecureProfile()
method_43500()
shouldEnforceSecureProfile()
public boolean
bl()
logIPs()
method_52344()
shouldLogIps()
protected boolean
bu()
convertOldUsers()
method_13951()
convertData()
private void
bC()
waitForRetry()
method_13942()
sleepFiveSeconds()
public long
bv()
getMaxTickLength()
method_13944()
getMaxTickTime()
public int
bj()
getMaxChainedNeighborUpdates()
method_41239()
getMaxChainedNeighborUpdates()
public String
s()
getPluginNames()
method_12916()
getPlugins()
public String
a(String arg0)
runCommand(String arg0)
method_12934(String arg0)
executeRconCommand(String arg0)
public void
i(boolean arg0)
storeUsingWhiteList(boolean arg0)
method_16712(boolean arg0)
setUseWhitelist(boolean useWhitelist)
public void
v()
stopServer()
method_3782()
shutdown()
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)
public int
b(int arg0)
getScaledTrackingDistance(int arg0)
method_27903(int arg0)
adjustTrackingDistance(int arg0)
public String
j()
getLevelIdName()
method_3865()
getLevelName()
public boolean
aX()
forceSynchronousWrites()
method_27051()
syncChunkWrites()
public TextFilter
a(asi arg0)
createTextFilterForPlayer(ServerPlayer arg0)
method_31371(class_3222 arg0)
createFilterer(ServerPlayerEntity arg0)
public GameType
bd()
getForcedGameType()
method_3761()
getForcedGameMode()
public Optional<MinecraftServer$ServerResourcePackInfo>
Y()
getServerResourcePack()
method_43659()
getResourcePackProperties()
public void
aS()
endMetricsRecordingTick()
method_24490()
endTickMetrics()
public SampleLogger
f()
getTickTimeLogger()
method_56593()
getDebugSampleLog()
public boolean
g()
isTickTimeLoggingEnabled()
method_56626()
shouldPushTickTimeLog()
public void
a(asi arg0, boe arg1)
subscribeToDebugSample(ServerPlayer arg0, RemoteDebugSampleType arg1)
method_56625(class_3222 arg0, class_9192 arg1)
subscribeToDebugSample(ServerPlayerEntity arg0, DebugSampleType arg1)
public boolean
bm()
acceptsTransfers()
method_56040()
acceptsTransfers()
public ServerLinks
bp()
serverLinks()
method_60672()
getServerLinks()
public int
bq()
pauseWhileEmptySeconds()
method_61255()
getPauseWhenEmptySeconds()
private static ServerLinks
a(ara arg0)
createServerLinks(DedicatedServerSettings arg0)
method_60940(class_3807 arg0)
loadServerLinks(ServerPropertiesLoader propertiesLoader)
private static Optional<URI>
a(aqz arg0)
parseBugReportLink(DedicatedServerProperties arg0)
method_60939(class_3806 arg0)
parseBugReportLink(ServerPropertiesHandler propertiesHandler)