net.minecraft.server.dedicated

public class DedicatedServer

extends MinecraftServer implements ServerInterface

All mapped superinterfaces:

ProfilerMeasured, ProcessorHandle, CommandSource, ServerInterface

acj
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.apache.logging.log4j.Logger
r
LOGGER
field_13814
LOGGER
f_139598_
private static final int
s
CONVERSION_RETRY_DELAY_MS
field_29662
field_29662
f_142864_
private static final int
t
CONVERSION_RETRIES
field_29663
field_29663
f_142865_
private static final Pattern
u
SHA1
field_13810
SHA1_PATTERN
f_139599_
private final List<ConsoleInput>
v
consoleInput
field_13815
commandQueue
f_139600_
private QueryThreadGs4
w
queryThreadGs4
field_13816
queryResponseHandler
f_139601_
private final RconConsoleSource
x
rconConsoleSource
field_13811
rconCommandOutput
f_139602_
private RconThread
y
rconThread
field_13819
rconServer
f_139603_
private final DedicatedServerSettings
z
settings
field_16799
propertiesLoader
f_139604_
private MinecraftServerGui
A
gui
field_16800
gui
f_139605_
private final TextFilterClient
B
textFilterClient
field_26898
filterer
f_139606_
private final Component
C
resourcePackPrompt
field_33431
resourcePackPrompt
f_142863_

Constructor summary

ModifierConstructor
public (Thread serverThread, RegistryAccess$RegistryHolder registryManager, LevelStorageSource$LevelStorageAccess session, PackRepository dataPackManager, ServerResources serverResourceManager, WorldData saveProperties, DedicatedServerSettings propertiesLoader, com.mojang.datafixers.DataFixer dataFixer, 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_()
public boolean
W()
isSpawningAnimals()
method_3796()
shouldSpawnAnimals()
m_6998_()
public boolean
Q()
isSpawningMonsters()
method_3783()
isMonsterSpawningEnabled()
m_7004_()
public boolean
X()
areNpcsEnabled()
method_3736()
shouldSpawnNpcs()
m_6997_()
public String
be()
getPackHash()
method_13950()
createResourcePackHash()
m_139664_()
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
B()
isNetherEnabled()
method_3839()
isNetherAllowed()
m_7079_()
public void
a(String arg0, dm 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
bf()
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 DedicatedPlayerList
bg()
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
bh()
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(adi arg0, gh arg1, bnr 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
F_()
shouldInformAdmins()
method_9201()
shouldBroadcastConsoleToOps()
m_6102_()
public int
ar()
getAbsoluteMaxWorldSize()
method_3749()
getMaxWorldBorderRadius()
m_6329_()
public int
au()
getCompressionThreshold()
method_3773()
getNetworkCompressionThreshold()
m_6328_()
protected boolean
bi()
convertOldUsers()
method_13951()
convertData()
m_139668_()
private void
bs()
waitForRetry()
method_13942()
sleepFiveSeconds()
m_139671_()
public long
bj()
getMaxTickLength()
method_13944()
getMaxTickTime()
m_139669_()
public String
s()
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
t()
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
aS()
forceSynchronousWrites()
method_27051()
syncChunkWrites()
m_6365_()
public TextFilter
a(adj arg0)
createTextFilterForPlayer(ServerPlayer arg0)
method_31371(class_3222 arg0)
createFilterer(ServerPlayerEntity arg0)
m_7950_(C_13_ arg0)
public boolean
aW()
isResourcePackRequired()
method_32303()
requireResourcePack()
m_142205_()
public GameType
aX()
getForcedGameType()
method_3761()
getForcedGameMode()
m_142359_()
private static Component
a(acl arg0)
parseResourcePackPrompt(DedicatedServerSettings arg0)
method_36239(class_3807 arg0)
parseResourcePackPrompt(ServerPropertiesLoader propertiesLoader)
m_142867_(C_5410_ p_142868_)
public Component
aZ()
getResourcePackPrompt()
method_36326()
getResourcePackPrompt()
m_141958_()