net.minecraft.server.dedicated

public class DedicatedServer

extends MinecraftServer implements ServerInterface

All mapped superinterfaces:

ProfilerMeasured, ProcessorHandle, CommandSource, ServerInterface

afh
net.minecraft.server.dedicated.DedicatedServer
net.minecraft.class_3176
net.minecraft.server.dedicated.MinecraftDedicatedServer
net.minecraft.src.C_5407_
net.minecraft.server.dedicated.DedicatedServer

Field summary

Modifier and TypeField
static final org.slf4j.Logger
n
LOGGER
field_13814
LOGGER
f_139598_
private static final int
o
CONVERSION_RETRY_DELAY_MS
field_29662
field_29662
f_142864_
private static final int
p
CONVERSION_RETRIES
field_29663
field_29663
f_142865_
private final List<ConsoleInput>
q
consoleInput
field_13815
commandQueue
f_139600_
private QueryThreadGs4
r
queryThreadGs4
field_13816
queryResponseHandler
f_139601_
private final RconConsoleSource
s
rconConsoleSource
field_13811
rconCommandOutput
f_139602_
private RconThread
t
rconThread
field_13819
rconServer
f_139603_
private final DedicatedServerSettings
u
settings
field_16799
propertiesLoader
f_139604_
private MinecraftServerGui
v
gui
field_16800
gui
f_139605_
private final TextFilterClient
w
textFilterClient
field_26898
filterer
f_139606_

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()
m_7038_()
public boolean
V()
isSpawningAnimals()
method_3796()
shouldSpawnAnimals()
m_6998_()
public boolean
P()
isSpawningMonsters()
method_3783()
isMonsterSpawningEnabled()
m_7004_()
public boolean
W()
areNpcsEnabled()
method_3736()
shouldSpawnNpcs()
m_6997_()
public DedicatedServerProperties
a()
getProperties()
method_16705()
getProperties()
m_7913_()
public void
q()
forceDifficulty()
method_27731()
updateDifficulty()
m_7044_()
public boolean
g()
isHardcore()
method_3754()
isHardcore()
m_7035_()
public SystemReport
a(ac arg0)
fillServerSystemReport(SystemReport arg0)
method_3859(class_6396 arg0)
addExtraSystemDetails(SystemDetails arg0)
m_142424_(C_140956_ arg0)
public void
a(Path arg0)
dumpServerProperties(Path arg0)
method_37113(Path arg0)
dumpProperties(Path arg0)
m_142116_(Path arg0)
public void
f()
onServerExit()
method_3821()
exit()
m_6988_()
public void
b(BooleanSupplier arg0)
tickChildren(BooleanSupplier arg0)
method_3813(BooleanSupplier arg0)
tickWorlds(BooleanSupplier arg0)
m_5703_(BooleanSupplier arg0)
public boolean
A()
isNetherEnabled()
method_3839()
isNetherAllowed()
m_7079_()
public void
a(String arg0, dr arg1)
handleConsoleInput(String arg0, CommandSourceStack arg1)
method_13947(String arg0, class_2168 arg1)
enqueueCommand(String command, ServerCommandSource commandSource)
m_139645_(String p_139647_, C_2969_ arg1)
public void
bg()
handleConsoleInputs()
method_13941()
executeQueuedCommands()
m_139665_()
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 boolean
aa()
previewsChat()
method_43928()
shouldPreviewChat()
m_214000_()
public DedicatedPlayerList
bh()
getPlayerList()
method_13949()
getPlayerManager()
m_6846_()
public boolean
o()
isPublished()
method_3860()
isRemote()
m_6992_()
public String
b()
getServerIp()
method_12929()
getHostname()
m_6866_()
public int
d()
getServerPort()
method_12918()
getPort()
m_7448_()
public String
p()
getServerName()
method_12930()
getMotd()
m_6995_()
public void
bi()
showGui()
method_13948()
createGui()
m_139667_()
public boolean
af()
hasGui()
method_3727()
hasGui()
m_6370_()
public boolean
n()
isCommandBlockEnabled()
method_3812()
areCommandBlocksEnabled()
m_6993_()
public int
ah()
getSpawnProtectionRadius()
method_3841()
getSpawnProtectionRadius()
m_6396_()
public boolean
a(agg arg0, gt arg1, buc 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)
m_7762_(C_12_ p_139631_, C_4675_ p_139632_, C_1141_ arg2)
public boolean
ai()
repliesToStatus()
method_27902()
acceptsStatusQuery()
m_6373_()
public boolean
aj()
hidesOnlinePlayers()
method_39424()
hideOnlinePlayers()
m_183306_()
public int
h()
getOperatorUserPermissionLevel()
method_3798()
getOpPermissionLevel()
m_7022_()
public int
i()
getFunctionCompilationLevel()
method_21714()
getFunctionPermissionLevel()
m_7034_()
public void
c(int arg0)
setPlayerIdleTimeout(int arg0)
method_3803(int arg0)
setPlayerIdleTimeout(int arg0)
m_7196_(int arg0)
public boolean
j()
shouldRconBroadcast()
method_3732()
shouldBroadcastRconToOps()
m_6983_()
public boolean
G_()
shouldInformAdmins()
method_9201()
shouldBroadcastConsoleToOps()
m_6102_()
public int
as()
getAbsoluteMaxWorldSize()
method_3749()
getMaxWorldBorderRadius()
m_6329_()
public int
av()
getCompressionThreshold()
method_3773()
getNetworkCompressionThreshold()
m_6328_()
public boolean
aw()
enforceSecureProfile()
method_43500()
shouldEnforceSecureProfile()
m_214005_()
protected boolean
bj()
convertOldUsers()
method_13951()
convertData()
m_139668_()
private void
bt()
waitForRetry()
method_13942()
sleepFiveSeconds()
m_139671_()
public long
bk()
getMaxTickLength()
method_13944()
getMaxTickTime()
m_139669_()
public int
be()
getMaxChainedNeighborUpdates()
method_41239()
getMaxChainedNeighborUpdates()
m_213994_()
public String
t()
getPluginNames()
method_12916()
getPlugins()
m_7138_()
public String
a(String arg0)
runCommand(String arg0)
method_12934(String arg0)
executeRconCommand(String arg0)
m_7261_(String arg0)
public void
i(boolean arg0)
storeUsingWhiteList(boolean arg0)
method_16712(boolean arg0)
setUseWhitelist(boolean useWhitelist)
m_139688_(boolean arg0)
public void
s()
stopServer()
method_3782()
shutdown()
m_7041_()
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 String
r()
getLevelIdName()
method_3865()
getLevelName()
m_7123_()
public boolean
aU()
forceSynchronousWrites()
method_27051()
syncChunkWrites()
m_6365_()
public TextFilter
a(agh arg0)
createTextFilterForPlayer(ServerPlayer arg0)
method_31371(class_3222 arg0)
createFilterer(ServerPlayerEntity arg0)
m_7950_(C_13_ arg0)
public GameType
aY()
getForcedGameType()
method_3761()
getForcedGameMode()
m_142359_()
public Optional<MinecraftServer$ServerResourcePackInfo>
R()
getServerResourcePack()
method_43659()
getResourcePackProperties()
m_214042_()