Package net.minecraft

Class class_6306

All Implemented Interfaces:
AutoCloseable, Executor, class_5952, CommandOutput, SnooperListener, MessageListener<ServerTask>

public class class_6306
extends MinecraftServer
Mappings:
Namespace Name
official ma
intermediary net/minecraft/class_6306
named net/minecraft/class_6306
  • Field Details

    • field_33156

      private static final Logger field_33156
      Mappings:
      Namespace Name Mixin selector
      official p Lma;p:Lorg/apache/logging/log4j/Logger;
      intermediary field_33156 Lnet/minecraft/class_6306;field_33156:Lorg/apache/logging/log4j/Logger;
      named field_33156 Lnet/minecraft/class_6306;field_33156:Lorg/apache/logging/log4j/Logger;
    • field_33157

      private static final int field_33157
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official q Lma;q:I
      intermediary field_33157 Lnet/minecraft/class_6306;field_33157:I
      named field_33157 Lnet/minecraft/class_6306;field_33157:I
    • field_33160

      private static final GameRules field_33160
      Mappings:
      Namespace Name Mixin selector
      official t Lma;t:Lbvn;
      intermediary field_33160 Lnet/minecraft/class_6306;field_33160:Lnet/minecraft/class_1928;
      named field_33160 Lnet/minecraft/class_6306;field_33160:Lnet/minecraft/world/GameRules;
    • field_33161

      private static final LevelInfo field_33161
      Mappings:
      Namespace Name Mixin selector
      official u Lma;u:Lbvv;
      intermediary field_33161 Lnet/minecraft/class_6306;field_33161:Lnet/minecraft/class_1940;
      named field_33161 Lnet/minecraft/class_6306;field_33161:Lnet/minecraft/world/level/LevelInfo;
    • field_33158

      private final List<GameTestBatch> field_33158
      Mappings:
      Namespace Name Mixin selector
      official r Lma;r:Ljava/util/List;
      intermediary field_33158 Lnet/minecraft/class_6306;field_33158:Ljava/util/List;
      named field_33158 Lnet/minecraft/class_6306;field_33158:Ljava/util/List;
    • field_33159

      private final BlockPos field_33159
      Mappings:
      Namespace Name Mixin selector
      official s Lma;s:Lgb;
      intermediary field_33159 Lnet/minecraft/class_6306;field_33159:Lnet/minecraft/class_2338;
      named field_33159 Lnet/minecraft/class_6306;field_33159:Lnet/minecraft/util/math/BlockPos;
    • field_33162

      @Nullable private @Nullable TestSet field_33162
      Mappings:
      Namespace Name Mixin selector
      official v Lma;v:Lmg;
      intermediary field_33162 Lnet/minecraft/class_6306;field_33162:Lnet/minecraft/class_4524;
      named field_33162 Lnet/minecraft/class_6306;field_33162:Lnet/minecraft/test/TestSet;
  • Constructor Details

  • Method Details

    • setupServer

      public boolean setupServer()
      Setups a Minecraft server to be ready for players to connect. This method does several things including loading server properties and loading worlds.
      Specified by:
      setupServer in class MinecraftServer
      Returns:
      true if the Minecraft server was successfully setup, false if the server failed to be setup.
      Mappings:
      Namespace Name Mixin selector
      official d Lnet/minecraft/server/MinecraftServer;d()Z
      intermediary method_3823 Lnet/minecraft/server/MinecraftServer;method_3823()Z
      named setupServer Lnet/minecraft/server/MinecraftServer;setupServer()Z
    • tick

      public void tick​(BooleanSupplier shouldKeepTicking)
      Overrides:
      tick in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Ljava/util/function/BooleanSupplier;)V
      intermediary method_3748 Lnet/minecraft/server/MinecraftServer;method_3748(Ljava/util/function/BooleanSupplier;)V
      named tick Lnet/minecraft/server/MinecraftServer;tick(Ljava/util/function/BooleanSupplier;)V
    • exit

      public void exit()
      Overrides:
      exit in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official e Lnet/minecraft/server/MinecraftServer;e()V
      intermediary method_3821 Lnet/minecraft/server/MinecraftServer;method_3821()V
      named exit Lnet/minecraft/server/MinecraftServer;exit()V
    • setCrashReport

      public void setCrashReport​(CrashReport report)
      Overrides:
      setCrashReport in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Lq;)V
      intermediary method_3744 Lnet/minecraft/server/MinecraftServer;method_3744(Lnet/minecraft/class_128;)V
      named setCrashReport Lnet/minecraft/server/MinecraftServer;setCrashReport(Lnet/minecraft/util/crash/CrashReport;)V
    • method_36096

      private void method_36096​(ServerWorld serverWorld)
      Mappings:
      Namespace Name Mixin selector
      official b Lma;b(Labj;)V
      intermediary method_36096 Lnet/minecraft/class_6306;method_36096(Lnet/minecraft/class_3218;)V
      named method_36096 Lnet/minecraft/class_6306;method_36096(Lnet/minecraft/server/world/ServerWorld;)V
    • method_36098

      private boolean method_36098()
      Mappings:
      Namespace Name Mixin selector
      official bb Lma;bb()Z
      intermediary method_36098 Lnet/minecraft/class_6306;method_36098()Z
      named method_36098 Lnet/minecraft/class_6306;method_36098()Z
    • isHardcore

      public boolean isHardcore()
      Overrides:
      isHardcore in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official f Lnet/minecraft/server/MinecraftServer;f()Z
      intermediary method_3754 Lnet/minecraft/server/MinecraftServer;method_3754()Z
      named isHardcore Lnet/minecraft/server/MinecraftServer;isHardcore()Z
    • getOpPermissionLevel

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

      public int getFunctionPermissionLevel()
      Specified by:
      getFunctionPermissionLevel in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official h Lnet/minecraft/server/MinecraftServer;h()I
      intermediary method_21714 Lnet/minecraft/server/MinecraftServer;method_21714()I
      named getFunctionPermissionLevel Lnet/minecraft/server/MinecraftServer;getFunctionPermissionLevel()I
    • shouldBroadcastRconToOps

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

      public boolean isDedicated()
      Checks whether this server is a dedicated server.

      A dedicated server refers to a Minecraft server implementation which is detached from a parent Minecraft client process. A dedicated Minecraft server only accepts remote connections.

      Specified by:
      isDedicated in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official j Lnet/minecraft/server/MinecraftServer;j()Z
      intermediary method_3816 Lnet/minecraft/server/MinecraftServer;method_3816()Z
      named isDedicated Lnet/minecraft/server/MinecraftServer;isDedicated()Z
    • getRateLimit

      public int getRateLimit()
      Specified by:
      getRateLimit in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official k Lnet/minecraft/server/MinecraftServer;k()I
      intermediary method_30612 Lnet/minecraft/server/MinecraftServer;method_30612()I
      named getRateLimit Lnet/minecraft/server/MinecraftServer;getRateLimit()I
    • isUsingNativeTransport

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

      public boolean areCommandBlocksEnabled()
      Specifies whether command blocks can execute commands on the server.
      Specified by:
      areCommandBlocksEnabled in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official m Lnet/minecraft/server/MinecraftServer;m()Z
      intermediary method_3812 Lnet/minecraft/server/MinecraftServer;method_3812()Z
      named areCommandBlocksEnabled Lnet/minecraft/server/MinecraftServer;areCommandBlocksEnabled()Z
    • isRemote

      public boolean isRemote()
      Specified by:
      isRemote in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official n Lnet/minecraft/server/MinecraftServer;n()Z
      intermediary method_3860 Lnet/minecraft/server/MinecraftServer;method_3860()Z
      named isRemote Lnet/minecraft/server/MinecraftServer;isRemote()Z
    • shouldBroadcastConsoleToOps

      public boolean shouldBroadcastConsoleToOps()
      Specified by:
      shouldBroadcastConsoleToOps in interface CommandOutput
      Specified by:
      shouldBroadcastConsoleToOps in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official R_ Ldf;R_()Z
      intermediary method_9201 Lnet/minecraft/class_2165;method_9201()Z
      named shouldBroadcastConsoleToOps Lnet/minecraft/server/command/CommandOutput;shouldBroadcastConsoleToOps()Z
    • isHost

      public boolean isHost​(com.mojang.authlib.GameProfile profile)
      Specified by:
      isHost in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Lcom/mojang/authlib/GameProfile;)Z
      intermediary method_19466 Lnet/minecraft/server/MinecraftServer;method_19466(Lcom/mojang/authlib/GameProfile;)Z
      named isHost Lnet/minecraft/server/MinecraftServer;isHost(Lcom/mojang/authlib/GameProfile;)Z
    • getModdedStatusMessage

      public Optional<String> getModdedStatusMessage()
      Specified by:
      getModdedStatusMessage in class MinecraftServer
      Mappings:
      Namespace Name Mixin selector
      official o Lnet/minecraft/server/MinecraftServer;o()Ljava/util/Optional;
      intermediary method_24307 Lnet/minecraft/server/MinecraftServer;method_24307()Ljava/util/Optional;
      named getModdedStatusMessage Lnet/minecraft/server/MinecraftServer;getModdedStatusMessage()Ljava/util/Optional;