net.minecraft.server

public abstract class MinecraftServer

extends ReentrantBlockableEventLoop<TickTask> implements SnooperPopulator, CommandSource, AutoCloseable

All mapped superinterfaces:

ProfilerMeasured, ProcessorHandle, SnooperPopulator, CommandSource

net.minecraft.server.MinecraftServer
net.minecraft.server.MinecraftServer
net.minecraft.server.MinecraftServer
net.minecraft.server.MinecraftServer
net.minecraft.src.C_4977_
net.minecraft.server.MinecraftServer

Field summary

Modifier and TypeField
static final org.apache.logging.log4j.Logger
p
LOGGER
field_4546
LOGGER
f_129750_
private static final float
q
AVERAGE_TICK_TIME_SMOOTHING
field_33212
field_33212
f_177884_
private static final int
r
TICK_STATS_SPAN
field_33213
field_33213
f_177885_
public static final int
b
MS_PER_TICK
field_33206
field_33206
f_177878_
private static final int
s
SNOOPER_UPDATE_INTERVAL
field_33214
field_33214
f_177886_
private static final int
t
OVERLOADED_THRESHOLD
field_33215
field_33215
f_177887_
private static final int
u
OVERLOADED_WARNING_INTERVAL
field_33216
field_33216
f_177888_
public static final String
c
LEVEL_STORAGE_PROTOCOL
field_33207
LEVEL_PROTOCOL_NAME
f_177879_
public static final String
d
LEVEL_STORAGE_SCHEMA
field_33208
LEVEL_PROTOCOL
f_177880_
private static final long
v
STATUS_EXPIRE_TIME_NS
field_33217
PLAYER_SAMPLE_UPDATE_INTERVAL
f_177889_
private static final int
w
MAX_STATUS_PLAYER_SAMPLE
field_33218
field_33218
f_177890_
public static final String
e
MAP_RESOURCE_FILE
field_33209
RESOURCES_ZIP_FILE_NAME
f_177881_
public static final File
f
USERID_CACHE_FILE
field_4588
USER_CACHE_FILE
f_129742_
public static final int
g
START_CHUNK_RADIUS
field_33210
START_TICKET_CHUNK_RADIUS
f_177882_
private static final int
x
START_TICKING_CHUNK_COUNT
field_33219
START_TICKET_CHUNKS
f_177891_
private static final int
y
AUTOSAVE_INTERVAL
field_33220
field_33220
f_177892_
private static final int
z
MAX_TICK_LATENCY
field_33221
field_33221
f_177893_
public static final int
h
ABSOLUTE_MAX_WORLD_SIZE
field_33211
MAX_WORLD_BORDER_RADIUS
f_177883_
public static final LevelSettings
i
DEMO_SETTINGS
field_17704
DEMO_LEVEL_INFO
f_129743_
private static final long
A
DELAYED_TASKS_TICK_EXTENSION
field_33205
MILLISECONDS_PER_TICK
f_177871_
protected final LevelStorageSource$LevelStorageAccess
j
storageSource
field_23784
session
f_129744_
protected final PlayerDataStorage
k
playerDataStorage
field_24371
saveHandler
f_129745_
private final Snooper
B
snooper
field_4582
snooper
f_129751_
private final List<Runnable>
C
tickables
field_4568
serverGuiTickables
f_129752_
private MetricsRecorder
D
metricsRecorder
field_22250
recorder
f_177872_
private ProfilerFiller
E
profiler
field_16258
profiler
f_129754_
private Consumer<ProfileResults>
F
onMetricsRecordingStopped
field_33975
recorderResultConsumer
f_177873_
private Consumer<Path>
G
onMetricsRecordingFinished
field_33976
recorderDumpConsumer
f_177874_
private boolean
H
willStartRecordingMetrics
field_33977
needsRecorderSetup
f_177875_
private MinecraftServer$TimeProfiler
I
debugCommandProfiler
field_33978
debugStart
f_177876_
private boolean
J
debugCommandProfilerDelayStart
field_33979
needsDebugSetup
f_177877_
private final ServerConnectionListener
K
connection
field_4563
networkIo
f_129755_
private final ChunkProgressListenerFactory
L
progressListenerFactory
field_17439
worldGenerationProgressListenerFactory
f_129756_
private final ServerStatus
M
status
field_4593
metadata
f_129757_
private final Random
N
random
field_4602
random
f_129758_
private final com.mojang.datafixers.DataFixer
O
fixerUpper
field_4587
dataFixer
f_129759_
private String
P
localIp
field_4585
serverIp
f_129760_
private int
Q
port
field_4555
serverPort
f_129761_
protected final RegistryAccess$RegistryHolder
l
registryHolder
field_25132
registryManager
f_129746_
private final Map<ResourceKey<Level>, ServerLevel>
R
levels
field_4589
worlds
f_129762_
private PlayerList
S
playerList
field_4550
playerManager
f_129763_
private volatile boolean
T
running
field_4544
running
f_129764_
private boolean
U
stopped
field_4561
stopped
f_129765_
private int
V
tickCount
field_4572
ticks
f_129766_
protected final Proxy
m
proxy
field_4599
proxy
f_129747_
private boolean
W
onlineMode
field_4543
onlineMode
f_129705_
private boolean
X
preventProxyConnections
field_4560
preventProxyConnections
f_129706_
private boolean
Y
pvp
field_4604
pvpEnabled
f_129707_
private boolean
Z
allowFlight
field_4554
flightEnabled
f_129708_
private String
aa
motd
field_4564
motd
f_129709_
private int
ab
playerIdleTimeout
field_4596
playerIdleTimeout
f_129711_
public final long[]
n
tickTimes
field_4573
lastTickLengths
f_129748_
private KeyPair
ac
keyPair
field_4552
keyPair
f_129712_
private String
ad
singleplayerName
field_4578
singlePlayerName
f_129713_
private boolean
ae
isDemo
field_4549
demo
f_129714_
private String
af
resourcePack
field_4607
resourcePackUrl
f_129715_
private String
ag
resourcePackHash
field_4584
resourcePackHash
f_129716_
private volatile boolean
ah
isReady
field_4547
loading
f_129717_
private long
ai
lastOverloadWarning
field_4557
lastTimeReference
f_129718_
private final com.mojang.authlib.minecraft.MinecraftSessionService
aj
sessionService
field_4603
sessionService
f_129721_
private final com.mojang.authlib.GameProfileRepository
ak
profileRepository
field_4608
gameProfileRepo
f_129722_
private final GameProfileCache
al
profileCache
field_4556
userCache
f_129723_
private long
am
lastServerStatus
field_4551
lastPlayerSampleUpdate
f_129724_
private final Thread
an
serverThread
field_16257
serverThread
f_129725_
private long
ao
nextTickTime
field_4571
timeReference
f_129726_
private long
ap
delayedTasksMaxNextTickTime
field_19248
nextTickTimestamp
f_129727_
private boolean
aq
mayHaveDelayedTasks
field_19249
waitingForNextTick
f_129728_
private final PackRepository
ar
packRepository
field_4595
dataPackManager
f_129730_
private final ServerScoreboard
as
scoreboard
field_4558
scoreboard
f_129731_
private CommandStorage
at
commandStorage
field_20850
dataCommandStorage
f_129732_
private final CustomBossEvents
au
customBossEvents
field_4548
bossBarManager
f_129733_
private final ServerFunctionManager
av
functionManager
field_4591
commandFunctionManager
f_129734_
private final FrameTimer
aw
frameTimer
field_16205
metricsData
f_129735_
private boolean
ax
enforceWhitelist
field_4570
enforceWhitelist
f_129736_
private float
ay
averageTickTime
field_4592
tickTime
f_129737_
private final Executor
az
executor
field_17200
workerExecutor
f_129738_
private String
aA
serverId
field_17601
serverId
f_129739_
private ServerResources
aB
resources
field_25318
serverResourceManager
f_129740_
private final StructureManager
aC
structureManager
field_24370
structureManager
f_129741_
protected final WorldData
o
worldData
field_24372
saveProperties
f_129749_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static <S extends MinecraftServer> S
a(Function<Thread, S> arg0)
spin(Function<Thread, S> arg0)
method_29740(Function<Thread, S> arg0)
startServer(Function<Thread, S> serverFactory)
m_129872_(Function<Thread, S> p_129873_)
private void
a(dhx arg0)
readScoreboard(DimensionDataStorage arg0)
method_17976(class_26 arg0)
initScoreboard(PersistentStateManager persistentStateManager)
m_129841_(C_2781_ arg0)
initializeScoreboards(WorldPersistentData arg0)
protected abstract boolean
e()
initServer()
method_3823()
setupServer()
m_7038_()
init()
public static void
a(dib$a arg0)
convertFromRegionFormatIfNeeded(LevelStorageSource$LevelStorageAccess arg0)
method_27725(class_32$class_5143 arg0)
convertLevel(LevelStorage$Session session)
m_129845_(C_2785_$C_2786_ p_129846_)
convertWorld(Convertable$ConversionSession arg0)
protected void
e_()
loadLevel()
method_3735()
loadWorld()
m_130006_()
loadWorld()
protected void
r()
forceDifficulty()
method_27731()
updateDifficulty()
m_7044_()
updateWorldSettings()
protected void
a(aca arg0)
createLevels(ChunkProgressListener arg0)
method_3786(class_3949 arg0)
createWorlds(WorldGenerationProgressListener worldGenerationProgressListener)
m_129815_(C_21_ arg0)
private static void
a(abr arg0, dih arg1, boolean arg2, boolean arg3)
setInitialSpawn(ServerLevel arg0, ServerLevelData arg1, boolean arg2, boolean arg3)
method_27901(class_3218 arg0, class_5268 arg1, boolean arg2, boolean arg3)
setupSpawn(ServerWorld world, ServerWorldProperties worldProperties, boolean bonusChest, boolean debugWorld)
m_177896_(C_12_ p_177897_, C_2794_ p_177898_, boolean p_177899_, boolean p_177900_)
private void
a(dii arg0)
setupDebugLevel(WorldData arg0)
method_17977(class_5219 arg0)
setToDebugWorldProperties(SaveProperties properties)
m_129847_(C_2795_ arg0)
private void
b(aca arg0)
prepareLevels(ChunkProgressListener arg0)
method_3774(class_3949 arg0)
prepareStartRegion(WorldGenerationProgressListener worldGenerationProgressListener)
m_129940_(C_21_ arg0)
loadSpawn(WorldLoadListener arg0)
protected void
f_()
detectBundledResources()
method_3861()
loadWorldResourcePack()
m_130007_()
loadResourcesZip()
public GameType
g_()
getDefaultGameType()
method_3790()
getDefaultGameMode()
m_130008_()
getGamemode()
public boolean
g()
isHardcore()
method_3754()
isHardcore()
m_7035_()
isHardcore()
public abstract int
h()
getOperatorUserPermissionLevel()
method_3798()
getOpPermissionLevel()
m_7022_()
public abstract int
i()
getFunctionCompilationLevel()
method_21714()
getFunctionPermissionLevel()
m_7034_()
public abstract boolean
j()
shouldRconBroadcast()
method_3732()
shouldBroadcastRconToOps()
m_6983_()
public boolean
a(boolean arg0, boolean arg1, boolean arg2)
saveAllChunks(boolean arg0, boolean arg1, boolean arg2)
method_3723(boolean arg0, boolean arg1, boolean arg2)
save(boolean suppressLogs, boolean flush, boolean force)
m_129885_(boolean p_129887_, boolean p_129888_, boolean arg2)
saveChunks(boolean arg0, boolean arg1, boolean arg2)
public void
close()
close()
close()
public void
u()
stopServer()
method_3782()
shutdown()
m_7041_()
stop()
public String
v()
getLocalIp()
method_3819()
getServerIp()
m_130009_()
getServerIp()
public void
a_(String arg0)
setLocalIp(String arg0)
method_3842(String arg0)
setServerIp(String serverIp)
m_129913_(String arg0)
public boolean
w()
isRunning()
method_3806()
isRunning()
m_130010_()
isRunning()
public void
a(boolean arg0)
halt(boolean arg0)
method_3747(boolean arg0)
stop(boolean arg0)
m_7570_(boolean arg0)
safeShutdown(boolean arg0)
protected void
x()
runServer()
method_29741()
runServer()
m_130011_()
private boolean
be()
haveTime()
method_3866()
shouldKeepTicking()
m_129960_()
canSleepForTick()
protected void
y()
waitUntilNextTick()
method_16208()
runTasksTillTickEnd()
m_130012_()
sleepForTick()
protected TickTask
a(Runnable arg0)
wrapRunnable(Runnable arg0)
method_16209(Runnable arg0)
createTask(Runnable arg0)
m_6681_(Runnable arg0)
postToMainThread(Runnable arg0)
protected boolean
a(xm arg0)
shouldRun(TickTask arg0)
method_19464(class_3738 arg0)
canExecute(ServerTask arg0)
m_6362_(C_5288_ arg0)
public boolean
z()
pollTask()
method_16075()
runTask()
m_7245_()
executeNext()
private boolean
bf()
pollTaskInternal()
method_20415()
runOneTask()
m_129961_()
protected void
b(xm arg0)
doRunTask(TickTask arg0)
method_24306(class_3738 arg0)
executeTask(ServerTask arg0)
m_6367_(C_5288_ arg0)
private void
a(wa arg0)
updateStatusIcon(ServerStatus arg0)
method_3791(class_2926 arg0)
setFavicon(ServerMetadata metadata)
m_129878_(C_5216_ arg0)
public Optional<Path>
A()
getWorldScreenshotFile()
method_3725()
getIconFile()
m_182649_()
public File
B()
getServerDirectory()
method_3831()
getRunDirectory()
m_6237_()
protected void
a(q arg0)
onServerCrash(CrashReport arg0)
method_3744(class_128 arg0)
setCrashReport(CrashReport report)
m_7268_(C_4883_ arg0)
public void
f()
onServerExit()
method_3821()
exit()
m_6988_()
exit()
public void
a(BooleanSupplier arg0)
tickServer(BooleanSupplier arg0)
method_3748(BooleanSupplier arg0)
tick(BooleanSupplier shouldKeepTicking)
m_5705_(BooleanSupplier arg0)
public void
b(BooleanSupplier arg0)
tickChildren(BooleanSupplier arg0)
method_3813(BooleanSupplier arg0)
tickWorlds(BooleanSupplier shouldKeepTicking)
m_5703_(BooleanSupplier arg0)
public boolean
C()
isNetherEnabled()
method_3839()
isNetherAllowed()
m_7079_()
getAllowNether()
public void
b(Runnable arg0)
addTickable(Runnable arg0)
method_3742(Runnable arg0)
addServerGuiTickable(Runnable tickable)
m_129946_(Runnable arg0)
protected void
b(String arg0)
setId(String arg0)
method_17819(String arg0)
setServerId(String serverId)
m_129948_(String arg0)
public boolean
D()
isShutdown()
method_16043()
isStopping()
m_129782_()
public File
c(String arg0)
getFile(String arg0)
method_3758(String arg0)
getFile(String path)
m_129971_(String arg0)
public final ServerLevel
E()
overworld()
method_30002()
getOverworld()
m_129783_()
public ServerLevel
a(wv<bwq> arg0)
getLevel(ResourceKey<Level> arg0)
method_3847(class_5321<class_1937> arg0)
getWorld(RegistryKey<World> key)
m_129880_(C_5264_<C_1596_> arg0)
getWorldServer(ResourceKey<World> arg0)
public Set<ResourceKey<Level>>
F()
levelKeys()
method_29435()
getWorldRegistryKeys()
m_129784_()
public Iterable<ServerLevel>
G()
getAllLevels()
method_3738()
getWorlds()
m_129785_()
getWorlds()
public String
H()
getServerVersion()
method_3827()
getVersion()
m_7630_()
getVersion()
public int
I()
getPlayerCount()
method_3788()
getCurrentPlayerCount()
m_7416_()
getPlayerCount()
public int
J()
getMaxPlayers()
method_3802()
getMaxPlayerCount()
m_7418_()
getMaxPlayers()
public String[]
K()
getPlayerNames()
method_3858()
getPlayerNames()
m_7641_()
getPlayers()
public String
getServerModName()
getServerModName()
m_130001_()
public SystemReport
b(ac arg0)
fillSystemReport(SystemReport arg0)
method_37324(class_6396 arg0)
addSystemDetails(SystemDetails details)
m_177935_(C_140956_ arg0)
public abstract SystemReport
a(ac arg0)
fillServerSystemReport(SystemReport arg0)
method_3859(class_6396 arg0)
addExtraSystemDetails(SystemDetails details)
m_142424_(C_140956_ arg0)
public abstract Optional<String>
p()
getModdedStatus()
method_24307()
getModdedStatusMessage()
m_6730_()
getModded()
public void
a(os arg0, UUID arg1)
sendMessage(Component arg0, UUID arg1)
method_9203(class_2561 arg0, UUID arg1)
sendSystemMessage(Text arg0, UUID arg1)
m_6352_(C_4996_ p_129877_, UUID arg1)
sendMessage(IChatBaseComponent arg0, UUID arg1)
public KeyPair
L()
getKeyPair()
method_3716()
getKeyPair()
m_129790_()
getKeyPair()
public int
M()
getPort()
method_3756()
getServerPort()
m_7010_()
getPort()
public void
a(int arg0)
setPort(int arg0)
method_3779(int arg0)
setServerPort(int serverPort)
m_129801_(int arg0)
setPort(int arg0)
public String
N()
getSingleplayerName()
method_3811()
getSinglePlayerName()
m_129791_()
getSinglePlayerName()
public void
d(String arg0)
setSingleplayerName(String arg0)
method_3849(String arg0)
setSinglePlayerName(String singlePlayerName)
m_129981_(String arg0)
public boolean
O()
isSingleplayer()
method_3724()
isSingleplayer()
m_129792_()
isEmbeddedServer()
protected void
P()
initializeKeyPair()
method_31400()
generateKeyPair()
m_129793_()
public void
a(ary arg0, boolean arg1)
setDifficulty(Difficulty arg0, boolean arg1)
method_3776(class_1267 arg0, boolean arg1)
setDifficulty(Difficulty difficulty, boolean forceUpdate)
m_129827_(C_468_ p_129829_, boolean arg1)
public int
b(int arg0)
getScaledTrackingDistance(int arg0)
method_27903(int arg0)
adjustTrackingDistance(int initialDistance)
m_7186_(int arg0)
private void
bg()
updateMobSpawningFlags()
method_27729()
updateMobSpawnOptions()
m_129962_()
updateSpawnFlags()
public void
b(boolean arg0)
setDifficultyLocked(boolean arg0)
method_19467(boolean arg0)
setDifficultyLocked(boolean locked)
m_129958_(boolean arg0)
private void
c(abs arg0)
sendDifficultyUpdate(ServerPlayer arg0)
method_19465(class_3222 arg0)
sendDifficulty(ServerPlayerEntity player)
m_129938_(C_13_ arg0)
public boolean
Q()
isSpawningMonsters()
method_3783()
isMonsterSpawningEnabled()
m_7004_()
getSpawnMonsters()
public boolean
R()
isDemo()
method_3799()
isDemo()
m_129794_()
isDemoMode()
public void
c(boolean arg0)
setDemo(boolean arg0)
method_3730(boolean arg0)
setDemo(boolean demo)
m_129975_(boolean arg0)
public String
S()
getResourcePack()
method_3784()
getResourcePackUrl()
m_129795_()
getResourcePack()
public String
T()
getResourcePackHash()
method_3805()
getResourcePackHash()
m_129796_()
getResourcePackHash()
public void
a(String arg0, String arg1)
setResourcePack(String arg0, String arg1)
method_3843(String arg0, String arg1)
setResourcePack(String url, String hash)
m_129853_(String p_129855_, String arg1)
setResourcePack(String arg0, String arg1)
public void
a(asi arg0)
populateSnooper(Snooper arg0)
method_5495(class_1276 arg0)
addSnooperInfo(Snooper arg0)
m_7108_(C_481_ arg0)
public void
b(asi arg0)
populateSnooperInitial(Snooper arg0)
method_35034(class_1276 arg0)
addInitialSnooperInfo(Snooper arg0)
m_142423_(C_481_ arg0)
public boolean
U()
isSnooperEnabled()
method_35033()
isSnooperEnabled()
m_142725_()
public abstract boolean
k()
isDedicatedServer()
method_3816()
isDedicated()
m_6982_()
public abstract int
l()
getRateLimitPacketsPerSecond()
method_30612()
getRateLimit()
m_7032_()
public boolean
V()
usesAuthentication()
method_3828()
isOnlineMode()
m_129797_()
getOnlineMode()
public void
d(boolean arg0)
setUsesAuthentication(boolean arg0)
method_3864(boolean arg0)
setOnlineMode(boolean onlineMode)
m_129985_(boolean arg0)
setOnlineMode(boolean arg0)
public boolean
W()
getPreventProxyConnections()
method_3775()
shouldPreventProxyConnections()
m_129798_()
public void
e(boolean arg0)
setPreventProxyConnections(boolean arg0)
method_3764(boolean arg0)
setPreventProxyConnections(boolean preventProxyConnections)
m_129993_(boolean arg0)
public boolean
X()
isSpawningAnimals()
method_3796()
shouldSpawnAnimals()
m_6998_()
getSpawnAnimals()
public boolean
Y()
areNpcsEnabled()
method_3736()
shouldSpawnNpcs()
m_6997_()
getSpawnNPCs()
public abstract boolean
m()
isEpollEnabled()
method_3759()
isUsingNativeTransport()
m_6994_()
public boolean
Z()
isPvpAllowed()
method_3852()
isPvpEnabled()
m_129799_()
getPVP()
public void
f(boolean arg0)
setPvpAllowed(boolean arg0)
method_3815(boolean arg0)
setPvpEnabled(boolean pvpEnabled)
m_129997_(boolean arg0)
setPVP(boolean arg0)
public boolean
aa()
isFlightAllowed()
method_3718()
isFlightEnabled()
m_129915_()
getAllowFlight()
public void
g(boolean arg0)
setFlightAllowed(boolean arg0)
method_3745(boolean arg0)
setFlightEnabled(boolean flightEnabled)
m_129999_(boolean arg0)
setAllowFlight(boolean arg0)
public abstract boolean
n()
isCommandBlockEnabled()
method_3812()
areCommandBlocksEnabled()
m_6993_()
getEnableCommandBlock()
public String
ab()
getMotd()
method_3818()
getServerMotd()
m_129916_()
getMotd()
public void
e(String arg0)
setMotd(String arg0)
method_3834(String arg0)
setMotd(String motd)
m_129989_(String arg0)
setMotd(String arg0)
public boolean
ac()
isStopped()
method_3750()
isStopped()
m_129918_()
isStopped()
public PlayerList
ad()
getPlayerList()
method_3760()
getPlayerManager()
m_6846_()
getPlayerList()
public void
a(aeh arg0)
setPlayerList(PlayerList arg0)
method_3846(class_3324 arg0)
setPlayerManager(PlayerManager playerManager)
m_129823_(C_102_ arg0)
public abstract boolean
o()
isPublished()
method_3860()
isRemote()
m_6992_()
public void
a(bwn arg0)
setDefaultGameType(GameType arg0)
method_3838(class_1934 arg0)
setDefaultGameMode(GameMode gameMode)
m_7835_(C_1593_ arg0)
public ServerConnectionListener
ae()
getConnection()
method_3787()
getNetworkIo()
m_129919_()
getServerConnection()
public boolean
af()
isReady()
method_3820()
isLoading()
m_129920_()
public boolean
ag()
hasGui()
method_3727()
hasGui()
m_6370_()
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 gameMode, boolean cheatsAllowed, int port)
m_7386_(C_1593_ p_129834_, boolean p_129835_, int arg2)
public int
ah()
getTickCount()
method_3780()
getTicks()
m_129921_()
public Snooper
ai()
getSnooper()
method_3795()
getSnooper()
m_129922_()
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 world, BlockPos pos, PlayerEntity player)
m_7762_(C_12_ p_129812_, C_4675_ p_129813_, C_1141_ arg2)
public boolean
ak()
repliesToStatus()
method_27902()
acceptsStatusQuery()
m_6373_()
public Proxy
al()
getProxy()
method_36113()
getProxy()
m_177930_()
public int
am()
getPlayerIdleTimeout()
method_3862()
getPlayerIdleTimeout()
m_129924_()
getIdleTimeout()
public void
c(int arg0)
setPlayerIdleTimeout(int arg0)
method_3803(int arg0)
setPlayerIdleTimeout(int playerIdleTimeout)
m_7196_(int arg0)
setIdleTimeout(int arg0)
public com.mojang.authlib.minecraft.MinecraftSessionService
an()
getSessionService()
method_3844()
getSessionService()
m_129925_()
getMinecraftSessionService()
public com.mojang.authlib.GameProfileRepository
ao()
getProfileRepository()
method_3719()
getGameProfileRepo()
m_129926_()
getGameProfileRepository()
public GameProfileCache
ap()
getProfileCache()
method_3793()
getUserCache()
m_129927_()
getUserCache()
public ServerStatus
aq()
getStatus()
method_3765()
getServerMetadata()
m_129928_()
getServerPing()
public void
ar()
invalidateStatus()
method_3856()
forcePlayerSampleUpdate()
m_129929_()
invalidatePingSample()
public int
as()
getAbsoluteMaxWorldSize()
method_3749()
getMaxWorldBorderRadius()
m_6329_()
public boolean
at()
scheduleExecutables()
method_5384()
shouldExecuteAsync()
m_5660_()
isNotMainThread()
public Thread
au()
getRunningThread()
method_3777()
getThread()
m_6304_()
getThread()
public int
av()
getCompressionThreshold()
method_3773()
getNetworkCompressionThreshold()
m_6328_()
public long
aw()
getNextTickTime()
method_3826()
getTimeReference()
m_129932_()
public com.mojang.datafixers.DataFixer
ax()
getFixerUpper()
method_3855()
getDataFixer()
m_129933_()
getDataFixer()
public int
a(abr arg0)
getSpawnRadius(ServerLevel arg0)
method_3829(class_3218 arg0)
getSpawnRadius(ServerWorld world)
m_129803_(C_12_ arg0)
public ServerAdvancementManager
ay()
getAdvancements()
method_3851()
getAdvancementLoader()
m_129889_()
getAdvancementData()
public ServerFunctionManager
az()
getFunctions()
method_3740()
getCommandFunctionManager()
m_129890_()
getFunctionData()
public CompletableFuture<Void>
a(Collection<String> arg0)
reloadResources(Collection<String> arg0)
method_29439(Collection<String> arg0)
reloadResources(Collection<String> datapacks)
m_129861_(Collection<String> arg0)
public static DataPackConfig
a(adi arg0, bwd arg1, boolean arg2)
configurePackRepository(PackRepository arg0, DataPackConfig arg1, boolean arg2)
method_29736(class_3283 arg0, class_5359 arg1, boolean arg2)
loadDataPacks(ResourcePackManager resourcePackManager, DataPackSettings dataPackSettings, boolean safeMode)
m_129819_(C_62_ p_129820_, C_1573_ p_129821_, boolean p_129822_)
private static DataPackConfig
a(adi arg0)
getSelectedPacks(PackRepository arg0)
method_29735(class_3283 arg0)
createDataPackSettings(ResourcePackManager dataPackManager)
m_129817_(C_62_ p_129818_)
public void
a(dl arg0)
kickUnlistedPlayers(CommandSourceStack arg0)
method_3728(class_2168 arg0)
kickNonWhitelistedPlayers(ServerCommandSource source)
m_129849_(C_2969_ arg0)
public PackRepository
aA()
getPackRepository()
method_3836()
getDataPackManager()
m_129891_()
getResourcePackRepository()
public Commands
aB()
getCommands()
method_3734()
getCommandManager()
m_129892_()
getCommandDispatcher()
public CommandSourceStack
aC()
createCommandSourceStack()
method_3739()
getCommandSource()
m_129893_()
getServerCommandListener()
public boolean
h_()
acceptsSuccess()
method_9200()
shouldReceiveFeedback()
m_6999_()
shouldSendSuccess()
public boolean
i_()
acceptsFailure()
method_9202()
shouldTrackOutput()
m_7028_()
shouldSendFailure()
public abstract boolean
E_()
shouldInformAdmins()
method_9201()
shouldBroadcastConsoleToOps()
m_6102_()
shouldBroadcastCommands()
public RecipeManager
aD()
getRecipeManager()
method_3772()
getRecipeManager()
m_129894_()
getCraftingManager()
public TagContainer
aE()
getTags()
method_3801()
getTagManager()
m_129895_()
getTagRegistry()
public ServerScoreboard
aF()
getScoreboard()
method_3845()
getScoreboard()
m_129896_()
getScoreboard()
public CommandStorage
aG()
getCommandStorage()
method_22827()
getDataCommandStorage()
m_129897_()
public LootTables
aH()
getLootTables()
method_3857()
getLootManager()
m_129898_()
getLootTableRegistry()
public PredicateManager
aI()
getPredicateManager()
method_22828()
getPredicateManager()
m_129899_()
getLootPredicateManager()
public ItemModifierManager
aJ()
getItemModifierManager()
method_32699()
getItemModifierManager()
m_177926_()
public GameRules
aK()
getGameRules()
method_3767()
getGameRules()
m_129900_()
getGameRules()
public CustomBossEvents
aL()
getCustomBossEvents()
method_3837()
getBossBarManager()
m_129901_()
getBossBattleCustomData()
public boolean
aM()
isEnforceWhitelist()
method_3729()
isEnforceWhitelist()
m_129902_()
isEnforceWhitelist()
public void
h(boolean arg0)
setEnforceWhitelist(boolean arg0)
method_3731(boolean arg0)
setEnforceWhitelist(boolean whitelistEnabled)
m_130004_(boolean arg0)
setEnforceWhitelist(boolean arg0)
public float
aN()
getAverageTickTime()
method_3830()
getTickTime()
m_129903_()
public int
b(com.mojang.authlib.GameProfile arg0)
getProfilePermissions(com.mojang.authlib.GameProfile arg0)
method_3835(com.mojang.authlib.GameProfile arg0)
getPermissionLevel(com.mojang.authlib.GameProfile profile)
m_129944_(com.mojang.authlib.GameProfile arg0)
public FrameTimer
aO()
getFrameTimer()
method_15876()
getMetricsData()
m_129904_()
public ProfilerFiller
aP()
getProfiler()
method_16044()
getProfiler()
m_129905_()
getMethodProfiler()
public abstract 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 profile)
m_7779_(com.mojang.authlib.GameProfile arg0)
public void
a(Path arg0)
dumpServerProperties(Path arg0)
method_37113(Path arg0)
dumpProperties(Path file)
m_142116_(Path arg0)
private void
b(Path arg0)
saveDebugReport(Path arg0)
method_21613(Path arg0)
dump(Path path)
m_129859_(Path arg0)
private void
c(Path arg0)
dumpMiscStats(Path arg0)
method_21692(Path arg0)
dumpStats(Path path)
m_129950_(Path arg0)
private void
d(Path arg0)
dumpGameRules(Path arg0)
method_21615(Path arg0)
dumpGamerules(Path path)
m_129983_(Path arg0)
private void
e(Path arg0)
dumpClasspath(Path arg0)
method_21616(Path arg0)
dumpClasspath(Path path)
m_129991_(Path arg0)
private void
f(Path arg0)
dumpThreads(Path arg0)
method_21713(Path arg0)
dumpThreads(Path path)
m_129995_(Path arg0)
private void
bh()
startMetricsRecordingTick()
method_24487()
startTickMetrics()
m_177945_()
private void
bi()
endMetricsRecordingTick()
method_24490()
endTickMetrics()
m_177946_()
public boolean
aQ()
isRecordingMetrics()
method_37321()
isRecorderActive()
m_177927_()
public void
a(Consumer<apu> arg0, Consumer<Path> arg1)
startRecordingMetrics(Consumer<ProfileResults> arg0, Consumer<Path> arg1)
method_37320(Consumer<class_3696> arg0, Consumer<Path> arg1)
setupRecorder(Consumer<ProfileResult> resultConsumer, Consumer<Path> dumpConsumer)
m_177923_(Consumer<C_441_> p_177925_, Consumer<Path> arg1)
public void
aR()
stopRecordingMetrics()
method_37322()
resetRecorder()
m_177928_()
public void
aS()
finishRecordingMetrics()
method_37323()
stopRecorder()
m_177929_()
public Path
a(dhz arg0)
getWorldPath(LevelResource arg0)
method_27050(class_5218 arg0)
getSavePath(WorldSavePath worldSavePath)
m_129843_(C_2783_ arg0)
public boolean
aT()
forceSynchronousWrites()
method_27051()
syncChunkWrites()
m_6365_()
isSyncChunkWrites()
public StructureManager
aU()
getStructureManager()
method_27727()
getStructureManager()
m_129909_()
getDefinedStructureManager()
public WorldData
aV()
getWorldData()
method_27728()
getSaveProperties()
m_129910_()
getSaveData()
public RegistryAccess
aW()
registryAccess()
method_30611()
getRegistryManager()
m_129911_()
getCustomRegistry()
public TextFilter
a(abs arg0)
createTextFilterForPlayer(ServerPlayer arg0)
method_31371(class_3222 arg0)
createFilterer(ServerPlayerEntity player)
m_7950_(C_13_ arg0)
public boolean
aX()
isResourcePackRequired()
method_32303()
requireResourcePack()
m_142205_()
public ServerPlayerGameMode
b(abs arg0)
createGameModeForPlayer(ServerPlayer arg0)
method_32816(class_3222 arg0)
getPlayerInteractionManager(ServerPlayerEntity player)
m_177933_(C_13_ arg0)
public GameType
aY()
getForcedGameType()
method_3761()
getForcedGameMode()
m_142359_()
public ResourceManager
aZ()
getResourceManager()
method_34864()
getResourceManager()
m_177941_()
public Component
ba()
getResourcePackPrompt()
method_36326()
getResourcePackPrompt()
m_141958_()
public boolean
bb()
isTimeProfilerRunning()
method_24488()
isDebugRunning()
m_177942_()
public void
bc()
startTimeProfiler()
method_3832()
startDebug()
m_177943_()
public ProfileResults
bd()
stopTimeProfiler()
method_24489()
stopDebug()
m_177944_()