Class MinecraftDedicatedServer

java.lang.Object
net.minecraft.server.MinecraftServer
net.minecraft.server.dedicated.MinecraftDedicatedServer
All Implemented Interfaces:
Runnable, CommandSource, DedicatedServer, Snoopable, ThreadExecutor

@Environment(SERVER) public class MinecraftDedicatedServer extends MinecraftServer implements DedicatedServer
Mappings:
Namespace Name
official po
intermediary net/minecraft/class_770
named net/minecraft/server/dedicated/MinecraftDedicatedServer
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official j Lpo;j:Lorg/apache/logging/log4j/Logger;
      intermediary field_8870 Lnet/minecraft/class_770;field_8870:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;LOGGER:Lorg/apache/logging/log4j/Logger;
    • commandQueue

      private final List commandQueue
      Mappings:
      Namespace Name Mixin selector
      official k Lpo;k:Ljava/util/List;
      intermediary field_2731 Lnet/minecraft/class_770;field_2731:Ljava/util/List;
      named commandQueue Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;commandQueue:Ljava/util/List;
    • queryResponseHandler

      private QueryResponseHandler queryResponseHandler
      Mappings:
      Namespace Name Mixin selector
      official l Lpo;l:Ltf;
      intermediary field_2732 Lnet/minecraft/class_770;field_2732:Lnet/minecraft/class_810;
      named queryResponseHandler Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;queryResponseHandler:Lnet/minecraft/server/rcon/QueryResponseHandler;
    • rconServer

      private RconServer rconServer
      Mappings:
      Namespace Name Mixin selector
      official m Lpo;m:Lti;
      intermediary field_2733 Lnet/minecraft/class_770;field_2733:Lnet/minecraft/class_813;
      named rconServer Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;rconServer:Lnet/minecraft/server/rcon/RconServer;
    • abstractPropertiesHandler

      private AbstractPropertiesHandler abstractPropertiesHandler
      Mappings:
      Namespace Name Mixin selector
      official n Lpo;n:Lpl;
      intermediary field_2734 Lnet/minecraft/class_770;field_2734:Lnet/minecraft/class_745;
      named abstractPropertiesHandler Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;abstractPropertiesHandler:Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;
    • eulaReader

      private EulaReader eulaReader
      Mappings:
      Namespace Name Mixin selector
      official o Lpo;o:Lpb;
      intermediary field_8871 Lnet/minecraft/class_770;field_8871:Lnet/minecraft/class_2095;
      named eulaReader Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;eulaReader:Lnet/minecraft/server/dedicated/EulaReader;
    • shouldGenerateStructures

      private boolean shouldGenerateStructures
      Mappings:
      Namespace Name Mixin selector
      official p Lpo;p:Z
      intermediary field_2735 Lnet/minecraft/class_770;field_2735:Z
      named shouldGenerateStructures Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;shouldGenerateStructures:Z
    • field_2736

      private GameMode field_2736
      Mappings:
      Namespace Name Mixin selector
      official q Lpo;q:Larc;
      intermediary field_2736 Lnet/minecraft/class_770;field_2736:Lnet/minecraft/class_1157;
      named field_2736 Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;field_2736:Lnet/minecraft/world/GameMode;
    • hasGui

      private boolean hasGui
      Mappings:
      Namespace Name Mixin selector
      official r Lpo;r:Z
      intermediary field_2738 Lnet/minecraft/class_770;field_2738:Z
      named hasGui Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;hasGui:Z
  • Constructor Details

    • MinecraftDedicatedServer

      public MinecraftDedicatedServer(File file)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lpo;<init>(Ljava/io/File;)V
      intermediary <init> Lnet/minecraft/class_770;<init>(Ljava/io/File;)V
      named <init> Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;<init>(Ljava/io/File;)V
  • Method Details

    • setupServer

      protected boolean setupServer()
      Specified by:
      setupServer in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official i Lnet/minecraft/server/MinecraftServer;i()Z
      intermediary method_3011 Lnet/minecraft/server/MinecraftServer;method_3011()Z
      named setupServer Lnet/minecraft/server/MinecraftServer;setupServer()Z
    • method_2999

      public void method_2999(GameMode gameMode)
      Overrides:
      method_2999 in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Larc;)V
      intermediary method_2999 Lnet/minecraft/server/MinecraftServer;method_2999(Lnet/minecraft/class_1157;)V
      named method_2999 Lnet/minecraft/server/MinecraftServer;method_2999(Lnet/minecraft/world/GameMode;)V
    • shouldGenerateStructures

      public boolean shouldGenerateStructures()
      Specified by:
      shouldGenerateStructures in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official l Lnet/minecraft/server/MinecraftServer;l()Z
      intermediary method_3023 Lnet/minecraft/server/MinecraftServer;method_3023()Z
      named shouldGenerateStructures Lnet/minecraft/server/MinecraftServer;shouldGenerateStructures()Z
    • method_3026

      public GameMode method_3026()
      Specified by:
      method_3026 in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official m Lnet/minecraft/server/MinecraftServer;m()Larc;
      intermediary method_3026 Lnet/minecraft/server/MinecraftServer;method_3026()Lnet/minecraft/class_1157;
      named method_3026 Lnet/minecraft/server/MinecraftServer;method_3026()Lnet/minecraft/world/GameMode;
    • getDefaultDifficulty

      public Difficulty getDefaultDifficulty()
      Specified by:
      getDefaultDifficulty in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official n Lnet/minecraft/server/MinecraftServer;n()Lvt;
      intermediary method_3029 Lnet/minecraft/server/MinecraftServer;method_3029()Lnet/minecraft/class_2151;
      named getDefaultDifficulty Lnet/minecraft/server/MinecraftServer;getDefaultDifficulty()Lnet/minecraft/world/Difficulty;
    • isHardcore

      public boolean isHardcore()
      Specified by:
      isHardcore in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official o Lnet/minecraft/server/MinecraftServer;o()Z
      intermediary method_3031 Lnet/minecraft/server/MinecraftServer;method_3031()Z
      named isHardcore Lnet/minecraft/server/MinecraftServer;isHardcore()Z
    • setCrashReport

      protected void setCrashReport(CrashReport report)
      Overrides:
      setCrashReport in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Lb;)V
      intermediary method_2992 Lnet/minecraft/server/MinecraftServer;method_2992(Lnet/minecraft/class_1;)V
      named setCrashReport Lnet/minecraft/server/MinecraftServer;setCrashReport(Lnet/minecraft/util/crash/CrashReport;)V
    • populateCrashReport

      public CrashReport populateCrashReport(CrashReport report)
      Overrides:
      populateCrashReport in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official b Lnet/minecraft/server/MinecraftServer;b(Lb;)Lb;
      intermediary method_3013 Lnet/minecraft/server/MinecraftServer;method_3013(Lnet/minecraft/class_1;)Lnet/minecraft/class_1;
      named populateCrashReport Lnet/minecraft/server/MinecraftServer;populateCrashReport(Lnet/minecraft/util/crash/CrashReport;)Lnet/minecraft/util/crash/CrashReport;
    • exit

      protected void exit()
      Overrides:
      exit in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official x Lnet/minecraft/server/MinecraftServer;x()V
      intermediary method_3042 Lnet/minecraft/server/MinecraftServer;method_3042()V
      named exit Lnet/minecraft/server/MinecraftServer;exit()V
    • tick

      protected void tick()
      Overrides:
      tick in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official z Lnet/minecraft/server/MinecraftServer;z()V
      intermediary method_3046 Lnet/minecraft/server/MinecraftServer;method_3046()V
      named tick Lnet/minecraft/server/MinecraftServer;tick()V
    • isNetherAllowed

      public boolean isNetherAllowed()
      Overrides:
      isNetherAllowed in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official A Lnet/minecraft/server/MinecraftServer;A()Z
      intermediary method_3047 Lnet/minecraft/server/MinecraftServer;method_3047()Z
      named isNetherAllowed Lnet/minecraft/server/MinecraftServer;isNetherAllowed()Z
    • isMonsterSpawningEnabled

      public boolean isMonsterSpawningEnabled()
      Overrides:
      isMonsterSpawningEnabled in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official V Lnet/minecraft/server/MinecraftServer;V()Z
      intermediary method_2977 Lnet/minecraft/server/MinecraftServer;method_2977()Z
      named isMonsterSpawningEnabled Lnet/minecraft/server/MinecraftServer;isMonsterSpawningEnabled()Z
    • addSnooperInfo

      public void addSnooperInfo(Snooper snooper)
      Specified by:
      addSnooperInfo in interface Snoopable
      Overrides:
      addSnooperInfo in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official a Lwd;a(Lwb;)V
      intermediary method_2410 Lnet/minecraft/class_855;method_2410(Lnet/minecraft/class_853;)V
      named addSnooperInfo Lnet/minecraft/util/snooper/Snoopable;addSnooperInfo(Lnet/minecraft/util/snooper/Snooper;)V
    • isSnooperEnabled

      public boolean isSnooperEnabled()
      Specified by:
      isSnooperEnabled in interface Snoopable
      Overrides:
      isSnooperEnabled in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official ac Lwd;ac()Z
      intermediary method_2409 Lnet/minecraft/class_855;method_2409()Z
      named isSnooperEnabled Lnet/minecraft/util/snooper/Snoopable;isSnooperEnabled()Z
    • enqueueCommand

      public void enqueueCommand(String name, CommandSource source)
      Mappings:
      Namespace Name Mixin selector
      official a Lpo;a(Ljava/lang/String;Lae;)V
      intermediary method_2065 Lnet/minecraft/class_770;method_2065(Ljava/lang/String;Lnet/minecraft/class_1061;)V
      named enqueueCommand Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;enqueueCommand(Ljava/lang/String;Lnet/minecraft/command/CommandSource;)V
    • executeQueuedCommands

      public void executeQueuedCommands()
      Mappings:
      Namespace Name Mixin selector
      official aM Lpo;aM()V
      intermediary method_2067 Lnet/minecraft/class_770;method_2067()V
      named executeQueuedCommands Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;executeQueuedCommands()V
    • isDedicated

      public boolean isDedicated()
      Specified by:
      isDedicated in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official ad Lnet/minecraft/server/MinecraftServer;ad()Z
      intermediary method_2983 Lnet/minecraft/server/MinecraftServer;method_2983()Z
      named isDedicated Lnet/minecraft/server/MinecraftServer;isDedicated()Z
    • getPlayerManager

      public DedicatedPlayerManager getPlayerManager()
      Overrides:
      getPlayerManager in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official aN Lpo;aN()Lpn;
      intermediary method_2068 Lnet/minecraft/class_770;method_2068()Lnet/minecraft/class_769;
      named getPlayerManager Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;getPlayerManager()Lnet/minecraft/server/dedicated/DedicatedPlayerManager;
    • getIntOrDefault

      public int getIntOrDefault(String name, int value)
      Specified by:
      getIntOrDefault in interface DedicatedServer
      Mappings:
      Namespace Name Mixin selector
      official a Lpj;a(Ljava/lang/String;I)I
      intermediary method_2030 Lnet/minecraft/class_744;method_2030(Ljava/lang/String;I)I
      named getIntOrDefault Lnet/minecraft/server/dedicated/DedicatedServer;getIntOrDefault(Ljava/lang/String;I)I
    • getOrDefault

      public String getOrDefault(String name, String value)
      Specified by:
      getOrDefault in interface DedicatedServer
      Mappings:
      Namespace Name Mixin selector
      official a Lpj;a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
      intermediary method_2032 Lnet/minecraft/class_744;method_2032(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
      named getOrDefault Lnet/minecraft/server/dedicated/DedicatedServer;getOrDefault(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    • getBooleanOrDefault

      public boolean getBooleanOrDefault(String name, boolean value)
      Mappings:
      Namespace Name Mixin selector
      official a Lpo;a(Ljava/lang/String;Z)Z
      intermediary method_2066 Lnet/minecraft/class_770;method_2066(Ljava/lang/String;Z)Z
      named getBooleanOrDefault Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;getBooleanOrDefault(Ljava/lang/String;Z)Z
    • setProperty

      public void setProperty(String property, Object value)
      Specified by:
      setProperty in interface DedicatedServer
      Mappings:
      Namespace Name Mixin selector
      official a Lpj;a(Ljava/lang/String;Ljava/lang/Object;)V
      intermediary method_2031 Lnet/minecraft/class_744;method_2031(Ljava/lang/String;Ljava/lang/Object;)V
      named setProperty Lnet/minecraft/server/dedicated/DedicatedServer;setProperty(Ljava/lang/String;Ljava/lang/Object;)V
    • saveAbstractPropertiesHandler

      public void saveAbstractPropertiesHandler()
      Specified by:
      saveAbstractPropertiesHandler in interface DedicatedServer
      Mappings:
      Namespace Name Mixin selector
      official a Lpj;a()V
      intermediary method_2029 Lnet/minecraft/class_744;method_2029()V
      named saveAbstractPropertiesHandler Lnet/minecraft/server/dedicated/DedicatedServer;saveAbstractPropertiesHandler()V
    • getPropertiesFilePath

      public String getPropertiesFilePath()
      Specified by:
      getPropertiesFilePath in interface DedicatedServer
      Mappings:
      Namespace Name Mixin selector
      official b Lpj;b()Ljava/lang/String;
      intermediary method_2033 Lnet/minecraft/class_744;method_2033()Ljava/lang/String;
      named getPropertiesFilePath Lnet/minecraft/server/dedicated/DedicatedServer;getPropertiesFilePath()Ljava/lang/String;
    • createGui

      public void createGui()
      Mappings:
      Namespace Name Mixin selector
      official aO Lpo;aO()V
      intermediary method_2069 Lnet/minecraft/class_770;method_2069()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 aq Lnet/minecraft/server/MinecraftServer;aq()Z
      intermediary method_3007 Lnet/minecraft/server/MinecraftServer;method_3007()Z
      named hasGui Lnet/minecraft/server/MinecraftServer;hasGui()Z
    • method_3000

      public String method_3000(GameMode gameMode, boolean bool)
      Specified by:
      method_3000 in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Larc;Z)Ljava/lang/String;
      intermediary method_3000 Lnet/minecraft/server/MinecraftServer;method_3000(Lnet/minecraft/class_1157;Z)Ljava/lang/String;
      named method_3000 Lnet/minecraft/server/MinecraftServer;method_3000(Lnet/minecraft/world/GameMode;Z)Ljava/lang/String;
    • areCommandBlocksEnabled

      public boolean areCommandBlocksEnabled()
      Specified by:
      areCommandBlocksEnabled in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official aj Lnet/minecraft/server/MinecraftServer;aj()Z
      intermediary method_4499 Lnet/minecraft/server/MinecraftServer;method_4499()Z
      named areCommandBlocksEnabled Lnet/minecraft/server/MinecraftServer;areCommandBlocksEnabled()Z
    • getSpawnProtectionRadius

      public int getSpawnProtectionRadius()
      Overrides:
      getSpawnProtectionRadius in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official au Lnet/minecraft/server/MinecraftServer;au()I
      intermediary method_4500 Lnet/minecraft/server/MinecraftServer;method_4500()I
      named getSpawnProtectionRadius Lnet/minecraft/server/MinecraftServer;getSpawnProtectionRadius()I
    • isSpawnProtected

      public boolean isSpawnProtected(World world, BlockPos pos, PlayerEntity player)
      Overrides:
      isSpawnProtected in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Laqu;Ldt;Lahd;)Z
      intermediary method_10812 Lnet/minecraft/server/MinecraftServer;method_10812(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_988;)Z
      named isSpawnProtected Lnet/minecraft/server/MinecraftServer;isSpawnProtected(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;)Z
    • getOpPermissionLevel

      public int getOpPermissionLevel()
      Specified by:
      getOpPermissionLevel in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official p Lnet/minecraft/server/MinecraftServer;p()I
      intermediary method_6085 Lnet/minecraft/server/MinecraftServer;method_6085()I
      named getOpPermissionLevel Lnet/minecraft/server/MinecraftServer;getOpPermissionLevel()I
    • setPlayerIdleTimeout

      public void setPlayerIdleTimeout(int playerIdleTimeout)
      Overrides:
      setPlayerIdleTimeout in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official d Lnet/minecraft/server/MinecraftServer;d(I)V
      intermediary method_6084 Lnet/minecraft/server/MinecraftServer;method_6084(I)V
      named setPlayerIdleTimeout Lnet/minecraft/server/MinecraftServer;setPlayerIdleTimeout(I)V
    • shouldAnnouncePlayerAchievements

      public boolean shouldAnnouncePlayerAchievements()
      Overrides:
      shouldAnnouncePlayerAchievements in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official az Lnet/minecraft/server/MinecraftServer;az()Z
      intermediary method_8158 Lnet/minecraft/server/MinecraftServer;method_8158()Z
      named shouldAnnouncePlayerAchievements Lnet/minecraft/server/MinecraftServer;shouldAnnouncePlayerAchievements()Z
    • getMaxWorldBorderRadius

      public int getMaxWorldBorderRadius()
      Overrides:
      getMaxWorldBorderRadius in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official aG Lnet/minecraft/server/MinecraftServer;aG()I
      intermediary method_10817 Lnet/minecraft/server/MinecraftServer;method_10817()I
      named getMaxWorldBorderRadius Lnet/minecraft/server/MinecraftServer;getMaxWorldBorderRadius()I
    • getNetworkCompressionThreshold

      public int getNetworkCompressionThreshold()
      Overrides:
      getNetworkCompressionThreshold in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official aI Lnet/minecraft/server/MinecraftServer;aI()I
      intermediary method_10818 Lnet/minecraft/server/MinecraftServer;method_10818()I
      named getNetworkCompressionThreshold Lnet/minecraft/server/MinecraftServer;getNetworkCompressionThreshold()I
    • convertData

      protected boolean convertData()
      Mappings:
      Namespace Name Mixin selector
      official aP Lpo;aP()Z
      intermediary method_8111 Lnet/minecraft/class_770;method_8111()Z
      named convertData Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;convertData()Z
    • sleepFiveSeconds

      private void sleepFiveSeconds()
      Mappings:
      Namespace Name Mixin selector
      official aS Lpo;aS()V
      intermediary method_8113 Lnet/minecraft/class_770;method_8113()V
      named sleepFiveSeconds Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;sleepFiveSeconds()V
    • getMaxTickTime

      public long getMaxTickTime()
      Mappings:
      Namespace Name Mixin selector
      official aQ Lpo;aQ()J
      intermediary method_10744 Lnet/minecraft/class_770;method_10744()J
      named getMaxTickTime Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;getMaxTickTime()J