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,MetricSamplerSupplier,SnooperListener,MessageListener<ServerTask>
- Mappings:
Namespace Name official aasintermediary net/minecraft/class_3176named net/minecraft/server/dedicated/MinecraftDedicatedServer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<PendingServerCommand>private static intprivate static intprivate @Nullable TextFiltererprivate @Nullable DedicatedServerGui(package private) static Loggerprivate ServerPropertiesLoaderprivate QueryResponseHandlerprivate RconCommandOutputprivate RconListenerprivate static PatternFields inherited from class net.minecraft.server.MinecraftServer
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_FILEFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY -
Constructor Summary
ConstructorsConstructorDescriptionMinecraftDedicatedServer(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 TypeMethodDescriptionbooleanvoidaddSnooperInfo(Snooper snooper)intadjustTrackingDistance(int initialDistance)booleanSpecifies whether command blocks can execute commands on the server.protected booleancreateFilterer(ServerPlayerEntity player)voidvoidenqueueCommand(String command, ServerCommandSource commandSource)voidexecuteRconCommand(String command)voidexit()Returns the game mode a player should be set to when connecting to the server, ornullif none is set.intlongintgetMotd()intintintgetPort()intintbooleanhasGui()booleanChecks whether this server is a dedicated server.booleanbooleanisHost(com.mojang.authlib.GameProfile profile)booleanbooleanbooleanisRemote()booleanbooleanisSpawnProtected(ServerWorld world, BlockPos pos, PlayerEntity player)booleanvoidmethod_37113(Path path)parseResourcePackPrompt(ServerPropertiesLoader propertiesLoader)populateCrashReport(class_6396 class_6396)booleanvoidsetPlayerIdleTimeout(int playerIdleTimeout)booleanSetups a Minecraft server to be ready for players to connect.voidsetUseWhitelist(boolean useWhitelist)booleanbooleanbooleanbooleanvoidshutdown()private voidbooleanvoidtickWorlds(BooleanSupplier shouldKeepTicking)voidMethods inherited from class net.minecraft.server.MinecraftServer
addInitialSnooperInfo, addServerGuiTickable, canExecute, close, convertLevel, createTask, createWorlds, enableProfiler, executeTask, forcePlayerSampleUpdate, generateKeyPair, getAdvancementLoader, getBossBarManager, getCommandFunctionManager, getCommandManager, getCommandSource, getCurrentPlayerCount, getDataCommandStorage, getDataFixer, getDataPackManager, getDefaultGameMode, getFile, getGameProfileRepo, getGameRules, getIconFile, getItemModifierManager, getKeyPair, getLootManager, getMaxPlayerCount, getMetricsData, getNetworkIo, getOverworld, getPermissionLevel, getPlayerIdleTimeout, getPlayerInteractionManager, getPlayerNames, getPredicateManager, getProfiler, getProxy, getRecipeManager, getRegistryManager, getResourceManager, getResourcePackHash, getResourcePackUrl, getRunDirectory, getSavePath, getSaveProperties, getScoreboard, getServerIp, getServerMetadata, getServerModName, getServerMotd, getServerPort, getServerStartTime, getSessionService, getSnooper, getSpawnRadius, getStructureManager, getTagManager, getThread, getTicks, getTickTime, getUserCache, getUserName, getVersion, getWorld, getWorldRegistryKeys, getWorlds, hasIconFile, isDebugRunning, isDemo, isEnforceWhitelist, isFlightEnabled, isLoading, isOnlineMode, isPvpEnabled, isRunning, isSinglePlayer, isStopped, isStopping, kickNonWhitelistedPlayers, loadDataPacks, loadWorld, loadWorldResourcePack, method_16208, method_37320, method_37321, method_37322, method_37323, method_37324, openToLan, reloadResources, runServer, runTask, save, sendSystemMessage, setCrashReport, setDefaultGameMode, setDemo, setDifficulty, setDifficultyLocked, setEnforceWhitelist, setFlightEnabled, setMotd, setOnlineMode, setPlayerManager, setPreventProxyConnections, setPvpEnabled, setResourcePack, setServerId, setServerIp, setServerName, setServerPort, shouldExecuteAsync, shouldPreventProxyConnections, shouldReceiveFeedback, shouldTrackOutput, startServer, stop, stopDebug, tickMethods inherited from class net.minecraft.util.thread.ReentrantThreadExecutor
hasRunningTasksMethods inherited from class net.minecraft.util.thread.ThreadExecutor
cancelTasks, execute, getName, getSamplers, getTaskCount, isOnThread, runTasks, runTasks, send, submit, submit, submitAndJoin, waitForTasksMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilencedMethods inherited from interface net.minecraft.server.dedicated.DedicatedServer
getCurrentPlayerCount, getMaxPlayerCount, getPlayerNames, getVersionMethods inherited from interface net.minecraft.util.thread.MessageListener
ask, askFallible
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official pLaas;p:Lorg/apache/logging/log4j/Logger;intermediary field_13814Lnet/minecraft/class_3176;field_13814:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/server/dedicated/MinecraftDedicatedServer;LOGGER:Lorg/apache/logging/log4j/Logger;
-
field_29662
private static final int field_29662- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official qLaas;q:Iintermediary field_29662Lnet/minecraft/class_3176;field_29662:Inamed field_29662Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;field_29662:I
-
field_29663
private static final int field_29663- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official rLaas;r:Iintermediary field_29663Lnet/minecraft/class_3176;field_29663:Inamed field_29663Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;field_29663:I
-
SHA1_PATTERN
- Mappings:
Namespace Name Mixin selector official sLaas;s:Ljava/util/regex/Pattern;intermediary field_13810Lnet/minecraft/class_3176;field_13810:Ljava/util/regex/Pattern;named SHA1_PATTERNLnet/minecraft/server/dedicated/MinecraftDedicatedServer;SHA1_PATTERN:Ljava/util/regex/Pattern;
-
commandQueue
- Mappings:
Namespace Name Mixin selector official tLaas;t:Ljava/util/List;intermediary field_13815Lnet/minecraft/class_3176;field_13815:Ljava/util/List;named commandQueueLnet/minecraft/server/dedicated/MinecraftDedicatedServer;commandQueue:Ljava/util/List;
-
queryResponseHandler
- Mappings:
Namespace Name Mixin selector official uLaas;u:Laex;intermediary field_13816Lnet/minecraft/class_3176;field_13816:Lnet/minecraft/class_3364;named queryResponseHandlerLnet/minecraft/server/dedicated/MinecraftDedicatedServer;queryResponseHandler:Lnet/minecraft/server/rcon/QueryResponseHandler;
-
rconCommandOutput
- Mappings:
Namespace Name Mixin selector official vLaas;v:Laeu;intermediary field_13811Lnet/minecraft/class_3176;field_13811:Lnet/minecraft/class_3350;named rconCommandOutputLnet/minecraft/server/dedicated/MinecraftDedicatedServer;rconCommandOutput:Lnet/minecraft/server/rcon/RconCommandOutput;
-
rconServer
- Mappings:
Namespace Name Mixin selector official wLaas;w:Laez;intermediary field_13819Lnet/minecraft/class_3176;field_13819:Lnet/minecraft/class_3408;named rconServerLnet/minecraft/server/dedicated/MinecraftDedicatedServer;rconServer:Lnet/minecraft/server/rcon/RconListener;
-
propertiesLoader
- Mappings:
Namespace Name Mixin selector official xLaas;x:Laau;intermediary field_16799Lnet/minecraft/class_3176;field_16799:Lnet/minecraft/class_3807;named propertiesLoaderLnet/minecraft/server/dedicated/MinecraftDedicatedServer;propertiesLoader:Lnet/minecraft/server/dedicated/ServerPropertiesLoader;
-
gui
- Mappings:
Namespace Name Mixin selector official yLaas;y:Laay;intermediary field_16800Lnet/minecraft/class_3176;field_16800:Lnet/minecraft/class_3182;named guiLnet/minecraft/server/dedicated/MinecraftDedicatedServer;gui:Lnet/minecraft/server/dedicated/gui/DedicatedServerGui;
-
filterer
- Mappings:
Namespace Name Mixin selector official zLaas;z:Lacp;intermediary field_26898Lnet/minecraft/class_3176;field_26898:Lnet/minecraft/class_5514;named filtererLnet/minecraft/server/dedicated/MinecraftDedicatedServer;filterer:Lnet/minecraft/server/filter/TextFilterer;
-
resourcePackPrompt
- Mappings:
Namespace Name Mixin selector official ALaas;A:Los;intermediary field_33431Lnet/minecraft/class_3176;field_33431:Lnet/minecraft/class_2561;named resourcePackPromptLnet/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>Laas;<init>(Ljava/lang/Thread;Lgx$b;Ldib$a;Ladi;Lxk;Ldii;Laau;Lcom/mojang/datafixers/DataFixer;Lcom/mojang/authlib/minecraft/MinecraftSessionService;Lcom/mojang/authlib/GameProfileRepository;Laed;Lacb;)Vintermediary <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;)Vnamed <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:
setupServerin 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 eLnet/minecraft/server/MinecraftServer;e()Zintermediary method_3823Lnet/minecraft/server/MinecraftServer;method_3823()Znamed setupServerLnet/minecraft/server/MinecraftServer;setupServer()Z
-
shouldSpawnAnimals
public boolean shouldSpawnAnimals()- Overrides:
shouldSpawnAnimalsin classMinecraftServer- Mappings:
Namespace Name Mixin selector official YLnet/minecraft/server/MinecraftServer;Y()Zintermediary method_3796Lnet/minecraft/server/MinecraftServer;method_3796()Znamed shouldSpawnAnimalsLnet/minecraft/server/MinecraftServer;shouldSpawnAnimals()Z
-
isMonsterSpawningEnabled
public boolean isMonsterSpawningEnabled()- Overrides:
isMonsterSpawningEnabledin classMinecraftServer- Mappings:
Namespace Name Mixin selector official RLnet/minecraft/server/MinecraftServer;R()Zintermediary method_3783Lnet/minecraft/server/MinecraftServer;method_3783()Znamed isMonsterSpawningEnabledLnet/minecraft/server/MinecraftServer;isMonsterSpawningEnabled()Z
-
shouldSpawnNpcs
public boolean shouldSpawnNpcs()- Overrides:
shouldSpawnNpcsin classMinecraftServer- Mappings:
Namespace Name Mixin selector official ZLnet/minecraft/server/MinecraftServer;Z()Zintermediary method_3736Lnet/minecraft/server/MinecraftServer;method_3736()Znamed shouldSpawnNpcsLnet/minecraft/server/MinecraftServer;shouldSpawnNpcs()Z
-
createResourcePackHash
- Mappings:
Namespace Name Mixin selector official bfLaas;bf()Ljava/lang/String;intermediary method_13950Lnet/minecraft/class_3176;method_13950()Ljava/lang/String;named createResourcePackHashLnet/minecraft/server/dedicated/MinecraftDedicatedServer;createResourcePackHash()Ljava/lang/String;
-
getProperties
- Specified by:
getPropertiesin interfaceDedicatedServer- Mappings:
Namespace Name Mixin selector official aLxj;a()Laat;intermediary method_16705Lnet/minecraft/class_2994;method_16705()Lnet/minecraft/class_3806;named getPropertiesLnet/minecraft/server/dedicated/DedicatedServer;getProperties()Lnet/minecraft/server/dedicated/ServerPropertiesHandler;
-
updateDifficulty
public void updateDifficulty()- Overrides:
updateDifficultyin classMinecraftServer- Mappings:
Namespace Name Mixin selector official rLnet/minecraft/server/MinecraftServer;r()Vintermediary method_27731Lnet/minecraft/server/MinecraftServer;method_27731()Vnamed updateDifficultyLnet/minecraft/server/MinecraftServer;updateDifficulty()V
-
isHardcore
public boolean isHardcore()- Overrides:
isHardcorein classMinecraftServer- Mappings:
Namespace Name Mixin selector official gLnet/minecraft/server/MinecraftServer;g()Zintermediary method_3754Lnet/minecraft/server/MinecraftServer;method_3754()Znamed isHardcoreLnet/minecraft/server/MinecraftServer;isHardcore()Z
-
populateCrashReport
- Specified by:
populateCrashReportin classMinecraftServer- Mappings:
Namespace Name Mixin selector official aLnet/minecraft/server/MinecraftServer;a(Lac;)Lac;intermediary method_3859Lnet/minecraft/server/MinecraftServer;method_3859(Lnet/minecraft/class_6396;)Lnet/minecraft/class_6396;named populateCrashReportLnet/minecraft/server/MinecraftServer;populateCrashReport(Lnet/minecraft/class_6396;)Lnet/minecraft/class_6396;
-
method_37113
- Overrides:
method_37113in classMinecraftServer- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLnet/minecraft/server/MinecraftServer;a(Ljava/nio/file/Path;)Vintermediary method_37113Lnet/minecraft/server/MinecraftServer;method_37113(Ljava/nio/file/Path;)Vnamed method_37113Lnet/minecraft/server/MinecraftServer;method_37113(Ljava/nio/file/Path;)V
-
getModdedStatusMessage
- Specified by:
getModdedStatusMessagein classMinecraftServer- Mappings:
Namespace Name Mixin selector official pLnet/minecraft/server/MinecraftServer;p()Ljava/util/Optional;intermediary method_24307Lnet/minecraft/server/MinecraftServer;method_24307()Ljava/util/Optional;named getModdedStatusMessageLnet/minecraft/server/MinecraftServer;getModdedStatusMessage()Ljava/util/Optional;
-
exit
public void exit()- Overrides:
exitin classMinecraftServer- Mappings:
Namespace Name Mixin selector official fLnet/minecraft/server/MinecraftServer;f()Vintermediary method_3821Lnet/minecraft/server/MinecraftServer;method_3821()Vnamed exitLnet/minecraft/server/MinecraftServer;exit()V
-
tickWorlds
- Overrides:
tickWorldsin classMinecraftServer- Mappings:
Namespace Name Mixin selector official bLnet/minecraft/server/MinecraftServer;b(Ljava/util/function/BooleanSupplier;)Vintermediary method_3813Lnet/minecraft/server/MinecraftServer;method_3813(Ljava/util/function/BooleanSupplier;)Vnamed tickWorldsLnet/minecraft/server/MinecraftServer;tickWorlds(Ljava/util/function/BooleanSupplier;)V
-
isNetherAllowed
public boolean isNetherAllowed()- Overrides:
isNetherAllowedin classMinecraftServer- Mappings:
Namespace Name Mixin selector official DLnet/minecraft/server/MinecraftServer;D()Zintermediary method_3839Lnet/minecraft/server/MinecraftServer;method_3839()Znamed isNetherAllowedLnet/minecraft/server/MinecraftServer;isNetherAllowed()Z
-
addSnooperInfo
- Specified by:
addSnooperInfoin interfaceSnooperListener- Overrides:
addSnooperInfoin classMinecraftServer- Mappings:
Namespace Name Mixin selector official aLasi;a(Lash;)Vintermediary method_5495Lnet/minecraft/class_1279;method_5495(Lnet/minecraft/class_1276;)Vnamed addSnooperInfoLnet/minecraft/util/snooper/SnooperListener;addSnooperInfo(Lnet/minecraft/util/snooper/Snooper;)V
-
isSnooperEnabled
public boolean isSnooperEnabled()- Specified by:
isSnooperEnabledin interfaceSnooperListener- Overrides:
isSnooperEnabledin classMinecraftServer- Mappings:
Namespace Name Mixin selector official VLasi;V()Zintermediary method_35033Lnet/minecraft/class_1279;method_35033()Znamed isSnooperEnabledLnet/minecraft/util/snooper/SnooperListener;isSnooperEnabled()Z
-
enqueueCommand
- Mappings:
Namespace Name Mixin selector official aLaas;a(Ljava/lang/String;Ldl;)Vintermediary method_13947Lnet/minecraft/class_3176;method_13947(Ljava/lang/String;Lnet/minecraft/class_2168;)Vnamed enqueueCommandLnet/minecraft/server/dedicated/MinecraftDedicatedServer;enqueueCommand(Ljava/lang/String;Lnet/minecraft/server/command/ServerCommandSource;)V
-
executeQueuedCommands
public void executeQueuedCommands()- Mappings:
Namespace Name Mixin selector official bgLaas;bg()Vintermediary method_13941Lnet/minecraft/class_3176;method_13941()Vnamed executeQueuedCommandsLnet/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:
isDedicatedin classMinecraftServer- Mappings:
Namespace Name Mixin selector official kLnet/minecraft/server/MinecraftServer;k()Zintermediary method_3816Lnet/minecraft/server/MinecraftServer;method_3816()Znamed isDedicatedLnet/minecraft/server/MinecraftServer;isDedicated()Z
-
getRateLimit
public int getRateLimit()- Specified by:
getRateLimitin classMinecraftServer- Mappings:
Namespace Name Mixin selector official lLnet/minecraft/server/MinecraftServer;l()Iintermediary method_30612Lnet/minecraft/server/MinecraftServer;method_30612()Inamed getRateLimitLnet/minecraft/server/MinecraftServer;getRateLimit()I
-
isUsingNativeTransport
public boolean isUsingNativeTransport()- Specified by:
isUsingNativeTransportin classMinecraftServer- Mappings:
Namespace Name Mixin selector official mLnet/minecraft/server/MinecraftServer;m()Zintermediary method_3759Lnet/minecraft/server/MinecraftServer;method_3759()Znamed isUsingNativeTransportLnet/minecraft/server/MinecraftServer;isUsingNativeTransport()Z
-
getPlayerManager
- Overrides:
getPlayerManagerin classMinecraftServer- Mappings:
Namespace Name Mixin selector official bhLaas;bh()Laar;intermediary method_13949Lnet/minecraft/class_3176;method_13949()Lnet/minecraft/class_3174;named getPlayerManagerLnet/minecraft/server/dedicated/MinecraftDedicatedServer;getPlayerManager()Lnet/minecraft/server/dedicated/DedicatedPlayerManager;
-
isRemote
public boolean isRemote()- Specified by:
isRemotein classMinecraftServer- Mappings:
Namespace Name Mixin selector official oLnet/minecraft/server/MinecraftServer;o()Zintermediary method_3860Lnet/minecraft/server/MinecraftServer;method_3860()Znamed isRemoteLnet/minecraft/server/MinecraftServer;isRemote()Z
-
getHostname
- Specified by:
getHostnamein interfaceDedicatedServer- Mappings:
Namespace Name Mixin selector official bLxj;b()Ljava/lang/String;intermediary method_12929Lnet/minecraft/class_2994;method_12929()Ljava/lang/String;named getHostnameLnet/minecraft/server/dedicated/DedicatedServer;getHostname()Ljava/lang/String;
-
getPort
public int getPort()- Specified by:
getPortin interfaceDedicatedServer- Mappings:
Namespace Name Mixin selector official dLxj;d()Iintermediary method_12918Lnet/minecraft/class_2994;method_12918()Inamed getPortLnet/minecraft/server/dedicated/DedicatedServer;getPort()I
-
getMotd
- Specified by:
getMotdin interfaceDedicatedServer- Mappings:
Namespace Name Mixin selector official qLxj;q()Ljava/lang/String;intermediary method_12930Lnet/minecraft/class_2994;method_12930()Ljava/lang/String;named getMotdLnet/minecraft/server/dedicated/DedicatedServer;getMotd()Ljava/lang/String;
-
createGui
public void createGui()- Mappings:
Namespace Name Mixin selector official biLaas;bi()Vintermediary method_13948Lnet/minecraft/class_3176;method_13948()Vnamed createGuiLnet/minecraft/server/dedicated/MinecraftDedicatedServer;createGui()V
-
hasGui
public boolean hasGui()- Overrides:
hasGuiin classMinecraftServer- Mappings:
Namespace Name Mixin selector official ahLnet/minecraft/server/MinecraftServer;ah()Zintermediary method_3727Lnet/minecraft/server/MinecraftServer;method_3727()Znamed hasGuiLnet/minecraft/server/MinecraftServer;hasGui()Z
-
areCommandBlocksEnabled
public boolean areCommandBlocksEnabled()Specifies whether command blocks can execute commands on the server.- Specified by:
areCommandBlocksEnabledin classMinecraftServer- Mappings:
Namespace Name Mixin selector official nLnet/minecraft/server/MinecraftServer;n()Zintermediary method_3812Lnet/minecraft/server/MinecraftServer;method_3812()Znamed areCommandBlocksEnabledLnet/minecraft/server/MinecraftServer;areCommandBlocksEnabled()Z
-
getSpawnProtectionRadius
public int getSpawnProtectionRadius()- Overrides:
getSpawnProtectionRadiusin classMinecraftServer- Mappings:
Namespace Name Mixin selector official akLnet/minecraft/server/MinecraftServer;ak()Iintermediary method_3841Lnet/minecraft/server/MinecraftServer;method_3841()Inamed getSpawnProtectionRadiusLnet/minecraft/server/MinecraftServer;getSpawnProtectionRadius()I
-
isSpawnProtected
- Overrides:
isSpawnProtectedin classMinecraftServer- Mappings:
Namespace Name Mixin selector official aLnet/minecraft/server/MinecraftServer;a(Labr;Lgg;Lbkd;)Zintermediary method_3785Lnet/minecraft/server/MinecraftServer;method_3785(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;)Znamed isSpawnProtectedLnet/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:
acceptsStatusQueryin classMinecraftServer- Mappings:
Namespace Name Mixin selector official alLnet/minecraft/server/MinecraftServer;al()Zintermediary method_27902Lnet/minecraft/server/MinecraftServer;method_27902()Znamed acceptsStatusQueryLnet/minecraft/server/MinecraftServer;acceptsStatusQuery()Z
-
getOpPermissionLevel
public int getOpPermissionLevel()- Specified by:
getOpPermissionLevelin classMinecraftServer- Mappings:
Namespace Name Mixin selector official hLnet/minecraft/server/MinecraftServer;h()Iintermediary method_3798Lnet/minecraft/server/MinecraftServer;method_3798()Inamed getOpPermissionLevelLnet/minecraft/server/MinecraftServer;getOpPermissionLevel()I
-
getFunctionPermissionLevel
public int getFunctionPermissionLevel()- Specified by:
getFunctionPermissionLevelin classMinecraftServer- Mappings:
Namespace Name Mixin selector official iLnet/minecraft/server/MinecraftServer;i()Iintermediary method_21714Lnet/minecraft/server/MinecraftServer;method_21714()Inamed getFunctionPermissionLevelLnet/minecraft/server/MinecraftServer;getFunctionPermissionLevel()I
-
setPlayerIdleTimeout
public void setPlayerIdleTimeout(int playerIdleTimeout)- Overrides:
setPlayerIdleTimeoutin classMinecraftServer- Mappings:
Namespace Name Mixin selector official cLnet/minecraft/server/MinecraftServer;c(I)Vintermediary method_3803Lnet/minecraft/server/MinecraftServer;method_3803(I)Vnamed setPlayerIdleTimeoutLnet/minecraft/server/MinecraftServer;setPlayerIdleTimeout(I)V
-
shouldBroadcastRconToOps
public boolean shouldBroadcastRconToOps()- Specified by:
shouldBroadcastRconToOpsin classMinecraftServer- Mappings:
Namespace Name Mixin selector official jLnet/minecraft/server/MinecraftServer;j()Zintermediary method_3732Lnet/minecraft/server/MinecraftServer;method_3732()Znamed shouldBroadcastRconToOpsLnet/minecraft/server/MinecraftServer;shouldBroadcastRconToOps()Z
-
shouldBroadcastConsoleToOps
public boolean shouldBroadcastConsoleToOps()- Specified by:
shouldBroadcastConsoleToOpsin interfaceCommandOutput- Specified by:
shouldBroadcastConsoleToOpsin classMinecraftServer- Mappings:
Namespace Name Mixin selector official E_Ldk;E_()Zintermediary method_9201Lnet/minecraft/class_2165;method_9201()Znamed shouldBroadcastConsoleToOpsLnet/minecraft/server/command/CommandOutput;shouldBroadcastConsoleToOps()Z
-
getMaxWorldBorderRadius
public int getMaxWorldBorderRadius()- Overrides:
getMaxWorldBorderRadiusin classMinecraftServer- Mappings:
Namespace Name Mixin selector official atLnet/minecraft/server/MinecraftServer;at()Iintermediary method_3749Lnet/minecraft/server/MinecraftServer;method_3749()Inamed getMaxWorldBorderRadiusLnet/minecraft/server/MinecraftServer;getMaxWorldBorderRadius()I
-
getNetworkCompressionThreshold
public int getNetworkCompressionThreshold()- Overrides:
getNetworkCompressionThresholdin classMinecraftServer- Mappings:
Namespace Name Mixin selector official awLnet/minecraft/server/MinecraftServer;aw()Iintermediary method_3773Lnet/minecraft/server/MinecraftServer;method_3773()Inamed getNetworkCompressionThresholdLnet/minecraft/server/MinecraftServer;getNetworkCompressionThreshold()I
-
convertData
protected boolean convertData()- Mappings:
Namespace Name Mixin selector official bjLaas;bj()Zintermediary method_13951Lnet/minecraft/class_3176;method_13951()Znamed convertDataLnet/minecraft/server/dedicated/MinecraftDedicatedServer;convertData()Z
-
sleepFiveSeconds
private void sleepFiveSeconds()- Mappings:
Namespace Name Mixin selector official btLaas;bt()Vintermediary method_13942Lnet/minecraft/class_3176;method_13942()Vnamed sleepFiveSecondsLnet/minecraft/server/dedicated/MinecraftDedicatedServer;sleepFiveSeconds()V
-
getMaxTickTime
public long getMaxTickTime()- Mappings:
Namespace Name Mixin selector official bkLaas;bk()Jintermediary method_13944Lnet/minecraft/class_3176;method_13944()Jnamed getMaxTickTimeLnet/minecraft/server/dedicated/MinecraftDedicatedServer;getMaxTickTime()J
-
getPlugins
- Specified by:
getPluginsin interfaceDedicatedServer- Mappings:
Namespace Name Mixin selector official tLxj;t()Ljava/lang/String;intermediary method_12916Lnet/minecraft/class_2994;method_12916()Ljava/lang/String;named getPluginsLnet/minecraft/server/dedicated/DedicatedServer;getPlugins()Ljava/lang/String;
-
executeRconCommand
- Specified by:
executeRconCommandin interfaceDedicatedServer- Mappings:
Namespace Name Mixin selector official aLxj;a(Ljava/lang/String;)Ljava/lang/String;intermediary method_12934Lnet/minecraft/class_2994;method_12934(Ljava/lang/String;)Ljava/lang/String;named executeRconCommandLnet/minecraft/server/dedicated/DedicatedServer;executeRconCommand(Ljava/lang/String;)Ljava/lang/String;
-
setUseWhitelist
public void setUseWhitelist(boolean useWhitelist)- Mappings:
Namespace Name Mixin selector official iLaas;i(Z)Vintermediary method_16712Lnet/minecraft/class_3176;method_16712(Z)Vnamed setUseWhitelistLnet/minecraft/server/dedicated/MinecraftDedicatedServer;setUseWhitelist(Z)V
-
shutdown
public void shutdown()- Overrides:
shutdownin classMinecraftServer- Mappings:
Namespace Name Mixin selector official uLnet/minecraft/server/MinecraftServer;u()Vintermediary method_3782Lnet/minecraft/server/MinecraftServer;method_3782()Vnamed shutdownLnet/minecraft/server/MinecraftServer;shutdown()V
-
isHost
public boolean isHost(com.mojang.authlib.GameProfile profile)- Specified by:
isHostin classMinecraftServer- Mappings:
Namespace Name Mixin selector official aLnet/minecraft/server/MinecraftServer;a(Lcom/mojang/authlib/GameProfile;)Zintermediary method_19466Lnet/minecraft/server/MinecraftServer;method_19466(Lcom/mojang/authlib/GameProfile;)Znamed isHostLnet/minecraft/server/MinecraftServer;isHost(Lcom/mojang/authlib/GameProfile;)Z
-
adjustTrackingDistance
public int adjustTrackingDistance(int initialDistance)- Overrides:
adjustTrackingDistancein classMinecraftServer- Mappings:
Namespace Name Mixin selector official bLnet/minecraft/server/MinecraftServer;b(I)Iintermediary method_27903Lnet/minecraft/server/MinecraftServer;method_27903(I)Inamed adjustTrackingDistanceLnet/minecraft/server/MinecraftServer;adjustTrackingDistance(I)I
-
getLevelName
- Specified by:
getLevelNamein interfaceDedicatedServer- Mappings:
Namespace Name Mixin selector official sLxj;s()Ljava/lang/String;intermediary method_3865Lnet/minecraft/class_2994;method_3865()Ljava/lang/String;named getLevelNameLnet/minecraft/server/dedicated/DedicatedServer;getLevelName()Ljava/lang/String;
-
syncChunkWrites
public boolean syncChunkWrites()- Overrides:
syncChunkWritesin classMinecraftServer- Mappings:
Namespace Name Mixin selector official aULnet/minecraft/server/MinecraftServer;aU()Zintermediary method_27051Lnet/minecraft/server/MinecraftServer;method_27051()Znamed syncChunkWritesLnet/minecraft/server/MinecraftServer;syncChunkWrites()Z
-
createFilterer
- Overrides:
createFiltererin classMinecraftServer- Mappings:
Namespace Name Mixin selector official aLnet/minecraft/server/MinecraftServer;a(Labs;)Laco;intermediary method_31371Lnet/minecraft/server/MinecraftServer;method_31371(Lnet/minecraft/class_3222;)Lnet/minecraft/class_5513;named createFiltererLnet/minecraft/server/MinecraftServer;createFilterer(Lnet/minecraft/server/network/ServerPlayerEntity;)Lnet/minecraft/server/filter/TextStream;
-
requireResourcePack
public boolean requireResourcePack()- Overrides:
requireResourcePackin classMinecraftServer- Mappings:
Namespace Name Mixin selector official aYLnet/minecraft/server/MinecraftServer;aY()Zintermediary method_32303Lnet/minecraft/server/MinecraftServer;method_32303()Znamed requireResourcePackLnet/minecraft/server/MinecraftServer;requireResourcePack()Z
-
getForcedGameMode
Returns the game mode a player should be set to when connecting to the server, ornullif none is set.- Overrides:
getForcedGameModein classMinecraftServer- Mappings:
Namespace Name Mixin selector official aZLnet/minecraft/server/MinecraftServer;aZ()Lbwm;intermediary method_3761Lnet/minecraft/server/MinecraftServer;method_3761()Lnet/minecraft/class_1934;named getForcedGameModeLnet/minecraft/server/MinecraftServer;getForcedGameMode()Lnet/minecraft/world/GameMode;
-
parseResourcePackPrompt
@Nullable private static @Nullable Text parseResourcePackPrompt(ServerPropertiesLoader propertiesLoader)- Mappings:
Namespace Name Mixin selector official aLaas;a(Laau;)Los;intermediary method_36239Lnet/minecraft/class_3176;method_36239(Lnet/minecraft/class_3807;)Lnet/minecraft/class_2561;named parseResourcePackPromptLnet/minecraft/server/dedicated/MinecraftDedicatedServer;parseResourcePackPrompt(Lnet/minecraft/server/dedicated/ServerPropertiesLoader;)Lnet/minecraft/text/Text;
-
getResourcePackPrompt
- Overrides:
getResourcePackPromptin classMinecraftServer- Mappings:
Namespace Name Mixin selector official bbLnet/minecraft/server/MinecraftServer;bb()Los;intermediary method_36326Lnet/minecraft/server/MinecraftServer;method_36326()Lnet/minecraft/class_2561;named getResourcePackPromptLnet/minecraft/server/MinecraftServer;getResourcePackPrompt()Lnet/minecraft/text/Text;
-