Class IntegratedServer

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

@Environment(CLIENT) public class IntegratedServer extends MinecraftServer
Mappings:
Namespace Name
official bsi
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 h Lbsi;h: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 i Lbsi;i:Lazc;
      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 j Lbsi;j:Lafu;
      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 k Lbsi;k: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 l Lbsi;l: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 m Lbsi;m:Lbsp;
      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, String runDirectory, String serverName, LevelInfo info)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbsi;<init>(Lazc;Ljava/lang/String;Ljava/lang/String;Lafu;)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

    • 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;JLafx;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()
      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
    • setupWorld

      protected void setupWorld()
      Overrides:
      setupWorld in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official t Lnet/minecraft/server/MinecraftServer;t()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 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
    • getRunDirectory

      protected File getRunDirectory()
      Overrides:
      getRunDirectory in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official r Lnet/minecraft/server/MinecraftServer;r()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 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
    • 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;
    • 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
    • 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;
    • stopServer

      public void stopServer()
      Overrides:
      stopServer in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official n Lnet/minecraft/server/MinecraftServer;n()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 q Lnet/minecraft/server/MinecraftServer;q()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 Lbsi;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(Lafv;)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 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
    • 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