Class MinecraftDedicatedServer

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

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

    • LOGGER

      static final Logger 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

      private static final Pattern 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

      private final List<PendingServerCommand> 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

      private QueryResponseHandler 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

      private final RconCommandOutput 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

      private RconListener 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

      private final ServerPropertiesLoader 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

      @Nullable private final @Nullable TextFilterer 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

      @Nullable private final @Nullable Text 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

      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 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 class MinecraftServer
      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 class MinecraftServer
      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

      public String 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

      public ServerPropertiesHandler getProperties()
      Specified by:
      getProperties in interface DedicatedServer
      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 class MinecraftServer
      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 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
    • populateCrashReport

      public SystemDetails populateCrashReport(SystemDetails systemDetails)
      Specified by:
      populateCrashReport 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 populateCrashReport Lnet/minecraft/server/MinecraftServer;populateCrashReport(Lnet/minecraft/util/SystemDetails;)Lnet/minecraft/util/SystemDetails;
    • method_37113

      public void method_37113(Path path) throws IOException
      Overrides:
      method_37113 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 method_37113 Lnet/minecraft/server/MinecraftServer;method_37113(Ljava/nio/file/Path;)V
    • getModdedStatusMessage

      public Optional<String> getModdedStatusMessage()
      Specified by:
      getModdedStatusMessage in class MinecraftServer
      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 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 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

      public void addSnooperInfo(Snooper snooper)
      Specified by:
      addSnooperInfo in interface SnooperListener
      Overrides:
      addSnooperInfo in class MinecraftServer
      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 interface SnooperListener
      Overrides:
      isSnooperEnabled in class MinecraftServer
      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

      public void enqueueCommand(String command, ServerCommandSource commandSource)
      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 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 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 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 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 interface DedicatedServer
      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

      public String getMotd()
      Specified by:
      getMotd in interface DedicatedServer
      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 class MinecraftServer
      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 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 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

      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(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 class MinecraftServer
      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 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 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 class MinecraftServer
      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 class MinecraftServer
      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

      public String getPlugins()
      Specified by:
      getPlugins in interface DedicatedServer
      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

      public String executeRconCommand(String command)
      Specified by:
      executeRconCommand in interface DedicatedServer
      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 class MinecraftServer
      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 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 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 class MinecraftServer
      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

      public TextStream createFilterer(ServerPlayerEntity player)
      Overrides:
      createFilterer in class MinecraftServer
      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 class MinecraftServer
      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

      @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 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

      @Nullable public @Nullable Text getResourcePackPrompt()
      Overrides:
      getResourcePackPrompt in class MinecraftServer
      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;