Class MinecraftDedicatedServer

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

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

    • LOGGER

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official n Lahq;n: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 o Lahq;o: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 p Lahq;p:I
      intermediary field_29663 Lnet/minecraft/class_3176;field_29663:I
      named field_29663 Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;field_29663:I
    • commandQueue

      private final List<PendingServerCommand> commandQueue
      Mappings:
      Namespace Name Mixin selector
      official q Lahq;q: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 r Lahq;r:Lamk;
      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 s Lahq;s:Lamh;
      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 t Lahq;t:Lamm;
      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 u Lahq;u:Lahs;
      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 v Lahq;v:Lahw;
      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 w Lahq;w:Lajo;
      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;
  • Constructor Details

    • MinecraftDedicatedServer

      public MinecraftDedicatedServer(Thread serverThread, LevelStorage.Session session, ResourcePackManager dataPackManager, SaveLoader saveLoader, ServerPropertiesLoader propertiesLoader, com.mojang.datafixers.DataFixer dataFixer, ApiServices apiServices, WorldGenerationProgressListenerFactory worldGenerationProgressListenerFactory)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lahq;<init>(Ljava/lang/Thread;Ldye$c;Laks;Ladx;Lahs;Lcom/mojang/datafixers/DataFixer;Ladu;Laiz;)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;Lnet/minecraft/class_7497;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;Lnet/minecraft/util/ApiServices;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
    • getProperties

      public ServerPropertiesHandler getProperties()
      Specified by:
      getProperties in interface DedicatedServer
      Mappings:
      Namespace Name Mixin selector
      official a Lads;a()Lahr;
      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 h Lnet/minecraft/server/MinecraftServer;h()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(Lab;)Lab;
      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 g Lnet/minecraft/server/MinecraftServer;g()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 Lahq;a(Ljava/lang/String;Ldr;)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 bh Lahq;bh()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 l Lnet/minecraft/server/MinecraftServer;l()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 m Lnet/minecraft/server/MinecraftServer;m()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 n Lnet/minecraft/server/MinecraftServer;n()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 bi Lahq;bi()Lahp;
      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 p Lnet/minecraft/server/MinecraftServer;p()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 Lads;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 Lads;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 f Lads;f()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 bj Lahq;bj()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 o Lnet/minecraft/server/MinecraftServer;o()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(Laip;Lgt;Lbym;)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 i Lnet/minecraft/server/MinecraftServer;i()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 j Lnet/minecraft/server/MinecraftServer;j()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 k Lnet/minecraft/server/MinecraftServer;k()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 M_ Ldq;M_()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 as Lnet/minecraft/server/MinecraftServer;as()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 av Lnet/minecraft/server/MinecraftServer;av()I
      intermediary method_3773 Lnet/minecraft/server/MinecraftServer;method_3773()I
      named getNetworkCompressionThreshold Lnet/minecraft/server/MinecraftServer;getNetworkCompressionThreshold()I
    • shouldEnforceSecureProfile

      public boolean shouldEnforceSecureProfile()
      Overrides:
      shouldEnforceSecureProfile in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official aw Lnet/minecraft/server/MinecraftServer;aw()Z
      intermediary method_43500 Lnet/minecraft/server/MinecraftServer;method_43500()Z
      named shouldEnforceSecureProfile Lnet/minecraft/server/MinecraftServer;shouldEnforceSecureProfile()Z
    • convertData

      protected boolean convertData()
      Mappings:
      Namespace Name Mixin selector
      official bk Lahq;bk()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 bu Lahq;bu()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 bl Lahq;bl()J
      intermediary method_13944 Lnet/minecraft/class_3176;method_13944()J
      named getMaxTickTime Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;getMaxTickTime()J
    • getMaxChainedNeighborUpdates

      public int getMaxChainedNeighborUpdates()
      Overrides:
      getMaxChainedNeighborUpdates in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official bf Lnet/minecraft/server/MinecraftServer;bf()I
      intermediary method_41239 Lnet/minecraft/server/MinecraftServer;method_41239()I
      named getMaxChainedNeighborUpdates Lnet/minecraft/server/MinecraftServer;getMaxChainedNeighborUpdates()I
    • getPlugins

      public String getPlugins()
      Specified by:
      getPlugins in interface DedicatedServer
      Mappings:
      Namespace Name Mixin selector
      official s Lads;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 Lads;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 Lahq;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 q Lads;q()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(Laiq;)Lajn;
      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;
    • 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()Lcmf;
      intermediary method_3761 Lnet/minecraft/server/MinecraftServer;method_3761()Lnet/minecraft/class_1934;
      named getForcedGameMode Lnet/minecraft/server/MinecraftServer;getForcedGameMode()Lnet/minecraft/world/GameMode;
    • getResourcePackProperties

      public Optional<MinecraftServer.ServerResourcePackProperties> getResourcePackProperties()
      Overrides:
      getResourcePackProperties in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official S Lnet/minecraft/server/MinecraftServer;S()Ljava/util/Optional;
      intermediary method_43659 Lnet/minecraft/server/MinecraftServer;method_43659()Ljava/util/Optional;
      named getResourcePackProperties Lnet/minecraft/server/MinecraftServer;getResourcePackProperties()Ljava/util/Optional;