Package net.minecraft.server.dedicated
Class MinecraftDedicatedServer
java.lang.Object
net.minecraft.util.thread.ThreadExecutor<R>
net.minecraft.util.thread.ReentrantThreadExecutor<ServerTask>
net.minecraft.server.MinecraftServer
net.minecraft.server.dedicated.MinecraftDedicatedServer
- All Implemented Interfaces:
AutoCloseable
,Executor
,CommandOutput
,DedicatedServer
,MessageListener<ServerTask>
,SampleableExecutor
- Mappings:
Namespace Name official acd
intermediary net/minecraft/class_3176
named net/minecraft/server/dedicated/MinecraftDedicatedServer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<PendingServerCommand>
private static final int
private static final int
private final @Nullable TextFilterer
private @Nullable DedicatedServerGui
(package private) static final Logger
private final ServerPropertiesLoader
private @Nullable QueryResponseHandler
private final RconCommandOutput
private @Nullable RconListener
private static final Pattern
Fields inherited from class net.minecraft.server.MinecraftServer
ANONYMOUS_PLAYER_PROFILE, DEMO_LEVEL_INFO, field_33206, lastTickLengths, LEVEL_PROTOCOL, LEVEL_PROTOCOL_NAME, MAX_WORLD_BORDER_RADIUS, proxy, registryManager, RESOURCES_ZIP_FILE_NAME, saveHandler, saveProperties, session, START_TICKET_CHUNK_RADIUS, USER_CACHE_FILE, VANILLA
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
ConstructorDescriptionMinecraftDedicatedServer
(Thread serverThread, DynamicRegistryManager.Impl registryManager, LevelStorage.Session session, ResourcePackManager dataPackManager, ServerResourceManager serverResourceManager, SaveProperties saveProperties, ServerPropertiesLoader propertiesLoader, com.mojang.datafixers.DataFixer dataFixer, com.mojang.authlib.minecraft.MinecraftSessionService sessionService, com.mojang.authlib.GameProfileRepository gameProfileRepo, UserCache userCache, WorldGenerationProgressListenerFactory worldGenerationProgressListenerFactory) -
Method Summary
Modifier and TypeMethodDescriptionboolean
addExtraSystemDetails
(SystemDetails details) int
adjustTrackingDistance
(int initialDistance) boolean
Specifies whether command blocks can execute commands on the server.protected boolean
createFilterer
(ServerPlayerEntity player) void
void
dumpProperties
(Path file) void
enqueueCommand
(String command, ServerCommandSource commandSource) void
executeRconCommand
(String command) void
exit()
Returns the game mode a player should be set to when connecting to the server, ornull
if none is set.int
long
int
getMotd()
int
int
int
getPort()
int
int
boolean
hasGui()
boolean
boolean
Checks whether this server is a dedicated server.boolean
boolean
isHost
(com.mojang.authlib.GameProfile profile) boolean
boolean
boolean
isRemote()
boolean
isSpawnProtected
(ServerWorld world, BlockPos pos, PlayerEntity player) boolean
parseResourcePackPrompt
(ServerPropertiesLoader propertiesLoader) boolean
void
setPlayerIdleTimeout
(int playerIdleTimeout) boolean
Setups a Minecraft server to be ready for players to connect.void
setUseWhitelist
(boolean useWhitelist) boolean
boolean
boolean
boolean
void
shutdown()
private void
boolean
void
tickWorlds
(BooleanSupplier shouldKeepTicking) void
Methods inherited from class net.minecraft.server.MinecraftServer
addServerGuiTickable, addSystemDetails, canExecute, close, createTask, createWorlds, executeTask, forcePlayerSampleUpdate, generateKeyPair, getAdvancementLoader, getBossBarManager, getCommandFunctionManager, getCommandManager, getCommandSource, getCurrentPlayerCount, getDataCommandStorage, getDataFixer, getDataPackManager, getDefaultGameMode, getFile, getGameProfileRepo, getGameRules, getIconFile, getItemModifierManager, getKeyPair, getLootManager, getMaxPlayerCount, getMetricsData, getModStatus, getNetworkIo, getOverworld, getPermissionLevel, getPlayerIdleTimeout, getPlayerInteractionManager, getPlayerNames, getPredicateManager, getProfiler, getProxy, getRecipeManager, getRegistryManager, getResourceManager, getResourcePackHash, getResourcePackUrl, getRunDirectory, getSavePath, getSaveProperties, getScoreboard, getServerIp, getServerMetadata, getServerModName, getServerMotd, getServerPort, getSessionService, getSinglePlayerName, getSpawnRadius, getStructureManager, getTagManager, getThread, getTicks, getTickTime, getTimeReference, getUserCache, getVersion, getWorld, getWorldRegistryKeys, getWorlds, isDebugRunning, isDemo, isEnforceWhitelist, isFlightEnabled, isLoading, isOnlineMode, isPvpEnabled, isRecorderActive, isRunning, isSaving, isSingleplayer, isStopped, isStopping, kickNonWhitelistedPlayers, loadDataPacks, loadWorld, loadWorldResourcePack, openToLan, reloadResources, resetRecorder, runServer, runTask, runTasksTillTickEnd, save, saveAll, sendSystemMessage, setCrashReport, setDefaultGameMode, setDemo, setDifficulty, setDifficultyLocked, setEnforceWhitelist, setFlightEnabled, setMotd, setOnlineMode, setPlayerManager, setPreventProxyConnections, setPvpEnabled, setResourcePack, setServerId, setServerIp, setServerPort, setSinglePlayerName, setupRecorder, shouldExecuteAsync, shouldPreventProxyConnections, shouldReceiveFeedback, shouldTrackOutput, startDebug, startServer, stop, stopDebug, stopRecorder, tick
Methods inherited from class net.minecraft.util.thread.ReentrantThreadExecutor
hasRunningTasks
Methods inherited from class net.minecraft.util.thread.ThreadExecutor
cancelTasks, createSamplers, execute, getName, getTaskCount, isOnThread, runTasks, runTasks, send, submit, submit, submitAndJoin, waitForTasks
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
Methods inherited from interface net.minecraft.server.dedicated.DedicatedServer
getCurrentPlayerCount, getMaxPlayerCount, getPlayerNames, getVersion
Methods inherited from interface net.minecraft.util.thread.MessageListener
ask, askFallible
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official r
Lacd;r:Lorg/apache/logging/log4j/Logger;
intermediary field_13814
Lnet/minecraft/class_3176;field_13814:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;LOGGER:Lorg/apache/logging/log4j/Logger;
-
field_29662
private static final int field_29662- See Also:
- Mappings:
Namespace Name Mixin selector official s
Lacd;s:I
intermediary field_29662
Lnet/minecraft/class_3176;field_29662:I
named field_29662
Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;field_29662:I
-
field_29663
private static final int field_29663- See Also:
- Mappings:
Namespace Name Mixin selector official t
Lacd;t:I
intermediary field_29663
Lnet/minecraft/class_3176;field_29663:I
named field_29663
Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;field_29663:I
-
SHA1_PATTERN
- Mappings:
Namespace Name Mixin selector official u
Lacd;u:Ljava/util/regex/Pattern;
intermediary field_13810
Lnet/minecraft/class_3176;field_13810:Ljava/util/regex/Pattern;
named SHA1_PATTERN
Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;SHA1_PATTERN:Ljava/util/regex/Pattern;
-
commandQueue
- Mappings:
Namespace Name Mixin selector official v
Lacd;v:Ljava/util/List;
intermediary field_13815
Lnet/minecraft/class_3176;field_13815:Ljava/util/List;
named commandQueue
Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;commandQueue:Ljava/util/List;
-
queryResponseHandler
- Mappings:
Namespace Name Mixin selector official w
Lacd;w:Lagi;
intermediary field_13816
Lnet/minecraft/class_3176;field_13816:Lnet/minecraft/class_3364;
named queryResponseHandler
Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;queryResponseHandler:Lnet/minecraft/server/rcon/QueryResponseHandler;
-
rconCommandOutput
- Mappings:
Namespace Name Mixin selector official x
Lacd;x:Lagf;
intermediary field_13811
Lnet/minecraft/class_3176;field_13811:Lnet/minecraft/class_3350;
named rconCommandOutput
Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;rconCommandOutput:Lnet/minecraft/server/rcon/RconCommandOutput;
-
rconServer
- Mappings:
Namespace Name Mixin selector official y
Lacd;y:Lagk;
intermediary field_13819
Lnet/minecraft/class_3176;field_13819:Lnet/minecraft/class_3408;
named rconServer
Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;rconServer:Lnet/minecraft/server/rcon/RconListener;
-
propertiesLoader
- Mappings:
Namespace Name Mixin selector official z
Lacd;z:Lacf;
intermediary field_16799
Lnet/minecraft/class_3176;field_16799:Lnet/minecraft/class_3807;
named propertiesLoader
Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;propertiesLoader:Lnet/minecraft/server/dedicated/ServerPropertiesLoader;
-
gui
- Mappings:
Namespace Name Mixin selector official A
Lacd;A:Lacj;
intermediary field_16800
Lnet/minecraft/class_3176;field_16800:Lnet/minecraft/class_3182;
named gui
Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;gui:Lnet/minecraft/server/dedicated/gui/DedicatedServerGui;
-
filterer
- Mappings:
Namespace Name Mixin selector official B
Lacd;B:Laea;
intermediary field_26898
Lnet/minecraft/class_3176;field_26898:Lnet/minecraft/class_5514;
named filterer
Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;filterer:Lnet/minecraft/server/filter/TextFilterer;
-
resourcePackPrompt
- Mappings:
Namespace Name Mixin selector official C
Lacd;C:Lpt;
intermediary field_33431
Lnet/minecraft/class_3176;field_33431:Lnet/minecraft/class_2561;
named resourcePackPrompt
Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;resourcePackPrompt:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
MinecraftDedicatedServer
public MinecraftDedicatedServer(Thread serverThread, DynamicRegistryManager.Impl registryManager, LevelStorage.Session session, ResourcePackManager dataPackManager, ServerResourceManager serverResourceManager, SaveProperties saveProperties, ServerPropertiesLoader propertiesLoader, com.mojang.datafixers.DataFixer dataFixer, com.mojang.authlib.minecraft.MinecraftSessionService sessionService, com.mojang.authlib.GameProfileRepository gameProfileRepo, UserCache userCache, WorldGenerationProgressListenerFactory worldGenerationProgressListenerFactory) - Mappings:
Namespace Name Mixin selector official <init>
Lacd;<init>(Ljava/lang/Thread;Lgy$b;Ldja$a;Laet;Lyp;Ldjg;Lacf;Lcom/mojang/datafixers/DataFixer;Lcom/mojang/authlib/minecraft/MinecraftSessionService;Lcom/mojang/authlib/GameProfileRepository;Lafo;Ladm;)V
intermediary <init>
Lnet/minecraft/class_3176;<init>(Ljava/lang/Thread;Lnet/minecraft/class_5455$class_5457;Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_3283;Lnet/minecraft/class_5350;Lnet/minecraft/class_5219;Lnet/minecraft/class_3807;Lcom/mojang/datafixers/DataFixer;Lcom/mojang/authlib/minecraft/MinecraftSessionService;Lcom/mojang/authlib/GameProfileRepository;Lnet/minecraft/class_3312;Lnet/minecraft/class_3950;)V
named <init>
Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;<init>(Ljava/lang/Thread;Lnet/minecraft/util/registry/DynamicRegistryManager$Impl;Lnet/minecraft/world/level/storage/LevelStorage$Session;Lnet/minecraft/resource/ResourcePackManager;Lnet/minecraft/resource/ServerResourceManager;Lnet/minecraft/world/SaveProperties;Lnet/minecraft/server/dedicated/ServerPropertiesLoader;Lcom/mojang/datafixers/DataFixer;Lcom/mojang/authlib/minecraft/MinecraftSessionService;Lcom/mojang/authlib/GameProfileRepository;Lnet/minecraft/util/UserCache;Lnet/minecraft/server/WorldGenerationProgressListenerFactory;)V
-
-
Method Details
-
setupServer
Setups a Minecraft server to be ready for players to connect. This method does several things including loading server properties and loading worlds.- Specified by:
setupServer
in classMinecraftServer
- Returns:
- true if the Minecraft server was successfully setup, false if the server failed to be setup.
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official e
Lnet/minecraft/server/MinecraftServer;e()Z
intermediary method_3823
Lnet/minecraft/server/MinecraftServer;method_3823()Z
named setupServer
Lnet/minecraft/server/MinecraftServer;setupServer()Z
-
shouldSpawnAnimals
public boolean shouldSpawnAnimals()- Overrides:
shouldSpawnAnimals
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official W
Lnet/minecraft/server/MinecraftServer;W()Z
intermediary method_3796
Lnet/minecraft/server/MinecraftServer;method_3796()Z
named shouldSpawnAnimals
Lnet/minecraft/server/MinecraftServer;shouldSpawnAnimals()Z
-
isMonsterSpawningEnabled
public boolean isMonsterSpawningEnabled()- Overrides:
isMonsterSpawningEnabled
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official Q
Lnet/minecraft/server/MinecraftServer;Q()Z
intermediary method_3783
Lnet/minecraft/server/MinecraftServer;method_3783()Z
named isMonsterSpawningEnabled
Lnet/minecraft/server/MinecraftServer;isMonsterSpawningEnabled()Z
-
shouldSpawnNpcs
public boolean shouldSpawnNpcs()- Overrides:
shouldSpawnNpcs
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official X
Lnet/minecraft/server/MinecraftServer;X()Z
intermediary method_3736
Lnet/minecraft/server/MinecraftServer;method_3736()Z
named shouldSpawnNpcs
Lnet/minecraft/server/MinecraftServer;shouldSpawnNpcs()Z
-
createResourcePackHash
- Mappings:
Namespace Name Mixin selector official be
Lacd;be()Ljava/lang/String;
intermediary method_13950
Lnet/minecraft/class_3176;method_13950()Ljava/lang/String;
named createResourcePackHash
Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;createResourcePackHash()Ljava/lang/String;
-
getProperties
- Specified by:
getProperties
in interfaceDedicatedServer
- Mappings:
Namespace Name Mixin selector official a
Lyo;a()Lace;
intermediary method_16705
Lnet/minecraft/class_2994;method_16705()Lnet/minecraft/class_3806;
named getProperties
Lnet/minecraft/server/dedicated/DedicatedServer;getProperties()Lnet/minecraft/server/dedicated/ServerPropertiesHandler;
-
updateDifficulty
public void updateDifficulty()- Overrides:
updateDifficulty
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official q
Lnet/minecraft/server/MinecraftServer;q()V
intermediary method_27731
Lnet/minecraft/server/MinecraftServer;method_27731()V
named updateDifficulty
Lnet/minecraft/server/MinecraftServer;updateDifficulty()V
-
isHardcore
public boolean isHardcore()- Overrides:
isHardcore
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official g
Lnet/minecraft/server/MinecraftServer;g()Z
intermediary method_3754
Lnet/minecraft/server/MinecraftServer;method_3754()Z
named isHardcore
Lnet/minecraft/server/MinecraftServer;isHardcore()Z
-
addExtraSystemDetails
- Specified by:
addExtraSystemDetails
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official a
Lnet/minecraft/server/MinecraftServer;a(Lac;)Lac;
intermediary method_3859
Lnet/minecraft/server/MinecraftServer;method_3859(Lnet/minecraft/class_6396;)Lnet/minecraft/class_6396;
named addExtraSystemDetails
Lnet/minecraft/server/MinecraftServer;addExtraSystemDetails(Lnet/minecraft/util/SystemDetails;)Lnet/minecraft/util/SystemDetails;
-
dumpProperties
- Overrides:
dumpProperties
in classMinecraftServer
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lnet/minecraft/server/MinecraftServer;a(Ljava/nio/file/Path;)V
intermediary method_37113
Lnet/minecraft/server/MinecraftServer;method_37113(Ljava/nio/file/Path;)V
named dumpProperties
Lnet/minecraft/server/MinecraftServer;dumpProperties(Ljava/nio/file/Path;)V
-
exit
public void exit()- Overrides:
exit
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official f
Lnet/minecraft/server/MinecraftServer;f()V
intermediary method_3821
Lnet/minecraft/server/MinecraftServer;method_3821()V
named exit
Lnet/minecraft/server/MinecraftServer;exit()V
-
tickWorlds
- Overrides:
tickWorlds
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official b
Lnet/minecraft/server/MinecraftServer;b(Ljava/util/function/BooleanSupplier;)V
intermediary method_3813
Lnet/minecraft/server/MinecraftServer;method_3813(Ljava/util/function/BooleanSupplier;)V
named tickWorlds
Lnet/minecraft/server/MinecraftServer;tickWorlds(Ljava/util/function/BooleanSupplier;)V
-
isNetherAllowed
public boolean isNetherAllowed()- Overrides:
isNetherAllowed
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official B
Lnet/minecraft/server/MinecraftServer;B()Z
intermediary method_3839
Lnet/minecraft/server/MinecraftServer;method_3839()Z
named isNetherAllowed
Lnet/minecraft/server/MinecraftServer;isNetherAllowed()Z
-
enqueueCommand
- Mappings:
Namespace Name Mixin selector official a
Lacd;a(Ljava/lang/String;Ldm;)V
intermediary method_13947
Lnet/minecraft/class_3176;method_13947(Ljava/lang/String;Lnet/minecraft/class_2168;)V
named enqueueCommand
Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;enqueueCommand(Ljava/lang/String;Lnet/minecraft/server/command/ServerCommandSource;)V
-
executeQueuedCommands
public void executeQueuedCommands()- Mappings:
Namespace Name Mixin selector official bf
Lacd;bf()V
intermediary method_13941
Lnet/minecraft/class_3176;method_13941()V
named executeQueuedCommands
Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;executeQueuedCommands()V
-
isDedicated
public boolean isDedicated()Checks whether this server is a dedicated server.A dedicated server refers to a Minecraft server implementation which is detached from a parent Minecraft client process. A dedicated Minecraft server only accepts remote connections.
- Specified by:
isDedicated
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official k
Lnet/minecraft/server/MinecraftServer;k()Z
intermediary method_3816
Lnet/minecraft/server/MinecraftServer;method_3816()Z
named isDedicated
Lnet/minecraft/server/MinecraftServer;isDedicated()Z
-
getRateLimit
public int getRateLimit()- Specified by:
getRateLimit
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official l
Lnet/minecraft/server/MinecraftServer;l()I
intermediary method_30612
Lnet/minecraft/server/MinecraftServer;method_30612()I
named getRateLimit
Lnet/minecraft/server/MinecraftServer;getRateLimit()I
-
isUsingNativeTransport
public boolean isUsingNativeTransport()- Specified by:
isUsingNativeTransport
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official m
Lnet/minecraft/server/MinecraftServer;m()Z
intermediary method_3759
Lnet/minecraft/server/MinecraftServer;method_3759()Z
named isUsingNativeTransport
Lnet/minecraft/server/MinecraftServer;isUsingNativeTransport()Z
-
getPlayerManager
- Overrides:
getPlayerManager
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official bg
Lacd;bg()Lacc;
intermediary method_13949
Lnet/minecraft/class_3176;method_13949()Lnet/minecraft/class_3174;
named getPlayerManager
Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;getPlayerManager()Lnet/minecraft/server/dedicated/DedicatedPlayerManager;
-
isRemote
public boolean isRemote()- Specified by:
isRemote
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official o
Lnet/minecraft/server/MinecraftServer;o()Z
intermediary method_3860
Lnet/minecraft/server/MinecraftServer;method_3860()Z
named isRemote
Lnet/minecraft/server/MinecraftServer;isRemote()Z
-
getHostname
- Specified by:
getHostname
in interfaceDedicatedServer
- Mappings:
Namespace Name Mixin selector official b
Lyo;b()Ljava/lang/String;
intermediary method_12929
Lnet/minecraft/class_2994;method_12929()Ljava/lang/String;
named getHostname
Lnet/minecraft/server/dedicated/DedicatedServer;getHostname()Ljava/lang/String;
-
getPort
public int getPort()- Specified by:
getPort
in interfaceDedicatedServer
- Mappings:
Namespace Name Mixin selector official d
Lyo;d()I
intermediary method_12918
Lnet/minecraft/class_2994;method_12918()I
named getPort
Lnet/minecraft/server/dedicated/DedicatedServer;getPort()I
-
getMotd
- Specified by:
getMotd
in interfaceDedicatedServer
- Mappings:
Namespace Name Mixin selector official p
Lyo;p()Ljava/lang/String;
intermediary method_12930
Lnet/minecraft/class_2994;method_12930()Ljava/lang/String;
named getMotd
Lnet/minecraft/server/dedicated/DedicatedServer;getMotd()Ljava/lang/String;
-
createGui
public void createGui()- Mappings:
Namespace Name Mixin selector official bh
Lacd;bh()V
intermediary method_13948
Lnet/minecraft/class_3176;method_13948()V
named createGui
Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;createGui()V
-
hasGui
public boolean hasGui()- Overrides:
hasGui
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official af
Lnet/minecraft/server/MinecraftServer;af()Z
intermediary method_3727
Lnet/minecraft/server/MinecraftServer;method_3727()Z
named hasGui
Lnet/minecraft/server/MinecraftServer;hasGui()Z
-
areCommandBlocksEnabled
public boolean areCommandBlocksEnabled()Specifies whether command blocks can execute commands on the server.- Specified by:
areCommandBlocksEnabled
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official n
Lnet/minecraft/server/MinecraftServer;n()Z
intermediary method_3812
Lnet/minecraft/server/MinecraftServer;method_3812()Z
named areCommandBlocksEnabled
Lnet/minecraft/server/MinecraftServer;areCommandBlocksEnabled()Z
-
getSpawnProtectionRadius
public int getSpawnProtectionRadius()- Overrides:
getSpawnProtectionRadius
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official ah
Lnet/minecraft/server/MinecraftServer;ah()I
intermediary method_3841
Lnet/minecraft/server/MinecraftServer;method_3841()I
named getSpawnProtectionRadius
Lnet/minecraft/server/MinecraftServer;getSpawnProtectionRadius()I
-
isSpawnProtected
- Overrides:
isSpawnProtected
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official a
Lnet/minecraft/server/MinecraftServer;a(Ladc;Lgh;Lbnk;)Z
intermediary method_3785
Lnet/minecraft/server/MinecraftServer;method_3785(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;)Z
named isSpawnProtected
Lnet/minecraft/server/MinecraftServer;isSpawnProtected(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;)Z
-
acceptsStatusQuery
public boolean acceptsStatusQuery()- Overrides:
acceptsStatusQuery
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official ai
Lnet/minecraft/server/MinecraftServer;ai()Z
intermediary method_27902
Lnet/minecraft/server/MinecraftServer;method_27902()Z
named acceptsStatusQuery
Lnet/minecraft/server/MinecraftServer;acceptsStatusQuery()Z
-
hideOnlinePlayers
public boolean hideOnlinePlayers()- Overrides:
hideOnlinePlayers
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official aj
Lnet/minecraft/server/MinecraftServer;aj()Z
intermediary method_39424
Lnet/minecraft/server/MinecraftServer;method_39424()Z
named hideOnlinePlayers
Lnet/minecraft/server/MinecraftServer;hideOnlinePlayers()Z
-
getOpPermissionLevel
public int getOpPermissionLevel()- Specified by:
getOpPermissionLevel
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official h
Lnet/minecraft/server/MinecraftServer;h()I
intermediary method_3798
Lnet/minecraft/server/MinecraftServer;method_3798()I
named getOpPermissionLevel
Lnet/minecraft/server/MinecraftServer;getOpPermissionLevel()I
-
getFunctionPermissionLevel
public int getFunctionPermissionLevel()- Specified by:
getFunctionPermissionLevel
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official i
Lnet/minecraft/server/MinecraftServer;i()I
intermediary method_21714
Lnet/minecraft/server/MinecraftServer;method_21714()I
named getFunctionPermissionLevel
Lnet/minecraft/server/MinecraftServer;getFunctionPermissionLevel()I
-
setPlayerIdleTimeout
public void setPlayerIdleTimeout(int playerIdleTimeout) - Overrides:
setPlayerIdleTimeout
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official c
Lnet/minecraft/server/MinecraftServer;c(I)V
intermediary method_3803
Lnet/minecraft/server/MinecraftServer;method_3803(I)V
named setPlayerIdleTimeout
Lnet/minecraft/server/MinecraftServer;setPlayerIdleTimeout(I)V
-
shouldBroadcastRconToOps
public boolean shouldBroadcastRconToOps()- Specified by:
shouldBroadcastRconToOps
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official j
Lnet/minecraft/server/MinecraftServer;j()Z
intermediary method_3732
Lnet/minecraft/server/MinecraftServer;method_3732()Z
named shouldBroadcastRconToOps
Lnet/minecraft/server/MinecraftServer;shouldBroadcastRconToOps()Z
-
shouldBroadcastConsoleToOps
public boolean shouldBroadcastConsoleToOps()- Specified by:
shouldBroadcastConsoleToOps
in interfaceCommandOutput
- Specified by:
shouldBroadcastConsoleToOps
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official F_
Ldl;F_()Z
intermediary method_9201
Lnet/minecraft/class_2165;method_9201()Z
named shouldBroadcastConsoleToOps
Lnet/minecraft/server/command/CommandOutput;shouldBroadcastConsoleToOps()Z
-
getMaxWorldBorderRadius
public int getMaxWorldBorderRadius()- Overrides:
getMaxWorldBorderRadius
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official ar
Lnet/minecraft/server/MinecraftServer;ar()I
intermediary method_3749
Lnet/minecraft/server/MinecraftServer;method_3749()I
named getMaxWorldBorderRadius
Lnet/minecraft/server/MinecraftServer;getMaxWorldBorderRadius()I
-
getNetworkCompressionThreshold
public int getNetworkCompressionThreshold()- Overrides:
getNetworkCompressionThreshold
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official au
Lnet/minecraft/server/MinecraftServer;au()I
intermediary method_3773
Lnet/minecraft/server/MinecraftServer;method_3773()I
named getNetworkCompressionThreshold
Lnet/minecraft/server/MinecraftServer;getNetworkCompressionThreshold()I
-
convertData
protected boolean convertData()- Mappings:
Namespace Name Mixin selector official bi
Lacd;bi()Z
intermediary method_13951
Lnet/minecraft/class_3176;method_13951()Z
named convertData
Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;convertData()Z
-
sleepFiveSeconds
private void sleepFiveSeconds()- Mappings:
Namespace Name Mixin selector official bs
Lacd;bs()V
intermediary method_13942
Lnet/minecraft/class_3176;method_13942()V
named sleepFiveSeconds
Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;sleepFiveSeconds()V
-
getMaxTickTime
public long getMaxTickTime()- Mappings:
Namespace Name Mixin selector official bj
Lacd;bj()J
intermediary method_13944
Lnet/minecraft/class_3176;method_13944()J
named getMaxTickTime
Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;getMaxTickTime()J
-
getPlugins
- Specified by:
getPlugins
in interfaceDedicatedServer
- Mappings:
Namespace Name Mixin selector official s
Lyo;s()Ljava/lang/String;
intermediary method_12916
Lnet/minecraft/class_2994;method_12916()Ljava/lang/String;
named getPlugins
Lnet/minecraft/server/dedicated/DedicatedServer;getPlugins()Ljava/lang/String;
-
executeRconCommand
- Specified by:
executeRconCommand
in interfaceDedicatedServer
- Mappings:
Namespace Name Mixin selector official a
Lyo;a(Ljava/lang/String;)Ljava/lang/String;
intermediary method_12934
Lnet/minecraft/class_2994;method_12934(Ljava/lang/String;)Ljava/lang/String;
named executeRconCommand
Lnet/minecraft/server/dedicated/DedicatedServer;executeRconCommand(Ljava/lang/String;)Ljava/lang/String;
-
setUseWhitelist
public void setUseWhitelist(boolean useWhitelist) - Mappings:
Namespace Name Mixin selector official i
Lacd;i(Z)V
intermediary method_16712
Lnet/minecraft/class_3176;method_16712(Z)V
named setUseWhitelist
Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;setUseWhitelist(Z)V
-
shutdown
public void shutdown()- Overrides:
shutdown
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official t
Lnet/minecraft/server/MinecraftServer;t()V
intermediary method_3782
Lnet/minecraft/server/MinecraftServer;method_3782()V
named shutdown
Lnet/minecraft/server/MinecraftServer;shutdown()V
-
isHost
public boolean isHost(com.mojang.authlib.GameProfile profile) - Specified by:
isHost
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official a
Lnet/minecraft/server/MinecraftServer;a(Lcom/mojang/authlib/GameProfile;)Z
intermediary method_19466
Lnet/minecraft/server/MinecraftServer;method_19466(Lcom/mojang/authlib/GameProfile;)Z
named isHost
Lnet/minecraft/server/MinecraftServer;isHost(Lcom/mojang/authlib/GameProfile;)Z
-
adjustTrackingDistance
public int adjustTrackingDistance(int initialDistance) - Overrides:
adjustTrackingDistance
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official b
Lnet/minecraft/server/MinecraftServer;b(I)I
intermediary method_27903
Lnet/minecraft/server/MinecraftServer;method_27903(I)I
named adjustTrackingDistance
Lnet/minecraft/server/MinecraftServer;adjustTrackingDistance(I)I
-
getLevelName
- Specified by:
getLevelName
in interfaceDedicatedServer
- Mappings:
Namespace Name Mixin selector official r
Lyo;r()Ljava/lang/String;
intermediary method_3865
Lnet/minecraft/class_2994;method_3865()Ljava/lang/String;
named getLevelName
Lnet/minecraft/server/dedicated/DedicatedServer;getLevelName()Ljava/lang/String;
-
syncChunkWrites
public boolean syncChunkWrites()- Overrides:
syncChunkWrites
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official aS
Lnet/minecraft/server/MinecraftServer;aS()Z
intermediary method_27051
Lnet/minecraft/server/MinecraftServer;method_27051()Z
named syncChunkWrites
Lnet/minecraft/server/MinecraftServer;syncChunkWrites()Z
-
createFilterer
- Overrides:
createFilterer
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official a
Lnet/minecraft/server/MinecraftServer;a(Ladd;)Ladz;
intermediary method_31371
Lnet/minecraft/server/MinecraftServer;method_31371(Lnet/minecraft/class_3222;)Lnet/minecraft/class_5513;
named createFilterer
Lnet/minecraft/server/MinecraftServer;createFilterer(Lnet/minecraft/server/network/ServerPlayerEntity;)Lnet/minecraft/server/filter/TextStream;
-
requireResourcePack
public boolean requireResourcePack()- Overrides:
requireResourcePack
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official aW
Lnet/minecraft/server/MinecraftServer;aW()Z
intermediary method_32303
Lnet/minecraft/server/MinecraftServer;method_32303()Z
named requireResourcePack
Lnet/minecraft/server/MinecraftServer;requireResourcePack()Z
-
getForcedGameMode
Returns the game mode a player should be set to when connecting to the server, ornull
if none is set.- Overrides:
getForcedGameMode
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official aX
Lnet/minecraft/server/MinecraftServer;aX()Lbzt;
intermediary method_3761
Lnet/minecraft/server/MinecraftServer;method_3761()Lnet/minecraft/class_1934;
named getForcedGameMode
Lnet/minecraft/server/MinecraftServer;getForcedGameMode()Lnet/minecraft/world/GameMode;
-
parseResourcePackPrompt
@Nullable private static @Nullable Text parseResourcePackPrompt(ServerPropertiesLoader propertiesLoader) - Mappings:
Namespace Name Mixin selector official a
Lacd;a(Lacf;)Lpt;
intermediary method_36239
Lnet/minecraft/class_3176;method_36239(Lnet/minecraft/class_3807;)Lnet/minecraft/class_2561;
named parseResourcePackPrompt
Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;parseResourcePackPrompt(Lnet/minecraft/server/dedicated/ServerPropertiesLoader;)Lnet/minecraft/text/Text;
-
getResourcePackPrompt
- Overrides:
getResourcePackPrompt
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official aZ
Lnet/minecraft/server/MinecraftServer;aZ()Lpt;
intermediary method_36326
Lnet/minecraft/server/MinecraftServer;method_36326()Lnet/minecraft/class_2561;
named getResourcePackPrompt
Lnet/minecraft/server/MinecraftServer;getResourcePackPrompt()Lnet/minecraft/text/Text;
-