net.minecraft.server

public abstract class MinecraftServer

extends ReentrantBlockableEventLoop<TickTask> implements CommandSource, AutoCloseable

All mapped superinterfaces:

ProfilerMeasured, ProcessorHandle, 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
private static final org.apache.logging.log4j.Logger
r
LOGGER
field_4546
LOGGER
f_129750_
public static final String
b
VANILLA_BRAND
field_34982
VANILLA
f_195495_
private static final float
s
AVERAGE_TICK_TIME_SMOOTHING
field_33212
field_33212
f_177884_
private static final int
t
TICK_STATS_SPAN
field_33213
field_33213
f_177885_
public static final int
c
MS_PER_TICK
field_33206
field_33206
f_177878_
private static final int
u
OVERLOADED_THRESHOLD
field_33215
field_33215
f_177887_
private static final int
v
OVERLOADED_WARNING_INTERVAL
field_33216
field_33216
f_177888_
public static final String
d
LEVEL_STORAGE_PROTOCOL
field_33207
LEVEL_PROTOCOL_NAME
f_177879_
public static final String
e
LEVEL_STORAGE_SCHEMA
field_33208
LEVEL_PROTOCOL
f_177880_
private static final long
w
STATUS_EXPIRE_TIME_NS
field_33217
PLAYER_SAMPLE_UPDATE_INTERVAL
f_177889_
private static final int
x
MAX_STATUS_PLAYER_SAMPLE
field_33218
field_33218
f_177890_
public static final String
f
MAP_RESOURCE_FILE
field_33209
RESOURCES_ZIP_FILE_NAME
f_177881_
public static final File
g
USERID_CACHE_FILE
field_4588
USER_CACHE_FILE
f_129742_
public static final int
h
START_CHUNK_RADIUS
field_33210
START_TICKET_CHUNK_RADIUS
f_177882_
private static final int
y
START_TICKING_CHUNK_COUNT
field_33219
START_TICKET_CHUNKS
f_177891_
private static final int
z
AUTOSAVE_INTERVAL
field_33220
field_33220
f_177892_
private static final int
A
MAX_TICK_LATENCY
field_33221
field_33221
f_177893_
public static final int
i
ABSOLUTE_MAX_WORLD_SIZE
field_33211
MAX_WORLD_BORDER_RADIUS
f_177883_
public static final LevelSettings
j
DEMO_SETTINGS
field_17704
DEMO_LEVEL_INFO
f_129743_
private static final long
B
DELAYED_TASKS_TICK_EXTENSION
field_33205
MILLISECONDS_PER_TICK
f_177871_
public static final com.mojang.authlib.GameProfile
k
ANONYMOUS_PLAYER_PROFILE
field_35641
ANONYMOUS_PLAYER_PROFILE
f_195496_
protected final LevelStorageSource$LevelStorageAccess
l
storageSource
field_23784
session
f_129744_
protected final PlayerDataStorage
m
playerDataStorage
field_24371
saveHandler
f_129745_
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
n
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
o
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[]
p
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
q
worldData
field_24372
saveProperties
f_129749_
private volatile boolean
aD
isSaving
field_35437
saving
f_195494_

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(djj arg0)
readScoreboard(DimensionDataStorage arg0)
method_17976(class_26 arg0)
initScoreboard(PersistentStateManager persistentStateManager)
m_129841_(C_2781_ arg0)
protected abstract boolean
e()
initServer()
method_3823()
setupServer()
m_7038_()
protected void
f_()
loadLevel()
method_3735()
loadWorld()
m_130006_()
protected void
q()
forceDifficulty()
method_27731()
updateDifficulty()
m_7044_()
protected void
a(adr arg0)
createLevels(ChunkProgressListener arg0)
method_3786(class_3949 arg0)
createWorlds(WorldGenerationProgressListener worldGenerationProgressListener)
m_129815_(C_21_ arg0)
private static void
a(adi arg0, djs 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(djt arg0)
setupDebugLevel(WorldData arg0)
method_17977(class_5219 arg0)
setToDebugWorldProperties(SaveProperties properties)
m_129847_(C_2795_ arg0)
private void
b(adr arg0)
prepareLevels(ChunkProgressListener arg0)
method_3774(class_3949 arg0)
prepareStartRegion(WorldGenerationProgressListener worldGenerationProgressListener)
m_129940_(C_21_ arg0)
protected void
g_()
detectBundledResources()
method_3861()
loadWorldResourcePack()
m_130007_()
public GameType
h_()
getDefaultGameType()
method_3790()
getDefaultGameMode()
m_130008_()
public boolean
g()
isHardcore()
method_3754()
isHardcore()
m_7035_()
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)
public boolean
b(boolean arg0, boolean arg1, boolean arg2)
saveEverything(boolean arg0, boolean arg1, boolean arg2)
method_39218(boolean arg0, boolean arg1, boolean arg2)
saveAll(boolean suppressLogs, boolean flush, boolean force)
m_195514_(boolean p_195516_, boolean p_195517_, boolean arg2)
public void
close()
close()
close()
public void
t()
stopServer()
method_3782()
shutdown()
m_7041_()
public String
u()
getLocalIp()
method_3819()
getServerIp()
m_130009_()
public void
a_(String arg0)
setLocalIp(String arg0)
method_3842(String arg0)
setServerIp(String serverIp)
m_129913_(String arg0)
public boolean
v()
isRunning()
method_3806()
isRunning()
m_130010_()
public void
a(boolean arg0)
halt(boolean arg0)
method_3747(boolean arg0)
stop(boolean arg0)
m_7570_(boolean arg0)
protected void
w()
runServer()
method_29741()
runServer()
m_130011_()
private boolean
be()
haveTime()
method_3866()
shouldKeepTicking()
m_129960_()
protected void
x()
waitUntilNextTick()
method_16208()
runTasksTillTickEnd()
m_130012_()
protected TickTask
a(Runnable arg0)
wrapRunnable(Runnable arg0)
method_16209(Runnable arg0)
createTask(Runnable arg0)
m_6681_(Runnable arg0)
protected boolean
a(yx arg0)
shouldRun(TickTask arg0)
method_19464(class_3738 arg0)
canExecute(ServerTask arg0)
m_6362_(C_5288_ arg0)
public boolean
y()
pollTask()
method_16075()
runTask()
m_7245_()
private boolean
bf()
pollTaskInternal()
method_20415()
runOneTask()
m_129961_()
protected void
b(yx arg0)
doRunTask(TickTask arg0)
method_24306(class_3738 arg0)
executeTask(ServerTask arg0)
m_6367_(C_5288_ arg0)
private void
a(xk arg0)
updateStatusIcon(ServerStatus arg0)
method_3791(class_2926 arg0)
setFavicon(ServerMetadata metadata)
m_129878_(C_5216_ arg0)
public Optional<Path>
z()
getWorldScreenshotFile()
method_3725()
getIconFile()
m_182649_()
public File
A()
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_()
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
B()
isNetherEnabled()
method_3839()
isNetherAllowed()
m_7079_()
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
C()
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
D()
overworld()
method_30002()
getOverworld()
m_129783_()
public ServerLevel
a(yg<cad> arg0)
getLevel(ResourceKey<Level> arg0)
method_3847(class_5321<class_1937> arg0)
getWorld(RegistryKey<World> key)
m_129880_(C_5264_<C_1596_> arg0)
public Set<ResourceKey<Level>>
E()
levelKeys()
method_29435()
getWorldRegistryKeys()
m_129784_()
public Iterable<ServerLevel>
F()
getAllLevels()
method_3738()
getWorlds()
m_129785_()
public String
G()
getServerVersion()
method_3827()
getVersion()
m_7630_()
public int
H()
getPlayerCount()
method_3788()
getCurrentPlayerCount()
m_7416_()
public int
I()
getMaxPlayers()
method_3802()
getMaxPlayerCount()
m_7418_()
public String[]
J()
getPlayerNames()
method_3858()
getPlayerNames()
m_7641_()
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 ModCheck
K()
getModdedStatus()
method_24307()
getModStatus()
m_183471_()
public void
a(pz 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)
public KeyPair
L()
getKeyPair()
method_3716()
getKeyPair()
m_129790_()
public int
M()
getPort()
method_3756()
getServerPort()
m_7010_()
public void
a(int arg0)
setPort(int arg0)
method_3779(int arg0)
setServerPort(int serverPort)
m_129801_(int arg0)
public String
N()
getSingleplayerName()
method_3811()
getSinglePlayerName()
m_129791_()
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_()
protected void
P()
initializeKeyPair()
method_31400()
generateKeyPair()
m_129793_()
public void
a(avn 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_()
public void
b(boolean arg0)
setDifficultyLocked(boolean arg0)
method_19467(boolean arg0)
setDifficultyLocked(boolean locked)
m_129958_(boolean arg0)
private void
c(adj 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_()
public boolean
R()
isDemo()
method_3799()
isDemo()
m_129794_()
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_()
public String
T()
getResourcePackHash()
method_3805()
getResourcePackHash()
m_129796_()
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)
public abstract boolean
k()
isDedicatedServer()
method_3816()
isDedicated()
m_6982_()
public abstract int
l()
getRateLimitPacketsPerSecond()
method_30612()
getRateLimit()
m_7032_()
public boolean
U()
usesAuthentication()
method_3828()
isOnlineMode()
m_129797_()
public void
d(boolean arg0)
setUsesAuthentication(boolean arg0)
method_3864(boolean arg0)
setOnlineMode(boolean onlineMode)
m_129985_(boolean arg0)
public boolean
V()
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
W()
isSpawningAnimals()
method_3796()
shouldSpawnAnimals()
m_6998_()
public boolean
X()
areNpcsEnabled()
method_3736()
shouldSpawnNpcs()
m_6997_()
public abstract boolean
m()
isEpollEnabled()
method_3759()
isUsingNativeTransport()
m_6994_()
public boolean
Y()
isPvpAllowed()
method_3852()
isPvpEnabled()
m_129799_()
public void
f(boolean arg0)
setPvpAllowed(boolean arg0)
method_3815(boolean arg0)
setPvpEnabled(boolean pvpEnabled)
m_129997_(boolean arg0)
public boolean
Z()
isFlightAllowed()
method_3718()
isFlightEnabled()
m_129915_()
public void
g(boolean arg0)
setFlightAllowed(boolean arg0)
method_3745(boolean arg0)
setFlightEnabled(boolean flightEnabled)
m_129999_(boolean arg0)
public abstract boolean
n()
isCommandBlockEnabled()
method_3812()
areCommandBlocksEnabled()
m_6993_()
public String
aa()
getMotd()
method_3818()
getServerMotd()
m_129916_()
public void
e(String arg0)
setMotd(String arg0)
method_3834(String arg0)
setMotd(String motd)
m_129989_(String arg0)
public boolean
ab()
isStopped()
method_3750()
isStopped()
m_129918_()
public PlayerList
ac()
getPlayerList()
method_3760()
getPlayerManager()
m_6846_()
public void
a(afy 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(caa arg0)
setDefaultGameType(GameType arg0)
method_3838(class_1934 arg0)
setDefaultGameMode(GameMode gameMode)
m_7835_(C_1593_ arg0)
public ServerConnectionListener
ad()
getConnection()
method_3787()
getNetworkIo()
m_129919_()
public boolean
ae()
isReady()
method_3820()
isLoading()
m_129920_()
public boolean
af()
hasGui()
method_3727()
hasGui()
m_6370_()
public boolean
a(caa 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
ag()
getTickCount()
method_3780()
getTicks()
m_129921_()
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 world, BlockPos pos, PlayerEntity player)
m_7762_(C_12_ p_129812_, C_4675_ p_129813_, C_1141_ arg2)
public boolean
ai()
repliesToStatus()
method_27902()
acceptsStatusQuery()
m_6373_()
public boolean
aj()
hidesOnlinePlayers()
method_39424()
hideOnlinePlayers()
m_183306_()
public Proxy
ak()
getProxy()
method_36113()
getProxy()
m_177930_()
public int
al()
getPlayerIdleTimeout()
method_3862()
getPlayerIdleTimeout()
m_129924_()
public void
c(int arg0)
setPlayerIdleTimeout(int arg0)
method_3803(int arg0)
setPlayerIdleTimeout(int playerIdleTimeout)
m_7196_(int arg0)
public com.mojang.authlib.minecraft.MinecraftSessionService
am()
getSessionService()
method_3844()
getSessionService()
m_129925_()
public com.mojang.authlib.GameProfileRepository
an()
getProfileRepository()
method_3719()
getGameProfileRepo()
m_129926_()
public GameProfileCache
ao()
getProfileCache()
method_3793()
getUserCache()
m_129927_()
public ServerStatus
ap()
getStatus()
method_3765()
getServerMetadata()
m_129928_()
public void
aq()
invalidateStatus()
method_3856()
forcePlayerSampleUpdate()
m_129929_()
public int
ar()
getAbsoluteMaxWorldSize()
method_3749()
getMaxWorldBorderRadius()
m_6329_()
public boolean
as()
scheduleExecutables()
method_5384()
shouldExecuteAsync()
m_5660_()
public Thread
at()
getRunningThread()
method_3777()
getThread()
m_6304_()
public int
au()
getCompressionThreshold()
method_3773()
getNetworkCompressionThreshold()
m_6328_()
public long
av()
getNextTickTime()
method_3826()
getTimeReference()
m_129932_()
public com.mojang.datafixers.DataFixer
aw()
getFixerUpper()
method_3855()
getDataFixer()
m_129933_()
public int
a(adi arg0)
getSpawnRadius(ServerLevel arg0)
method_3829(class_3218 arg0)
getSpawnRadius(ServerWorld world)
m_129803_(C_12_ arg0)
public ServerAdvancementManager
ax()
getAdvancements()
method_3851()
getAdvancementLoader()
m_129889_()
public ServerFunctionManager
ay()
getFunctions()
method_3740()
getCommandFunctionManager()
m_129890_()
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(aez arg0, bzr 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(aez arg0)
getSelectedPacks(PackRepository arg0)
method_29735(class_3283 arg0)
createDataPackSettings(ResourcePackManager dataPackManager)
m_129817_(C_62_ p_129818_)
public void
a(dm arg0)
kickUnlistedPlayers(CommandSourceStack arg0)
method_3728(class_2168 arg0)
kickNonWhitelistedPlayers(ServerCommandSource source)
m_129849_(C_2969_ arg0)
public PackRepository
az()
getPackRepository()
method_3836()
getDataPackManager()
m_129891_()
public Commands
aA()
getCommands()
method_3734()
getCommandManager()
m_129892_()
public CommandSourceStack
aB()
createCommandSourceStack()
method_3739()
getCommandSource()
m_129893_()
public boolean
i_()
acceptsSuccess()
method_9200()
shouldReceiveFeedback()
m_6999_()
public boolean
j_()
acceptsFailure()
method_9202()
shouldTrackOutput()
m_7028_()
public abstract boolean
F_()
shouldInformAdmins()
method_9201()
shouldBroadcastConsoleToOps()
m_6102_()
public RecipeManager
aC()
getRecipeManager()
method_3772()
getRecipeManager()
m_129894_()
public TagContainer
aD()
getTags()
method_3801()
getTagManager()
m_129895_()
public ServerScoreboard
aE()
getScoreboard()
method_3845()
getScoreboard()
m_129896_()
public CommandStorage
aF()
getCommandStorage()
method_22827()
getDataCommandStorage()
m_129897_()
public LootTables
aG()
getLootTables()
method_3857()
getLootManager()
m_129898_()
public PredicateManager
aH()
getPredicateManager()
method_22828()
getPredicateManager()
m_129899_()
public ItemModifierManager
aI()
getItemModifierManager()
method_32699()
getItemModifierManager()
m_177926_()
public GameRules
aJ()
getGameRules()
method_3767()
getGameRules()
m_129900_()
public CustomBossEvents
aK()
getCustomBossEvents()
method_3837()
getBossBarManager()
m_129901_()
public boolean
aL()
isEnforceWhitelist()
method_3729()
isEnforceWhitelist()
m_129902_()
public void
h(boolean arg0)
setEnforceWhitelist(boolean arg0)
method_3731(boolean arg0)
setEnforceWhitelist(boolean whitelistEnabled)
m_130004_(boolean arg0)
public float
aM()
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
aN()
getFrameTimer()
method_15876()
getMetricsData()
m_129904_()
public ProfilerFiller
aO()
getProfiler()
method_16044()
getProfiler()
m_129905_()
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
g(Path arg0)
dumpNativeModules(Path arg0)
method_38584(Path arg0)
dumpNativeModules(Path path)
m_195521_(Path arg0)
private void
bh()
startMetricsRecordingTick()
method_24487()
startTickMetrics()
m_177945_()
private void
bi()
endMetricsRecordingTick()
method_24490()
endTickMetrics()
m_177946_()
public boolean
aP()
isRecordingMetrics()
method_37321()
isRecorderActive()
m_177927_()
public void
a(Consumer<asg> 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
aQ()
stopRecordingMetrics()
method_37322()
resetRecorder()
m_177928_()
public void
aR()
finishRecordingMetrics()
method_37323()
stopRecorder()
m_177929_()
public Path
a(djl arg0)
getWorldPath(LevelResource arg0)
method_27050(class_5218 arg0)
getSavePath(WorldSavePath worldSavePath)
m_129843_(C_2783_ arg0)
public boolean
aS()
forceSynchronousWrites()
method_27051()
syncChunkWrites()
m_6365_()
public StructureManager
aT()
getStructureManager()
method_27727()
getStructureManager()
m_129909_()
public WorldData
aU()
getWorldData()
method_27728()
getSaveProperties()
m_129910_()
public RegistryAccess
aV()
registryAccess()
method_30611()
getRegistryManager()
m_129911_()
public TextFilter
a(adj arg0)
createTextFilterForPlayer(ServerPlayer arg0)
method_31371(class_3222 arg0)
createFilterer(ServerPlayerEntity player)
m_7950_(C_13_ arg0)
public boolean
aW()
isResourcePackRequired()
method_32303()
requireResourcePack()
m_142205_()
public ServerPlayerGameMode
b(adj arg0)
createGameModeForPlayer(ServerPlayer arg0)
method_32816(class_3222 arg0)
getPlayerInteractionManager(ServerPlayerEntity player)
m_177933_(C_13_ arg0)
public GameType
aX()
getForcedGameType()
method_3761()
getForcedGameMode()
m_142359_()
public ResourceManager
aY()
getResourceManager()
method_34864()
getResourceManager()
m_177941_()
public Component
aZ()
getResourcePackPrompt()
method_36326()
getResourcePackPrompt()
m_141958_()
public boolean
ba()
isCurrentlySaving()
method_39219()
isSaving()
m_195518_()
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_()