Class MinecraftDedicatedServer

All Implemented Interfaces:
AutoCloseable, Executor, CommandOutput, DedicatedServer, MessageListener<ServerTask>, SampleableExecutor

public class MinecraftDedicatedServer extends MinecraftServer implements DedicatedServer
Mappings:
Namespace Name
official acx
intermediary net/minecraft/class_3176
named net/minecraft/server/dedicated/MinecraftDedicatedServer
  • Field Details

    • LOGGER

      static final org.slf4j.Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official q Lacx;q:Lorg/slf4j/Logger;
      intermediary field_13814 Lnet/minecraft/class_3176;field_13814:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;LOGGER:Lorg/slf4j/Logger;
    • field_29662

      private static final int field_29662
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official r Lacx;r: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 s Lacx;s:I
      intermediary field_29663 Lnet/minecraft/class_3176;field_29663:I
      named field_29663 Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;field_29663:I
    • SHA1_PATTERN

      private static final Pattern SHA1_PATTERN
      Mappings:
      Namespace Name Mixin selector
      official t Lacx;t: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

      private final List<PendingServerCommand> commandQueue
      Mappings:
      Namespace Name Mixin selector
      official u Lacx;u: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

      @Nullable private @Nullable QueryResponseHandler queryResponseHandler
      Mappings:
      Namespace Name Mixin selector
      official v Lacx;v:Lahd;
      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

      private final RconCommandOutput rconCommandOutput
      Mappings:
      Namespace Name Mixin selector
      official w Lacx;w:Laha;
      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

      @Nullable private @Nullable RconListener rconServer
      Mappings:
      Namespace Name Mixin selector
      official x Lacx;x:Lahf;
      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

      private final ServerPropertiesLoader propertiesLoader
      Mappings:
      Namespace Name Mixin selector
      official y Lacx;y:Lacz;
      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 z Lacx;z:Ladd;
      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

      @Nullable private final @Nullable TextFilterer filterer
      Mappings:
      Namespace Name Mixin selector
      official A Lacx;A:Laeu;
      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

      @Nullable private final @Nullable Text resourcePackPrompt
      Mappings:
      Namespace Name Mixin selector
      official B Lacx;B:Lqk;
      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, LevelStorage.Session session, ResourcePackManager dataPackManager, SaveLoader saveLoader, 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> Lacx;<init>(Ljava/lang/Thread;Ldkp$a;Lafn;Lzk;Lacz;Lcom/mojang/datafixers/DataFixer;Lcom/mojang/authlib/minecraft/MinecraftSessionService;Lcom/mojang/authlib/GameProfileRepository;Lagj;Laeg;)V
      intermediary <init> Lnet/minecraft/class_3176;<init>(Ljava/lang/Thread;Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_3283;Lnet/minecraft/class_6904;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/world/level/storage/LevelStorage$Session;Lnet/minecraft/resource/ResourcePackManager;Lnet/minecraft/server/SaveLoader;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

      public boolean setupServer() throws IOException
      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 class MinecraftServer
      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 class MinecraftServer
      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 class MinecraftServer
      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 class MinecraftServer
      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

      public String createResourcePackHash()
      Mappings:
      Namespace Name Mixin selector
      official bd Lacx;bd()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

      public ServerPropertiesHandler getProperties()
      Specified by:
      getProperties in interface DedicatedServer
      Mappings:
      Namespace Name Mixin selector
      official a Lzh;a()Lacy;
      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 class MinecraftServer
      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 class MinecraftServer
      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

      public SystemDetails addExtraSystemDetails(SystemDetails details)
      Specified by:
      addExtraSystemDetails in class MinecraftServer
      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

      public void dumpProperties(Path file) throws IOException
      Overrides:
      dumpProperties in class MinecraftServer
      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 class MinecraftServer
      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

      public void tickWorlds(BooleanSupplier shouldKeepTicking)
      Overrides:
      tickWorlds in class MinecraftServer
      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 class MinecraftServer
      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

      public void enqueueCommand(String command, ServerCommandSource commandSource)
      Mappings:
      Namespace Name Mixin selector
      official a Lacx;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 be Lacx;be()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 class MinecraftServer
      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 class MinecraftServer
      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 class MinecraftServer
      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

      public DedicatedPlayerManager getPlayerManager()
      Overrides:
      getPlayerManager in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official bf Lacx;bf()Lacw;
      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 class MinecraftServer
      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

      public String getHostname()
      Specified by:
      getHostname in interface DedicatedServer
      Mappings:
      Namespace Name Mixin selector
      official b Lzh;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 interface DedicatedServer
      Mappings:
      Namespace Name Mixin selector
      official d Lzh;d()I
      intermediary method_12918 Lnet/minecraft/class_2994;method_12918()I
      named getPort Lnet/minecraft/server/dedicated/DedicatedServer;getPort()I
    • getMotd

      public String getMotd()
      Specified by:
      getMotd in interface DedicatedServer
      Mappings:
      Namespace Name Mixin selector
      official p Lzh;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 bg Lacx;bg()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 class MinecraftServer
      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 class MinecraftServer
      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 class MinecraftServer
      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

      public boolean isSpawnProtected(ServerWorld world, BlockPos pos, PlayerEntity player)
      Overrides:
      isSpawnProtected in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Ladw;Lgj;Lboj;)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 class MinecraftServer
      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 class MinecraftServer
      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 class MinecraftServer
      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 class MinecraftServer
      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 class MinecraftServer
      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 class MinecraftServer
      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 interface CommandOutput
      Specified by:
      shouldBroadcastConsoleToOps in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official G_ Ldl;G_()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 class MinecraftServer
      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 class MinecraftServer
      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 bh Lacx;bh()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 br Lacx;br()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 bi Lacx;bi()J
      intermediary method_13944 Lnet/minecraft/class_3176;method_13944()J
      named getMaxTickTime Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;getMaxTickTime()J
    • getPlugins

      public String getPlugins()
      Specified by:
      getPlugins in interface DedicatedServer
      Mappings:
      Namespace Name Mixin selector
      official s Lzh;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

      public String executeRconCommand(String command)
      Specified by:
      executeRconCommand in interface DedicatedServer
      Mappings:
      Namespace Name Mixin selector
      official a Lzh;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 Lacx;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 class MinecraftServer
      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 class MinecraftServer
      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 class MinecraftServer
      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

      public String getLevelName()
      Specified by:
      getLevelName in interface DedicatedServer
      Mappings:
      Namespace Name Mixin selector
      official r Lzh;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 class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official aR Lnet/minecraft/server/MinecraftServer;aR()Z
      intermediary method_27051 Lnet/minecraft/server/MinecraftServer;method_27051()Z
      named syncChunkWrites Lnet/minecraft/server/MinecraftServer;syncChunkWrites()Z
    • createFilterer

      public TextStream createFilterer(ServerPlayerEntity player)
      Overrides:
      createFilterer in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Ladx;)Laet;
      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 class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official aV Lnet/minecraft/server/MinecraftServer;aV()Z
      intermediary method_32303 Lnet/minecraft/server/MinecraftServer;method_32303()Z
      named requireResourcePack Lnet/minecraft/server/MinecraftServer;requireResourcePack()Z
    • getForcedGameMode

      @Nullable public @Nullable GameMode getForcedGameMode()
      Returns the game mode a player should be set to when connecting to the server, or null if none is set.
      Overrides:
      getForcedGameMode in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official aW Lnet/minecraft/server/MinecraftServer;aW()Lcas;
      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 Lacx;a(Lacz;)Lqk;
      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

      @Nullable public @Nullable Text getResourcePackPrompt()
      Overrides:
      getResourcePackPrompt in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official aY Lnet/minecraft/server/MinecraftServer;aY()Lqk;
      intermediary method_36326 Lnet/minecraft/server/MinecraftServer;method_36326()Lnet/minecraft/class_2561;
      named getResourcePackPrompt Lnet/minecraft/server/MinecraftServer;getResourcePackPrompt()Lnet/minecraft/text/Text;