net.minecraft.server

public abstract class MinecraftServer

extends ReentrantBlockableEventLoop<TickTask> implements ServerInfo, ChunkIOErrorReporter, CommandSource, AutoCloseable

All mapped superinterfaces:

ProfilerMeasured, ProcessorHandle, ServerInfo, ChunkIOErrorReporter, CommandSource

net.minecraft.server.MinecraftServer
net.minecraft.server.MinecraftServer
net.minecraft.server.MinecraftServer
net.minecraft.server.MinecraftServer
net.minecraft.server.MinecraftServer
net.minecraft.server.MinecraftServer

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
k
LOGGER
field_4546
LOGGER
f_129750_
public static final String
b
VANILLA_BRAND
field_34982
VANILLA
f_195495_
private static final float
l
AVERAGE_TICK_TIME_SMOOTHING
field_33212
field_33212
f_177884_
private static final int
m
TICK_STATS_SPAN
field_33213
field_33213
f_177885_
private static final long
n
OVERLOADED_THRESHOLD_NANOS
field_47143
OVERLOAD_THRESHOLD_NANOS
f_302524_
private static final int
o
OVERLOADED_TICKS_THRESHOLD
field_47144
field_47144
f_303374_
private static final long
p
OVERLOADED_WARNING_INTERVAL_NANOS
field_47145
OVERLOAD_WARNING_INTERVAL_NANOS
f_302842_
private static final int
q
OVERLOADED_TICKS_WARNING_INTERVAL
field_47146
field_47146
f_302898_
private static final long
r
STATUS_EXPIRE_TIME_NANOS
field_47147
PLAYER_SAMPLE_UPDATE_INTERVAL_NANOS
f_303358_
private static final long
s
PREPARE_LEVELS_DEFAULT_DELAY_NANOS
field_47148
PREPARE_START_REGION_TICK_DELAY_NANOS
f_303596_
private static final int
t
MAX_STATUS_PLAYER_SAMPLE
field_33218
field_33218
f_177890_
private static final int
u
SPAWN_POSITION_SEARCH_RADIUS
field_48466
field_48466
f_314478_
private static final int
v
AUTOSAVE_INTERVAL
field_33220
field_33220
f_177892_
private static final int
w
MIMINUM_AUTOSAVE_TICKS
field_47149
field_47149
f_303515_
private static final int
x
MAX_TICK_LATENCY
field_33221
field_33221
f_177893_
public static final int
c
ABSOLUTE_MAX_WORLD_SIZE
field_33211
MAX_WORLD_BORDER_RADIUS
f_177883_
public static final LevelSettings
d
DEMO_SETTINGS
field_17704
DEMO_LEVEL_INFO
f_129743_
public static final com.mojang.authlib.GameProfile
e
ANONYMOUS_PLAYER_PROFILE
field_35641
ANONYMOUS_PLAYER_PROFILE
f_195496_
protected final LevelStorageSource$LevelStorageAccess
f
storageSource
field_23784
session
f_129744_
protected final PlayerDataStorage
g
playerDataStorage
field_24371
saveHandler
f_129745_
private final List<Runnable>
y
tickables
field_4568
serverGuiTickables
f_129752_
private MetricsRecorder
z
metricsRecorder
field_22250
recorder
f_177872_
private ProfilerFiller
A
profiler
field_16258
profiler
f_129754_
private Consumer<ProfileResults>
B
onMetricsRecordingStopped
field_33975
recorderResultConsumer
f_177873_
private Consumer<Path>
C
onMetricsRecordingFinished
field_33976
recorderDumpConsumer
f_177874_
private boolean
D
willStartRecordingMetrics
field_33977
needsRecorderSetup
f_177875_
private MinecraftServer$TimeProfiler
E
debugCommandProfiler
field_33978
debugStart
f_177876_
private boolean
F
debugCommandProfilerDelayStart
field_33979
needsDebugSetup
f_177877_
private final ServerConnectionListener
G
connection
field_4563
networkIo
f_129755_
private final ChunkProgressListenerFactory
H
progressListenerFactory
field_17439
worldGenerationProgressListenerFactory
f_129756_
private ServerStatus
I
status
field_4593
metadata
f_129757_
private ServerStatus$Favicon
J
statusIcon
field_42958
favicon
f_271173_
private final RandomSource
K
random
field_4602
random
f_129758_
private final com.mojang.datafixers.DataFixer
L
fixerUpper
field_4587
dataFixer
f_129759_
private String
M
localIp
field_4585
serverIp
f_129760_
private int
N
port
field_4555
serverPort
f_129761_
private final LayeredRegistryAccess<RegistryLayer>
O
registries
field_25132
combinedDynamicRegistries
f_244176_
private final Map<ResourceKey<Level>, ServerLevel>
P
levels
field_4589
worlds
f_129762_
private PlayerList
Q
playerList
field_4550
playerManager
f_129763_
private volatile boolean
R
running
field_4544
running
f_129764_
private boolean
S
stopped
field_4561
stopped
f_129765_
private int
T
tickCount
field_4572
ticks
f_129766_
private int
U
ticksUntilAutosave
field_47135
ticksUntilAutosave
f_302260_
protected final Proxy
h
proxy
field_4599
proxy
f_129747_
private boolean
V
onlineMode
field_4543
onlineMode
f_129705_
private boolean
W
preventProxyConnections
field_4560
preventProxyConnections
f_129706_
private boolean
X
pvp
field_4604
pvpEnabled
f_129707_
private boolean
Y
allowFlight
field_4554
flightEnabled
f_129708_
private String
Z
motd
field_4564
motd
f_129709_
private int
aa
playerIdleTimeout
field_4596
playerIdleTimeout
f_129711_
private final long[]
ab
tickTimesNanos
field_47136
tickTimes
f_303727_
private long
ac
aggregatedTickTimesNanos
field_47137
recentTickTimesNanos
f_302883_
private KeyPair
ad
keyPair
field_4552
keyPair
f_129712_
private com.mojang.authlib.GameProfile
ae
singleplayerProfile
field_39214
hostProfile
f_236719_
private boolean
af
isDemo
field_4549
demo
f_129714_
private volatile boolean
ag
isReady
field_4547
loading
f_129717_
private long
ah
lastOverloadWarningNanos
field_47138
lastOverloadWarningNanos
f_302681_
protected final Services
i
services
field_39440
apiServices
f_236721_
private long
ai
lastServerStatus
field_4551
lastPlayerSampleUpdate
f_129724_
private final Thread
aj
serverThread
field_16257
serverThread
f_129725_
private long
ak
lastTickNanos
field_48773
prevFullTickLogTime
f_314161_
private long
al
taskExecutionStartNanos
field_48774
tasksStartTime
f_316583_
private long
am
idleTimeNanos
field_48775
waitTime
f_316472_
private long
an
nextTickTimeNanos
field_47139
tickStartTimeNanos
f_302313_
private long
ao
delayedTasksMaxNextTickTimeNanos
field_47140
tickEndTimeNanos
f_302364_
private boolean
ap
mayHaveDelayedTasks
field_19249
waitingForNextTick
f_129728_
private final PackRepository
aq
packRepository
field_4595
dataPackManager
f_129730_
private final ServerScoreboard
ar
scoreboard
field_4558
scoreboard
f_129731_
private CommandStorage
as
commandStorage
field_20850
dataCommandStorage
f_129732_
private final CustomBossEvents
at
customBossEvents
field_4548
bossBarManager
f_129733_
private final ServerFunctionManager
au
functionManager
field_4591
commandFunctionManager
f_129734_
private boolean
av
enforceWhitelist
field_4570
enforceWhitelist
f_129736_
private float
aw
smoothedTickTimeMillis
field_47141
averageTickTime
f_303084_
private final Executor
ax
executor
field_17200
workerExecutor
f_129738_
private String
ay
serverId
field_17601
serverId
f_129739_
private MinecraftServer$ReloadableResources
az
resources
field_25318
resourceManagerHolder
f_129740_
private final StructureTemplateManager
aA
structureTemplateManager
field_24370
structureTemplateManager
f_236720_
private final ServerTickRateManager
aB
tickRateManager
field_47142
tickManager
f_303645_
protected final WorldData
j
worldData
field_24372
saveProperties
f_129749_
private final PotionBrewing
aC
potionBrewing
field_51466
brewingRecipeRegistry
f_316552_
private volatile boolean
aD
isSaving
field_35437
saving
f_195494_
private static final AtomicReference<RuntimeException>
aE
fatalException
field_51917
WORLD_GEN_EXCEPTION
f_336607_

