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 aas
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 QueryResponseHandler
private final RconCommandOutput
private RconListener
private static final Pattern
Fields 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_FILE
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
void
addSnooperInfo
(Snooper snooper) int
adjustTrackingDistance
(int initialDistance) boolean
Specifies whether command blocks can execute commands on the server.protected boolean
createFilterer
(ServerPlayerEntity player) void
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
Checks whether this server is a dedicated server.boolean
boolean
isHost
(com.mojang.authlib.GameProfile profile) boolean
boolean
boolean
isRemote()
boolean
boolean
isSpawnProtected
(ServerWorld world, BlockPos pos, PlayerEntity player) boolean
void
method_37113
(Path path) parseResourcePackPrompt
(ServerPropertiesLoader propertiesLoader) populateCrashReport
(SystemDetails systemDetails) 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
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, isRunningMonitor, isSinglePlayer, isStopped, isStopping, kickNonWhitelistedPlayers, loadDataPacks, loadWorld, loadWorldResourcePack, method_16208, method_37320, 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, tick
Methods inherited from class net.minecraft.util.thread.ReentrantThreadExecutor
hasRunningTasks
Methods inherited from class net.minecraft.util.thread.ThreadExecutor
cancelTasks, execute, getName, getSamplers, 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 p
Laas;p: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 q
Laas;q: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 r
Laas;r: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 s
Laas;s: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 t
Laas;t: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 u
Laas;u:Laex;
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 v
Laas;v:Laeu;
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 w
Laas;w:Laez;
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 x
Laas;x:Laau;
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 y
Laas;y:Laay;
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 z
Laas;z:Lacp;
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 A
Laas;A:Los;
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>
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;)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 Y
Lnet/minecraft/server/MinecraftServer;Y()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 R
Lnet/minecraft/server/MinecraftServer;R()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 Z
Lnet/minecraft/server/MinecraftServer;Z()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 bf
Laas;bf()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
Lxj;a()Laat;
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 r
Lnet/minecraft/server/MinecraftServer;r()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
-
populateCrashReport
- Specified by:
populateCrashReport
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 populateCrashReport
Lnet/minecraft/server/MinecraftServer;populateCrashReport(Lnet/minecraft/util/SystemDetails;)Lnet/minecraft/util/SystemDetails;
-
method_37113
- Overrides:
method_37113
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 method_37113
Lnet/minecraft/server/MinecraftServer;method_37113(Ljava/nio/file/Path;)V
-
getModdedStatusMessage
- Specified by:
getModdedStatusMessage
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official p
Lnet/minecraft/server/MinecraftServer;p()Ljava/util/Optional;
intermediary method_24307
Lnet/minecraft/server/MinecraftServer;method_24307()Ljava/util/Optional;
named getModdedStatusMessage
Lnet/minecraft/server/MinecraftServer;getModdedStatusMessage()Ljava/util/Optional;
-
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 D
Lnet/minecraft/server/MinecraftServer;D()Z
intermediary method_3839
Lnet/minecraft/server/MinecraftServer;method_3839()Z
named isNetherAllowed
Lnet/minecraft/server/MinecraftServer;isNetherAllowed()Z
-
addSnooperInfo
- Specified by:
addSnooperInfo
in interfaceSnooperListener
- Overrides:
addSnooperInfo
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official a
Lasi;a(Lash;)V
intermediary method_5495
Lnet/minecraft/class_1279;method_5495(Lnet/minecraft/class_1276;)V
named addSnooperInfo
Lnet/minecraft/util/snooper/SnooperListener;addSnooperInfo(Lnet/minecraft/util/snooper/Snooper;)V
-
isSnooperEnabled
public boolean isSnooperEnabled()- Specified by:
isSnooperEnabled
in interfaceSnooperListener
- Overrides:
isSnooperEnabled
in classMinecraftServer
- Mappings:
Namespace Name Mixin selector official V
Lasi;V()Z
intermediary method_35033
Lnet/minecraft/class_1279;method_35033()Z
named isSnooperEnabled
Lnet/minecraft/util/snooper/SnooperListener;isSnooperEnabled()Z
-
enqueueCommand
- Mappings:
Namespace Name Mixin selector official a
Laas;a(Ljava/lang/String;Ldl;)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 bg
Laas;bg()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 bh
Laas;bh()Laar;
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
Lxj;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
Lxj;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 q
Lxj;q()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 bi
Laas;bi()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 ah
Lnet/minecraft/server/MinecraftServer;ah()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 ak
Lnet/minecraft/server/MinecraftServer;ak()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(Labr;Lgg;Lbkd;)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 al
Lnet/minecraft/server/MinecraftServer;al()Z
intermediary method_27902
Lnet/minecraft/server/MinecraftServer;method_27902()Z
named acceptsStatusQuery
Lnet/minecraft/server/MinecraftServer;acceptsStatusQuery()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 E_
Ldk;E_()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 at
Lnet/minecraft/server/MinecraftServer;at()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 aw
Lnet/minecraft/server/MinecraftServer;aw()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 bj
Laas;bj()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 bt
Laas;bt()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 bk
Laas;bk()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 t
Lxj;t()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
Lxj;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
Laas;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 u
Lnet/minecraft/server/MinecraftServer;u()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 s
Lxj;s()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 aU
Lnet/minecraft/server/MinecraftServer;aU()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(Labs;)Laco;
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 aY
Lnet/minecraft/server/MinecraftServer;aY()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 aZ
Lnet/minecraft/server/MinecraftServer;aZ()Lbwm;
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
Laas;a(Laau;)Los;
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 bb
Lnet/minecraft/server/MinecraftServer;bb()Los;
intermediary method_36326
Lnet/minecraft/server/MinecraftServer;method_36326()Lnet/minecraft/class_2561;
named getResourcePackPrompt
Lnet/minecraft/server/MinecraftServer;getResourcePackPrompt()Lnet/minecraft/text/Text;
-