Class MinecraftDedicatedServer

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

@Environment(SERVER) public class MinecraftDedicatedServer extends MinecraftServer implements DedicatedServer
Mappings:
Namespace Name
official li
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 h Lli;h: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 i Lli;i: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 j Lli;j:Lnk;
      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 k Lli;k:Lnn;
      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 l Lli;l:Llf;
      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;
    • shouldGenerateStructures

      private boolean shouldGenerateStructures
      Mappings:
      Namespace Name Mixin selector
      official m Lli;m: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 n Lli;n:Lafv;
      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 o Lli;o: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> Lli;<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 e Lnet/minecraft/server/MinecraftServer;e()Z
      intermediary method_3011 Lnet/minecraft/server/MinecraftServer;method_3011()Z
      named setupServer Lnet/minecraft/server/MinecraftServer;setupServer()Z
    • shouldGenerateStructures

      public boolean shouldGenerateStructures()
      Specified by:
      shouldGenerateStructures in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official h Lnet/minecraft/server/MinecraftServer;h()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 i Lnet/minecraft/server/MinecraftServer;i()Lafv;
      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 j Lnet/minecraft/server/MinecraftServer;j()Lpp;
      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 k Lnet/minecraft/server/MinecraftServer;k()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 s Lnet/minecraft/server/MinecraftServer;s()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 u Lnet/minecraft/server/MinecraftServer;u()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 v Lnet/minecraft/server/MinecraftServer;v()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 O Lnet/minecraft/server/MinecraftServer;O()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 Lpw;a(Lpu;)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 U Lpw;U()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 Lli;a(Ljava/lang/String;Lac;)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 aw Lli;aw()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 V Lnet/minecraft/server/MinecraftServer;V()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 ax Lli;ax()Llh;
      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 Lld;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 Lld;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 Lli;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 Lld;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 Lld;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 Lld;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 ay Lli;ay()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 ai Lnet/minecraft/server/MinecraftServer;ai()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(Lafv;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 ab Lnet/minecraft/server/MinecraftServer;ab()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 am Lnet/minecraft/server/MinecraftServer;am()I
      intermediary method_4500 Lnet/minecraft/server/MinecraftServer;method_4500()I
      named getSpawnProtectionRadius Lnet/minecraft/server/MinecraftServer;getSpawnProtectionRadius()I
    • method_5385

      public boolean method_5385(World world, int int2, int int3, int int4, PlayerEntity playerEntity)
      Overrides:
      method_5385 in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Lafm;IIILxk;)Z
      intermediary method_5385 Lnet/minecraft/server/MinecraftServer;method_5385(Lnet/minecraft/class_1150;IIILnet/minecraft/class_988;)Z
      named method_5385 Lnet/minecraft/server/MinecraftServer;method_5385(Lnet/minecraft/world/World;IIILnet/minecraft/entity/player/PlayerEntity;)Z
    • getOpPermissionLevel

      public int getOpPermissionLevel()
      Specified by:
      getOpPermissionLevel in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official l Lnet/minecraft/server/MinecraftServer;l()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