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 chd
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 Lchd;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 Lchd;l:Lbib;
      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 Lchd;m:Lamx;
      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 Lchd;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 Lchd;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 Lchd;p:Lchh;
      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 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

    • createCommandManager

      protected CommandManager createCommandManager()
      Overrides:
      createCommandManager in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official i Lnet/minecraft/server/MinecraftServer;i()Ldh;
      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;JLamz;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 j Lnet/minecraft/server/MinecraftServer;j()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 C Lnet/minecraft/server/MinecraftServer;C()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 m Lnet/minecraft/server/MinecraftServer;m()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 n Lnet/minecraft/server/MinecraftServer;n()Lams;
      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 o Lnet/minecraft/server/MinecraftServer;o()Ltz;
      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 p Lnet/minecraft/server/MinecraftServer;p()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 r Lnet/minecraft/server/MinecraftServer;r()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 s Lnet/minecraft/server/MinecraftServer;s()Z
      intermediary method_10825 Lnet/minecraft/server/MinecraftServer;method_10825()Z
      named shouldBroadcastConsoleToIps Lnet/minecraft/server/MinecraftServer;shouldBroadcastConsoleToIps()Z
    • saveWorlds

      protected void saveWorlds(boolean silent)
      Overrides:
      saveWorlds in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Z)V
      intermediary method_3001 Lnet/minecraft/server/MinecraftServer;method_3001(Z)V
      named saveWorlds Lnet/minecraft/server/MinecraftServer;saveWorlds(Z)V
    • getRunDirectory

      public File getRunDirectory()
      Overrides:
      getRunDirectory in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official A Lnet/minecraft/server/MinecraftServer;A()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 aa Lnet/minecraft/server/MinecraftServer;aa()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 af Lnet/minecraft/server/MinecraftServer;af()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(Ltz;)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 Lum;a(Lul;)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 Z Lum;Z()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(GameMode gameMode, boolean bool)
      Specified by:
      method_3000 in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Lams;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;
    • stopServer

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

      public boolean isPublished()
      Mappings:
      Namespace Name Mixin selector
      official a Lchd;a()Z
      intermediary method_1638 Lnet/minecraft/class_601;method_1638()Z
      named isPublished Lnet/minecraft/server/integrated/IntegratedServer;isPublished()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(Lams;)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 ai Lnet/minecraft/server/MinecraftServer;ai()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 q Lnet/minecraft/server/MinecraftServer;q()I
      intermediary method_6085 Lnet/minecraft/server/MinecraftServer;method_6085()I
      named getOpPermissionLevel Lnet/minecraft/server/MinecraftServer;getOpPermissionLevel()I