Class IntegratedServer

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

@Environment(CLIENT) public class IntegratedServer extends MinecraftServer
Mappings:
Namespace Name
official bpo
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 k Lbpo;k: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 l Lbpo;l:Lave;
      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 m Lbpo;m:Ladp;
      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 n Lbpo;n:Z
      intermediary field_2207 Lnet/minecraft/class_601;field_2207:Z
      named paused Lnet/minecraft/server/integrated/IntegratedServer;paused:Z
    • published

      private boolean published
      Mappings:
      Namespace Name Mixin selector
      official o Lbpo;o:Z
      intermediary field_2208 Lnet/minecraft/class_601;field_2208:Z
      named published Lnet/minecraft/server/integrated/IntegratedServer;published:Z
    • pinger

      private LanServerPinger pinger
      Mappings:
      Namespace Name Mixin selector
      official p Lbpo;p:Lbpr;
      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;
  • Constructor Details

    • IntegratedServer

      public IntegratedServer(MinecraftClient client)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbpo;<init>(Lave;)V
      intermediary <init> Lnet/minecraft/class_601;<init>(Lnet/minecraft/class_1600;)V
      named <init> Lnet/minecraft/server/integrated/IntegratedServer;<init>(Lnet/minecraft/client/MinecraftClient;)V
    • IntegratedServer

      public IntegratedServer(MinecraftClient client, String runDirectory, String serverName, LevelInfo info)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbpo;<init>(Lave;Ljava/lang/String;Ljava/lang/String;Ladp;)V
      intermediary <init> Lnet/minecraft/class_601;<init>(Lnet/minecraft/class_1600;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/class_1156;)V
      named <init> Lnet/minecraft/server/integrated/IntegratedServer;<init>(Lnet/minecraft/client/MinecraftClient;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/world/level/LevelInfo;)V
  • Method Details

    • createCommandManager

      protected CommandManager createCommandManager()
      Overrides:
      createCommandManager in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official h Lnet/minecraft/server/MinecraftServer;h()Lbd;
      intermediary method_10824 Lnet/minecraft/server/MinecraftServer;method_10824()Lnet/minecraft/class_765;
      named createCommandManager Lnet/minecraft/server/MinecraftServer;createCommandManager()Lnet/minecraft/server/command/CommandManager;
    • setupWorld

      protected void setupWorld(String world, String worldName, long seed, LevelGeneratorType generatorType, String generatorOptions)
      Overrides:
      setupWorld in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Ljava/lang/String;Ljava/lang/String;JLadr;Ljava/lang/String;)V
      intermediary method_2995 Lnet/minecraft/server/MinecraftServer;method_2995(Ljava/lang/String;Ljava/lang/String;JLnet/minecraft/class_1160;Ljava/lang/String;)V
      named setupWorld Lnet/minecraft/server/MinecraftServer;setupWorld(Ljava/lang/String;Ljava/lang/String;JLnet/minecraft/world/level/LevelGeneratorType;Ljava/lang/String;)V
    • setupServer

      protected boolean setupServer() throws IOException
      Specified by:
      setupServer in class MinecraftServer
      Throws:
      IOException
      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
    • setupWorld

      protected void setupWorld()
      Overrides:
      setupWorld in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official A Lnet/minecraft/server/MinecraftServer;A()V
      intermediary method_3044 Lnet/minecraft/server/MinecraftServer;method_3044()V
      named setupWorld Lnet/minecraft/server/MinecraftServer;setupWorld()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
    • getDefaultGameMode

      public LevelInfo.GameMode getDefaultGameMode()
      Specified by:
      getDefaultGameMode in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official m Lnet/minecraft/server/MinecraftServer;m()Ladp$a;
      intermediary method_3026 Lnet/minecraft/server/MinecraftServer;method_3026()Lnet/minecraft/class_1156$class_1157;
      named getDefaultGameMode Lnet/minecraft/server/MinecraftServer;getDefaultGameMode()Lnet/minecraft/world/level/LevelInfo$GameMode;
    • getDefaultDifficulty

      public Difficulty getDefaultDifficulty()
      Specified by:
      getDefaultDifficulty in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official n Lnet/minecraft/server/MinecraftServer;n()Loj;
      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
    • shouldBroadcastRconToOps

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

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

      public File getRunDirectory()
      Overrides:
      getRunDirectory in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official y Lnet/minecraft/server/MinecraftServer;y()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 ae Lnet/minecraft/server/MinecraftServer;ae()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 ai Lnet/minecraft/server/MinecraftServer;ai()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(Loj;)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 Los;a(Lor;)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 ad Los;ad()Z
      intermediary method_2409 Lnet/minecraft/class_855;method_2409()Z
      named isSnooperEnabled Lnet/minecraft/util/snooper/Snoopable;isSnooperEnabled()Z
    • method_3000

      public String method_3000(LevelInfo.GameMode gamemode, boolean bool)
      Specified by:
      method_3000 in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Ladp$a;Z)Ljava/lang/String;
      intermediary method_3000 Lnet/minecraft/server/MinecraftServer;method_3000(Lnet/minecraft/class_1156$class_1157;Z)Ljava/lang/String;
      named method_3000 Lnet/minecraft/server/MinecraftServer;method_3000(Lnet/minecraft/world/level/LevelInfo$GameMode;Z)Ljava/lang/String;
    • stopServer

      public void stopServer()
      Overrides:
      stopServer in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official t Lnet/minecraft/server/MinecraftServer;t()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 w Lnet/minecraft/server/MinecraftServer;w()V
      intermediary method_3038 Lnet/minecraft/server/MinecraftServer;method_3038()V
      named stopRunning Lnet/minecraft/server/MinecraftServer;stopRunning()V
    • method_10431

      public void method_10431()
      Mappings:
      Namespace Name Mixin selector
      official a Lbpo;a()V
      intermediary method_10431 Lnet/minecraft/class_601;method_10431()V
      named method_10431 Lnet/minecraft/server/integrated/IntegratedServer;method_10431()V
    • isPublished

      public boolean isPublished()
      Mappings:
      Namespace Name Mixin selector
      official b Lbpo;b()Z
      intermediary method_1638 Lnet/minecraft/class_601;method_1638()Z
      named isPublished Lnet/minecraft/server/integrated/IntegratedServer;isPublished()Z
    • setDefaultGameMode

      public void setDefaultGameMode(LevelInfo.GameMode gamemode)
      Overrides:
      setDefaultGameMode in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Ladp$a;)V
      intermediary method_2999 Lnet/minecraft/server/MinecraftServer;method_2999(Lnet/minecraft/class_1156$class_1157;)V
      named setDefaultGameMode Lnet/minecraft/server/MinecraftServer;setDefaultGameMode(Lnet/minecraft/world/level/LevelInfo$GameMode;)V
    • areCommandBlocksEnabled

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