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_1315
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_5446 Lnet/minecraft/class_1315;field_5446: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_5447 Lnet/minecraft/class_1315;field_5447:Lnet/minecraft/class_669;
      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_5448 Lnet/minecraft/class_1315;field_5448:Lnet/minecraft/class_102;
      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_5449 Lnet/minecraft/class_1315;field_5449: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_5450 Lnet/minecraft/class_1315;field_5450: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_5451 Lnet/minecraft/class_1315;field_5451:Lnet/minecraft/class_1321;
      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_1315;<init>(Lnet/minecraft/class_669;)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_1315;<init>(Lnet/minecraft/class_669;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/class_102;)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_6504 Lnet/minecraft/server/MinecraftServer;method_6504()Lnet/minecraft/class_905;
      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_6441 Lnet/minecraft/server/MinecraftServer;method_6441(Ljava/lang/String;Ljava/lang/String;JLnet/minecraft/class_105;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_6506 Lnet/minecraft/server/MinecraftServer;method_6506()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_6418 Lnet/minecraft/server/MinecraftServer;method_6418()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_6513 Lnet/minecraft/server/MinecraftServer;method_6513()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_6515 Lnet/minecraft/server/MinecraftServer;method_6515()Lnet/minecraft/class_102$class_103;
      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_6516 Lnet/minecraft/server/MinecraftServer;method_6516()Lnet/minecraft/class_1721;
      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_6517 Lnet/minecraft/server/MinecraftServer;method_6517()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_6519 Lnet/minecraft/server/MinecraftServer;method_6519()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_6520 Lnet/minecraft/server/MinecraftServer;method_6520()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_6527 Lnet/minecraft/server/MinecraftServer;method_6527()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_6469 Lnet/minecraft/server/MinecraftServer;method_6469()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_6473 Lnet/minecraft/server/MinecraftServer;method_6473()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_6438 Lnet/minecraft/server/MinecraftServer;method_6438(Lnet/minecraft/class_825;)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_6492 Lnet/minecraft/server/MinecraftServer;method_6492(Lnet/minecraft/class_825;)Lnet/minecraft/class_825;
      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_6450 Lnet/minecraft/server/MinecraftServer;method_6450(Lnet/minecraft/class_1721;)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_6794 Lnet/minecraft/class_1729;method_6794(Lnet/minecraft/class_1728;)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_6795 Lnet/minecraft/class_1729;method_6795()Z
      named isSnooperEnabled Lnet/minecraft/util/snooper/Snoopable;isSnooperEnabled()Z
    • method_6437

      public String method_6437​(LevelInfo.GameMode gamemode, boolean bool)
      Specified by:
      method_6437 in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Ladp$a;Z)Ljava/lang/String;
      intermediary method_6437 Lnet/minecraft/server/MinecraftServer;method_6437(Lnet/minecraft/class_102$class_103;Z)Ljava/lang/String;
      named method_6437 Lnet/minecraft/server/MinecraftServer;method_6437(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_6522 Lnet/minecraft/server/MinecraftServer;method_6522()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_6525 Lnet/minecraft/server/MinecraftServer;method_6525()V
      named stopRunning Lnet/minecraft/server/MinecraftServer;stopRunning()V
    • method_4549

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

      public boolean isPublished()
      Mappings:
      Namespace Name Mixin selector
      official b Lbpo;b()Z
      intermediary method_4550 Lnet/minecraft/class_1315;method_4550()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_6436 Lnet/minecraft/server/MinecraftServer;method_6436(Lnet/minecraft/class_102$class_103;)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_6476 Lnet/minecraft/server/MinecraftServer;method_6476()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_6518 Lnet/minecraft/server/MinecraftServer;method_6518()I
      named getOpPermissionLevel Lnet/minecraft/server/MinecraftServer;getOpPermissionLevel()I