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

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
m
LOGGER
field_4546
LOGGER
public static final String
b
VANILLA_BRAND
field_34982
VANILLA
private static final float
n
AVERAGE_TICK_TIME_SMOOTHING
field_33212
field_33212
private static final int
o
TICK_STATS_SPAN
field_33213
field_33213
private static final long
p
OVERLOADED_THRESHOLD_NANOS
field_47143
OVERLOAD_THRESHOLD_NANOS
private static final int
q
OVERLOADED_TICKS_THRESHOLD
field_47144
field_47144
private static final long
r
OVERLOADED_WARNING_INTERVAL_NANOS
field_47145
OVERLOAD_WARNING_INTERVAL_NANOS
private static final int
s
OVERLOADED_TICKS_WARNING_INTERVAL
field_47146
field_47146
private static final long
t
STATUS_EXPIRE_TIME_NANOS
field_47147
PLAYER_SAMPLE_UPDATE_INTERVAL_NANOS
private static final long
u
PREPARE_LEVELS_DEFAULT_DELAY_NANOS
field_47148
PREPARE_START_REGION_TICK_DELAY_NANOS
private static final int
v
MAX_STATUS_PLAYER_SAMPLE
field_33218
field_33218
public static final int
c
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
d
ABSOLUTE_MAX_WORLD_SIZE
field_33211
MAX_WORLD_BORDER_RADIUS
public static final LevelSettings
e
DEMO_SETTINGS
field_17704
DEMO_LEVEL_INFO
public static final com.mojang.authlib.GameProfile
f
ANONYMOUS_PLAYER_PROFILE
field_35641
ANONYMOUS_PLAYER_PROFILE
protected final LevelStorageSource$LevelStorageAccess
g
storageSource
field_23784
session
protected final PlayerDataStorage
h
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 LevelLoadListener
H
levelLoadListener
field_61872
chunkLoadProgress
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
i
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
j
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
lastFullTickLogTime
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
k
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, LevelLoadListener chunkLoadProgress)

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(fds arg0)
readScoreboard(DimensionDataStorage arg0)
method_17976(class_26 arg0)
initScoreboard(PersistentStateManager persistentStateManager)
protected abstract boolean
e()
initServer()
method_3823()
setupServer()
public ChunkLoadStatusView
a(int arg0)
createChunkLoadStatusView(int arg0)
method_73044(int arg0)
createChunkLoadMap(int radius)
protected void
w_()
loadLevel()
method_3735()
loadWorld()
protected void
t()
forceDifficulty()
method_27731()
updateDifficulty()
protected void
u()
createLevels()
method_3786()
createWorlds()
private static void
a(auf arg0, fed arg1, boolean arg2, boolean arg3, auq arg4)
setInitialSpawn(ServerLevel arg0, ServerLevelData arg1, boolean arg2, boolean arg3, LevelLoadListener arg4)
method_27901(class_3218 arg0, class_5268 arg1, boolean arg2, boolean arg3, class_11545 arg4)
setupSpawn(ServerWorld world, ServerWorldProperties worldProperties, boolean bonusChest, boolean debugWorld, ChunkLoadProgress loadProgress)
private void
a(fej arg0)
setupDebugLevel(WorldData arg0)
method_17977(class_5219 arg0)
setToDebugWorldProperties(SaveProperties properties)
private void
bu()
prepareLevels()
method_3774()
prepareStartRegion()
public GlobalPos
v()
selectLevelLoadFocusPos()
method_73041()
getSpawnPos()
public GameType
w()
getDefaultGameType()
method_3790()
getDefaultGameMode()
public boolean
x_()
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
x()
stopServer()
method_3782()
shutdown()
public String
y()
getLocalIp()
method_3819()
getServerIp()
public void
a_(String arg0)
setLocalIp(String arg0)
method_3842(String arg0)
setServerIp(String serverIp)
public boolean
z()
isRunning()
method_3806()
isRunning()
public void
a(boolean arg0)
halt(boolean arg0)
method_3747(boolean arg0)
stop(boolean waitForShutdown)
protected void
A()
runServer()
method_29741()
runServer()
private void
bv()
logFullTickTime()
method_56603()
pushFullTickLog()
private void
bw()
startMeasuringTaskExecutionTime()
method_56604()
startTaskPerformanceLog()
private void
bx()
finishMeasuringTaskExecutionTime()
method_56605()
pushPerformanceLogs()
private static CrashReport
b(Throwable arg0)
constructOrExtractCrashReport(Throwable arg0)
method_40376(Throwable arg0)
createCrashReport(Throwable throwable)
private boolean
by()
haveTime()
method_3866()
shouldKeepTicking()
public static boolean
B()
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
y_()
waitUntilNextTick()
method_16208()
runTasksTillTickEnd()
public void
C()
waitForTasks()
method_20813()
waitForTasks()
public TickTask
a(Runnable arg0)
wrapRunnable(Runnable arg0)
method_16209(Runnable arg0)
createTask(Runnable arg0)
protected boolean
a(ane arg0)
shouldRun(TickTask arg0)
method_19464(class_3738 arg0)
canExecute(ServerTask arg0)
public boolean
D()
pollTask()
method_16075()
runTask()
private boolean
bG()
pollTaskInternal()
method_20415()
runOneTask()
protected void
b(ane arg0)
doRunTask(TickTask arg0)
method_24306(class_3738 arg0)
executeTask(ServerTask arg0)
private Optional<ServerStatus$Favicon>
bH()
loadStatusIcon()
method_49384()
loadFavicon()
public Optional<Path>
E()
getWorldScreenshotFile()
method_3725()
getIconFile()
public Path
F()
getServerDirectory()
method_3831()
getRunDirectory()
public void
a(p arg0)
onServerCrash(CrashReport arg0)
method_3744(class_128 arg0)
setCrashReport(CrashReport report)
public void
i()
onServerExit()
method_3821()
exit()
public boolean
G()
isPaused()
method_54809()
isPaused()
public void
a(BooleanSupplier arg0)
tickServer(BooleanSupplier arg0)
method_3748(BooleanSupplier arg0)
tick(BooleanSupplier shouldKeepTicking)
private void
bI()
autoSave()
method_62734()
runAutosave()
private void
a(long arg0)
logTickMethodTime(long arg0)
method_56602(long arg0)
pushTickLog(long tickStartTime)
private int
bJ()
computeNextAutosaveInterval()
method_54837()
getAutosaveInterval()
public void
H()
onTickRateChanged()
method_54831()
updateAutosaveTicks()
protected abstract SampleLogger
f()
getTickTimeLogger()
method_56593()
getDebugSampleLog()
public abstract boolean
g()
isTickTimeLoggingEnabled()
method_56626()
shouldPushTickTimeLog()
private ServerStatus
bK()
buildServerStatus()
method_49385()
createMetadata()
private ServerStatus$Players
bL()
buildPlayerStatus()
method_49386()
createMetadataPlayers()
protected void
c(BooleanSupplier arg0)
tickChildren(BooleanSupplier arg0)
method_3813(BooleanSupplier arg0)
tickWorlds(BooleanSupplier shouldKeepTicking)
public void
I()
tickConnection()
method_61254()
tickNetworkIo()
private void
a(auf arg0)
synchronizeTime(ServerLevel arg0)
method_49750(class_3218 arg0)
sendTimeUpdatePackets(ServerWorld world)
public void
J()
forceTimeSynchronization()
method_49749()
sendTimeUpdatePackets()
public boolean
a(dno 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
K()
isShutdown()
method_16043()
isStopping()
public Path
c(String arg0)
getFile(String arg0)
method_3758(String arg0)
getPath(String path)
public final ServerLevel
L()
overworld()
method_30002()
getOverworld()
public ServerLevel
a(amg<dno> arg0)
getLevel(ResourceKey<Level> arg0)
method_3847(class_5321<class_1937> arg0)
getWorld(RegistryKey<World> key)
public Set<ResourceKey<Level>>
M()
levelKeys()
method_29435()
getWorldRegistryKeys()
public Iterable<ServerLevel>
N()
getAllLevels()
method_3738()
getWorlds()
public String
O()
getServerVersion()
method_3827()
getVersion()
public int
P()
getPlayerCount()
method_3788()
getCurrentPlayerCount()
public int
Q()
getMaxPlayers()
method_3802()
getMaxPlayerCount()
public String[]
R()
getPlayerNames()
method_3858()
getPlayerNames()
public String
getServerModName()
getServerModName()
public SystemReport
b(ae arg0)
fillSystemReport(SystemReport arg0)
method_37324(class_6396 arg0)
addSystemDetails(SystemDetails details)
public abstract SystemReport
a(ae arg0)
fillServerSystemReport(SystemReport arg0)
method_3859(class_6396 arg0)
addExtraSystemDetails(SystemDetails details)
public ModCheck
S()
getModdedStatus()
method_24307()
getModStatus()
public void
a(xr arg0)
sendSystemMessage(Component arg0)
method_43496(class_2561 arg0)
sendMessage(Text arg0)
public KeyPair
T()
getKeyPair()
method_3716()
getKeyPair()
public int
U()
getPort()
method_3756()
getServerPort()
public void
b(int arg0)
setPort(int arg0)
method_3779(int arg0)
setServerPort(int serverPort)
public com.mojang.authlib.GameProfile
V()
getSingleplayerProfile()
method_43824()
getHostProfile()
public void
a(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
W()
isSingleplayer()
method_3724()
isSingleplayer()
protected void
X()
initializeKeyPair()
method_31400()
generateKeyPair()
public void
a(bxq arg0, boolean arg1)
setDifficulty(Difficulty arg0, boolean arg1)
method_3776(class_1267 arg0, boolean arg1)
setDifficulty(Difficulty difficulty, boolean forceUpdate)
public int
c(int arg0)
getScaledTrackingDistance(int arg0)
method_27903(int arg0)
adjustTrackingDistance(int initialDistance)
private void
bM()
updateMobSpawningFlags()
method_27729()
updateMobSpawnOptions()
public void
b(boolean arg0)
setDifficultyLocked(boolean arg0)
method_19467(boolean arg0)
setDifficultyLocked(boolean locked)
private void
c(aug arg0)
sendDifficultyUpdate(ServerPlayer arg0)
method_19465(class_3222 arg0)
sendDifficulty(ServerPlayerEntity player)
public boolean
Y()
isSpawningMonsters()
method_3783()
isMonsterSpawningEnabled()
public boolean
Z()
isDemo()
method_3799()
isDemo()
public void
c(boolean arg0)
setDemo(boolean arg0)
method_3730(boolean arg0)
setDemo(boolean demo)
public Optional<MinecraftServer$ServerResourcePackInfo>
aa()
getServerResourcePack()
method_43659()
getResourcePackProperties()
public boolean
ab()
isResourcePackRequired()
method_32303()
requireResourcePack()
public abstract boolean
n()
isDedicatedServer()
method_3816()
isDedicated()
public abstract int
o()
getRateLimitPacketsPerSecond()
method_30612()
getRateLimit()
public boolean
ac()
usesAuthentication()
method_3828()
isOnlineMode()
public void
d(boolean arg0)
setUsesAuthentication(boolean arg0)
method_3864(boolean arg0)
setOnlineMode(boolean onlineMode)
public boolean
ad()
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
ae()
isPvpAllowed()
method_3852()
isPvpEnabled()
public void
f(boolean arg0)
setPvpAllowed(boolean arg0)
method_3815(boolean arg0)
setPvpEnabled(boolean pvpEnabled)
public boolean
af()
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
ag()
getMotd()
method_3818()
getServerMotd()
public void
d(String arg0)
setMotd(String arg0)
method_3834(String arg0)
setMotd(String motd)
public boolean
ah()
isStopped()
method_3750()
isStopped()
public PlayerList
ai()
getPlayerList()
method_3760()
getPlayerManager()
public void
a(ayh arg0)
setPlayerList(PlayerList arg0)
method_3846(class_3324 arg0)
setPlayerManager(PlayerManager playerManager)
public abstract boolean
r()
isPublished()
method_3860()
isRemote()
public void
a(dnl arg0)
setDefaultGameType(GameType arg0)
method_3838(class_1934 arg0)
setDefaultGameMode(GameMode gameMode)
public ServerConnectionListener
aj()
getConnection()
method_3787()
getNetworkIo()
public boolean
ak()
isReady()
method_3820()
isLoading()
public boolean
al()
hasGui()
method_3727()
hasGui()
public boolean
a(dnl 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
am()
getTickCount()
method_3780()
getTicks()
public int
an()
getSpawnProtectionRadius()
method_3841()
getSpawnProtectionRadius()
public boolean
a(auf arg0, jb arg1, cvm 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
ao()
repliesToStatus()
method_27902()
acceptsStatusQuery()
public boolean
ap()
hidesOnlinePlayers()
method_39424()
hideOnlinePlayers()
public Proxy
aq()
getProxy()
method_36113()
getProxy()
public int
ar()
getPlayerIdleTimeout()
method_3862()
getPlayerIdleTimeout()
public void
d(int arg0)
setPlayerIdleTimeout(int arg0)
method_3803(int arg0)
setPlayerIdleTimeout(int playerIdleTimeout)
public com.mojang.authlib.minecraft.MinecraftSessionService
as()
getSessionService()
method_3844()
getSessionService()
public SignatureValidator
at()
getProfileKeySignatureValidator()
method_44301()
getServicesSignatureVerifier()
public com.mojang.authlib.GameProfileRepository
au()
getProfileRepository()
method_3719()
getGameProfileRepo()
public UserNameToIdResolver
av()
nameToIdCache()
method_73045()
getNameToIdCache()
public ServerStatus
aw()
getStatus()
method_3765()
getServerMetadata()
public void
ax()
invalidateStatus()
method_3856()
forcePlayerSampleUpdate()
public int
ay()
getAbsoluteMaxWorldSize()
method_3749()
getMaxWorldBorderRadius()
public boolean
az()
scheduleExecutables()
method_5384()
shouldExecuteAsync()
public void
c(Runnable arg0)
executeIfPossible(Runnable arg0)
method_40000(Runnable arg0)
executeSync(Runnable arg0)
public Thread
aA()
getRunningThread()
method_3777()
getThread()
public int
aB()
getCompressionThreshold()
method_3773()
getNetworkCompressionThreshold()
public boolean
aC()
enforceSecureProfile()
method_43500()
shouldEnforceSecureProfile()
public long
aD()
getNextTickTime()
method_3826()
getTimeReference()
public com.mojang.datafixers.DataFixer
aE()
getFixerUpper()
method_3855()
getDataFixer()
public ServerAdvancementManager
aF()
getAdvancements()
method_3851()
getAdvancementLoader()
public ServerFunctionManager
aG()
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(axe arg0, dom 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(axe arg0, Collection<String> arg1, cyw 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(axe arg0, cyw arg1)
enableForcedFeaturePacks(PackRepository arg0, FeatureFlagSet arg1)
method_59847(class_3283 arg0, class_7699 arg1)
forceEnableRequestedFeatures(ResourcePackManager resourcePackManager, FeatureSet enabledFeatures)
private static DataPackConfig
a(axe arg0, boolean arg1)
getSelectedPacks(PackRepository arg0, boolean arg1)
method_29735(class_3283 arg0, boolean arg1)
createDataPackSettings(ResourcePackManager dataPackManager, boolean allowEnabling)
public void
a(ek arg0)
kickUnlistedPlayers(CommandSourceStack arg0)
method_3728(class_2168 arg0)
kickNonWhitelistedPlayers(ServerCommandSource source)
public PackRepository
aH()
getPackRepository()
method_3836()
getDataPackManager()
public Commands
aI()
getCommands()
method_3734()
getCommandManager()
public CommandSourceStack
aJ()
createCommandSourceStack()
method_3739()
getCommandSource()
public boolean
z_()
acceptsSuccess()
method_9200()
shouldReceiveFeedback()
public boolean
A_()
acceptsFailure()
method_9202()
shouldTrackOutput()
public abstract boolean
c()
shouldInformAdmins()
method_9201()
shouldBroadcastConsoleToOps()
public RecipeManager
aK()
getRecipeManager()
method_3772()
getRecipeManager()
public ServerScoreboard
aL()
getScoreboard()
method_3845()
getScoreboard()
public CommandStorage
aM()
getCommandStorage()
method_22827()
getDataCommandStorage()
public GameRules
aN()
getGameRules()
method_3767()
getGameRules()
public CustomBossEvents
aO()
getCustomBossEvents()
method_3837()
getBossBarManager()
public boolean
aP()
isEnforceWhitelist()
method_3729()
isEnforceWhitelist()
public void
h(boolean arg0)
setEnforceWhitelist(boolean arg0)
method_3731(boolean arg0)
setEnforceWhitelist(boolean enforceWhitelist)
public float
aQ()
getCurrentSmoothedTickTime()
method_54832()
getAverageTickTime()
public ServerTickRateManager
aR()
tickRateManager()
method_54833()
getTickManager()
public long
aS()
getAverageTickTimeNanos()
method_54834()
getAverageNanosPerTick()
public long[]
aT()
getTickTimesNanos()
method_54835()
getTickTimes()
public int
b(ayf arg0)
getProfilePermissions(NameAndId arg0)
method_3835(class_11560 arg0)
getPermissionLevel(PlayerConfigEntry arg0)
public abstract boolean
a(ayf arg0)
isSingleplayerOwner(NameAndId arg0)
method_19466(class_11560 arg0)
isHost(PlayerConfigEntry arg0)
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
bN()
createProfiler()
method_16044()
startTickMetrics()
public void
aU()
endMetricsRecordingTick()
method_24490()
endTickMetrics()
public boolean
aV()
isRecordingMetrics()
method_37321()
isRecorderActive()
public void
a(Consumer<bub> 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
aW()
stopRecordingMetrics()
method_37322()
resetRecorder()
public void
aX()
finishRecordingMetrics()
method_37323()
stopRecorder()
public void
aY()
cancelRecordingMetrics()
method_42062()
forceStopRecorder()
public Path
a(fdw arg0)
getWorldPath(LevelResource arg0)
method_27050(class_5218 arg0)
getSavePath(WorldSavePath worldSavePath)
public boolean
aZ()
forceSynchronousWrites()
method_27051()
syncChunkWrites()
public StructureTemplateManager
ba()
getStructureManager()
method_27727()
getStructureTemplateManager()
public WorldData
bb()
getWorldData()
method_27728()
getSaveProperties()
public RegistryAccess$Frozen
bc()
registryAccess()
method_30611()
getRegistryManager()
public LayeredRegistryAccess<RegistryLayer>
bd()
registries()
method_46221()
getCombinedDynamicRegistries()
public ReloadableServerRegistries$Holder
be()
reloadableRegistries()
method_58576()
getReloadableRegistries()
public TextFilter
a(aug arg0)
createTextFilterForPlayer(ServerPlayer arg0)
method_31371(class_3222 arg0)
createFilterer(ServerPlayerEntity player)
public ServerPlayerGameMode
b(aug arg0)
createGameModeForPlayer(ServerPlayer arg0)
method_32816(class_3222 arg0)
getPlayerInteractionManager(ServerPlayerEntity player)
public GameType
bf()
getForcedGameType()
method_3761()
getForcedGameMode()
public ResourceManager
bg()
getResourceManager()
method_34864()
getResourceManager()
public boolean
bh()
isCurrentlySaving()
method_39219()
isSaving()
public boolean
bi()
isTimeProfilerRunning()
method_24488()
isDebugRunning()
public void
bj()
startTimeProfiler()
method_3832()
startDebug()
public ProfileResults
bk()
stopTimeProfiler()
method_24489()
stopDebug()
public int
bl()
getMaxChainedNeighborUpdates()
method_41239()
getMaxChainedNeighborUpdates()
public void
a(xr arg0, xn$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
bm()
getChatDecorator()
method_43929()
getMessageDecorator()
public boolean
bn()
logIPs()
method_52344()
shouldLogIps()
public void
a(aug arg0, bsf arg1)
subscribeToDebugSample(ServerPlayer arg0, RemoteDebugSampleType arg1)
method_56625(class_3222 arg0, class_9192 arg1)
subscribeToDebugSample(ServerPlayerEntity player, DebugSampleType type)
public void
a(amh arg0, Optional<vl> arg1)
handleCustomClickAction(ResourceLocation arg0, Optional<Tag> arg1)
method_71943(class_2960 arg0, Optional<class_2520> arg1)
handleCustomClickAction(Identifier id, Optional<NbtElement> payload)
public LevelLoadListener
bo()
getLevelLoadListener()
method_73046()
method_73046()
public boolean
bp()
acceptsTransfers()
method_56040()
acceptsTransfers()
private void
a(p arg0, dmt arg1, eix 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, eix arg1, dmt 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, eix arg1, dmt 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, aab<?> arg1)
reportPacketHandlingException(Throwable arg0, PacketType<?> arg1)
method_62733(Throwable arg0, class_9145<?> arg1)
onPacketException(Throwable exception, PacketType<?> type)
public PotionBrewing
bq()
potionBrewing()
method_59777()
getBrewingRecipeRegistry()
public FuelValues
br()
fuelValues()
method_62735()
getFuelRegistry()
public ServerLinks
bs()
serverLinks()
method_60672()
getServerLinks()
protected int
bt()
pauseWhileEmptySeconds()
method_61255()
getPauseWhenEmptySeconds()