net.minecraft.server.dedicated

public class DedicatedServer

extends MinecraftServer implements ServerInterface

All mapped superinterfaces:

ProfilerMeasured, ProcessorHandle, SnooperPopulator, CommandSource, ServerInterface

aas
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
p
LOGGER
field_13814
LOGGER
f_139598_
private static final int
q
CONVERSION_RETRY_DELAY_MS
field_29662
field_29662
f_142864_
private static final int
r
CONVERSION_RETRIES
field_29663
field_29663
f_142865_
private static final Pattern
s
SHA1
field_13810
SHA1_PATTERN
f_139599_
private final List<ConsoleInput>
t
consoleInput
field_13815
commandQueue
f_139600_
private QueryThreadGs4
u
queryThreadGs4
field_13816
queryResponseHandler
f_139601_
private final RconConsoleSource
v
rconConsoleSource
field_13811
rconCommandOutput
f_139602_
private RconThread
w
rconThread
field_13819
rconServer
f_139603_
private final DedicatedServerSettings
x
settings
field_16799
propertiesLoader
f_139604_
private MinecraftServerGui
y
gui
field_16800
gui
f_139605_
private final TextFilterClient
z
textFilterClient
field_26898
filterer
f_139606_
private final Component
A
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_()
init()
public boolean
X()
isSpawningAnimals()
method_3796()
shouldSpawnAnimals()
m_6998_()
getSpawnAnimals()
public boolean
Q()
isSpawningMonsters()
method_3783()
isMonsterSpawningEnabled()
m_7004_()
getSpawnMonsters()
public boolean
Y()
areNpcsEnabled()
method_3736()
shouldSpawnNpcs()
m_6997_()
getSpawnNPCs()
public String
be()
getPackHash()
method_13950()
createResourcePackHash()
m_139664_()
public DedicatedServerProperties
a()
getProperties()
method_16705()
getProperties()
m_7913_()
getDedicatedServerProperties()
public void
r()
forceDifficulty()
method_27731()
updateDifficulty()
m_7044_()
updateWorldSettings()
public boolean
g()
isHardcore()
method_3754()
isHardcore()
m_7035_()
isHardcore()
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 Optional<String>
p()
getModdedStatus()
method_24307()
getModdedStatusMessage()
m_6730_()
getModded()
public void
f()
onServerExit()
method_3821()
exit()
m_6988_()
exit()
public void
b(BooleanSupplier arg0)
tickChildren(BooleanSupplier arg0)
method_3813(BooleanSupplier arg0)
tickWorlds(BooleanSupplier arg0)
m_5703_(BooleanSupplier arg0)
public boolean
C()
isNetherEnabled()
method_3839()
isNetherAllowed()
m_7079_()
getAllowNether()
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 void
a(String arg0, dl 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)
issueCommand(String arg0, CommandListenerWrapper arg1)
public void
bf()
handleConsoleInputs()
method_13941()
executeQueuedCommands()
m_139665_()
handleCommandQueue()
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_()
getPlayerList()
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
q()
getServerName()
method_12930()
getMotd()
m_6995_()
public void
bh()
showGui()
method_13948()
createGui()
m_139667_()
public boolean
ag()
hasGui()
method_3727()
hasGui()
m_6370_()
public boolean
n()
isCommandBlockEnabled()
method_3812()
areCommandBlocksEnabled()
m_6993_()
getEnableCommandBlock()
public int
aj()
getSpawnProtectionRadius()
method_3841()
getSpawnProtectionRadius()
m_6396_()
getSpawnProtection()
public boolean
a(abr arg0, gg arg1, bke 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
ak()
repliesToStatus()
method_27902()
acceptsStatusQuery()
m_6373_()
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)
setIdleTimeout(int arg0)
public boolean
j()
shouldRconBroadcast()
method_3732()
shouldBroadcastRconToOps()
m_6983_()
public boolean
E_()
shouldInformAdmins()
method_9201()
shouldBroadcastConsoleToOps()
m_6102_()
shouldBroadcastCommands()
public int
as()
getAbsoluteMaxWorldSize()
method_3749()
getMaxWorldBorderRadius()
m_6329_()
public int
av()
getCompressionThreshold()
method_3773()
getNetworkCompressionThreshold()
m_6328_()
protected boolean
bi()
convertOldUsers()
method_13951()
convertData()
m_139668_()
convertNames()
private void
bs()
waitForRetry()
method_13942()
sleepFiveSeconds()
m_139671_()
public long
bj()
getMaxTickLength()
method_13944()
getMaxTickTime()
m_139669_()
getMaxTickTime()
public String
t()
getPluginNames()
method_12916()
getPlugins()
m_7138_()
getPlugins()
public String
a(String arg0)
runCommand(String arg0)
method_12934(String arg0)
executeRconCommand(String arg0)
m_7261_(String arg0)
executeRemoteCommand(String arg0)
public void
i(boolean arg0)
storeUsingWhiteList(boolean arg0)
method_16712(boolean arg0)
setUseWhitelist(boolean useWhitelist)
m_139688_(boolean arg0)
setHasWhitelist(boolean arg0)
public void
u()
stopServer()
method_3782()
shutdown()
m_7041_()
stop()
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
s()
getLevelIdName()
method_3865()
getLevelName()
m_7123_()
getWorld()
public boolean
aT()
forceSynchronousWrites()
method_27051()
syncChunkWrites()
m_6365_()
isSyncChunkWrites()
public TextFilter
a(abs arg0)
createTextFilterForPlayer(ServerPlayer arg0)
method_31371(class_3222 arg0)
createFilterer(ServerPlayerEntity arg0)
m_7950_(C_13_ arg0)
public boolean
aX()
isResourcePackRequired()
method_32303()
requireResourcePack()
m_142205_()
public GameType
aY()
getForcedGameType()
method_3761()
getForcedGameMode()
m_142359_()
private static Component
a(aau arg0)
parseResourcePackPrompt(DedicatedServerSettings arg0)
method_36239(class_3807 arg0)
parseResourcePackPrompt(ServerPropertiesLoader propertiesLoader)
m_142867_(C_5410_ p_142868_)
public Component
ba()
getResourcePackPrompt()
method_36326()
getResourcePackPrompt()
m_141958_()