Class IntegratedServer

java.lang.Object
net.minecraft.server.MinecraftServer
net.minecraft.server.integrated.IntegratedServer
All Implemented Interfaces:
Runnable, class_3893, Snoopable, ThreadExecutor

@Environment(CLIENT) public class IntegratedServer extends MinecraftServer
Mappings:
Namespace Name
official dgh
intermediary net/minecraft/class_601
named net/minecraft/server/integrated/IntegratedServer
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official g Ldgh;g:Lorg/apache/logging/log4j/Logger;
      intermediary field_8166 Lnet/minecraft/class_601;field_8166:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/server/integrated/IntegratedServer;LOGGER:Lorg/apache/logging/log4j/Logger;
    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official h Ldgh;h:Lcft;
      intermediary field_2204 Lnet/minecraft/class_601;field_2204:Lnet/minecraft/class_1600;
      named client Lnet/minecraft/server/integrated/IntegratedServer;client:Lnet/minecraft/client/MinecraftClient;
    • levelInfo

      private final LevelInfo levelInfo
      Mappings:
      Namespace Name Mixin selector
      official i Ldgh;i:Layd;
      intermediary field_2205 Lnet/minecraft/class_601;field_2205:Lnet/minecraft/class_1156;
      named levelInfo Lnet/minecraft/server/integrated/IntegratedServer;levelInfo:Lnet/minecraft/world/level/LevelInfo;
    • paused

      private boolean paused
      Mappings:
      Namespace Name Mixin selector
      official j Ldgh;j:Z
      intermediary field_2207 Lnet/minecraft/class_601;field_2207:Z
      named paused Lnet/minecraft/server/integrated/IntegratedServer;paused:Z
    • field_21115

      private int field_21115
      Mappings:
      Namespace Name Mixin selector
      official k Ldgh;k:I
      intermediary field_21115 Lnet/minecraft/class_601;field_21115:I
      named field_21115 Lnet/minecraft/server/integrated/IntegratedServer;field_21115:I
    • pinger

      private LanServerPinger pinger
      Mappings:
      Namespace Name Mixin selector
      official l Ldgh;l:Ldgk;
      intermediary field_2209 Lnet/minecraft/class_601;field_2209:Lnet/minecraft/class_609;
      named pinger Lnet/minecraft/server/integrated/IntegratedServer;pinger:Lnet/minecraft/server/LanServerPinger;
    • field_21116

      private UUID field_21116
      Mappings:
      Namespace Name Mixin selector
      official m Ldgh;m:Ljava/util/UUID;
      intermediary field_21116 Lnet/minecraft/class_601;field_21116:Ljava/util/UUID;
      named field_21116 Lnet/minecraft/server/integrated/IntegratedServer;field_21116:Ljava/util/UUID;
  • Constructor Details

    • IntegratedServer

      public IntegratedServer(MinecraftClient minecraftClient, String string, String string2, LevelInfo levelInfo, com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService yggdrasilAuthenticationService, com.mojang.authlib.minecraft.MinecraftSessionService minecraftSessionService, com.mojang.authlib.GameProfileRepository gameProfileRepository, UserCache userCache)
  • Method Details

    • method_20320

      protected void method_20320(String string, String string2, long long2, LevelGeneratorType levelGeneratorType, JsonElement jsonElement)
      Overrides:
      method_20320 in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Ljava/lang/String;Ljava/lang/String;JLayg;Lcom/google/gson/JsonElement;)V
      intermediary method_20320 Lnet/minecraft/server/MinecraftServer;method_20320(Ljava/lang/String;Ljava/lang/String;JLnet/minecraft/class_1160;Lcom/google/gson/JsonElement;)V
      named method_20320 Lnet/minecraft/server/MinecraftServer;method_20320(Ljava/lang/String;Ljava/lang/String;JLnet/minecraft/world/level/LevelGeneratorType;Lcom/google/gson/JsonElement;)V
    • setupServer

      protected boolean setupServer() throws IOException
      Specified by:
      setupServer in class MinecraftServer
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official d Lnet/minecraft/server/MinecraftServer;d()Z
      intermediary method_3011 Lnet/minecraft/server/MinecraftServer;method_3011()Z
      named setupServer Lnet/minecraft/server/MinecraftServer;setupServer()Z
    • method_20324

      protected void method_20324(BooleanSupplier booleanSupplier)
      Overrides:
      method_20324 in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Ljava/util/function/BooleanSupplier;)V
      intermediary method_20324 Lnet/minecraft/server/MinecraftServer;method_20324(Ljava/util/function/BooleanSupplier;)V
      named method_20324 Lnet/minecraft/server/MinecraftServer;method_20324(Ljava/util/function/BooleanSupplier;)V
    • shouldGenerateStructures

      public boolean shouldGenerateStructures()
      Specified by:
      shouldGenerateStructures in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official f Lnet/minecraft/server/MinecraftServer;f()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 g Lnet/minecraft/server/MinecraftServer;g()Laxv;
      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 h Lnet/minecraft/server/MinecraftServer;h()Ladi;
      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 i Lnet/minecraft/server/MinecraftServer;i()Z
      intermediary method_3031 Lnet/minecraft/server/MinecraftServer;method_3031()Z
      named isHardcore Lnet/minecraft/server/MinecraftServer;isHardcore()Z
    • 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_8164 Lnet/minecraft/server/MinecraftServer;method_8164()Z
      named shouldBroadcastRconToOps Lnet/minecraft/server/MinecraftServer;shouldBroadcastRconToOps()Z
    • method_17412

      public boolean method_17412()
      Mappings:
      Namespace Name Mixin selector
      official B_ Lbt;B_()Z
      intermediary method_17412 Lnet/minecraft/class_3893;method_17412()Z
      named method_17412 Lnet/minecraft/class_3893;method_17412()Z
    • getRunDirectory

      public File getRunDirectory()
      Overrides:
      getRunDirectory in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official s Lnet/minecraft/server/MinecraftServer;s()Ljava/io/File;
      intermediary method_3040 Lnet/minecraft/server/MinecraftServer;method_3040()Ljava/io/File;
      named getRunDirectory Lnet/minecraft/server/MinecraftServer;getRunDirectory()Ljava/io/File;
    • isDedicated

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

      public boolean isUsingNativeTransport()
      Specified by:
      isUsingNativeTransport in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official V Lnet/minecraft/server/MinecraftServer;V()Z
      intermediary method_10823 Lnet/minecraft/server/MinecraftServer;method_10823()Z
      named isUsingNativeTransport Lnet/minecraft/server/MinecraftServer;isUsingNativeTransport()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;
    • setDifficulty

      public void setDifficulty(Difficulty difficulty)
      Overrides:
      setDifficulty in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Ladi;)V
      intermediary method_8155 Lnet/minecraft/server/MinecraftServer;method_8155(Lnet/minecraft/class_2151;)V
      named setDifficulty Lnet/minecraft/server/MinecraftServer;setDifficulty(Lnet/minecraft/world/Difficulty;)V
    • addSnooperInfo

      public void addSnooperInfo(Snooper snooper)
      Specified by:
      addSnooperInfo in interface Snoopable
      Overrides:
      addSnooperInfo in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official a Ladv;a(Ladu;)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
    • method_2409

      public boolean method_2409()
      Overrides:
      method_2409 in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official P Lnet/minecraft/server/MinecraftServer;P()Z
      intermediary method_2409 Lnet/minecraft/server/MinecraftServer;method_2409()Z
      named method_2409 Lnet/minecraft/server/MinecraftServer;method_2409()Z
    • method_20311

      public boolean method_20311(GameMode gameMode, boolean bool, int int2)
      Specified by:
      method_20311 in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Laxv;ZI)Z
      intermediary method_20311 Lnet/minecraft/server/MinecraftServer;method_20311(Lnet/minecraft/class_1157;ZI)Z
      named method_20311 Lnet/minecraft/server/MinecraftServer;method_20311(Lnet/minecraft/world/GameMode;ZI)Z
    • stopServer

      public void stopServer()
      Overrides:
      stopServer in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official h_ Lnet/minecraft/server/MinecraftServer;h_()V
      intermediary method_3034 Lnet/minecraft/server/MinecraftServer;method_3034()V
      named stopServer Lnet/minecraft/server/MinecraftServer;stopServer()V
    • stopRunning

      public void stopRunning()
      Overrides:
      stopRunning in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official p Lnet/minecraft/server/MinecraftServer;p()V
      intermediary method_3038 Lnet/minecraft/server/MinecraftServer;method_3038()V
      named stopRunning Lnet/minecraft/server/MinecraftServer;stopRunning()V
    • shouldBroadcastConsoleToIps

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

      public int getServerPort()
      Overrides:
      getServerPort in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official F Lnet/minecraft/server/MinecraftServer;F()I
      intermediary method_2973 Lnet/minecraft/server/MinecraftServer;method_2973()I
      named getServerPort Lnet/minecraft/server/MinecraftServer;getServerPort()I
    • 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(Laxv;)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
    • areCommandBlocksEnabled

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

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

      public void method_19612(UUID uUID)
      Mappings:
      Namespace Name Mixin selector
      official b Ldgh;b(Ljava/util/UUID;)V
      intermediary method_19612 Lnet/minecraft/class_601;method_19612(Ljava/util/UUID;)V
      named method_19612 Lnet/minecraft/server/integrated/IntegratedServer;method_19612(Ljava/util/UUID;)V