Constructor summary

ModifierConstructor
public (Thread serverThread, LevelStorageSource$LevelStorageAccess session, PackRepository dataPackManager, WorldStem saveLoader, Proxy proxy, com.mojang.datafixers.DataFixer dataFixer, Services apiServices, 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(eqz 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
t_()
loadLevel()
method_3735()
loadWorld()
m_130006_()
protected void
t()
forceDifficulty()
method_27731()
updateDifficulty()
m_7044_()
protected void
a(ard arg0)
createLevels(ChunkProgressListener arg0)
method_3786(class_3949 arg0)
createWorlds(WorldGenerationProgressListener worldGenerationProgressListener)
m_129815_(C_21_ arg0)
private static void
a(aqu arg0, erk 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(erl arg0)
setupDebugLevel(WorldData arg0)
method_17977(class_5219 arg0)
setToDebugWorldProperties(SaveProperties properties)
m_129847_(C_2795_ arg0)
private void
b(ard arg0)
prepareLevels(ChunkProgressListener arg0)
method_3774(class_3949 arg0)
prepareStartRegion(WorldGenerationProgressListener worldGenerationProgressListener)
m_129940_(C_21_ arg0)
public GameType
u_()
getDefaultGameType()
method_3790()
getDefaultGameMode()
m_130008_()
public boolean
j()
isHardcore()
method_3754()
isHardcore()
m_7035_()
public abstract int
k()
getOperatorUserPermissionLevel()
method_3798()
getOpPermissionLevel()
m_7022_()
public abstract int
l()
getFunctionCompilationLevel()
method_21714()
getFunctionPermissionLevel()
m_7034_()
public abstract boolean
m()
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
v()
stopServer()
method_3782()
shutdown()
m_7041_()
public String
w()
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
x()
isRunning()
method_3806()
isRunning()
m_130010_()
public void
a(boolean arg0)
halt(boolean arg0)
method_3747(boolean arg0)
stop(boolean waitForShutdown)
m_7570_(boolean arg0)
protected void
y()
runServer()
method_29741()
runServer()
m_130011_()
private void
br()
logFullTickTime()
method_56603()
pushFullTickLog()
m_321294_()
private void
bs()
startMeasuringTaskExecutionTime()
method_56604()
startTaskPerformanceLog()
m_320448_()
private void
bt()
finishMeasuringTaskExecutionTime()
method_56605()
pushPerformanceLogs()
m_321667_()
private static CrashReport
a(Throwable arg0)
constructOrExtractCrashReport(Throwable arg0)
method_40376(Throwable arg0)
createCrashReport(Throwable throwable)
m_206568_(Throwable p_206569_)
private boolean
bu()
haveTime()
method_3866()
shouldKeepTicking()
m_129960_()
public static boolean
z()
throwIfFatalException()
method_60584()
checkWorldGenException()
m_339664_()
public static void
a(RuntimeException arg0)
setFatalException(RuntimeException arg0)
method_60582(RuntimeException arg0)
setWorldGenException(RuntimeException exception)
m_339773_(RuntimeException p_343685_)
public void
b(BooleanSupplier arg0)
managedBlock(BooleanSupplier arg0)
method_18857(BooleanSupplier arg0)
runTasks(BooleanSupplier arg0)
m_18701_(BooleanSupplier arg0)
protected void
v_()
waitUntilNextTick()
method_16208()
runTasksTillTickEnd()
m_130012_()
public void
A()
waitForTasks()
method_20813()
waitForTasks()
m_5667_()
protected TickTask
a(Runnable arg0)
wrapRunnable(Runnable arg0)
method_16209(Runnable arg0)
createTask(Runnable arg0)
m_6681_(Runnable arg0)
protected boolean
a(aln arg0)
shouldRun(TickTask arg0)
method_19464(class_3738 arg0)
canExecute(ServerTask arg0)
m_6362_(C_5288_ arg0)
public boolean
B()
pollTask()
method_16075()
runTask()
m_7245_()
private boolean
bv()
pollTaskInternal()
method_20415()
runOneTask()
m_129961_()
protected void
b(aln arg0)
doRunTask(TickTask arg0)
method_24306(class_3738 arg0)
executeTask(ServerTask arg0)
m_6367_(C_5288_ arg0)
private Optional<ServerStatus$Favicon>
bD()
loadStatusIcon()
method_49384()
loadFavicon()
m_272273_()
public Optional<Path>
C()
getWorldScreenshotFile()
method_3725()
getIconFile()
m_182649_()
public Path
D()
getServerDirectory()
method_3831()
getRunDirectory()
m_6237_()
public void
a(o arg0)
onServerCrash(CrashReport arg0)
method_3744(class_128 arg0)
setCrashReport(CrashReport report)
m_7268_(C_4883_ arg0)
public void
i()
onServerExit()
method_3821()
exit()
m_6988_()
public boolean
E()
isPaused()
method_54809()
isPaused()
m_305863_()
public void
a(BooleanSupplier arg0)
tickServer(BooleanSupplier arg0)
method_3748(BooleanSupplier arg0)
tick(BooleanSupplier shouldKeepTicking)
m_5705_(BooleanSupplier arg0)
private void
a(long arg0)
logTickMethodTime(long arg0)
method_56602(long arg0)
pushTickLog(long tickStartTime)
m_319509_(long arg0)
private int
bE()
computeNextAutosaveInterval()
method_54837()
getAutosaveInterval()
m_307733_()
public void
F()
onTickRateChanged()
method_54831()
updateAutosaveTicks()
m_305364_()
protected abstract SampleLogger
f()
getTickTimeLogger()
method_56593()
getDebugSampleLog()
m_318596_()
public abstract boolean
g()
isTickTimeLoggingEnabled()
method_56626()
shouldPushTickTimeLog()
m_319241_()
private ServerStatus
bF()
buildServerStatus()
method_49385()
createMetadata()
m_271988_()
private ServerStatus$Players
bG()
buildPlayerStatus()
method_49386()
createMetadataPlayers()
m_271961_()
public void
c(BooleanSupplier arg0)
tickChildren(BooleanSupplier arg0)
method_3813(BooleanSupplier arg0)
tickWorlds(BooleanSupplier shouldKeepTicking)
m_5703_(BooleanSupplier arg0)
private void
b(aqu arg0)
synchronizeTime(ServerLevel arg0)
method_49750(class_3218 arg0)
sendTimeUpdatePackets(ServerWorld world)
m_276346_(C_12_ arg0)
public void
G()
forceTimeSynchronization()
method_49749()
sendTimeUpdatePackets()
m_276350_()
public boolean
a(dcw arg0)
isLevelEnabled(Level arg0)
method_60671(class_1937 arg0)
isWorldAllowed(World world)
m_7079_(C_1596_ arg0)
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
H()
isShutdown()
method_16043()
isStopping()
m_129782_()
public Path
c(String arg0)
getFile(String arg0)
method_3758(String arg0)
getPath(String path)
m_129971_(String arg0)
public final ServerLevel
I()
overworld()
method_30002()
getOverworld()
m_129783_()
public ServerLevel
a(akq<dcw> 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>>
J()
levelKeys()
method_29435()
getWorldRegistryKeys()
m_129784_()
public Iterable<ServerLevel>
K()
getAllLevels()
method_3738()
getWorlds()
m_129785_()
public String
L()
getServerVersion()
method_3827()
getVersion()
m_129786_()
public int
M()
getPlayerCount()
method_3788()
getCurrentPlayerCount()
m_129787_()
public int
N()
getMaxPlayers()
method_3802()
getMaxPlayerCount()
m_129788_()
public String[]
O()
getPlayerNames()
method_3858()
getPlayerNames()
m_7641_()
public String
getServerModName()
getServerModName()
getServerModName()
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
P()
getModdedStatus()
method_24307()
getModStatus()
m_183471_()
public void
a(wz arg0)
sendSystemMessage(Component arg0)
method_43496(class_2561 arg0)
sendMessage(Text arg0)
m_213846_(C_4996_ arg0)
public KeyPair
Q()
getKeyPair()
method_3716()
getKeyPair()
m_129790_()
public int
R()
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 com.mojang.authlib.GameProfile
S()
getSingleplayerProfile()
method_43824()
getHostProfile()
m_236731_()
public void
b(com.mojang.authlib.GameProfile arg0)
setSingleplayerProfile(com.mojang.authlib.GameProfile arg0)
method_43825(com.mojang.authlib.GameProfile arg0)
setHostProfile(com.mojang.authlib.GameProfile hostProfile)
m_236740_(com.mojang.authlib.GameProfile arg0)
public boolean
T()
isSingleplayer()
method_3724()
isSingleplayer()
m_129792_()
protected void
U()
initializeKeyPair()
method_31400()
generateKeyPair()
m_129793_()
public void
a(bqo 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
bH()
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(aqv arg0)
sendDifficultyUpdate(ServerPlayer arg0)
method_19465(class_3222 arg0)
sendDifficulty(ServerPlayerEntity player)
m_129938_(C_13_ arg0)
public boolean
V()
isSpawningMonsters()
method_3783()
isMonsterSpawningEnabled()
m_7004_()
public boolean
W()
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 Optional<MinecraftServer$ServerResourcePackInfo>
X()
getServerResourcePack()
method_43659()
getResourcePackProperties()
m_214042_()
public boolean
Y()
isResourcePackRequired()
method_32303()
requireResourcePack()
m_142205_()
public abstract boolean
n()
isDedicatedServer()
method_3816()
isDedicated()
m_6982_()
public abstract int
o()
getRateLimitPacketsPerSecond()
method_30612()
getRateLimit()
m_7032_()
public boolean
Z()
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
aa()
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
ab()
isSpawningAnimals()
method_3796()
shouldSpawnAnimals()
m_6998_()
public boolean
ac()
areNpcsEnabled()
method_3736()
shouldSpawnNpcs()
m_6997_()
public abstract boolean
p()
isEpollEnabled()
method_3759()
isUsingNativeTransport()
m_6994_()
public boolean
ad()
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
ae()
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
q()
isCommandBlockEnabled()
method_3812()
areCommandBlocksEnabled()
m_6993_()
public String
af()
getMotd()
method_3818()
getServerMotd()
m_129916_()
public void
d(String arg0)
setMotd(String arg0)
method_3834(String arg0)
setMotd(String motd)
m_129989_(String arg0)
public boolean
ag()
isStopped()
method_3750()
isStopped()
m_129918_()
public PlayerList
ah()
getPlayerList()
method_3760()
getPlayerManager()
m_6846_()
public void
a(aur arg0)
setPlayerList(PlayerList arg0)
method_3846(class_3324 arg0)
setPlayerManager(PlayerManager playerManager)
m_129823_(C_102_ arg0)
public abstract boolean
r()
isPublished()
method_3860()
isRemote()
m_6992_()
public void
a(dct arg0)
setDefaultGameType(GameType arg0)
method_3838(class_1934 arg0)
setDefaultGameMode(GameMode gameMode)
m_7835_(C_1593_ arg0)
public ServerConnectionListener
ai()
getConnection()
method_3787()
getNetworkIo()
m_129919_()
public boolean
aj()
isReady()
method_3820()
isLoading()
m_129920_()
public boolean
ak()
hasGui()
method_3727()
hasGui()
m_6370_()
public boolean
a(dct 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
al()
getTickCount()
method_3780()
getTicks()
m_129921_()
public int
am()
getSpawnProtectionRadius()
method_3841()
getSpawnProtectionRadius()
m_6396_()
public boolean
a(aqu arg0, jd arg1, cmx 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
an()
repliesToStatus()
method_27902()
acceptsStatusQuery()
m_6373_()
public boolean
ao()
hidesOnlinePlayers()
method_39424()
hideOnlinePlayers()
m_183306_()
public Proxy
ap()
getProxy()
method_36113()
getProxy()
m_177930_()
public int
aq()
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
ar()
getSessionService()
method_3844()
getSessionService()
m_129925_()
public SignatureValidator
as()
getProfileKeySignatureValidator()
method_44301()
getServicesSignatureVerifier()
m_284385_()
public com.mojang.authlib.GameProfileRepository
at()
getProfileRepository()
method_3719()
getGameProfileRepo()
m_129926_()
public GameProfileCache
au()
getProfileCache()
method_3793()
getUserCache()
m_129927_()
public ServerStatus
av()
getStatus()
method_3765()
getServerMetadata()
m_129928_()
public void
aw()
invalidateStatus()
method_3856()
forcePlayerSampleUpdate()
m_129929_()
public int
ax()
getAbsoluteMaxWorldSize()
method_3749()
getMaxWorldBorderRadius()
m_6329_()
public boolean
ay()
scheduleExecutables()
method_5384()
shouldExecuteAsync()
m_5660_()
public void
c(Runnable arg0)
executeIfPossible(Runnable arg0)
method_40000(Runnable arg0)
executeSync(Runnable arg0)
m_201446_(Runnable arg0)
public Thread
az()
getRunningThread()
method_3777()
getThread()
m_6304_()
public int
aA()
getCompressionThreshold()
method_3773()
getNetworkCompressionThreshold()
m_6328_()
public boolean
aB()
enforceSecureProfile()
method_43500()
shouldEnforceSecureProfile()
m_214005_()
public long
aC()
getNextTickTime()
method_3826()
getTimeReference()
m_129932_()
public com.mojang.datafixers.DataFixer
aD()
getFixerUpper()
method_3855()
getDataFixer()
m_129933_()
public int
a(aqu arg0)
getSpawnRadius(ServerLevel arg0)
method_3829(class_3218 arg0)
getSpawnRadius(ServerWorld world)
m_129803_(C_12_ arg0)
public ServerAdvancementManager
aE()
getAdvancements()
method_3851()
getAdvancementLoader()
m_129889_()
public ServerFunctionManager
aF()
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 WorldDataConfiguration
a(atp arg0, ddr arg1, boolean arg2, boolean arg3)
configurePackRepository(PackRepository arg0, WorldDataConfiguration arg1, boolean arg2, boolean arg3)
method_29736(class_3283 arg0, class_7712 arg1, boolean arg2, boolean arg3)
loadDataPacks(ResourcePackManager resourcePackManager, DataConfiguration dataConfiguration, boolean initMode, boolean safeMode)
m_246048_(C_62_ p_248681_, C_243530_ p_331931_, boolean p_249869_, boolean p_330480_)
private static WorldDataConfiguration
a(atp arg0, Collection<String> arg1, cpl arg2, boolean arg3)
configureRepositoryWithSelection(PackRepository arg0, Collection<String> arg1, FeatureFlagSet arg2, boolean arg3)
method_59848(class_3283 arg0, Collection<String> arg1, class_7699 arg2, boolean arg3)
loadDataPacks(ResourcePackManager resourcePackManager, Collection<String> enabledProfiles, FeatureSet enabledFeatures, boolean allowEnabling)
m_319199_(C_62_ p_331926_, Collection<String> p_333329_, C_243488_ p_331153_, boolean p_334241_)
private static void
a(atp arg0, cpl arg1)
enableForcedFeaturePacks(PackRepository arg0, FeatureFlagSet arg1)
method_59847(class_3283 arg0, class_7699 arg1)
forceEnableRequestedFeatures(ResourcePackManager resourcePackManager, FeatureSet enabledFeatures)
m_324483_(C_62_ p_335711_, C_243488_ p_335242_)
private static DataPackConfig
a(atp arg0, boolean arg1)
getSelectedPacks(PackRepository arg0, boolean arg1)
method_29735(class_3283 arg0, boolean arg1)
createDataPackSettings(ResourcePackManager dataPackManager, boolean allowEnabling)
m_129817_(C_62_ p_129818_, boolean p_334831_)
public void
a(et arg0)
kickUnlistedPlayers(CommandSourceStack arg0)
method_3728(class_2168 arg0)
kickNonWhitelistedPlayers(ServerCommandSource source)
m_129849_(C_2969_ arg0)
public PackRepository
aG()
getPackRepository()
method_3836()
getDataPackManager()
m_129891_()
public Commands
aH()
getCommands()
method_3734()
getCommandManager()
m_129892_()
public CommandSourceStack
aI()
createCommandSourceStack()
method_3739()
getCommandSource()
m_129893_()
public boolean
k_()
acceptsSuccess()
method_9200()
shouldReceiveFeedback()
m_6999_()
public boolean
w_()
acceptsFailure()
method_9202()
shouldTrackOutput()
m_7028_()
public abstract boolean
M_()
shouldInformAdmins()
method_9201()
shouldBroadcastConsoleToOps()
m_6102_()
public RecipeManager
aJ()
getRecipeManager()
method_3772()
getRecipeManager()
m_129894_()
public ServerScoreboard
aK()
getScoreboard()
method_3845()
getScoreboard()
m_129896_()
public CommandStorage
aL()
getCommandStorage()
method_22827()
getDataCommandStorage()
m_129897_()
public GameRules
aM()
getGameRules()
method_3767()
getGameRules()
m_129900_()
public CustomBossEvents
aN()
getCustomBossEvents()
method_3837()
getBossBarManager()
m_129901_()
public boolean
aO()
isEnforceWhitelist()
method_3729()
isEnforceWhitelist()
m_129902_()
public void
h(boolean arg0)
setEnforceWhitelist(boolean arg0)
method_3731(boolean arg0)
setEnforceWhitelist(boolean enforceWhitelist)
m_130004_(boolean arg0)
public float
aP()
getCurrentSmoothedTickTime()
method_54832()
getAverageTickTime()
m_304767_()
public ServerTickRateManager
aQ()
tickRateManager()
method_54833()
getTickManager()
m_306290_()
public long
aR()
getAverageTickTimeNanos()
method_54834()
getAverageNanosPerTick()
m_304840_()
public long[]
aS()
getTickTimesNanos()
method_54835()
getTickTimes()
m_307378_()
public int
c(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 ProfilerFiller
aT()
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
bI()
startMetricsRecordingTick()
method_24487()
startTickMetrics()
m_177945_()
public void
aU()
endMetricsRecordingTick()
method_24490()
endTickMetrics()
m_177946_()
public boolean
aV()
isRecordingMetrics()
method_37321()
isRecorderActive()
m_177927_()
public void
a(Consumer<bne> 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
aW()
stopRecordingMetrics()
method_37322()
resetRecorder()
m_177928_()
public void
aX()
finishRecordingMetrics()
method_37323()
stopRecorder()
m_177929_()
public void
aY()
cancelRecordingMetrics()
method_42062()
forceStopRecorder()
m_236737_()
public Path
a(erd arg0)
getWorldPath(LevelResource arg0)
method_27050(class_5218 arg0)
getSavePath(WorldSavePath worldSavePath)
m_129843_(C_2783_ arg0)
public boolean
aZ()
forceSynchronousWrites()
method_27051()
syncChunkWrites()
m_6365_()
public StructureTemplateManager
ba()
getStructureManager()
method_27727()
getStructureTemplateManager()
m_236738_()
public WorldData
bb()
getWorldData()
method_27728()
getSaveProperties()
m_129910_()
public RegistryAccess$Frozen
bc()
registryAccess()
method_30611()
getRegistryManager()
m_206579_()
public LayeredRegistryAccess<RegistryLayer>
bd()
registries()
method_46221()
getCombinedDynamicRegistries()
m_247573_()
public ReloadableServerRegistries$Holder
be()
reloadableRegistries()
method_58576()
getReloadableRegistries()
m_323018_()
public TextFilter
a(aqv arg0)
createTextFilterForPlayer(ServerPlayer arg0)
method_31371(class_3222 arg0)
createFilterer(ServerPlayerEntity player)
m_7950_(C_13_ arg0)
public ServerPlayerGameMode
b(aqv arg0)
createGameModeForPlayer(ServerPlayer arg0)
method_32816(class_3222 arg0)
getPlayerInteractionManager(ServerPlayerEntity player)
m_177933_(C_13_ arg0)
public GameType
bf()
getForcedGameType()
method_3761()
getForcedGameMode()
m_142359_()
public ResourceManager
bg()
getResourceManager()
method_34864()
getResourceManager()
m_177941_()
public boolean
bh()
isCurrentlySaving()
method_39219()
isSaving()
m_195518_()
public boolean
bi()
isTimeProfilerRunning()
method_24488()
isDebugRunning()
m_177942_()
public void
bj()
startTimeProfiler()
method_3832()
startDebug()
m_177943_()
public ProfileResults
bk()
stopTimeProfiler()
method_24489()
stopDebug()
m_177944_()
public int
bl()
getMaxChainedNeighborUpdates()
method_41239()
getMaxChainedNeighborUpdates()
m_213994_()
public void
a(wz arg0, wv$a arg1, String arg2)
logChatMessage(Component arg0, ChatType$Bound arg1, String arg2)
method_43614(class_2561 arg0, class_2556$class_7602 arg1, String arg2)
logChatMessage(Text message, MessageType$Parameters params, String prefix)
m_241158_(C_4996_ p_241402_, C_4992_$C_240838_ p_241481_, String arg2)
public ChatDecorator
bm()
getChatDecorator()
method_43929()
getMessageDecorator()
m_236742_()
public boolean
bn()
logIPs()
method_52344()
shouldLogIps()
m_292975_()
public void
a(aqv arg0, bls arg1)
subscribeToDebugSample(ServerPlayer arg0, RemoteDebugSampleType arg1)
method_56625(class_3222 arg0, class_9192 arg1)
subscribeToDebugSample(ServerPlayerEntity player, DebugSampleType type)
m_320401_(C_13_ p_336217_, C_313536_ arg1)
public boolean
bo()
acceptsTransfers()
method_56040()
acceptsTransfers()
m_320782_()
private void
a(o arg0, dcd arg1, dws arg2)
storeChunkIoError(CrashReport arg0, ChunkPos arg1, RegionStorageInfo arg2)
method_61089(class_128 arg0, class_1923 arg1, class_9240 arg2)
writeChunkIoReport(CrashReport report, ChunkPos pos, StorageKey key)
m_338468_(C_4883_ p_342523_, C_1560_ p_343084_, C_313747_ arg2)
public void
a(Throwable arg0, dws arg1, dcd arg2)
reportChunkLoadFailure(Throwable arg0, RegionStorageInfo arg1, ChunkPos arg2)
method_57821(Throwable arg0, class_9240 arg1, class_1923 arg2)
onChunkLoadFailure(Throwable arg0, StorageKey arg1, ChunkPos arg2)
m_293783_(Throwable p_344502_, C_313747_ p_330022_, C_1560_ arg2)
public void
b(Throwable arg0, dws arg1, dcd arg2)
reportChunkSaveFailure(Throwable arg0, RegionStorageInfo arg1, ChunkPos arg2)
method_57822(Throwable arg0, class_9240 arg1, class_1923 arg2)
onChunkSaveFailure(Throwable arg0, StorageKey arg1, ChunkPos arg2)
m_322794_(Throwable p_345051_, C_313747_ p_333073_, C_1560_ arg2)
public PotionBrewing
bp()
potionBrewing()
method_59777()
getBrewingRecipeRegistry()
m_323711_()
public ServerLinks
bq()
serverLinks()
method_60672()
getServerLinks()
m_338896_()