net.minecraft.server

public abstract class MinecraftServer

extends ReentrantBlockableEventLoop<TickTask> implements ServerInfo, ChunkIOErrorReporter, CommandSource

All mapped superinterfaces:

ProfilerMeasured, TaskScheduler, ServerInfo, ChunkIOErrorReporter, CommandSource

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
l
LOGGER
field_4546
LOGGER
public static final String
b
VANILLA_BRAND
field_34982
VANILLA
private static final float
m
AVERAGE_TICK_TIME_SMOOTHING
field_33212
field_33212
private static final int
n
TICK_STATS_SPAN
field_33213
field_33213
private static final long
o
OVERLOADED_THRESHOLD_NANOS
field_47143
OVERLOAD_THRESHOLD_NANOS
private static final int
p
OVERLOADED_TICKS_THRESHOLD
field_47144
field_47144
private static final long
q
OVERLOADED_WARNING_INTERVAL_NANOS
field_47145
OVERLOAD_WARNING_INTERVAL_NANOS
private static final int
r
OVERLOADED_TICKS_WARNING_INTERVAL
field_47146
field_47146
private static final long
s
STATUS_EXPIRE_TIME_NANOS
field_47147
PLAYER_SAMPLE_UPDATE_INTERVAL_NANOS
private static final long
t
PREPARE_LEVELS_DEFAULT_DELAY_NANOS
field_47148
PREPARE_START_REGION_TICK_DELAY_NANOS
private static final int
u
MAX_STATUS_PLAYER_SAMPLE
field_33218
field_33218
private static final int
v
SPAWN_POSITION_SEARCH_RADIUS
field_48466
field_48466
private static final int
w
AUTOSAVE_INTERVAL
field_33220
field_33220
private static final int
x
MIMINUM_AUTOSAVE_TICKS
field_47149
field_47149
private static final int
y
MAX_TICK_LATENCY
field_33221
field_33221
public static final int
c
ABSOLUTE_MAX_WORLD_SIZE
field_33211
MAX_WORLD_BORDER_RADIUS
public static final LevelSettings
d
DEMO_SETTINGS
field_17704
DEMO_LEVEL_INFO
public static final com.mojang.authlib.GameProfile
e
ANONYMOUS_PLAYER_PROFILE
field_35641
ANONYMOUS_PLAYER_PROFILE
protected final LevelStorageSource$LevelStorageAccess
f
storageSource
field_23784
session
protected final PlayerDataStorage
g
playerDataStorage
field_24371
saveHandler
private final List<Runnable>
z
tickables
field_4568
serverGuiTickables
private MetricsRecorder
A
metricsRecorder
field_22250
recorder
private Consumer<ProfileResults>
B
onMetricsRecordingStopped
field_33975
recorderResultConsumer
private Consumer<Path>
C
onMetricsRecordingFinished
field_33976
recorderDumpConsumer
private boolean
D
willStartRecordingMetrics
field_33977
needsRecorderSetup
private MinecraftServer$TimeProfiler
E
debugCommandProfiler
field_33978
debugStart
private boolean
F
debugCommandProfilerDelayStart
field_33979
needsDebugSetup
private final ServerConnectionListener
G
connection
field_4563
networkIo
private final ChunkProgressListenerFactory
H
progressListenerFactory
field_17439
worldGenerationProgressListenerFactory
private ServerStatus
I
status
field_4593
metadata
private ServerStatus$Favicon
J
statusIcon
field_42958
favicon
private final RandomSource
K
random
field_4602
random
private final com.mojang.datafixers.DataFixer
L
fixerUpper
field_4587
dataFixer
private String
M
localIp
field_4585
serverIp
private int
N
port
field_4555
serverPort
private final LayeredRegistryAccess<RegistryLayer>
O
registries
field_25132
combinedDynamicRegistries
private final Map<ResourceKey<Level>, ServerLevel>
P
levels
field_4589
worlds
private PlayerList
Q
playerList
field_4550
playerManager
private volatile boolean
R
running
field_4544
running
private boolean
S
stopped
field_4561
stopped
private int
T
tickCount
field_4572
ticks
private int
U
ticksUntilAutosave
field_47135
ticksUntilAutosave
protected final Proxy
h
proxy
field_4599
proxy
private boolean
V
onlineMode
field_4543
onlineMode
private boolean
W
preventProxyConnections
field_4560
preventProxyConnections
private boolean
X
pvp
field_4604
pvpEnabled
private boolean
Y
allowFlight
field_4554
flightEnabled
private String
Z
motd
field_4564
motd
private int
aa
playerIdleTimeout
field_4596
playerIdleTimeout
private final long[]
ab
tickTimesNanos
field_47136
tickTimes
private long
ac
aggregatedTickTimesNanos
field_47137
recentTickTimesNanos
private KeyPair
ad
keyPair
field_4552
keyPair
private com.mojang.authlib.GameProfile
ae
singleplayerProfile
field_39214
hostProfile
private boolean
af
isDemo
field_4549
demo
private volatile boolean
ag
isReady
field_4547
loading
private long
ah
lastOverloadWarningNanos
field_47138
lastOverloadWarningNanos
protected final Services
i
services
field_39440
apiServices
private long
ai
lastServerStatus
field_4551
lastPlayerSampleUpdate
private final Thread
aj
serverThread
field_16257
serverThread
private long
ak
lastTickNanos
field_48773
prevFullTickLogTime
private long
al
taskExecutionStartNanos
field_48774
tasksStartTime
private long
am
idleTimeNanos
field_48775
waitTime
private long
an
nextTickTimeNanos
field_47139
tickStartTimeNanos
private boolean
ao
waitingForNextTick
field_53718
waitingForNextTick
private long
ap
delayedTasksMaxNextTickTimeNanos
field_47140
tickEndTimeNanos
private boolean
aq
mayHaveDelayedTasks
field_19249
hasJustExecutedTask
private final PackRepository
ar
packRepository
field_4595
dataPackManager
private final ServerScoreboard
as
scoreboard
field_4558
scoreboard
private CommandStorage
at
commandStorage
field_20850
dataCommandStorage
private final CustomBossEvents
au
customBossEvents
field_4548
bossBarManager
private final ServerFunctionManager
av
functionManager
field_4591
commandFunctionManager
private boolean
aw
enforceWhitelist
field_4570
enforceWhitelist
private float
ax
smoothedTickTimeMillis
field_47141
averageTickTime
private final Executor
ay
executor
field_17200
workerExecutor
private String
az
serverId
field_17601
serverId
private MinecraftServer$ReloadableResources
aA
resources
field_25318
resourceManagerHolder
private final StructureTemplateManager
aB
structureTemplateManager
field_24370
structureTemplateManager
private final ServerTickRateManager
aC
tickRateManager
field_47142
tickManager
protected final WorldData
j
worldData
field_24372
saveProperties
private final PotionBrewing
aD
potionBrewing
field_51466
brewingRecipeRegistry
private FuelValues
aE
fuelValues
field_53715
fuelRegistry
private int
aF
emptyTicks
field_53716
idleTickCount
private volatile boolean
aG
isSaving
field_35437
saving
private static final AtomicReference<RuntimeException>
aH
fatalException
field_51917
WORLD_GEN_EXCEPTION
private final SuppressedExceptionCollector
aI
suppressedExceptions
field_53717
suppressedExceptionsTracker
private final com.mojang.jtracy.DiscontinuousFrame
aJ
tickFrame
field_54275
discontinuousFrame

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)
private void
a(evx arg0)
readScoreboard(DimensionDataStorage arg0)
method_17976(class_26 arg0)
initScoreboard(PersistentStateManager persistentStateManager)
protected abstract boolean
e()
initServer()
method_3823()
setupServer()
protected void
v_()
loadLevel()
method_3735()
loadWorld()
protected void
t()
forceDifficulty()
method_27731()
updateDifficulty()
protected void
a(asr arg0)
createLevels(ChunkProgressListener arg0)
method_3786(class_3949 arg0)
createWorlds(WorldGenerationProgressListener worldGenerationProgressListener)
private static void
a(ash arg0, ewi 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)
private void
a(ewj arg0)
setupDebugLevel(WorldData arg0)
method_17977(class_5219 arg0)
setToDebugWorldProperties(SaveProperties properties)
private void
b(asr arg0)
prepareLevels(ChunkProgressListener arg0)
method_3774(class_3949 arg0)
prepareStartRegion(WorldGenerationProgressListener worldGenerationProgressListener)
public GameType
u()
getDefaultGameType()
method_3790()
getDefaultGameMode()
public boolean
w_()
isHardcore()
method_3754()
isHardcore()
public abstract int
k()
getOperatorUserPermissionLevel()
method_3798()
getOpPermissionLevel()
public abstract int
l()
getFunctionCompilationLevel()
method_21714()
getFunctionPermissionLevel()
public abstract boolean
m()
shouldRconBroadcast()
method_3732()
shouldBroadcastRconToOps()
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)
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)
public void
close()
close()
public void
v()
stopServer()
method_3782()
shutdown()
public String
w()
getLocalIp()
method_3819()
getServerIp()
public void
a_(String arg0)
setLocalIp(String arg0)
method_3842(String arg0)
setServerIp(String serverIp)
public boolean
x()
isRunning()
method_3806()
isRunning()
public void
a(boolean arg0)
halt(boolean arg0)
method_3747(boolean arg0)
stop(boolean waitForShutdown)
protected void
y()
runServer()
method_29741()
runServer()
private void
br()
logFullTickTime()
method_56603()
pushFullTickLog()
private void
bs()
startMeasuringTaskExecutionTime()
method_56604()
startTaskPerformanceLog()
private void
bt()
finishMeasuringTaskExecutionTime()
method_56605()
pushPerformanceLogs()
private static CrashReport
b(Throwable arg0)
constructOrExtractCrashReport(Throwable arg0)
method_40376(Throwable arg0)
createCrashReport(Throwable throwable)
private boolean
bu()
haveTime()
method_3866()
shouldKeepTicking()
public static boolean
z()
throwIfFatalException()
method_60584()
checkWorldGenException()
public static void
a(RuntimeException arg0)
setFatalException(RuntimeException arg0)
method_60582(RuntimeException arg0)
setWorldGenException(RuntimeException exception)
public void
b(BooleanSupplier arg0)
managedBlock(BooleanSupplier arg0)
method_18857(BooleanSupplier arg0)
runTasks(BooleanSupplier arg0)
protected void
x_()
waitUntilNextTick()
method_16208()
runTasksTillTickEnd()
public void
A()
waitForTasks()
method_20813()
waitForTasks()
public TickTask
a(Runnable arg0)
wrapRunnable(Runnable arg0)
method_16209(Runnable arg0)
createTask(Runnable arg0)
protected boolean
a(amw arg0)
shouldRun(TickTask arg0)
method_19464(class_3738 arg0)
canExecute(ServerTask arg0)
public boolean
B()
pollTask()
method_16075()
runTask()
private boolean
bv()
pollTaskInternal()
method_20415()
runOneTask()
protected void
b(amw arg0)
doRunTask(TickTask arg0)
method_24306(class_3738 arg0)
executeTask(ServerTask arg0)
private Optional<ServerStatus$Favicon>
bC()
loadStatusIcon()
method_49384()
loadFavicon()
public Optional<Path>
C()
getWorldScreenshotFile()
method_3725()
getIconFile()
public Path
D()
getServerDirectory()
method_3831()
getRunDirectory()
public void
a(o arg0)
onServerCrash(CrashReport arg0)
method_3744(class_128 arg0)
setCrashReport(CrashReport report)
public void
i()
onServerExit()
method_3821()
exit()
public boolean
E()
isPaused()
method_54809()
isPaused()
public void
a(BooleanSupplier arg0)
tickServer(BooleanSupplier arg0)
method_3748(BooleanSupplier arg0)
tick(BooleanSupplier shouldKeepTicking)
private void
bD()
autoSave()
method_62734()
runAutosave()
private void
a(long arg0)
logTickMethodTime(long arg0)
method_56602(long arg0)
pushTickLog(long tickStartTime)
private int
bE()
computeNextAutosaveInterval()
method_54837()
getAutosaveInterval()
public void
F()
onTickRateChanged()
method_54831()
updateAutosaveTicks()
protected abstract SampleLogger
f()
getTickTimeLogger()
method_56593()
getDebugSampleLog()
public abstract boolean
g()
isTickTimeLoggingEnabled()
method_56626()
shouldPushTickTimeLog()
private ServerStatus
bF()
buildServerStatus()
method_49385()
createMetadata()
private ServerStatus$Players
bG()
buildPlayerStatus()
method_49386()
createMetadataPlayers()
protected void
c(BooleanSupplier arg0)
tickChildren(BooleanSupplier arg0)
method_3813(BooleanSupplier arg0)
tickWorlds(BooleanSupplier shouldKeepTicking)
public void
G()
tickConnection()
method_61254()
tickNetworkIo()
private void
b(ash arg0)
synchronizeTime(ServerLevel arg0)
method_49750(class_3218 arg0)
sendTimeUpdatePackets(ServerWorld world)
public void
H()
forceTimeSynchronization()
method_49749()
sendTimeUpdatePackets()
public boolean
a(dhi arg0)
isLevelEnabled(Level arg0)
method_60671(class_1937 arg0)
isWorldAllowed(World world)
public void
b(Runnable arg0)
addTickable(Runnable arg0)
method_3742(Runnable arg0)
addServerGuiTickable(Runnable tickable)
protected void
b(String arg0)
setId(String arg0)
method_17819(String arg0)
setServerId(String serverId)
public boolean
I()
isShutdown()
method_16043()
isStopping()
public Path
c(String arg0)
getFile(String arg0)
method_3758(String arg0)
getPath(String path)
public final ServerLevel
J()
overworld()
method_30002()
getOverworld()
public ServerLevel
a(aly<dhi> arg0)
getLevel(ResourceKey<Level> arg0)
method_3847(class_5321<class_1937> arg0)
getWorld(RegistryKey<World> key)
public Set<ResourceKey<Level>>
K()
levelKeys()
method_29435()
getWorldRegistryKeys()
public Iterable<ServerLevel>
L()
getAllLevels()
method_3738()
getWorlds()
public String
M()
getServerVersion()
method_3827()
getVersion()
public int
N()
getPlayerCount()
method_3788()
getCurrentPlayerCount()
public int
O()
getMaxPlayers()
method_3802()
getMaxPlayerCount()
public String[]
P()
getPlayerNames()
method_3858()
getPlayerNames()
public String
getServerModName()
getServerModName()
public SystemReport
b(ac arg0)
fillSystemReport(SystemReport arg0)
method_37324(class_6396 arg0)
addSystemDetails(SystemDetails details)
public abstract SystemReport
a(ac arg0)
fillServerSystemReport(SystemReport arg0)
method_3859(class_6396 arg0)
addExtraSystemDetails(SystemDetails details)
public ModCheck
Q()
getModdedStatus()
method_24307()
getModStatus()
public void
a(xv arg0)
sendSystemMessage(Component arg0)
method_43496(class_2561 arg0)
sendMessage(Text arg0)
public KeyPair
R()
getKeyPair()
method_3716()
getKeyPair()
public int
S()
getPort()
method_3756()
getServerPort()
public void
a(int arg0)
setPort(int arg0)
method_3779(int arg0)
setServerPort(int serverPort)
public com.mojang.authlib.GameProfile
T()
getSingleplayerProfile()
method_43824()
getHostProfile()
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)
public boolean
U()
isSingleplayer()
method_3724()
isSingleplayer()
protected void
V()
initializeKeyPair()
method_31400()
generateKeyPair()
public void
a(btg arg0, boolean arg1)
setDifficulty(Difficulty arg0, boolean arg1)
method_3776(class_1267 arg0, boolean arg1)
setDifficulty(Difficulty difficulty, boolean forceUpdate)
public int
b(int arg0)
getScaledTrackingDistance(int arg0)
method_27903(int arg0)
adjustTrackingDistance(int initialDistance)
private void
bH()
updateMobSpawningFlags()
method_27729()
updateMobSpawnOptions()
public void
b(boolean arg0)
setDifficultyLocked(boolean arg0)
method_19467(boolean arg0)
setDifficultyLocked(boolean locked)
private void
c(asi arg0)
sendDifficultyUpdate(ServerPlayer arg0)
method_19465(class_3222 arg0)
sendDifficulty(ServerPlayerEntity player)
public boolean
W()
isSpawningMonsters()
method_3783()
isMonsterSpawningEnabled()
public boolean
X()
isDemo()
method_3799()
isDemo()
public void
c(boolean arg0)
setDemo(boolean arg0)
method_3730(boolean arg0)
setDemo(boolean demo)
public Optional<MinecraftServer$ServerResourcePackInfo>
Y()
getServerResourcePack()
method_43659()
getResourcePackProperties()
public boolean
Z()
isResourcePackRequired()
method_32303()
requireResourcePack()
public abstract boolean
n()
isDedicatedServer()
method_3816()
isDedicated()
public abstract int
o()
getRateLimitPacketsPerSecond()
method_30612()
getRateLimit()
public boolean
aa()
usesAuthentication()
method_3828()
isOnlineMode()
public void
d(boolean arg0)
setUsesAuthentication(boolean arg0)
method_3864(boolean arg0)
setOnlineMode(boolean onlineMode)
public boolean
ab()
getPreventProxyConnections()
method_3775()
shouldPreventProxyConnections()
public void
e(boolean arg0)
setPreventProxyConnections(boolean arg0)
method_3764(boolean arg0)
setPreventProxyConnections(boolean preventProxyConnections)
public abstract boolean
p()
isEpollEnabled()
method_3759()
isUsingNativeTransport()
public boolean
ac()
isPvpAllowed()
method_3852()
isPvpEnabled()
public void
f(boolean arg0)
setPvpAllowed(boolean arg0)
method_3815(boolean arg0)
setPvpEnabled(boolean pvpEnabled)
public boolean
ad()
isFlightAllowed()
method_3718()
isFlightEnabled()
public void
g(boolean arg0)
setFlightAllowed(boolean arg0)
method_3745(boolean arg0)
setFlightEnabled(boolean flightEnabled)
public abstract boolean
q()
isCommandBlockEnabled()
method_3812()
areCommandBlocksEnabled()
public String
ae()
getMotd()
method_3818()
getServerMotd()
public void
d(String arg0)
setMotd(String arg0)
method_3834(String arg0)
setMotd(String motd)
public boolean
af()
isStopped()
method_3750()
isStopped()
public PlayerList
ag()
getPlayerList()
method_3760()
getPlayerManager()
public void
a(awi arg0)
setPlayerList(PlayerList arg0)
method_3846(class_3324 arg0)
setPlayerManager(PlayerManager playerManager)
public abstract boolean
r()
isPublished()
method_3860()
isRemote()
public void
a(dhf arg0)
setDefaultGameType(GameType arg0)
method_3838(class_1934 arg0)
setDefaultGameMode(GameMode gameMode)
public ServerConnectionListener
ah()
getConnection()
method_3787()
getNetworkIo()
public boolean
ai()
isReady()
method_3820()
isLoading()
public boolean
aj()
hasGui()
method_3727()
hasGui()
public boolean
a(dhf 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)
public int
ak()
getTickCount()
method_3780()
getTicks()
public int
al()
getSpawnProtectionRadius()
method_3841()
getSpawnProtectionRadius()
public boolean
a(ash arg0, jh arg1, cpx 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)
public boolean
am()
repliesToStatus()
method_27902()
acceptsStatusQuery()
public boolean
an()
hidesOnlinePlayers()
method_39424()
hideOnlinePlayers()
public Proxy
ao()
getProxy()
method_36113()
getProxy()
public int
ap()
getPlayerIdleTimeout()
method_3862()
getPlayerIdleTimeout()
public void
c(int arg0)
setPlayerIdleTimeout(int arg0)
method_3803(int arg0)
setPlayerIdleTimeout(int playerIdleTimeout)
public com.mojang.authlib.minecraft.MinecraftSessionService
aq()
getSessionService()
method_3844()
getSessionService()
public SignatureValidator
ar()
getProfileKeySignatureValidator()
method_44301()
getServicesSignatureVerifier()
public com.mojang.authlib.GameProfileRepository
as()
getProfileRepository()
method_3719()
getGameProfileRepo()
public GameProfileCache
at()
getProfileCache()
method_3793()
getUserCache()
public ServerStatus
au()
getStatus()
method_3765()
getServerMetadata()
public void
av()
invalidateStatus()
method_3856()
forcePlayerSampleUpdate()
public int
aw()
getAbsoluteMaxWorldSize()
method_3749()
getMaxWorldBorderRadius()
public boolean
ax()
scheduleExecutables()
method_5384()
shouldExecuteAsync()
public void
c(Runnable arg0)
executeIfPossible(Runnable arg0)
method_40000(Runnable arg0)
executeSync(Runnable arg0)
public Thread
ay()
getRunningThread()
method_3777()
getThread()
public int
az()
getCompressionThreshold()
method_3773()
getNetworkCompressionThreshold()
public boolean
aA()
enforceSecureProfile()
method_43500()
shouldEnforceSecureProfile()
public long
aB()
getNextTickTime()
method_3826()
getTimeReference()
public com.mojang.datafixers.DataFixer
aC()
getFixerUpper()
method_3855()
getDataFixer()
public int
a(ash arg0)
getSpawnRadius(ServerLevel arg0)
method_3829(class_3218 arg0)
getSpawnRadius(ServerWorld world)
public ServerAdvancementManager
aD()
getAdvancements()
method_3851()
getAdvancementLoader()
public ServerFunctionManager
aE()
getFunctions()
method_3740()
getCommandFunctionManager()
public CompletableFuture<Void>
a(Collection<String> arg0)
reloadResources(Collection<String> arg0)
method_29439(Collection<String> arg0)
reloadResources(Collection<String> dataPacks)
public static WorldDataConfiguration
a(avg arg0, dif 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)
private static WorldDataConfiguration
a(avg arg0, Collection<String> arg1, cst 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)
private static void
a(avg arg0, cst arg1)
enableForcedFeaturePacks(PackRepository arg0, FeatureFlagSet arg1)
method_59847(class_3283 arg0, class_7699 arg1)
forceEnableRequestedFeatures(ResourcePackManager resourcePackManager, FeatureSet enabledFeatures)
private static DataPackConfig
a(avg arg0, boolean arg1)
getSelectedPacks(PackRepository arg0, boolean arg1)
method_29735(class_3283 arg0, boolean arg1)
createDataPackSettings(ResourcePackManager dataPackManager, boolean allowEnabling)
public void
a(ew arg0)
kickUnlistedPlayers(CommandSourceStack arg0)
method_3728(class_2168 arg0)
kickNonWhitelistedPlayers(ServerCommandSource source)
public PackRepository
aF()
getPackRepository()
method_3836()
getDataPackManager()
public Commands
aG()
getCommands()
method_3734()
getCommandManager()
public CommandSourceStack
aH()
createCommandSourceStack()
method_3739()
getCommandSource()
public boolean
y_()
acceptsSuccess()
method_9200()
shouldReceiveFeedback()
public boolean
z_()
acceptsFailure()
method_9202()
shouldTrackOutput()
public abstract boolean
c()
shouldInformAdmins()
method_9201()
shouldBroadcastConsoleToOps()
public RecipeManager
aI()
getRecipeManager()
method_3772()
getRecipeManager()
public ServerScoreboard
aJ()
getScoreboard()
method_3845()
getScoreboard()
public CommandStorage
aK()
getCommandStorage()
method_22827()
getDataCommandStorage()
public GameRules
aL()
getGameRules()
method_3767()
getGameRules()
public CustomBossEvents
aM()
getCustomBossEvents()
method_3837()
getBossBarManager()
public boolean
aN()
isEnforceWhitelist()
method_3729()
isEnforceWhitelist()
public void
h(boolean arg0)
setEnforceWhitelist(boolean arg0)
method_3731(boolean arg0)
setEnforceWhitelist(boolean enforceWhitelist)
public float
aO()
getCurrentSmoothedTickTime()
method_54832()
getAverageTickTime()
public ServerTickRateManager
aP()
tickRateManager()
method_54833()
getTickManager()
public long
aQ()
getAverageTickTimeNanos()
method_54834()
getAverageNanosPerTick()
public long[]
aR()
getTickTimesNanos()
method_54835()
getTickTimes()
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)
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)
public void
a(Path arg0)
dumpServerProperties(Path arg0)
method_37113(Path arg0)
dumpProperties(Path file)
private void
b(Path arg0)
saveDebugReport(Path arg0)
method_21613(Path arg0)
dump(Path path)
private void
c(Path arg0)
dumpMiscStats(Path arg0)
method_21692(Path arg0)
dumpStats(Path path)
private void
d(Path arg0)
dumpGameRules(Path arg0)
method_21615(Path arg0)
dumpGamerules(Path path)
private void
e(Path arg0)
dumpClasspath(Path arg0)
method_21616(Path arg0)
dumpClasspath(Path path)
private void
f(Path arg0)
dumpThreads(Path arg0)
method_21713(Path arg0)
dumpThreads(Path path)
private void
g(Path arg0)
dumpNativeModules(Path arg0)
method_38584(Path arg0)
dumpNativeModules(Path path)
private ProfilerFiller
bI()
createProfiler()
method_16044()
startTickMetrics()
public void
aS()
endMetricsRecordingTick()
method_24490()
endTickMetrics()
public boolean
aT()
isRecordingMetrics()
method_37321()
isRecorderActive()
public void
a(Consumer<bpr> 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)
public void
aU()
stopRecordingMetrics()
method_37322()
resetRecorder()
public void
aV()
finishRecordingMetrics()
method_37323()
stopRecorder()
public void
aW()
cancelRecordingMetrics()
method_42062()
forceStopRecorder()
public Path
a(ewb arg0)
getWorldPath(LevelResource arg0)
method_27050(class_5218 arg0)
getSavePath(WorldSavePath worldSavePath)
public boolean
aX()
forceSynchronousWrites()
method_27051()
syncChunkWrites()
public StructureTemplateManager
aY()
getStructureManager()
method_27727()
getStructureTemplateManager()
public WorldData
aZ()
getWorldData()
method_27728()
getSaveProperties()
public RegistryAccess$Frozen
ba()
registryAccess()
method_30611()
getRegistryManager()
public LayeredRegistryAccess<RegistryLayer>
bb()
registries()
method_46221()
getCombinedDynamicRegistries()
public ReloadableServerRegistries$Holder
bc()
reloadableRegistries()
method_58576()
getReloadableRegistries()
public TextFilter
a(asi arg0)
createTextFilterForPlayer(ServerPlayer arg0)
method_31371(class_3222 arg0)
createFilterer(ServerPlayerEntity player)
public ServerPlayerGameMode
b(asi arg0)
createGameModeForPlayer(ServerPlayer arg0)
method_32816(class_3222 arg0)
getPlayerInteractionManager(ServerPlayerEntity player)
public GameType
bd()
getForcedGameType()
method_3761()
getForcedGameMode()
public ResourceManager
be()
getResourceManager()
method_34864()
getResourceManager()
public boolean
bf()
isCurrentlySaving()
method_39219()
isSaving()
public boolean
bg()
isTimeProfilerRunning()
method_24488()
isDebugRunning()
public void
bh()
startTimeProfiler()
method_3832()
startDebug()
public ProfileResults
bi()
stopTimeProfiler()
method_24489()
stopDebug()
public int
bj()
getMaxChainedNeighborUpdates()
method_41239()
getMaxChainedNeighborUpdates()
public void
a(xv arg0, xr$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)
public ChatDecorator
bk()
getChatDecorator()
method_43929()
getMessageDecorator()
public boolean
bl()
logIPs()
method_52344()
shouldLogIps()
public void
a(asi arg0, boe arg1)
subscribeToDebugSample(ServerPlayer arg0, RemoteDebugSampleType arg1)
method_56625(class_3222 arg0, class_9192 arg1)
subscribeToDebugSample(ServerPlayerEntity player, DebugSampleType type)
public boolean
bm()
acceptsTransfers()
method_56040()
acceptsTransfers()
private void
a(o arg0, dgo arg1, ebj 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)
public void
a(Throwable arg0, ebj arg1, dgo 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)
public void
b(Throwable arg0, ebj arg1, dgo 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)
public void
a(Throwable arg0, aae<?> arg1)
reportPacketHandlingException(Throwable arg0, PacketType<?> arg1)
method_62733(Throwable arg0, class_9145<?> arg1)
onPacketException(Throwable exception, PacketType<?> type)
public PotionBrewing
bn()
potionBrewing()
method_59777()
getBrewingRecipeRegistry()
public FuelValues
bo()
fuelValues()
method_62735()
getFuelRegistry()
public ServerLinks
bp()
serverLinks()
method_60672()
getServerLinks()
protected int
bq()
pauseWhileEmptySeconds()
method_61255()
getPauseWhenEmptySeconds()