Class MinecraftServer

All Implemented Interfaces:
AutoCloseable, Executor, CommandOutput, MessageListener<ServerTask>, SampleableExecutor
Direct Known Subclasses:
IntegratedServer, MinecraftDedicatedServer, TestServer

public abstract class MinecraftServer extends ReentrantThreadExecutor<ServerTask> implements CommandOutput, AutoCloseable
Represents a logical Minecraft server.

Since Minecraft uses a Client-Server architecture for the game, the server processes all logical game functions. A few of the actions a Minecraft server will handle includes processing player actions, handling damage to entities, advancing the world time and executing commands.

There are two primary implementations for a Minecraft server: a dedicated and an integrated server.

A dedicated server is a Minecraft server not attached to a Minecraft game client and may be run remotely from any connected players. A dedicated server has a few exclusive features such as a whitelist/blacklist, remote rcon connections, and a terminal to input commands.

An integrated server is functionally equivalent to a dedicated server except that is hosted by a Minecraft game client and is typically used in a single player world. An integrated server differs from a dedicated server by allowing connections within the local area network (LAN) and the host client. Generally, you will always want to treat connection to an integrated server like you would to a dedicated server since the concept of an integrated server is an implementation detail in Minecraft.

See Also:
Mappings:
Namespace Name
official net/minecraft/server/MinecraftServer
intermediary net/minecraft/server/MinecraftServer
named net/minecraft/server/MinecraftServer
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official r Lnet/minecraft/server/MinecraftServer;r:Lorg/apache/logging/log4j/Logger;
      intermediary field_4546 Lnet/minecraft/server/MinecraftServer;field_4546:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/server/MinecraftServer;LOGGER:Lorg/apache/logging/log4j/Logger;
    • VANILLA

      public static final String VANILLA
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lnet/minecraft/server/MinecraftServer;b:Ljava/lang/String;
      intermediary field_34982 Lnet/minecraft/server/MinecraftServer;field_34982:Ljava/lang/String;
      named VANILLA Lnet/minecraft/server/MinecraftServer;VANILLA:Ljava/lang/String;
    • field_33212

      private static final float field_33212
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official s Lnet/minecraft/server/MinecraftServer;s:F
      intermediary field_33212 Lnet/minecraft/server/MinecraftServer;field_33212:F
      named field_33212 Lnet/minecraft/server/MinecraftServer;field_33212:F
    • field_33213

      private static final int field_33213
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official t Lnet/minecraft/server/MinecraftServer;t:I
      intermediary field_33213 Lnet/minecraft/server/MinecraftServer;field_33213:I
      named field_33213 Lnet/minecraft/server/MinecraftServer;field_33213:I
    • field_33206

      public static final int field_33206
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lnet/minecraft/server/MinecraftServer;c:I
      intermediary field_33206 Lnet/minecraft/server/MinecraftServer;field_33206:I
      named field_33206 Lnet/minecraft/server/MinecraftServer;field_33206:I
    • field_33215

      private static final int field_33215
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official u Lnet/minecraft/server/MinecraftServer;u:I
      intermediary field_33215 Lnet/minecraft/server/MinecraftServer;field_33215:I
      named field_33215 Lnet/minecraft/server/MinecraftServer;field_33215:I
    • field_33216

      private static final int field_33216
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official v Lnet/minecraft/server/MinecraftServer;v:I
      intermediary field_33216 Lnet/minecraft/server/MinecraftServer;field_33216:I
      named field_33216 Lnet/minecraft/server/MinecraftServer;field_33216:I
    • LEVEL_PROTOCOL_NAME

      public static final String LEVEL_PROTOCOL_NAME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lnet/minecraft/server/MinecraftServer;d:Ljava/lang/String;
      intermediary field_33207 Lnet/minecraft/server/MinecraftServer;field_33207:Ljava/lang/String;
      named LEVEL_PROTOCOL_NAME Lnet/minecraft/server/MinecraftServer;LEVEL_PROTOCOL_NAME:Ljava/lang/String;
    • LEVEL_PROTOCOL

      public static final String LEVEL_PROTOCOL
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lnet/minecraft/server/MinecraftServer;e:Ljava/lang/String;
      intermediary field_33208 Lnet/minecraft/server/MinecraftServer;field_33208:Ljava/lang/String;
      named LEVEL_PROTOCOL Lnet/minecraft/server/MinecraftServer;LEVEL_PROTOCOL:Ljava/lang/String;
    • PLAYER_SAMPLE_UPDATE_INTERVAL

      private static final long PLAYER_SAMPLE_UPDATE_INTERVAL
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official w Lnet/minecraft/server/MinecraftServer;w:J
      intermediary field_33217 Lnet/minecraft/server/MinecraftServer;field_33217:J
      named PLAYER_SAMPLE_UPDATE_INTERVAL Lnet/minecraft/server/MinecraftServer;PLAYER_SAMPLE_UPDATE_INTERVAL:J
    • field_33218

      private static final int field_33218
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official x Lnet/minecraft/server/MinecraftServer;x:I
      intermediary field_33218 Lnet/minecraft/server/MinecraftServer;field_33218:I
      named field_33218 Lnet/minecraft/server/MinecraftServer;field_33218:I
    • RESOURCES_ZIP_FILE_NAME

      public static final String RESOURCES_ZIP_FILE_NAME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lnet/minecraft/server/MinecraftServer;f:Ljava/lang/String;
      intermediary field_33209 Lnet/minecraft/server/MinecraftServer;field_33209:Ljava/lang/String;
      named RESOURCES_ZIP_FILE_NAME Lnet/minecraft/server/MinecraftServer;RESOURCES_ZIP_FILE_NAME:Ljava/lang/String;
    • USER_CACHE_FILE

      public static final File USER_CACHE_FILE
      Mappings:
      Namespace Name Mixin selector
      official g Lnet/minecraft/server/MinecraftServer;g:Ljava/io/File;
      intermediary field_4588 Lnet/minecraft/server/MinecraftServer;field_4588:Ljava/io/File;
      named USER_CACHE_FILE Lnet/minecraft/server/MinecraftServer;USER_CACHE_FILE:Ljava/io/File;
    • START_TICKET_CHUNK_RADIUS

      public static final int START_TICKET_CHUNK_RADIUS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official h Lnet/minecraft/server/MinecraftServer;h:I
      intermediary field_33210 Lnet/minecraft/server/MinecraftServer;field_33210:I
      named START_TICKET_CHUNK_RADIUS Lnet/minecraft/server/MinecraftServer;START_TICKET_CHUNK_RADIUS:I
    • START_TICKET_CHUNKS

      private static final int START_TICKET_CHUNKS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official y Lnet/minecraft/server/MinecraftServer;y:I
      intermediary field_33219 Lnet/minecraft/server/MinecraftServer;field_33219:I
      named START_TICKET_CHUNKS Lnet/minecraft/server/MinecraftServer;START_TICKET_CHUNKS:I
    • field_33220

      private static final int field_33220
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official z Lnet/minecraft/server/MinecraftServer;z:I
      intermediary field_33220 Lnet/minecraft/server/MinecraftServer;field_33220:I
      named field_33220 Lnet/minecraft/server/MinecraftServer;field_33220:I
    • field_33221

      private static final int field_33221
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official A Lnet/minecraft/server/MinecraftServer;A:I
      intermediary field_33221 Lnet/minecraft/server/MinecraftServer;field_33221:I
      named field_33221 Lnet/minecraft/server/MinecraftServer;field_33221:I
    • MAX_WORLD_BORDER_RADIUS

      public static final int MAX_WORLD_BORDER_RADIUS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official i Lnet/minecraft/server/MinecraftServer;i:I
      intermediary field_33211 Lnet/minecraft/server/MinecraftServer;field_33211:I
      named MAX_WORLD_BORDER_RADIUS Lnet/minecraft/server/MinecraftServer;MAX_WORLD_BORDER_RADIUS:I
    • DEMO_LEVEL_INFO

      public static final LevelInfo DEMO_LEVEL_INFO
      Mappings:
      Namespace Name Mixin selector
      official j Lnet/minecraft/server/MinecraftServer;j:Lcaa;
      intermediary field_17704 Lnet/minecraft/server/MinecraftServer;field_17704:Lnet/minecraft/class_1940;
      named DEMO_LEVEL_INFO Lnet/minecraft/server/MinecraftServer;DEMO_LEVEL_INFO:Lnet/minecraft/world/level/LevelInfo;
    • MILLISECONDS_PER_TICK

      private static final long MILLISECONDS_PER_TICK
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official B Lnet/minecraft/server/MinecraftServer;B:J
      intermediary field_33205 Lnet/minecraft/server/MinecraftServer;field_33205:J
      named MILLISECONDS_PER_TICK Lnet/minecraft/server/MinecraftServer;MILLISECONDS_PER_TICK:J
    • ANONYMOUS_PLAYER_PROFILE

      public static final com.mojang.authlib.GameProfile ANONYMOUS_PLAYER_PROFILE
      Mappings:
      Namespace Name Mixin selector
      official k Lnet/minecraft/server/MinecraftServer;k:Lcom/mojang/authlib/GameProfile;
      intermediary field_35641 Lnet/minecraft/server/MinecraftServer;field_35641:Lcom/mojang/authlib/GameProfile;
      named ANONYMOUS_PLAYER_PROFILE Lnet/minecraft/server/MinecraftServer;ANONYMOUS_PLAYER_PROFILE:Lcom/mojang/authlib/GameProfile;
    • session

      protected final LevelStorage.Session session
      Mappings:
      Namespace Name Mixin selector
      official l Lnet/minecraft/server/MinecraftServer;l:Ldja$a;
      intermediary field_23784 Lnet/minecraft/server/MinecraftServer;field_23784:Lnet/minecraft/class_32$class_5143;
      named session Lnet/minecraft/server/MinecraftServer;session:Lnet/minecraft/world/level/storage/LevelStorage$Session;
    • saveHandler

      protected final WorldSaveHandler saveHandler
      Mappings:
      Namespace Name Mixin selector
      official m Lnet/minecraft/server/MinecraftServer;m:Ldjd;
      intermediary field_24371 Lnet/minecraft/server/MinecraftServer;field_24371:Lnet/minecraft/class_29;
      named saveHandler Lnet/minecraft/server/MinecraftServer;saveHandler:Lnet/minecraft/world/WorldSaveHandler;
    • serverGuiTickables

      private final List<Runnable> serverGuiTickables
      Mappings:
      Namespace Name Mixin selector
      official C Lnet/minecraft/server/MinecraftServer;C:Ljava/util/List;
      intermediary field_4568 Lnet/minecraft/server/MinecraftServer;field_4568:Ljava/util/List;
      named serverGuiTickables Lnet/minecraft/server/MinecraftServer;serverGuiTickables:Ljava/util/List;
    • recorder

      private Recorder recorder
      Mappings:
      Namespace Name Mixin selector
      official D Lnet/minecraft/server/MinecraftServer;D:Latm;
      intermediary field_22250 Lnet/minecraft/server/MinecraftServer;field_22250:Lnet/minecraft/class_5962;
      named recorder Lnet/minecraft/server/MinecraftServer;recorder:Lnet/minecraft/util/profiler/Recorder;
    • profiler

      private Profiler profiler
      Mappings:
      Namespace Name Mixin selector
      official E Lnet/minecraft/server/MinecraftServer;E:Lasa;
      intermediary field_16258 Lnet/minecraft/server/MinecraftServer;field_16258:Lnet/minecraft/class_3695;
      named profiler Lnet/minecraft/server/MinecraftServer;profiler:Lnet/minecraft/util/profiler/Profiler;
    • recorderResultConsumer

      private Consumer<ProfileResult> recorderResultConsumer
      Mappings:
      Namespace Name Mixin selector
      official F Lnet/minecraft/server/MinecraftServer;F:Ljava/util/function/Consumer;
      intermediary field_33975 Lnet/minecraft/server/MinecraftServer;field_33975:Ljava/util/function/Consumer;
      named recorderResultConsumer Lnet/minecraft/server/MinecraftServer;recorderResultConsumer:Ljava/util/function/Consumer;
    • recorderDumpConsumer

      private Consumer<Path> recorderDumpConsumer
      Mappings:
      Namespace Name Mixin selector
      official G Lnet/minecraft/server/MinecraftServer;G:Ljava/util/function/Consumer;
      intermediary field_33976 Lnet/minecraft/server/MinecraftServer;field_33976:Ljava/util/function/Consumer;
      named recorderDumpConsumer Lnet/minecraft/server/MinecraftServer;recorderDumpConsumer:Ljava/util/function/Consumer;
    • needsRecorderSetup

      private boolean needsRecorderSetup
      Mappings:
      Namespace Name Mixin selector
      official H Lnet/minecraft/server/MinecraftServer;H:Z
      intermediary field_33977 Lnet/minecraft/server/MinecraftServer;field_33977:Z
      named needsRecorderSetup Lnet/minecraft/server/MinecraftServer;needsRecorderSetup:Z
    • debugStart

      Mappings:
      Namespace Name Mixin selector
      official I Lnet/minecraft/server/MinecraftServer;I:Lnet/minecraft/server/MinecraftServer$a;
      intermediary field_33978 Lnet/minecraft/server/MinecraftServer;field_33978:Lnet/minecraft/server/MinecraftServer$class_6414;
      named debugStart Lnet/minecraft/server/MinecraftServer;debugStart:Lnet/minecraft/server/MinecraftServer$DebugStart;
    • needsDebugSetup

      private boolean needsDebugSetup
      Mappings:
      Namespace Name Mixin selector
      official J Lnet/minecraft/server/MinecraftServer;J:Z
      intermediary field_33979 Lnet/minecraft/server/MinecraftServer;field_33979:Z
      named needsDebugSetup Lnet/minecraft/server/MinecraftServer;needsDebugSetup:Z
    • networkIo

      private final ServerNetworkIo networkIo
      Mappings:
      Namespace Name Mixin selector
      official K Lnet/minecraft/server/MinecraftServer;K:Ladt;
      intermediary field_4563 Lnet/minecraft/server/MinecraftServer;field_4563:Lnet/minecraft/class_3242;
      named networkIo Lnet/minecraft/server/MinecraftServer;networkIo:Lnet/minecraft/server/ServerNetworkIo;
    • worldGenerationProgressListenerFactory

      private final WorldGenerationProgressListenerFactory worldGenerationProgressListenerFactory
      Mappings:
      Namespace Name Mixin selector
      official L Lnet/minecraft/server/MinecraftServer;L:Ladm;
      intermediary field_17439 Lnet/minecraft/server/MinecraftServer;field_17439:Lnet/minecraft/class_3950;
      named worldGenerationProgressListenerFactory Lnet/minecraft/server/MinecraftServer;worldGenerationProgressListenerFactory:Lnet/minecraft/server/WorldGenerationProgressListenerFactory;
    • metadata

      private final ServerMetadata metadata
      Mappings:
      Namespace Name Mixin selector
      official M Lnet/minecraft/server/MinecraftServer;M:Lxe;
      intermediary field_4593 Lnet/minecraft/server/MinecraftServer;field_4593:Lnet/minecraft/class_2926;
      named metadata Lnet/minecraft/server/MinecraftServer;metadata:Lnet/minecraft/server/ServerMetadata;
    • random

      private final Random random
      Mappings:
      Namespace Name Mixin selector
      official N Lnet/minecraft/server/MinecraftServer;N:Ljava/util/Random;
      intermediary field_4602 Lnet/minecraft/server/MinecraftServer;field_4602:Ljava/util/Random;
      named random Lnet/minecraft/server/MinecraftServer;random:Ljava/util/Random;
    • dataFixer

      private final com.mojang.datafixers.DataFixer dataFixer
      Mappings:
      Namespace Name Mixin selector
      official O Lnet/minecraft/server/MinecraftServer;O:Lcom/mojang/datafixers/DataFixer;
      intermediary field_4587 Lnet/minecraft/server/MinecraftServer;field_4587:Lcom/mojang/datafixers/DataFixer;
      named dataFixer Lnet/minecraft/server/MinecraftServer;dataFixer:Lcom/mojang/datafixers/DataFixer;
    • serverIp

      private String serverIp
      Mappings:
      Namespace Name Mixin selector
      official P Lnet/minecraft/server/MinecraftServer;P:Ljava/lang/String;
      intermediary field_4585 Lnet/minecraft/server/MinecraftServer;field_4585:Ljava/lang/String;
      named serverIp Lnet/minecraft/server/MinecraftServer;serverIp:Ljava/lang/String;
    • serverPort

      private int serverPort
      Mappings:
      Namespace Name Mixin selector
      official Q Lnet/minecraft/server/MinecraftServer;Q:I
      intermediary field_4555 Lnet/minecraft/server/MinecraftServer;field_4555:I
      named serverPort Lnet/minecraft/server/MinecraftServer;serverPort:I
    • registryManager

      protected final DynamicRegistryManager.Impl registryManager
      Mappings:
      Namespace Name Mixin selector
      official n Lnet/minecraft/server/MinecraftServer;n:Lgy$b;
      intermediary field_25132 Lnet/minecraft/server/MinecraftServer;field_25132:Lnet/minecraft/class_5455$class_5457;
      named registryManager Lnet/minecraft/server/MinecraftServer;registryManager:Lnet/minecraft/util/registry/DynamicRegistryManager$Impl;
    • worlds

      private final Map<RegistryKey<World>,ServerWorld> worlds
      Mappings:
      Namespace Name Mixin selector
      official R Lnet/minecraft/server/MinecraftServer;R:Ljava/util/Map;
      intermediary field_4589 Lnet/minecraft/server/MinecraftServer;field_4589:Ljava/util/Map;
      named worlds Lnet/minecraft/server/MinecraftServer;worlds:Ljava/util/Map;
    • playerManager

      private PlayerManager playerManager
      Mappings:
      Namespace Name Mixin selector
      official S Lnet/minecraft/server/MinecraftServer;S:Lafs;
      intermediary field_4550 Lnet/minecraft/server/MinecraftServer;field_4550:Lnet/minecraft/class_3324;
      named playerManager Lnet/minecraft/server/MinecraftServer;playerManager:Lnet/minecraft/server/PlayerManager;
    • running

      private volatile boolean running
      Mappings:
      Namespace Name Mixin selector
      official T Lnet/minecraft/server/MinecraftServer;T:Z
      intermediary field_4544 Lnet/minecraft/server/MinecraftServer;field_4544:Z
      named running Lnet/minecraft/server/MinecraftServer;running:Z
    • stopped

      private boolean stopped
      Mappings:
      Namespace Name Mixin selector
      official U Lnet/minecraft/server/MinecraftServer;U:Z
      intermediary field_4561 Lnet/minecraft/server/MinecraftServer;field_4561:Z
      named stopped Lnet/minecraft/server/MinecraftServer;stopped:Z
    • ticks

      private int ticks
      Mappings:
      Namespace Name Mixin selector
      official V Lnet/minecraft/server/MinecraftServer;V:I
      intermediary field_4572 Lnet/minecraft/server/MinecraftServer;field_4572:I
      named ticks Lnet/minecraft/server/MinecraftServer;ticks:I
    • proxy

      protected final Proxy proxy
      Mappings:
      Namespace Name Mixin selector
      official o Lnet/minecraft/server/MinecraftServer;o:Ljava/net/Proxy;
      intermediary field_4599 Lnet/minecraft/server/MinecraftServer;field_4599:Ljava/net/Proxy;
      named proxy Lnet/minecraft/server/MinecraftServer;proxy:Ljava/net/Proxy;
    • onlineMode

      private boolean onlineMode
      Mappings:
      Namespace Name Mixin selector
      official W Lnet/minecraft/server/MinecraftServer;W:Z
      intermediary field_4543 Lnet/minecraft/server/MinecraftServer;field_4543:Z
      named onlineMode Lnet/minecraft/server/MinecraftServer;onlineMode:Z
    • preventProxyConnections

      private boolean preventProxyConnections
      Mappings:
      Namespace Name Mixin selector
      official X Lnet/minecraft/server/MinecraftServer;X:Z
      intermediary field_4560 Lnet/minecraft/server/MinecraftServer;field_4560:Z
      named preventProxyConnections Lnet/minecraft/server/MinecraftServer;preventProxyConnections:Z
    • pvpEnabled

      private boolean pvpEnabled
      Mappings:
      Namespace Name Mixin selector
      official Y Lnet/minecraft/server/MinecraftServer;Y:Z
      intermediary field_4604 Lnet/minecraft/server/MinecraftServer;field_4604:Z
      named pvpEnabled Lnet/minecraft/server/MinecraftServer;pvpEnabled:Z
    • flightEnabled

      private boolean flightEnabled
      Mappings:
      Namespace Name Mixin selector
      official Z Lnet/minecraft/server/MinecraftServer;Z:Z
      intermediary field_4554 Lnet/minecraft/server/MinecraftServer;field_4554:Z
      named flightEnabled Lnet/minecraft/server/MinecraftServer;flightEnabled:Z
    • motd

      @Nullable private @Nullable String motd
      Mappings:
      Namespace Name Mixin selector
      official aa Lnet/minecraft/server/MinecraftServer;aa:Ljava/lang/String;
      intermediary field_4564 Lnet/minecraft/server/MinecraftServer;field_4564:Ljava/lang/String;
      named motd Lnet/minecraft/server/MinecraftServer;motd:Ljava/lang/String;
    • playerIdleTimeout

      private int playerIdleTimeout
      Mappings:
      Namespace Name Mixin selector
      official ab Lnet/minecraft/server/MinecraftServer;ab:I
      intermediary field_4596 Lnet/minecraft/server/MinecraftServer;field_4596:I
      named playerIdleTimeout Lnet/minecraft/server/MinecraftServer;playerIdleTimeout:I
    • lastTickLengths

      public final long[] lastTickLengths
      Mappings:
      Namespace Name Mixin selector
      official p Lnet/minecraft/server/MinecraftServer;p:[J
      intermediary field_4573 Lnet/minecraft/server/MinecraftServer;field_4573:[J
      named lastTickLengths Lnet/minecraft/server/MinecraftServer;lastTickLengths:[J
    • keyPair

      @Nullable private @Nullable KeyPair keyPair
      Mappings:
      Namespace Name Mixin selector
      official ac Lnet/minecraft/server/MinecraftServer;ac:Ljava/security/KeyPair;
      intermediary field_4552 Lnet/minecraft/server/MinecraftServer;field_4552:Ljava/security/KeyPair;
      named keyPair Lnet/minecraft/server/MinecraftServer;keyPair:Ljava/security/KeyPair;
    • singlePlayerName

      @Nullable private @Nullable String singlePlayerName
      Mappings:
      Namespace Name Mixin selector
      official ad Lnet/minecraft/server/MinecraftServer;ad:Ljava/lang/String;
      intermediary field_4578 Lnet/minecraft/server/MinecraftServer;field_4578:Ljava/lang/String;
      named singlePlayerName Lnet/minecraft/server/MinecraftServer;singlePlayerName:Ljava/lang/String;
    • demo

      private boolean demo
      Mappings:
      Namespace Name Mixin selector
      official ae Lnet/minecraft/server/MinecraftServer;ae:Z
      intermediary field_4549 Lnet/minecraft/server/MinecraftServer;field_4549:Z
      named demo Lnet/minecraft/server/MinecraftServer;demo:Z
    • resourcePackUrl

      private String resourcePackUrl
      Mappings:
      Namespace Name Mixin selector
      official af Lnet/minecraft/server/MinecraftServer;af:Ljava/lang/String;
      intermediary field_4607 Lnet/minecraft/server/MinecraftServer;field_4607:Ljava/lang/String;
      named resourcePackUrl Lnet/minecraft/server/MinecraftServer;resourcePackUrl:Ljava/lang/String;
    • resourcePackHash

      private String resourcePackHash
      Mappings:
      Namespace Name Mixin selector
      official ag Lnet/minecraft/server/MinecraftServer;ag:Ljava/lang/String;
      intermediary field_4584 Lnet/minecraft/server/MinecraftServer;field_4584:Ljava/lang/String;
      named resourcePackHash Lnet/minecraft/server/MinecraftServer;resourcePackHash:Ljava/lang/String;
    • loading

      private volatile boolean loading
      Mappings:
      Namespace Name Mixin selector
      official ah Lnet/minecraft/server/MinecraftServer;ah:Z
      intermediary field_4547 Lnet/minecraft/server/MinecraftServer;field_4547:Z
      named loading Lnet/minecraft/server/MinecraftServer;loading:Z
    • lastTimeReference

      private long lastTimeReference
      Mappings:
      Namespace Name Mixin selector
      official ai Lnet/minecraft/server/MinecraftServer;ai:J
      intermediary field_4557 Lnet/minecraft/server/MinecraftServer;field_4557:J
      named lastTimeReference Lnet/minecraft/server/MinecraftServer;lastTimeReference:J
    • sessionService

      private final com.mojang.authlib.minecraft.MinecraftSessionService sessionService
      Mappings:
      Namespace Name Mixin selector
      official aj Lnet/minecraft/server/MinecraftServer;aj:Lcom/mojang/authlib/minecraft/MinecraftSessionService;
      intermediary field_4603 Lnet/minecraft/server/MinecraftServer;field_4603:Lcom/mojang/authlib/minecraft/MinecraftSessionService;
      named sessionService Lnet/minecraft/server/MinecraftServer;sessionService:Lcom/mojang/authlib/minecraft/MinecraftSessionService;
    • gameProfileRepo

      @Nullable private final @Nullable com.mojang.authlib.GameProfileRepository gameProfileRepo
      Mappings:
      Namespace Name Mixin selector
      official ak Lnet/minecraft/server/MinecraftServer;ak:Lcom/mojang/authlib/GameProfileRepository;
      intermediary field_4608 Lnet/minecraft/server/MinecraftServer;field_4608:Lcom/mojang/authlib/GameProfileRepository;
      named gameProfileRepo Lnet/minecraft/server/MinecraftServer;gameProfileRepo:Lcom/mojang/authlib/GameProfileRepository;
    • userCache

      @Nullable private final @Nullable UserCache userCache
      Mappings:
      Namespace Name Mixin selector
      official al Lnet/minecraft/server/MinecraftServer;al:Lafo;
      intermediary field_4556 Lnet/minecraft/server/MinecraftServer;field_4556:Lnet/minecraft/class_3312;
      named userCache Lnet/minecraft/server/MinecraftServer;userCache:Lnet/minecraft/util/UserCache;
    • lastPlayerSampleUpdate

      private long lastPlayerSampleUpdate
      Mappings:
      Namespace Name Mixin selector
      official am Lnet/minecraft/server/MinecraftServer;am:J
      intermediary field_4551 Lnet/minecraft/server/MinecraftServer;field_4551:J
      named lastPlayerSampleUpdate Lnet/minecraft/server/MinecraftServer;lastPlayerSampleUpdate:J
    • serverThread

      private final Thread serverThread
      Mappings:
      Namespace Name Mixin selector
      official an Lnet/minecraft/server/MinecraftServer;an:Ljava/lang/Thread;
      intermediary field_16257 Lnet/minecraft/server/MinecraftServer;field_16257:Ljava/lang/Thread;
      named serverThread Lnet/minecraft/server/MinecraftServer;serverThread:Ljava/lang/Thread;
    • timeReference

      private long timeReference
      Mappings:
      Namespace Name Mixin selector
      official ao Lnet/minecraft/server/MinecraftServer;ao:J
      intermediary field_4571 Lnet/minecraft/server/MinecraftServer;field_4571:J
      named timeReference Lnet/minecraft/server/MinecraftServer;timeReference:J
    • nextTickTimestamp

      private long nextTickTimestamp
      Mappings:
      Namespace Name Mixin selector
      official ap Lnet/minecraft/server/MinecraftServer;ap:J
      intermediary field_19248 Lnet/minecraft/server/MinecraftServer;field_19248:J
      named nextTickTimestamp Lnet/minecraft/server/MinecraftServer;nextTickTimestamp:J
    • waitingForNextTick

      private boolean waitingForNextTick
      Mappings:
      Namespace Name Mixin selector
      official aq Lnet/minecraft/server/MinecraftServer;aq:Z
      intermediary field_19249 Lnet/minecraft/server/MinecraftServer;field_19249:Z
      named waitingForNextTick Lnet/minecraft/server/MinecraftServer;waitingForNextTick:Z
    • dataPackManager

      private final ResourcePackManager dataPackManager
      Mappings:
      Namespace Name Mixin selector
      official ar Lnet/minecraft/server/MinecraftServer;ar:Laet;
      intermediary field_4595 Lnet/minecraft/server/MinecraftServer;field_4595:Lnet/minecraft/class_3283;
      named dataPackManager Lnet/minecraft/server/MinecraftServer;dataPackManager:Lnet/minecraft/resource/ResourcePackManager;
    • scoreboard

      private final ServerScoreboard scoreboard
      Mappings:
      Namespace Name Mixin selector
      official as Lnet/minecraft/server/MinecraftServer;as:Lyq;
      intermediary field_4558 Lnet/minecraft/server/MinecraftServer;field_4558:Lnet/minecraft/class_2995;
      named scoreboard Lnet/minecraft/server/MinecraftServer;scoreboard:Lnet/minecraft/scoreboard/ServerScoreboard;
    • dataCommandStorage

      @Nullable private @Nullable DataCommandStorage dataCommandStorage
      Mappings:
      Namespace Name Mixin selector
      official at Lnet/minecraft/server/MinecraftServer;at:Ldit;
      intermediary field_20850 Lnet/minecraft/server/MinecraftServer;field_20850:Lnet/minecraft/class_4565;
      named dataCommandStorage Lnet/minecraft/server/MinecraftServer;dataCommandStorage:Lnet/minecraft/command/DataCommandStorage;
    • bossBarManager

      private final BossBarManager bossBarManager
      Mappings:
      Namespace Name Mixin selector
      official au Lnet/minecraft/server/MinecraftServer;au:Lyt;
      intermediary field_4548 Lnet/minecraft/server/MinecraftServer;field_4548:Lnet/minecraft/class_3004;
      named bossBarManager Lnet/minecraft/server/MinecraftServer;bossBarManager:Lnet/minecraft/entity/boss/BossBarManager;
    • commandFunctionManager

      private final CommandFunctionManager commandFunctionManager
      Mappings:
      Namespace Name Mixin selector
      official av Lnet/minecraft/server/MinecraftServer;av:Lyn;
      intermediary field_4591 Lnet/minecraft/server/MinecraftServer;field_4591:Lnet/minecraft/class_2991;
      named commandFunctionManager Lnet/minecraft/server/MinecraftServer;commandFunctionManager:Lnet/minecraft/server/function/CommandFunctionManager;
    • metricsData

      private final MetricsData metricsData
      Mappings:
      Namespace Name Mixin selector
      official aw Lnet/minecraft/server/MinecraftServer;aw:Laih;
      intermediary field_16205 Lnet/minecraft/server/MinecraftServer;field_16205:Lnet/minecraft/class_3517;
      named metricsData Lnet/minecraft/server/MinecraftServer;metricsData:Lnet/minecraft/util/MetricsData;
    • enforceWhitelist

      private boolean enforceWhitelist
      Mappings:
      Namespace Name Mixin selector
      official ax Lnet/minecraft/server/MinecraftServer;ax:Z
      intermediary field_4570 Lnet/minecraft/server/MinecraftServer;field_4570:Z
      named enforceWhitelist Lnet/minecraft/server/MinecraftServer;enforceWhitelist:Z
    • tickTime

      private float tickTime
      Mappings:
      Namespace Name Mixin selector
      official ay Lnet/minecraft/server/MinecraftServer;ay:F
      intermediary field_4592 Lnet/minecraft/server/MinecraftServer;field_4592:F
      named tickTime Lnet/minecraft/server/MinecraftServer;tickTime:F
    • workerExecutor

      private final Executor workerExecutor
      Mappings:
      Namespace Name Mixin selector
      official az Lnet/minecraft/server/MinecraftServer;az:Ljava/util/concurrent/Executor;
      intermediary field_17200 Lnet/minecraft/server/MinecraftServer;field_17200:Ljava/util/concurrent/Executor;
      named workerExecutor Lnet/minecraft/server/MinecraftServer;workerExecutor:Ljava/util/concurrent/Executor;
    • serverId

      @Nullable private @Nullable String serverId
      Mappings:
      Namespace Name Mixin selector
      official aA Lnet/minecraft/server/MinecraftServer;aA:Ljava/lang/String;
      intermediary field_17601 Lnet/minecraft/server/MinecraftServer;field_17601:Ljava/lang/String;
      named serverId Lnet/minecraft/server/MinecraftServer;serverId:Ljava/lang/String;
    • serverResourceManager

      private ServerResourceManager serverResourceManager
      Mappings:
      Namespace Name Mixin selector
      official aB Lnet/minecraft/server/MinecraftServer;aB:Lyp;
      intermediary field_25318 Lnet/minecraft/server/MinecraftServer;field_25318:Lnet/minecraft/class_5350;
      named serverResourceManager Lnet/minecraft/server/MinecraftServer;serverResourceManager:Lnet/minecraft/resource/ServerResourceManager;
    • structureManager

      private final StructureManager structureManager
      Mappings:
      Namespace Name Mixin selector
      official aC Lnet/minecraft/server/MinecraftServer;aC:Ldgc;
      intermediary field_24370 Lnet/minecraft/server/MinecraftServer;field_24370:Lnet/minecraft/class_3485;
      named structureManager Lnet/minecraft/server/MinecraftServer;structureManager:Lnet/minecraft/structure/StructureManager;
    • saveProperties

      protected final SaveProperties saveProperties
      Mappings:
      Namespace Name Mixin selector
      official q Lnet/minecraft/server/MinecraftServer;q:Ldjg;
      intermediary field_24372 Lnet/minecraft/server/MinecraftServer;field_24372:Lnet/minecraft/class_5219;
      named saveProperties Lnet/minecraft/server/MinecraftServer;saveProperties:Lnet/minecraft/world/SaveProperties;
    • saving

      private volatile boolean saving
      Mappings:
      Namespace Name Mixin selector
      official aD Lnet/minecraft/server/MinecraftServer;aD:Z
      intermediary field_35437 Lnet/minecraft/server/MinecraftServer;field_35437:Z
      named saving Lnet/minecraft/server/MinecraftServer;saving:Z
  • Constructor Details

    • MinecraftServer

      public MinecraftServer(Thread serverThread, DynamicRegistryManager.Impl registryManager, LevelStorage.Session session, SaveProperties saveProperties, ResourcePackManager dataPackManager, Proxy proxy, com.mojang.datafixers.DataFixer dataFixer, ServerResourceManager serverResourceManager, @Nullable @Nullable com.mojang.authlib.minecraft.MinecraftSessionService sessionService, @Nullable @Nullable com.mojang.authlib.GameProfileRepository gameProfileRepo, @Nullable @Nullable UserCache userCache, WorldGenerationProgressListenerFactory worldGenerationProgressListenerFactory)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lnet/minecraft/server/MinecraftServer;<init>(Ljava/lang/Thread;Lgy$b;Ldja$a;Ldjg;Laet;Ljava/net/Proxy;Lcom/mojang/datafixers/DataFixer;Lyp;Lcom/mojang/authlib/minecraft/MinecraftSessionService;Lcom/mojang/authlib/GameProfileRepository;Lafo;Ladm;)V
      intermediary <init> Lnet/minecraft/server/MinecraftServer;<init>(Ljava/lang/Thread;Lnet/minecraft/class_5455$class_5457;Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_5219;Lnet/minecraft/class_3283;Ljava/net/Proxy;Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/class_5350;Lcom/mojang/authlib/minecraft/MinecraftSessionService;Lcom/mojang/authlib/GameProfileRepository;Lnet/minecraft/class_3312;Lnet/minecraft/class_3950;)V
      named <init> Lnet/minecraft/server/MinecraftServer;<init>(Ljava/lang/Thread;Lnet/minecraft/util/registry/DynamicRegistryManager$Impl;Lnet/minecraft/world/level/storage/LevelStorage$Session;Lnet/minecraft/world/SaveProperties;Lnet/minecraft/resource/ResourcePackManager;Ljava/net/Proxy;Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/resource/ServerResourceManager;Lcom/mojang/authlib/minecraft/MinecraftSessionService;Lcom/mojang/authlib/GameProfileRepository;Lnet/minecraft/util/UserCache;Lnet/minecraft/server/WorldGenerationProgressListenerFactory;)V
  • Method Details

    • startServer

      public static <S extends MinecraftServer> S startServer(Function<Thread,S> serverFactory)
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Ljava/util/function/Function;)Lnet/minecraft/server/MinecraftServer;
      intermediary method_29740 Lnet/minecraft/server/MinecraftServer;method_29740(Ljava/util/function/Function;)Lnet/minecraft/server/MinecraftServer;
      named startServer Lnet/minecraft/server/MinecraftServer;startServer(Ljava/util/function/Function;)Lnet/minecraft/server/MinecraftServer;
    • initScoreboard

      private void initScoreboard(PersistentStateManager persistentStateManager)
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Ldiw;)V
      intermediary method_17976 Lnet/minecraft/server/MinecraftServer;method_17976(Lnet/minecraft/class_26;)V
      named initScoreboard Lnet/minecraft/server/MinecraftServer;initScoreboard(Lnet/minecraft/world/PersistentStateManager;)V
    • setupServer

      protected abstract boolean setupServer() throws IOException
      Setups a Minecraft server to be ready for players to connect. This method does several things including loading server properties and loading worlds.
      Returns:
      true if the Minecraft server was successfully setup, false if the server failed to be setup.
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official e Lnet/minecraft/server/MinecraftServer;e()Z
      intermediary method_3823 Lnet/minecraft/server/MinecraftServer;method_3823()Z
      named setupServer Lnet/minecraft/server/MinecraftServer;setupServer()Z
    • loadWorld

      protected void loadWorld()
      Mappings:
      Namespace Name Mixin selector
      official f_ Lnet/minecraft/server/MinecraftServer;f_()V
      intermediary method_3735 Lnet/minecraft/server/MinecraftServer;method_3735()V
      named loadWorld Lnet/minecraft/server/MinecraftServer;loadWorld()V
    • updateDifficulty

      protected void updateDifficulty()
      Mappings:
      Namespace Name Mixin selector
      official q Lnet/minecraft/server/MinecraftServer;q()V
      intermediary method_27731 Lnet/minecraft/server/MinecraftServer;method_27731()V
      named updateDifficulty Lnet/minecraft/server/MinecraftServer;updateDifficulty()V
    • createWorlds

      protected void createWorlds(WorldGenerationProgressListener worldGenerationProgressListener)
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Ladl;)V
      intermediary method_3786 Lnet/minecraft/server/MinecraftServer;method_3786(Lnet/minecraft/class_3949;)V
      named createWorlds Lnet/minecraft/server/MinecraftServer;createWorlds(Lnet/minecraft/server/WorldGenerationProgressListener;)V
    • setupSpawn

      private static void setupSpawn(ServerWorld world, ServerWorldProperties worldProperties, boolean bonusChest, boolean debugWorld)
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Ladc;Ldjf;ZZ)V
      intermediary method_27901 Lnet/minecraft/server/MinecraftServer;method_27901(Lnet/minecraft/class_3218;Lnet/minecraft/class_5268;ZZ)V
      named setupSpawn Lnet/minecraft/server/MinecraftServer;setupSpawn(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/level/ServerWorldProperties;ZZ)V
    • setToDebugWorldProperties

      private void setToDebugWorldProperties(SaveProperties properties)
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Ldjg;)V
      intermediary method_17977 Lnet/minecraft/server/MinecraftServer;method_17977(Lnet/minecraft/class_5219;)V
      named setToDebugWorldProperties Lnet/minecraft/server/MinecraftServer;setToDebugWorldProperties(Lnet/minecraft/world/SaveProperties;)V
    • prepareStartRegion

      private void prepareStartRegion(WorldGenerationProgressListener worldGenerationProgressListener)
      Mappings:
      Namespace Name Mixin selector
      official b Lnet/minecraft/server/MinecraftServer;b(Ladl;)V
      intermediary method_3774 Lnet/minecraft/server/MinecraftServer;method_3774(Lnet/minecraft/class_3949;)V
      named prepareStartRegion Lnet/minecraft/server/MinecraftServer;prepareStartRegion(Lnet/minecraft/server/WorldGenerationProgressListener;)V
    • loadWorldResourcePack

      protected void loadWorldResourcePack()
      Mappings:
      Namespace Name Mixin selector
      official g_ Lnet/minecraft/server/MinecraftServer;g_()V
      intermediary method_3861 Lnet/minecraft/server/MinecraftServer;method_3861()V
      named loadWorldResourcePack Lnet/minecraft/server/MinecraftServer;loadWorldResourcePack()V
    • getDefaultGameMode

      public GameMode getDefaultGameMode()
      Mappings:
      Namespace Name Mixin selector
      official h_ Lnet/minecraft/server/MinecraftServer;h_()Lbzt;
      intermediary method_3790 Lnet/minecraft/server/MinecraftServer;method_3790()Lnet/minecraft/class_1934;
      named getDefaultGameMode Lnet/minecraft/server/MinecraftServer;getDefaultGameMode()Lnet/minecraft/world/GameMode;
    • isHardcore

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

      public abstract int getOpPermissionLevel()
      Mappings:
      Namespace Name Mixin selector
      official h Lnet/minecraft/server/MinecraftServer;h()I
      intermediary method_3798 Lnet/minecraft/server/MinecraftServer;method_3798()I
      named getOpPermissionLevel Lnet/minecraft/server/MinecraftServer;getOpPermissionLevel()I
    • getFunctionPermissionLevel

      public abstract int getFunctionPermissionLevel()
      Mappings:
      Namespace Name Mixin selector
      official i Lnet/minecraft/server/MinecraftServer;i()I
      intermediary method_21714 Lnet/minecraft/server/MinecraftServer;method_21714()I
      named getFunctionPermissionLevel Lnet/minecraft/server/MinecraftServer;getFunctionPermissionLevel()I
    • shouldBroadcastRconToOps

      public abstract boolean shouldBroadcastRconToOps()
      Mappings:
      Namespace Name Mixin selector
      official j Lnet/minecraft/server/MinecraftServer;j()Z
      intermediary method_3732 Lnet/minecraft/server/MinecraftServer;method_3732()Z
      named shouldBroadcastRconToOps Lnet/minecraft/server/MinecraftServer;shouldBroadcastRconToOps()Z
    • save

      public boolean save(boolean suppressLogs, boolean flush, boolean force)
      Saves the server to the data storage device. To store the player data in addition to server data, call PlayerManager.saveAllPlayerData().
      Parameters:
      flush - if it should immediately write all data to storage device
      force - when set to true, all the ServerWorlds will be saved even if ServerWorld.savingDisabled is set to true
      Returns:
      whether saving was successful
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(ZZZ)Z
      intermediary method_3723 Lnet/minecraft/server/MinecraftServer;method_3723(ZZZ)Z
      named save Lnet/minecraft/server/MinecraftServer;save(ZZZ)Z
    • saveAll

      public boolean saveAll(boolean suppressLogs, boolean flush, boolean force)
      Mappings:
      Namespace Name Mixin selector
      official b Lnet/minecraft/server/MinecraftServer;b(ZZZ)Z
      intermediary method_39218 Lnet/minecraft/server/MinecraftServer;method_39218(ZZZ)Z
      named saveAll Lnet/minecraft/server/MinecraftServer;saveAll(ZZZ)Z
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface MessageListener<ServerTask>
    • shutdown

      public void shutdown()
      Mappings:
      Namespace Name Mixin selector
      official t Lnet/minecraft/server/MinecraftServer;t()V
      intermediary method_3782 Lnet/minecraft/server/MinecraftServer;method_3782()V
      named shutdown Lnet/minecraft/server/MinecraftServer;shutdown()V
    • getServerIp

      public String getServerIp()
      Mappings:
      Namespace Name Mixin selector
      official u Lnet/minecraft/server/MinecraftServer;u()Ljava/lang/String;
      intermediary method_3819 Lnet/minecraft/server/MinecraftServer;method_3819()Ljava/lang/String;
      named getServerIp Lnet/minecraft/server/MinecraftServer;getServerIp()Ljava/lang/String;
    • setServerIp

      public void setServerIp(String serverIp)
      Mappings:
      Namespace Name Mixin selector
      official a_ Lnet/minecraft/server/MinecraftServer;a_(Ljava/lang/String;)V
      intermediary method_3842 Lnet/minecraft/server/MinecraftServer;method_3842(Ljava/lang/String;)V
      named setServerIp Lnet/minecraft/server/MinecraftServer;setServerIp(Ljava/lang/String;)V
    • isRunning

      public boolean isRunning()
      Mappings:
      Namespace Name Mixin selector
      official v Lnet/minecraft/server/MinecraftServer;v()Z
      intermediary method_3806 Lnet/minecraft/server/MinecraftServer;method_3806()Z
      named isRunning Lnet/minecraft/server/MinecraftServer;isRunning()Z
    • stop

      public void stop(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Z)V
      intermediary method_3747 Lnet/minecraft/server/MinecraftServer;method_3747(Z)V
      named stop Lnet/minecraft/server/MinecraftServer;stop(Z)V
    • runServer

      protected void runServer()
      Mappings:
      Namespace Name Mixin selector
      official w Lnet/minecraft/server/MinecraftServer;w()V
      intermediary method_29741 Lnet/minecraft/server/MinecraftServer;method_29741()V
      named runServer Lnet/minecraft/server/MinecraftServer;runServer()V
    • shouldKeepTicking

      private boolean shouldKeepTicking()
      Mappings:
      Namespace Name Mixin selector
      official be Lnet/minecraft/server/MinecraftServer;be()Z
      intermediary method_3866 Lnet/minecraft/server/MinecraftServer;method_3866()Z
      named shouldKeepTicking Lnet/minecraft/server/MinecraftServer;shouldKeepTicking()Z
    • runTasksTillTickEnd

      protected void runTasksTillTickEnd()
      Mappings:
      Namespace Name Mixin selector
      official x Lnet/minecraft/server/MinecraftServer;x()V
      intermediary method_16208 Lnet/minecraft/server/MinecraftServer;method_16208()V
      named runTasksTillTickEnd Lnet/minecraft/server/MinecraftServer;runTasksTillTickEnd()V
    • createTask

      protected ServerTask createTask(Runnable runnable)
      Specified by:
      createTask in class ThreadExecutor<ServerTask>
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Ljava/lang/Runnable;)Lyr;
      intermediary method_16209 Lnet/minecraft/server/MinecraftServer;method_16209(Ljava/lang/Runnable;)Lnet/minecraft/class_3738;
      named createTask Lnet/minecraft/server/MinecraftServer;createTask(Ljava/lang/Runnable;)Lnet/minecraft/server/ServerTask;
    • canExecute

      protected boolean canExecute(ServerTask serverTask)
      Specified by:
      canExecute in class ThreadExecutor<ServerTask>
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Lyr;)Z
      intermediary method_19464 Lnet/minecraft/server/MinecraftServer;method_19464(Lnet/minecraft/class_3738;)Z
      named canExecute Lnet/minecraft/server/MinecraftServer;canExecute(Lnet/minecraft/server/ServerTask;)Z
    • runTask

      public boolean runTask()
      Overrides:
      runTask in class ThreadExecutor<ServerTask>
      Mappings:
      Namespace Name Mixin selector
      official y Laua;y()Z
      intermediary method_16075 Lnet/minecraft/class_1255;method_16075()Z
      named runTask Lnet/minecraft/util/thread/ThreadExecutor;runTask()Z
    • runOneTask

      private boolean runOneTask()
      Mappings:
      Namespace Name Mixin selector
      official bf Lnet/minecraft/server/MinecraftServer;bf()Z
      intermediary method_20415 Lnet/minecraft/server/MinecraftServer;method_20415()Z
      named runOneTask Lnet/minecraft/server/MinecraftServer;runOneTask()Z
    • executeTask

      protected void executeTask(ServerTask serverTask)
      Description copied from class: ReentrantThreadExecutor
      Overrides:
      executeTask in class ReentrantThreadExecutor<ServerTask>
      Mappings:
      Namespace Name Mixin selector
      official b Lnet/minecraft/server/MinecraftServer;b(Lyr;)V
      intermediary method_24306 Lnet/minecraft/server/MinecraftServer;method_24306(Lnet/minecraft/class_3738;)V
      named executeTask Lnet/minecraft/server/MinecraftServer;executeTask(Lnet/minecraft/server/ServerTask;)V
    • setFavicon

      private void setFavicon(ServerMetadata metadata)
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Lxe;)V
      intermediary method_3791 Lnet/minecraft/server/MinecraftServer;method_3791(Lnet/minecraft/class_2926;)V
      named setFavicon Lnet/minecraft/server/MinecraftServer;setFavicon(Lnet/minecraft/server/ServerMetadata;)V
    • getIconFile

      public Optional<Path> getIconFile()
      Mappings:
      Namespace Name Mixin selector
      official z Lnet/minecraft/server/MinecraftServer;z()Ljava/util/Optional;
      intermediary method_3725 Lnet/minecraft/server/MinecraftServer;method_3725()Ljava/util/Optional;
      named getIconFile Lnet/minecraft/server/MinecraftServer;getIconFile()Ljava/util/Optional;
    • getRunDirectory

      public File getRunDirectory()
      Mappings:
      Namespace Name Mixin selector
      official A Lnet/minecraft/server/MinecraftServer;A()Ljava/io/File;
      intermediary method_3831 Lnet/minecraft/server/MinecraftServer;method_3831()Ljava/io/File;
      named getRunDirectory Lnet/minecraft/server/MinecraftServer;getRunDirectory()Ljava/io/File;
    • setCrashReport

      protected void setCrashReport(CrashReport report)
      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
    • exit

      public void exit()
      Mappings:
      Namespace Name Mixin selector
      official f Lnet/minecraft/server/MinecraftServer;f()V
      intermediary method_3821 Lnet/minecraft/server/MinecraftServer;method_3821()V
      named exit Lnet/minecraft/server/MinecraftServer;exit()V
    • tick

      public void tick(BooleanSupplier shouldKeepTicking)
      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
    • tickWorlds

      public void tickWorlds(BooleanSupplier shouldKeepTicking)
      Mappings:
      Namespace Name Mixin selector
      official b Lnet/minecraft/server/MinecraftServer;b(Ljava/util/function/BooleanSupplier;)V
      intermediary method_3813 Lnet/minecraft/server/MinecraftServer;method_3813(Ljava/util/function/BooleanSupplier;)V
      named tickWorlds Lnet/minecraft/server/MinecraftServer;tickWorlds(Ljava/util/function/BooleanSupplier;)V
    • isNetherAllowed

      public boolean isNetherAllowed()
      Mappings:
      Namespace Name Mixin selector
      official B Lnet/minecraft/server/MinecraftServer;B()Z
      intermediary method_3839 Lnet/minecraft/server/MinecraftServer;method_3839()Z
      named isNetherAllowed Lnet/minecraft/server/MinecraftServer;isNetherAllowed()Z
    • addServerGuiTickable

      public void addServerGuiTickable(Runnable tickable)
      Mappings:
      Namespace Name Mixin selector
      official b Lnet/minecraft/server/MinecraftServer;b(Ljava/lang/Runnable;)V
      intermediary method_3742 Lnet/minecraft/server/MinecraftServer;method_3742(Ljava/lang/Runnable;)V
      named addServerGuiTickable Lnet/minecraft/server/MinecraftServer;addServerGuiTickable(Ljava/lang/Runnable;)V
    • setServerId

      protected void setServerId(String serverId)
      Mappings:
      Namespace Name Mixin selector
      official b Lnet/minecraft/server/MinecraftServer;b(Ljava/lang/String;)V
      intermediary method_17819 Lnet/minecraft/server/MinecraftServer;method_17819(Ljava/lang/String;)V
      named setServerId Lnet/minecraft/server/MinecraftServer;setServerId(Ljava/lang/String;)V
    • isStopping

      public boolean isStopping()
      Mappings:
      Namespace Name Mixin selector
      official C Lnet/minecraft/server/MinecraftServer;C()Z
      intermediary method_16043 Lnet/minecraft/server/MinecraftServer;method_16043()Z
      named isStopping Lnet/minecraft/server/MinecraftServer;isStopping()Z
    • getFile

      public File getFile(String path)
      Parameters:
      path - relative path from the run directory
      Mappings:
      Namespace Name Mixin selector
      official c Lnet/minecraft/server/MinecraftServer;c(Ljava/lang/String;)Ljava/io/File;
      intermediary method_3758 Lnet/minecraft/server/MinecraftServer;method_3758(Ljava/lang/String;)Ljava/io/File;
      named getFile Lnet/minecraft/server/MinecraftServer;getFile(Ljava/lang/String;)Ljava/io/File;
    • getOverworld

      public final ServerWorld getOverworld()
      Mappings:
      Namespace Name Mixin selector
      official D Lnet/minecraft/server/MinecraftServer;D()Ladc;
      intermediary method_30002 Lnet/minecraft/server/MinecraftServer;method_30002()Lnet/minecraft/class_3218;
      named getOverworld Lnet/minecraft/server/MinecraftServer;getOverworld()Lnet/minecraft/server/world/ServerWorld;
    • getWorld

      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Lya;)Ladc;
      intermediary method_3847 Lnet/minecraft/server/MinecraftServer;method_3847(Lnet/minecraft/class_5321;)Lnet/minecraft/class_3218;
      named getWorld Lnet/minecraft/server/MinecraftServer;getWorld(Lnet/minecraft/util/registry/RegistryKey;)Lnet/minecraft/server/world/ServerWorld;
    • getWorldRegistryKeys

      public Set<RegistryKey<World>> getWorldRegistryKeys()
      Mappings:
      Namespace Name Mixin selector
      official E Lnet/minecraft/server/MinecraftServer;E()Ljava/util/Set;
      intermediary method_29435 Lnet/minecraft/server/MinecraftServer;method_29435()Ljava/util/Set;
      named getWorldRegistryKeys Lnet/minecraft/server/MinecraftServer;getWorldRegistryKeys()Ljava/util/Set;
    • getWorlds

      public Iterable<ServerWorld> getWorlds()
      Mappings:
      Namespace Name Mixin selector
      official F Lnet/minecraft/server/MinecraftServer;F()Ljava/lang/Iterable;
      intermediary method_3738 Lnet/minecraft/server/MinecraftServer;method_3738()Ljava/lang/Iterable;
      named getWorlds Lnet/minecraft/server/MinecraftServer;getWorlds()Ljava/lang/Iterable;
    • getVersion

      public String getVersion()
      Mappings:
      Namespace Name Mixin selector
      official G Lnet/minecraft/server/MinecraftServer;G()Ljava/lang/String;
      intermediary method_3827 Lnet/minecraft/server/MinecraftServer;method_3827()Ljava/lang/String;
      named getVersion Lnet/minecraft/server/MinecraftServer;getVersion()Ljava/lang/String;
    • getCurrentPlayerCount

      public int getCurrentPlayerCount()
      Mappings:
      Namespace Name Mixin selector
      official H Lnet/minecraft/server/MinecraftServer;H()I
      intermediary method_3788 Lnet/minecraft/server/MinecraftServer;method_3788()I
      named getCurrentPlayerCount Lnet/minecraft/server/MinecraftServer;getCurrentPlayerCount()I
    • getMaxPlayerCount

      public int getMaxPlayerCount()
      Mappings:
      Namespace Name Mixin selector
      official I Lnet/minecraft/server/MinecraftServer;I()I
      intermediary method_3802 Lnet/minecraft/server/MinecraftServer;method_3802()I
      named getMaxPlayerCount Lnet/minecraft/server/MinecraftServer;getMaxPlayerCount()I
    • getPlayerNames

      public String[] getPlayerNames()
      Mappings:
      Namespace Name Mixin selector
      official J Lnet/minecraft/server/MinecraftServer;J()[Ljava/lang/String;
      intermediary method_3858 Lnet/minecraft/server/MinecraftServer;method_3858()[Ljava/lang/String;
      named getPlayerNames Lnet/minecraft/server/MinecraftServer;getPlayerNames()[Ljava/lang/String;
    • getServerModName

      public String getServerModName()
    • addSystemDetails

      public SystemDetails addSystemDetails(SystemDetails details)
      Mappings:
      Namespace Name Mixin selector
      official b Lnet/minecraft/server/MinecraftServer;b(Lac;)Lac;
      intermediary method_37324 Lnet/minecraft/server/MinecraftServer;method_37324(Lnet/minecraft/class_6396;)Lnet/minecraft/class_6396;
      named addSystemDetails Lnet/minecraft/server/MinecraftServer;addSystemDetails(Lnet/minecraft/util/SystemDetails;)Lnet/minecraft/util/SystemDetails;
    • addExtraSystemDetails

      public abstract SystemDetails addExtraSystemDetails(SystemDetails details)
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Lac;)Lac;
      intermediary method_3859 Lnet/minecraft/server/MinecraftServer;method_3859(Lnet/minecraft/class_6396;)Lnet/minecraft/class_6396;
      named addExtraSystemDetails Lnet/minecraft/server/MinecraftServer;addExtraSystemDetails(Lnet/minecraft/util/SystemDetails;)Lnet/minecraft/util/SystemDetails;
    • getModStatus

      public ModStatus getModStatus()
      Mappings:
      Namespace Name Mixin selector
      official K Lnet/minecraft/server/MinecraftServer;K()Laiq;
      intermediary method_24307 Lnet/minecraft/server/MinecraftServer;method_24307()Lnet/minecraft/class_6683;
      named getModStatus Lnet/minecraft/server/MinecraftServer;getModStatus()Lnet/minecraft/util/ModStatus;
    • sendSystemMessage

      public void sendSystemMessage(Text message, UUID sender)
      Specified by:
      sendSystemMessage in interface CommandOutput
      Mappings:
      Namespace Name Mixin selector
      official a Ldl;a(Lpt;Ljava/util/UUID;)V
      intermediary method_9203 Lnet/minecraft/class_2165;method_9203(Lnet/minecraft/class_2561;Ljava/util/UUID;)V
      named sendSystemMessage Lnet/minecraft/server/command/CommandOutput;sendSystemMessage(Lnet/minecraft/text/Text;Ljava/util/UUID;)V
    • getKeyPair

      public KeyPair getKeyPair()
      Mappings:
      Namespace Name Mixin selector
      official L Lnet/minecraft/server/MinecraftServer;L()Ljava/security/KeyPair;
      intermediary method_3716 Lnet/minecraft/server/MinecraftServer;method_3716()Ljava/security/KeyPair;
      named getKeyPair Lnet/minecraft/server/MinecraftServer;getKeyPair()Ljava/security/KeyPair;
    • getServerPort

      public int getServerPort()
      Mappings:
      Namespace Name Mixin selector
      official M Lnet/minecraft/server/MinecraftServer;M()I
      intermediary method_3756 Lnet/minecraft/server/MinecraftServer;method_3756()I
      named getServerPort Lnet/minecraft/server/MinecraftServer;getServerPort()I
    • setServerPort

      public void setServerPort(int serverPort)
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(I)V
      intermediary method_3779 Lnet/minecraft/server/MinecraftServer;method_3779(I)V
      named setServerPort Lnet/minecraft/server/MinecraftServer;setServerPort(I)V
    • getSinglePlayerName

      public String getSinglePlayerName()
      Returns the name of the single player of this server. This may be null for non-singleplayer servers.

      In vanilla, outside of integrated servers, this is used to determine to whom the Player NBT from level.dat applies.

      Returns:
      the name of the single player of this server
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official N Lnet/minecraft/server/MinecraftServer;N()Ljava/lang/String;
      intermediary method_3811 Lnet/minecraft/server/MinecraftServer;method_3811()Ljava/lang/String;
      named getSinglePlayerName Lnet/minecraft/server/MinecraftServer;getSinglePlayerName()Ljava/lang/String;
    • setSinglePlayerName

      public void setSinglePlayerName(String singlePlayerName)
      Sets the name of the single player of this server.

      This is called by vanilla when setting up this server. The singlePlayerName is the client's player name for integrated servers and specified by the --singleplayer <singlePlayerName> command-line argument or null for dedicated servers.

      Parameters:
      singlePlayerName - the single player's name, or null for non-singleplayer servers
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lnet/minecraft/server/MinecraftServer;d(Ljava/lang/String;)V
      intermediary method_3849 Lnet/minecraft/server/MinecraftServer;method_3849(Ljava/lang/String;)V
      named setSinglePlayerName Lnet/minecraft/server/MinecraftServer;setSinglePlayerName(Ljava/lang/String;)V
    • isSingleplayer

      public boolean isSingleplayer()
      Returns whether this server is a singleplayer server. A singleplayer server has a "single player" to whom the player data in the level.dat applies. Otherwise, the player data is not applied to anyone. Hence, it is necessary to properly load some single-player save games.

      All vanilla integrated servers and dedicated servers launched with the argument --singleplayer <singlePlayerName> are singleplayer servers.

      A dedicated singleplayer server always turns online mode off, regardless of the content of server.properties.

      Returns:
      whether this server is a singleplayer server
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official O Lnet/minecraft/server/MinecraftServer;O()Z
      intermediary method_3724 Lnet/minecraft/server/MinecraftServer;method_3724()Z
      named isSingleplayer Lnet/minecraft/server/MinecraftServer;isSingleplayer()Z
    • generateKeyPair

      protected void generateKeyPair()
      Mappings:
      Namespace Name Mixin selector
      official P Lnet/minecraft/server/MinecraftServer;P()V
      intermediary method_31400 Lnet/minecraft/server/MinecraftServer;method_31400()V
      named generateKeyPair Lnet/minecraft/server/MinecraftServer;generateKeyPair()V
    • setDifficulty

      public void setDifficulty(Difficulty difficulty, boolean forceUpdate)
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Lavg;Z)V
      intermediary method_3776 Lnet/minecraft/server/MinecraftServer;method_3776(Lnet/minecraft/class_1267;Z)V
      named setDifficulty Lnet/minecraft/server/MinecraftServer;setDifficulty(Lnet/minecraft/world/Difficulty;Z)V
    • adjustTrackingDistance

      public int adjustTrackingDistance(int initialDistance)
      Mappings:
      Namespace Name Mixin selector
      official b Lnet/minecraft/server/MinecraftServer;b(I)I
      intermediary method_27903 Lnet/minecraft/server/MinecraftServer;method_27903(I)I
      named adjustTrackingDistance Lnet/minecraft/server/MinecraftServer;adjustTrackingDistance(I)I
    • updateMobSpawnOptions

      private void updateMobSpawnOptions()
      Mappings:
      Namespace Name Mixin selector
      official bg Lnet/minecraft/server/MinecraftServer;bg()V
      intermediary method_27729 Lnet/minecraft/server/MinecraftServer;method_27729()V
      named updateMobSpawnOptions Lnet/minecraft/server/MinecraftServer;updateMobSpawnOptions()V
    • setDifficultyLocked

      public void setDifficultyLocked(boolean locked)
      Mappings:
      Namespace Name Mixin selector
      official b Lnet/minecraft/server/MinecraftServer;b(Z)V
      intermediary method_19467 Lnet/minecraft/server/MinecraftServer;method_19467(Z)V
      named setDifficultyLocked Lnet/minecraft/server/MinecraftServer;setDifficultyLocked(Z)V
    • sendDifficulty

      private void sendDifficulty(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official c Lnet/minecraft/server/MinecraftServer;c(Ladd;)V
      intermediary method_19465 Lnet/minecraft/server/MinecraftServer;method_19465(Lnet/minecraft/class_3222;)V
      named sendDifficulty Lnet/minecraft/server/MinecraftServer;sendDifficulty(Lnet/minecraft/server/network/ServerPlayerEntity;)V
    • isMonsterSpawningEnabled

      public boolean isMonsterSpawningEnabled()
      Mappings:
      Namespace Name Mixin selector
      official Q Lnet/minecraft/server/MinecraftServer;Q()Z
      intermediary method_3783 Lnet/minecraft/server/MinecraftServer;method_3783()Z
      named isMonsterSpawningEnabled Lnet/minecraft/server/MinecraftServer;isMonsterSpawningEnabled()Z
    • isDemo

      public boolean isDemo()
      Mappings:
      Namespace Name Mixin selector
      official R Lnet/minecraft/server/MinecraftServer;R()Z
      intermediary method_3799 Lnet/minecraft/server/MinecraftServer;method_3799()Z
      named isDemo Lnet/minecraft/server/MinecraftServer;isDemo()Z
    • setDemo

      public void setDemo(boolean demo)
      Mappings:
      Namespace Name Mixin selector
      official c Lnet/minecraft/server/MinecraftServer;c(Z)V
      intermediary method_3730 Lnet/minecraft/server/MinecraftServer;method_3730(Z)V
      named setDemo Lnet/minecraft/server/MinecraftServer;setDemo(Z)V
    • getResourcePackUrl

      public String getResourcePackUrl()
      Mappings:
      Namespace Name Mixin selector
      official S Lnet/minecraft/server/MinecraftServer;S()Ljava/lang/String;
      intermediary method_3784 Lnet/minecraft/server/MinecraftServer;method_3784()Ljava/lang/String;
      named getResourcePackUrl Lnet/minecraft/server/MinecraftServer;getResourcePackUrl()Ljava/lang/String;
    • getResourcePackHash

      public String getResourcePackHash()
      Mappings:
      Namespace Name Mixin selector
      official T Lnet/minecraft/server/MinecraftServer;T()Ljava/lang/String;
      intermediary method_3805 Lnet/minecraft/server/MinecraftServer;method_3805()Ljava/lang/String;
      named getResourcePackHash Lnet/minecraft/server/MinecraftServer;getResourcePackHash()Ljava/lang/String;
    • setResourcePack

      public void setResourcePack(String url, String hash)
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Ljava/lang/String;Ljava/lang/String;)V
      intermediary method_3843 Lnet/minecraft/server/MinecraftServer;method_3843(Ljava/lang/String;Ljava/lang/String;)V
      named setResourcePack Lnet/minecraft/server/MinecraftServer;setResourcePack(Ljava/lang/String;Ljava/lang/String;)V
    • isDedicated

      public abstract 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.

      Mappings:
      Namespace Name Mixin selector
      official k Lnet/minecraft/server/MinecraftServer;k()Z
      intermediary method_3816 Lnet/minecraft/server/MinecraftServer;method_3816()Z
      named isDedicated Lnet/minecraft/server/MinecraftServer;isDedicated()Z
    • getRateLimit

      public abstract int getRateLimit()
      Mappings:
      Namespace Name Mixin selector
      official l Lnet/minecraft/server/MinecraftServer;l()I
      intermediary method_30612 Lnet/minecraft/server/MinecraftServer;method_30612()I
      named getRateLimit Lnet/minecraft/server/MinecraftServer;getRateLimit()I
    • isOnlineMode

      public boolean isOnlineMode()
      Returns whether this Minecraft server authenticates players logging in with the Minecraft Session Service. If this server is singleplayer, such as integrated servers, it will accept unauthenticated players; otherwise, it disconnects such players.
      Returns:
      whether this Minecraft server authenticates players logging in with the Minecraft Session Service
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official U Lnet/minecraft/server/MinecraftServer;U()Z
      intermediary method_3828 Lnet/minecraft/server/MinecraftServer;method_3828()Z
      named isOnlineMode Lnet/minecraft/server/MinecraftServer;isOnlineMode()Z
    • setOnlineMode

      public void setOnlineMode(boolean onlineMode)
      Sets whether this server is in the online mode, or whether it authenticates connecting players with the Minecraft Session Service.

      This is called by individual server implementations on their setup.

      Parameters:
      onlineMode - whether the server will be in online mode
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lnet/minecraft/server/MinecraftServer;d(Z)V
      intermediary method_3864 Lnet/minecraft/server/MinecraftServer;method_3864(Z)V
      named setOnlineMode Lnet/minecraft/server/MinecraftServer;setOnlineMode(Z)V
    • shouldPreventProxyConnections

      public boolean shouldPreventProxyConnections()
      Mappings:
      Namespace Name Mixin selector
      official V Lnet/minecraft/server/MinecraftServer;V()Z
      intermediary method_3775 Lnet/minecraft/server/MinecraftServer;method_3775()Z
      named shouldPreventProxyConnections Lnet/minecraft/server/MinecraftServer;shouldPreventProxyConnections()Z
    • setPreventProxyConnections

      public void setPreventProxyConnections(boolean preventProxyConnections)
      Mappings:
      Namespace Name Mixin selector
      official e Lnet/minecraft/server/MinecraftServer;e(Z)V
      intermediary method_3764 Lnet/minecraft/server/MinecraftServer;method_3764(Z)V
      named setPreventProxyConnections Lnet/minecraft/server/MinecraftServer;setPreventProxyConnections(Z)V
    • shouldSpawnAnimals

      public boolean shouldSpawnAnimals()
      Mappings:
      Namespace Name Mixin selector
      official W Lnet/minecraft/server/MinecraftServer;W()Z
      intermediary method_3796 Lnet/minecraft/server/MinecraftServer;method_3796()Z
      named shouldSpawnAnimals Lnet/minecraft/server/MinecraftServer;shouldSpawnAnimals()Z
    • shouldSpawnNpcs

      public boolean shouldSpawnNpcs()
      Mappings:
      Namespace Name Mixin selector
      official X Lnet/minecraft/server/MinecraftServer;X()Z
      intermediary method_3736 Lnet/minecraft/server/MinecraftServer;method_3736()Z
      named shouldSpawnNpcs Lnet/minecraft/server/MinecraftServer;shouldSpawnNpcs()Z
    • isUsingNativeTransport

      public abstract boolean isUsingNativeTransport()
      Mappings:
      Namespace Name Mixin selector
      official m Lnet/minecraft/server/MinecraftServer;m()Z
      intermediary method_3759 Lnet/minecraft/server/MinecraftServer;method_3759()Z
      named isUsingNativeTransport Lnet/minecraft/server/MinecraftServer;isUsingNativeTransport()Z
    • isPvpEnabled

      public boolean isPvpEnabled()
      Mappings:
      Namespace Name Mixin selector
      official Y Lnet/minecraft/server/MinecraftServer;Y()Z
      intermediary method_3852 Lnet/minecraft/server/MinecraftServer;method_3852()Z
      named isPvpEnabled Lnet/minecraft/server/MinecraftServer;isPvpEnabled()Z
    • setPvpEnabled

      public void setPvpEnabled(boolean pvpEnabled)
      Mappings:
      Namespace Name Mixin selector
      official f Lnet/minecraft/server/MinecraftServer;f(Z)V
      intermediary method_3815 Lnet/minecraft/server/MinecraftServer;method_3815(Z)V
      named setPvpEnabled Lnet/minecraft/server/MinecraftServer;setPvpEnabled(Z)V
    • isFlightEnabled

      public boolean isFlightEnabled()
      Mappings:
      Namespace Name Mixin selector
      official Z Lnet/minecraft/server/MinecraftServer;Z()Z
      intermediary method_3718 Lnet/minecraft/server/MinecraftServer;method_3718()Z
      named isFlightEnabled Lnet/minecraft/server/MinecraftServer;isFlightEnabled()Z
    • setFlightEnabled

      public void setFlightEnabled(boolean flightEnabled)
      Mappings:
      Namespace Name Mixin selector
      official g Lnet/minecraft/server/MinecraftServer;g(Z)V
      intermediary method_3745 Lnet/minecraft/server/MinecraftServer;method_3745(Z)V
      named setFlightEnabled Lnet/minecraft/server/MinecraftServer;setFlightEnabled(Z)V
    • areCommandBlocksEnabled

      public abstract boolean areCommandBlocksEnabled()
      Specifies whether command blocks can execute commands on the server.
      Mappings:
      Namespace Name Mixin selector
      official n Lnet/minecraft/server/MinecraftServer;n()Z
      intermediary method_3812 Lnet/minecraft/server/MinecraftServer;method_3812()Z
      named areCommandBlocksEnabled Lnet/minecraft/server/MinecraftServer;areCommandBlocksEnabled()Z
    • getServerMotd

      public String getServerMotd()
      Mappings:
      Namespace Name Mixin selector
      official aa Lnet/minecraft/server/MinecraftServer;aa()Ljava/lang/String;
      intermediary method_3818 Lnet/minecraft/server/MinecraftServer;method_3818()Ljava/lang/String;
      named getServerMotd Lnet/minecraft/server/MinecraftServer;getServerMotd()Ljava/lang/String;
    • setMotd

      public void setMotd(String motd)
      Mappings:
      Namespace Name Mixin selector
      official e Lnet/minecraft/server/MinecraftServer;e(Ljava/lang/String;)V
      intermediary method_3834 Lnet/minecraft/server/MinecraftServer;method_3834(Ljava/lang/String;)V
      named setMotd Lnet/minecraft/server/MinecraftServer;setMotd(Ljava/lang/String;)V
    • isStopped

      public boolean isStopped()
      Mappings:
      Namespace Name Mixin selector
      official ab Lnet/minecraft/server/MinecraftServer;ab()Z
      intermediary method_3750 Lnet/minecraft/server/MinecraftServer;method_3750()Z
      named isStopped Lnet/minecraft/server/MinecraftServer;isStopped()Z
    • getPlayerManager

      public PlayerManager getPlayerManager()
      Mappings:
      Namespace Name Mixin selector
      official ac Lnet/minecraft/server/MinecraftServer;ac()Lafs;
      intermediary method_3760 Lnet/minecraft/server/MinecraftServer;method_3760()Lnet/minecraft/class_3324;
      named getPlayerManager Lnet/minecraft/server/MinecraftServer;getPlayerManager()Lnet/minecraft/server/PlayerManager;
    • setPlayerManager

      public void setPlayerManager(PlayerManager playerManager)
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Lafs;)V
      intermediary method_3846 Lnet/minecraft/server/MinecraftServer;method_3846(Lnet/minecraft/class_3324;)V
      named setPlayerManager Lnet/minecraft/server/MinecraftServer;setPlayerManager(Lnet/minecraft/server/PlayerManager;)V
    • isRemote

      public abstract boolean isRemote()
      Mappings:
      Namespace Name Mixin selector
      official o Lnet/minecraft/server/MinecraftServer;o()Z
      intermediary method_3860 Lnet/minecraft/server/MinecraftServer;method_3860()Z
      named isRemote Lnet/minecraft/server/MinecraftServer;isRemote()Z
    • setDefaultGameMode

      public void setDefaultGameMode(GameMode gameMode)
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Lbzt;)V
      intermediary method_3838 Lnet/minecraft/server/MinecraftServer;method_3838(Lnet/minecraft/class_1934;)V
      named setDefaultGameMode Lnet/minecraft/server/MinecraftServer;setDefaultGameMode(Lnet/minecraft/world/GameMode;)V
    • getNetworkIo

      @Nullable public @Nullable ServerNetworkIo getNetworkIo()
      Mappings:
      Namespace Name Mixin selector
      official ad Lnet/minecraft/server/MinecraftServer;ad()Ladt;
      intermediary method_3787 Lnet/minecraft/server/MinecraftServer;method_3787()Lnet/minecraft/class_3242;
      named getNetworkIo Lnet/minecraft/server/MinecraftServer;getNetworkIo()Lnet/minecraft/server/ServerNetworkIo;
    • isLoading

      public boolean isLoading()
      Mappings:
      Namespace Name Mixin selector
      official ae Lnet/minecraft/server/MinecraftServer;ae()Z
      intermediary method_3820 Lnet/minecraft/server/MinecraftServer;method_3820()Z
      named isLoading Lnet/minecraft/server/MinecraftServer;isLoading()Z
    • hasGui

      public boolean hasGui()
      Mappings:
      Namespace Name Mixin selector
      official af Lnet/minecraft/server/MinecraftServer;af()Z
      intermediary method_3727 Lnet/minecraft/server/MinecraftServer;method_3727()Z
      named hasGui Lnet/minecraft/server/MinecraftServer;hasGui()Z
    • openToLan

      public boolean openToLan(@Nullable @Nullable GameMode gameMode, boolean cheatsAllowed, int port)
      Opens a server for LAN connections. This is only supported on an integrated server, a dedicated server will always fail to open to LAN.
      Parameters:
      gameMode - the game mode connecting players will have set by default
      cheatsAllowed - whether players on the server have operator permissions
      port - the port to open up to LAN connections
      Returns:
      whether the server was successfully opened to LAN
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Lbzt;ZI)Z
      intermediary method_3763 Lnet/minecraft/server/MinecraftServer;method_3763(Lnet/minecraft/class_1934;ZI)Z
      named openToLan Lnet/minecraft/server/MinecraftServer;openToLan(Lnet/minecraft/world/GameMode;ZI)Z
    • getTicks

      public int getTicks()
      Gets the amount of ticks the server has been running for.
      Mappings:
      Namespace Name Mixin selector
      official ag Lnet/minecraft/server/MinecraftServer;ag()I
      intermediary method_3780 Lnet/minecraft/server/MinecraftServer;method_3780()I
      named getTicks Lnet/minecraft/server/MinecraftServer;getTicks()I
    • getSpawnProtectionRadius

      public int getSpawnProtectionRadius()
      Mappings:
      Namespace Name Mixin selector
      official ah Lnet/minecraft/server/MinecraftServer;ah()I
      intermediary method_3841 Lnet/minecraft/server/MinecraftServer;method_3841()I
      named getSpawnProtectionRadius Lnet/minecraft/server/MinecraftServer;getSpawnProtectionRadius()I
    • isSpawnProtected

      public boolean isSpawnProtected(ServerWorld world, BlockPos pos, PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Ladc;Lgh;Lbnk;)Z
      intermediary method_3785 Lnet/minecraft/server/MinecraftServer;method_3785(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;)Z
      named isSpawnProtected Lnet/minecraft/server/MinecraftServer;isSpawnProtected(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;)Z
    • acceptsStatusQuery

      public boolean acceptsStatusQuery()
      Mappings:
      Namespace Name Mixin selector
      official ai Lnet/minecraft/server/MinecraftServer;ai()Z
      intermediary method_27902 Lnet/minecraft/server/MinecraftServer;method_27902()Z
      named acceptsStatusQuery Lnet/minecraft/server/MinecraftServer;acceptsStatusQuery()Z
    • hideOnlinePlayers

      public boolean hideOnlinePlayers()
      Mappings:
      Namespace Name Mixin selector
      official aj Lnet/minecraft/server/MinecraftServer;aj()Z
      intermediary method_39424 Lnet/minecraft/server/MinecraftServer;method_39424()Z
      named hideOnlinePlayers Lnet/minecraft/server/MinecraftServer;hideOnlinePlayers()Z
    • getProxy

      public Proxy getProxy()
      Mappings:
      Namespace Name Mixin selector
      official ak Lnet/minecraft/server/MinecraftServer;ak()Ljava/net/Proxy;
      intermediary method_36113 Lnet/minecraft/server/MinecraftServer;method_36113()Ljava/net/Proxy;
      named getProxy Lnet/minecraft/server/MinecraftServer;getProxy()Ljava/net/Proxy;
    • getPlayerIdleTimeout

      public int getPlayerIdleTimeout()
      Mappings:
      Namespace Name Mixin selector
      official al Lnet/minecraft/server/MinecraftServer;al()I
      intermediary method_3862 Lnet/minecraft/server/MinecraftServer;method_3862()I
      named getPlayerIdleTimeout Lnet/minecraft/server/MinecraftServer;getPlayerIdleTimeout()I
    • setPlayerIdleTimeout

      public void setPlayerIdleTimeout(int playerIdleTimeout)
      Mappings:
      Namespace Name Mixin selector
      official c Lnet/minecraft/server/MinecraftServer;c(I)V
      intermediary method_3803 Lnet/minecraft/server/MinecraftServer;method_3803(I)V
      named setPlayerIdleTimeout Lnet/minecraft/server/MinecraftServer;setPlayerIdleTimeout(I)V
    • getSessionService

      public com.mojang.authlib.minecraft.MinecraftSessionService getSessionService()
      Mappings:
      Namespace Name Mixin selector
      official am Lnet/minecraft/server/MinecraftServer;am()Lcom/mojang/authlib/minecraft/MinecraftSessionService;
      intermediary method_3844 Lnet/minecraft/server/MinecraftServer;method_3844()Lcom/mojang/authlib/minecraft/MinecraftSessionService;
      named getSessionService Lnet/minecraft/server/MinecraftServer;getSessionService()Lcom/mojang/authlib/minecraft/MinecraftSessionService;
    • getGameProfileRepo

      public com.mojang.authlib.GameProfileRepository getGameProfileRepo()
      Mappings:
      Namespace Name Mixin selector
      official an Lnet/minecraft/server/MinecraftServer;an()Lcom/mojang/authlib/GameProfileRepository;
      intermediary method_3719 Lnet/minecraft/server/MinecraftServer;method_3719()Lcom/mojang/authlib/GameProfileRepository;
      named getGameProfileRepo Lnet/minecraft/server/MinecraftServer;getGameProfileRepo()Lcom/mojang/authlib/GameProfileRepository;
    • getUserCache

      public UserCache getUserCache()
      Mappings:
      Namespace Name Mixin selector
      official ao Lnet/minecraft/server/MinecraftServer;ao()Lafo;
      intermediary method_3793 Lnet/minecraft/server/MinecraftServer;method_3793()Lnet/minecraft/class_3312;
      named getUserCache Lnet/minecraft/server/MinecraftServer;getUserCache()Lnet/minecraft/util/UserCache;
    • getServerMetadata

      public ServerMetadata getServerMetadata()
      Mappings:
      Namespace Name Mixin selector
      official ap Lnet/minecraft/server/MinecraftServer;ap()Lxe;
      intermediary method_3765 Lnet/minecraft/server/MinecraftServer;method_3765()Lnet/minecraft/class_2926;
      named getServerMetadata Lnet/minecraft/server/MinecraftServer;getServerMetadata()Lnet/minecraft/server/ServerMetadata;
    • forcePlayerSampleUpdate

      public void forcePlayerSampleUpdate()
      Mappings:
      Namespace Name Mixin selector
      official aq Lnet/minecraft/server/MinecraftServer;aq()V
      intermediary method_3856 Lnet/minecraft/server/MinecraftServer;method_3856()V
      named forcePlayerSampleUpdate Lnet/minecraft/server/MinecraftServer;forcePlayerSampleUpdate()V
    • getMaxWorldBorderRadius

      public int getMaxWorldBorderRadius()
      Mappings:
      Namespace Name Mixin selector
      official ar Lnet/minecraft/server/MinecraftServer;ar()I
      intermediary method_3749 Lnet/minecraft/server/MinecraftServer;method_3749()I
      named getMaxWorldBorderRadius Lnet/minecraft/server/MinecraftServer;getMaxWorldBorderRadius()I
    • shouldExecuteAsync

      public boolean shouldExecuteAsync()
      Overrides:
      shouldExecuteAsync in class ReentrantThreadExecutor<ServerTask>
      Mappings:
      Namespace Name Mixin selector
      official as Laua;as()Z
      intermediary method_5384 Lnet/minecraft/class_1255;method_5384()Z
      named shouldExecuteAsync Lnet/minecraft/util/thread/ThreadExecutor;shouldExecuteAsync()Z
    • getThread

      public Thread getThread()
      Specified by:
      getThread in class ThreadExecutor<ServerTask>
      Mappings:
      Namespace Name Mixin selector
      official at Laua;at()Ljava/lang/Thread;
      intermediary method_3777 Lnet/minecraft/class_1255;method_3777()Ljava/lang/Thread;
      named getThread Lnet/minecraft/util/thread/ThreadExecutor;getThread()Ljava/lang/Thread;
    • getNetworkCompressionThreshold

      public int getNetworkCompressionThreshold()
      Mappings:
      Namespace Name Mixin selector
      official au Lnet/minecraft/server/MinecraftServer;au()I
      intermediary method_3773 Lnet/minecraft/server/MinecraftServer;method_3773()I
      named getNetworkCompressionThreshold Lnet/minecraft/server/MinecraftServer;getNetworkCompressionThreshold()I
    • getTimeReference

      public long getTimeReference()
      Mappings:
      Namespace Name Mixin selector
      official av Lnet/minecraft/server/MinecraftServer;av()J
      intermediary method_3826 Lnet/minecraft/server/MinecraftServer;method_3826()J
      named getTimeReference Lnet/minecraft/server/MinecraftServer;getTimeReference()J
    • getDataFixer

      public com.mojang.datafixers.DataFixer getDataFixer()
      Mappings:
      Namespace Name Mixin selector
      official aw Lnet/minecraft/server/MinecraftServer;aw()Lcom/mojang/datafixers/DataFixer;
      intermediary method_3855 Lnet/minecraft/server/MinecraftServer;method_3855()Lcom/mojang/datafixers/DataFixer;
      named getDataFixer Lnet/minecraft/server/MinecraftServer;getDataFixer()Lcom/mojang/datafixers/DataFixer;
    • getSpawnRadius

      public int getSpawnRadius(@Nullable @Nullable ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Ladc;)I
      intermediary method_3829 Lnet/minecraft/server/MinecraftServer;method_3829(Lnet/minecraft/class_3218;)I
      named getSpawnRadius Lnet/minecraft/server/MinecraftServer;getSpawnRadius(Lnet/minecraft/server/world/ServerWorld;)I
    • getAdvancementLoader

      public ServerAdvancementLoader getAdvancementLoader()
      Mappings:
      Namespace Name Mixin selector
      official ax Lnet/minecraft/server/MinecraftServer;ax()Lyl;
      intermediary method_3851 Lnet/minecraft/server/MinecraftServer;method_3851()Lnet/minecraft/class_2989;
      named getAdvancementLoader Lnet/minecraft/server/MinecraftServer;getAdvancementLoader()Lnet/minecraft/server/ServerAdvancementLoader;
    • getCommandFunctionManager

      public CommandFunctionManager getCommandFunctionManager()
      Mappings:
      Namespace Name Mixin selector
      official ay Lnet/minecraft/server/MinecraftServer;ay()Lyn;
      intermediary method_3740 Lnet/minecraft/server/MinecraftServer;method_3740()Lnet/minecraft/class_2991;
      named getCommandFunctionManager Lnet/minecraft/server/MinecraftServer;getCommandFunctionManager()Lnet/minecraft/server/function/CommandFunctionManager;
    • reloadResources

      public CompletableFuture<Void> reloadResources(Collection<String> datapacks)
      Reloads this server's datapacks.
      Parameters:
      datapacks - a collection of datapacks to reload with
      Returns:
      a completable future which specifies whether the reload was successful A reload has failed when the future is exceptionally completed.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Ljava/util/Collection;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_29439 Lnet/minecraft/server/MinecraftServer;method_29439(Ljava/util/Collection;)Ljava/util/concurrent/CompletableFuture;
      named reloadResources Lnet/minecraft/server/MinecraftServer;reloadResources(Ljava/util/Collection;)Ljava/util/concurrent/CompletableFuture;
    • loadDataPacks

      public static DataPackSettings loadDataPacks(ResourcePackManager resourcePackManager, DataPackSettings dataPackSettings, boolean safeMode)
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Laet;Lbzk;Z)Lbzk;
      intermediary method_29736 Lnet/minecraft/server/MinecraftServer;method_29736(Lnet/minecraft/class_3283;Lnet/minecraft/class_5359;Z)Lnet/minecraft/class_5359;
      named loadDataPacks Lnet/minecraft/server/MinecraftServer;loadDataPacks(Lnet/minecraft/resource/ResourcePackManager;Lnet/minecraft/resource/DataPackSettings;Z)Lnet/minecraft/resource/DataPackSettings;
    • createDataPackSettings

      private static DataPackSettings createDataPackSettings(ResourcePackManager dataPackManager)
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Laet;)Lbzk;
      intermediary method_29735 Lnet/minecraft/server/MinecraftServer;method_29735(Lnet/minecraft/class_3283;)Lnet/minecraft/class_5359;
      named createDataPackSettings Lnet/minecraft/server/MinecraftServer;createDataPackSettings(Lnet/minecraft/resource/ResourcePackManager;)Lnet/minecraft/resource/DataPackSettings;
    • kickNonWhitelistedPlayers

      public void kickNonWhitelistedPlayers(ServerCommandSource source)
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Ldm;)V
      intermediary method_3728 Lnet/minecraft/server/MinecraftServer;method_3728(Lnet/minecraft/class_2168;)V
      named kickNonWhitelistedPlayers Lnet/minecraft/server/MinecraftServer;kickNonWhitelistedPlayers(Lnet/minecraft/server/command/ServerCommandSource;)V
    • getDataPackManager

      public ResourcePackManager getDataPackManager()
      Mappings:
      Namespace Name Mixin selector
      official az Lnet/minecraft/server/MinecraftServer;az()Laet;
      intermediary method_3836 Lnet/minecraft/server/MinecraftServer;method_3836()Lnet/minecraft/class_3283;
      named getDataPackManager Lnet/minecraft/server/MinecraftServer;getDataPackManager()Lnet/minecraft/resource/ResourcePackManager;
    • getCommandManager

      public CommandManager getCommandManager()
      Gets the server's command manager. The command manager is responsible for parsing and dispatching commands.
      Mappings:
      Namespace Name Mixin selector
      official aA Lnet/minecraft/server/MinecraftServer;aA()Ldn;
      intermediary method_3734 Lnet/minecraft/server/MinecraftServer;method_3734()Lnet/minecraft/class_2170;
      named getCommandManager Lnet/minecraft/server/MinecraftServer;getCommandManager()Lnet/minecraft/server/command/CommandManager;
    • getCommandSource

      public ServerCommandSource getCommandSource()
      Creates a command source which represents this Minecraft server instance.
      Mappings:
      Namespace Name Mixin selector
      official aB Lnet/minecraft/server/MinecraftServer;aB()Ldm;
      intermediary method_3739 Lnet/minecraft/server/MinecraftServer;method_3739()Lnet/minecraft/class_2168;
      named getCommandSource Lnet/minecraft/server/MinecraftServer;getCommandSource()Lnet/minecraft/server/command/ServerCommandSource;
    • shouldReceiveFeedback

      public boolean shouldReceiveFeedback()
      Specified by:
      shouldReceiveFeedback in interface CommandOutput
      Mappings:
      Namespace Name Mixin selector
      official i_ Ldl;i_()Z
      intermediary method_9200 Lnet/minecraft/class_2165;method_9200()Z
      named shouldReceiveFeedback Lnet/minecraft/server/command/CommandOutput;shouldReceiveFeedback()Z
    • shouldTrackOutput

      public boolean shouldTrackOutput()
      Specified by:
      shouldTrackOutput in interface CommandOutput
      Mappings:
      Namespace Name Mixin selector
      official j_ Ldl;j_()Z
      intermediary method_9202 Lnet/minecraft/class_2165;method_9202()Z
      named shouldTrackOutput Lnet/minecraft/server/command/CommandOutput;shouldTrackOutput()Z
    • shouldBroadcastConsoleToOps

      public abstract boolean shouldBroadcastConsoleToOps()
      Specified by:
      shouldBroadcastConsoleToOps in interface CommandOutput
      Mappings:
      Namespace Name Mixin selector
      official F_ Ldl;F_()Z
      intermediary method_9201 Lnet/minecraft/class_2165;method_9201()Z
      named shouldBroadcastConsoleToOps Lnet/minecraft/server/command/CommandOutput;shouldBroadcastConsoleToOps()Z
    • getRecipeManager

      public RecipeManager getRecipeManager()
      Mappings:
      Namespace Name Mixin selector
      official aC Lnet/minecraft/server/MinecraftServer;aC()Lbwq;
      intermediary method_3772 Lnet/minecraft/server/MinecraftServer;method_3772()Lnet/minecraft/class_1863;
      named getRecipeManager Lnet/minecraft/server/MinecraftServer;getRecipeManager()Lnet/minecraft/recipe/RecipeManager;
    • getTagManager

      public TagManager getTagManager()
      Mappings:
      Namespace Name Mixin selector
      official aD Lnet/minecraft/server/MinecraftServer;aD()Lahn;
      intermediary method_3801 Lnet/minecraft/server/MinecraftServer;method_3801()Lnet/minecraft/class_5415;
      named getTagManager Lnet/minecraft/server/MinecraftServer;getTagManager()Lnet/minecraft/tag/TagManager;
    • getScoreboard

      public ServerScoreboard getScoreboard()
      Mappings:
      Namespace Name Mixin selector
      official aE Lnet/minecraft/server/MinecraftServer;aE()Lyq;
      intermediary method_3845 Lnet/minecraft/server/MinecraftServer;method_3845()Lnet/minecraft/class_2995;
      named getScoreboard Lnet/minecraft/server/MinecraftServer;getScoreboard()Lnet/minecraft/scoreboard/ServerScoreboard;
    • getDataCommandStorage

      public DataCommandStorage getDataCommandStorage()
      Mappings:
      Namespace Name Mixin selector
      official aF Lnet/minecraft/server/MinecraftServer;aF()Ldit;
      intermediary method_22827 Lnet/minecraft/server/MinecraftServer;method_22827()Lnet/minecraft/class_4565;
      named getDataCommandStorage Lnet/minecraft/server/MinecraftServer;getDataCommandStorage()Lnet/minecraft/command/DataCommandStorage;
    • getLootManager

      public LootManager getLootManager()
      Mappings:
      Namespace Name Mixin selector
      official aG Lnet/minecraft/server/MinecraftServer;aG()Ldjr;
      intermediary method_3857 Lnet/minecraft/server/MinecraftServer;method_3857()Lnet/minecraft/class_60;
      named getLootManager Lnet/minecraft/server/MinecraftServer;getLootManager()Lnet/minecraft/loot/LootManager;
    • getPredicateManager

      public LootConditionManager getPredicateManager()
      Mappings:
      Namespace Name Mixin selector
      official aH Lnet/minecraft/server/MinecraftServer;aH()Ldjs;
      intermediary method_22828 Lnet/minecraft/server/MinecraftServer;method_22828()Lnet/minecraft/class_4567;
      named getPredicateManager Lnet/minecraft/server/MinecraftServer;getPredicateManager()Lnet/minecraft/loot/condition/LootConditionManager;
    • getItemModifierManager

      public LootFunctionManager getItemModifierManager()
      Mappings:
      Namespace Name Mixin selector
      official aI Lnet/minecraft/server/MinecraftServer;aI()Ldjm;
      intermediary method_32699 Lnet/minecraft/server/MinecraftServer;method_32699()Lnet/minecraft/class_5640;
      named getItemModifierManager Lnet/minecraft/server/MinecraftServer;getItemModifierManager()Lnet/minecraft/loot/function/LootFunctionManager;
    • getGameRules

      public GameRules getGameRules()
      Mappings:
      Namespace Name Mixin selector
      official aJ Lnet/minecraft/server/MinecraftServer;aJ()Lbzs;
      intermediary method_3767 Lnet/minecraft/server/MinecraftServer;method_3767()Lnet/minecraft/class_1928;
      named getGameRules Lnet/minecraft/server/MinecraftServer;getGameRules()Lnet/minecraft/world/GameRules;
    • getBossBarManager

      public BossBarManager getBossBarManager()
      Mappings:
      Namespace Name Mixin selector
      official aK Lnet/minecraft/server/MinecraftServer;aK()Lyt;
      intermediary method_3837 Lnet/minecraft/server/MinecraftServer;method_3837()Lnet/minecraft/class_3004;
      named getBossBarManager Lnet/minecraft/server/MinecraftServer;getBossBarManager()Lnet/minecraft/entity/boss/BossBarManager;
    • isEnforceWhitelist

      public boolean isEnforceWhitelist()
      Mappings:
      Namespace Name Mixin selector
      official aL Lnet/minecraft/server/MinecraftServer;aL()Z
      intermediary method_3729 Lnet/minecraft/server/MinecraftServer;method_3729()Z
      named isEnforceWhitelist Lnet/minecraft/server/MinecraftServer;isEnforceWhitelist()Z
    • setEnforceWhitelist

      public void setEnforceWhitelist(boolean whitelistEnabled)
      Mappings:
      Namespace Name Mixin selector
      official h Lnet/minecraft/server/MinecraftServer;h(Z)V
      intermediary method_3731 Lnet/minecraft/server/MinecraftServer;method_3731(Z)V
      named setEnforceWhitelist Lnet/minecraft/server/MinecraftServer;setEnforceWhitelist(Z)V
    • getTickTime

      public float getTickTime()
      Mappings:
      Namespace Name Mixin selector
      official aM Lnet/minecraft/server/MinecraftServer;aM()F
      intermediary method_3830 Lnet/minecraft/server/MinecraftServer;method_3830()F
      named getTickTime Lnet/minecraft/server/MinecraftServer;getTickTime()F
    • getPermissionLevel

      public int getPermissionLevel(com.mojang.authlib.GameProfile profile)
      Mappings:
      Namespace Name Mixin selector
      official b Lnet/minecraft/server/MinecraftServer;b(Lcom/mojang/authlib/GameProfile;)I
      intermediary method_3835 Lnet/minecraft/server/MinecraftServer;method_3835(Lcom/mojang/authlib/GameProfile;)I
      named getPermissionLevel Lnet/minecraft/server/MinecraftServer;getPermissionLevel(Lcom/mojang/authlib/GameProfile;)I
    • getMetricsData

      public MetricsData getMetricsData()
      Mappings:
      Namespace Name Mixin selector
      official aN Lnet/minecraft/server/MinecraftServer;aN()Laih;
      intermediary method_15876 Lnet/minecraft/server/MinecraftServer;method_15876()Lnet/minecraft/class_3517;
      named getMetricsData Lnet/minecraft/server/MinecraftServer;getMetricsData()Lnet/minecraft/util/MetricsData;
    • getProfiler

      public Profiler getProfiler()
      Mappings:
      Namespace Name Mixin selector
      official aO Lnet/minecraft/server/MinecraftServer;aO()Lasa;
      intermediary method_16044 Lnet/minecraft/server/MinecraftServer;method_16044()Lnet/minecraft/class_3695;
      named getProfiler Lnet/minecraft/server/MinecraftServer;getProfiler()Lnet/minecraft/util/profiler/Profiler;
    • isHost

      public abstract boolean isHost(com.mojang.authlib.GameProfile profile)
      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
    • dumpProperties

      public void dumpProperties(Path file) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Ljava/nio/file/Path;)V
      intermediary method_37113 Lnet/minecraft/server/MinecraftServer;method_37113(Ljava/nio/file/Path;)V
      named dumpProperties Lnet/minecraft/server/MinecraftServer;dumpProperties(Ljava/nio/file/Path;)V
    • dump

      private void dump(Path path)
      Mappings:
      Namespace Name Mixin selector
      official b Lnet/minecraft/server/MinecraftServer;b(Ljava/nio/file/Path;)V
      intermediary method_21613 Lnet/minecraft/server/MinecraftServer;method_21613(Ljava/nio/file/Path;)V
      named dump Lnet/minecraft/server/MinecraftServer;dump(Ljava/nio/file/Path;)V
    • dumpStats

      private void dumpStats(Path path) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official c Lnet/minecraft/server/MinecraftServer;c(Ljava/nio/file/Path;)V
      intermediary method_21692 Lnet/minecraft/server/MinecraftServer;method_21692(Ljava/nio/file/Path;)V
      named dumpStats Lnet/minecraft/server/MinecraftServer;dumpStats(Ljava/nio/file/Path;)V
    • dumpGamerules

      private void dumpGamerules(Path path) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official d Lnet/minecraft/server/MinecraftServer;d(Ljava/nio/file/Path;)V
      intermediary method_21615 Lnet/minecraft/server/MinecraftServer;method_21615(Ljava/nio/file/Path;)V
      named dumpGamerules Lnet/minecraft/server/MinecraftServer;dumpGamerules(Ljava/nio/file/Path;)V
    • dumpClasspath

      private void dumpClasspath(Path path) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official e Lnet/minecraft/server/MinecraftServer;e(Ljava/nio/file/Path;)V
      intermediary method_21616 Lnet/minecraft/server/MinecraftServer;method_21616(Ljava/nio/file/Path;)V
      named dumpClasspath Lnet/minecraft/server/MinecraftServer;dumpClasspath(Ljava/nio/file/Path;)V
    • dumpThreads

      private void dumpThreads(Path path) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official f Lnet/minecraft/server/MinecraftServer;f(Ljava/nio/file/Path;)V
      intermediary method_21713 Lnet/minecraft/server/MinecraftServer;method_21713(Ljava/nio/file/Path;)V
      named dumpThreads Lnet/minecraft/server/MinecraftServer;dumpThreads(Ljava/nio/file/Path;)V
    • dumpNativeModules

      private void dumpNativeModules(Path path) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official g Lnet/minecraft/server/MinecraftServer;g(Ljava/nio/file/Path;)V
      intermediary method_38584 Lnet/minecraft/server/MinecraftServer;method_38584(Ljava/nio/file/Path;)V
      named dumpNativeModules Lnet/minecraft/server/MinecraftServer;dumpNativeModules(Ljava/nio/file/Path;)V
    • startTickMetrics

      private void startTickMetrics()
      Mappings:
      Namespace Name Mixin selector
      official bh Lnet/minecraft/server/MinecraftServer;bh()V
      intermediary method_24487 Lnet/minecraft/server/MinecraftServer;method_24487()V
      named startTickMetrics Lnet/minecraft/server/MinecraftServer;startTickMetrics()V
    • endTickMetrics

      private void endTickMetrics()
      Mappings:
      Namespace Name Mixin selector
      official bi Lnet/minecraft/server/MinecraftServer;bi()V
      intermediary method_24490 Lnet/minecraft/server/MinecraftServer;method_24490()V
      named endTickMetrics Lnet/minecraft/server/MinecraftServer;endTickMetrics()V
    • isRecorderActive

      public boolean isRecorderActive()
      Mappings:
      Namespace Name Mixin selector
      official aP Lnet/minecraft/server/MinecraftServer;aP()Z
      intermediary method_37321 Lnet/minecraft/server/MinecraftServer;method_37321()Z
      named isRecorderActive Lnet/minecraft/server/MinecraftServer;isRecorderActive()Z
    • setupRecorder

      public void setupRecorder(Consumer<ProfileResult> resultConsumer, Consumer<Path> dumpConsumer)
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V
      intermediary method_37320 Lnet/minecraft/server/MinecraftServer;method_37320(Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V
      named setupRecorder Lnet/minecraft/server/MinecraftServer;setupRecorder(Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V
    • resetRecorder

      public void resetRecorder()
      Mappings:
      Namespace Name Mixin selector
      official aQ Lnet/minecraft/server/MinecraftServer;aQ()V
      intermediary method_37322 Lnet/minecraft/server/MinecraftServer;method_37322()V
      named resetRecorder Lnet/minecraft/server/MinecraftServer;resetRecorder()V
    • stopRecorder

      public void stopRecorder()
      Mappings:
      Namespace Name Mixin selector
      official aR Lnet/minecraft/server/MinecraftServer;aR()V
      intermediary method_37323 Lnet/minecraft/server/MinecraftServer;method_37323()V
      named stopRecorder Lnet/minecraft/server/MinecraftServer;stopRecorder()V
    • getSavePath

      public Path getSavePath(WorldSavePath worldSavePath)
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Ldiy;)Ljava/nio/file/Path;
      intermediary method_27050 Lnet/minecraft/server/MinecraftServer;method_27050(Lnet/minecraft/class_5218;)Ljava/nio/file/Path;
      named getSavePath Lnet/minecraft/server/MinecraftServer;getSavePath(Lnet/minecraft/util/WorldSavePath;)Ljava/nio/file/Path;
    • syncChunkWrites

      public boolean syncChunkWrites()
      Mappings:
      Namespace Name Mixin selector
      official aS Lnet/minecraft/server/MinecraftServer;aS()Z
      intermediary method_27051 Lnet/minecraft/server/MinecraftServer;method_27051()Z
      named syncChunkWrites Lnet/minecraft/server/MinecraftServer;syncChunkWrites()Z
    • getStructureManager

      public StructureManager getStructureManager()
      Mappings:
      Namespace Name Mixin selector
      official aT Lnet/minecraft/server/MinecraftServer;aT()Ldgc;
      intermediary method_27727 Lnet/minecraft/server/MinecraftServer;method_27727()Lnet/minecraft/class_3485;
      named getStructureManager Lnet/minecraft/server/MinecraftServer;getStructureManager()Lnet/minecraft/structure/StructureManager;
    • getSaveProperties

      public SaveProperties getSaveProperties()
      Mappings:
      Namespace Name Mixin selector
      official aU Lnet/minecraft/server/MinecraftServer;aU()Ldjg;
      intermediary method_27728 Lnet/minecraft/server/MinecraftServer;method_27728()Lnet/minecraft/class_5219;
      named getSaveProperties Lnet/minecraft/server/MinecraftServer;getSaveProperties()Lnet/minecraft/world/SaveProperties;
    • getRegistryManager

      public DynamicRegistryManager getRegistryManager()
      Mappings:
      Namespace Name Mixin selector
      official aV Lnet/minecraft/server/MinecraftServer;aV()Lgy;
      intermediary method_30611 Lnet/minecraft/server/MinecraftServer;method_30611()Lnet/minecraft/class_5455;
      named getRegistryManager Lnet/minecraft/server/MinecraftServer;getRegistryManager()Lnet/minecraft/util/registry/DynamicRegistryManager;
    • createFilterer

      public TextStream createFilterer(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Lnet/minecraft/server/MinecraftServer;a(Ladd;)Ladz;
      intermediary method_31371 Lnet/minecraft/server/MinecraftServer;method_31371(Lnet/minecraft/class_3222;)Lnet/minecraft/class_5513;
      named createFilterer Lnet/minecraft/server/MinecraftServer;createFilterer(Lnet/minecraft/server/network/ServerPlayerEntity;)Lnet/minecraft/server/filter/TextStream;
    • requireResourcePack

      public boolean requireResourcePack()
      Mappings:
      Namespace Name Mixin selector
      official aW Lnet/minecraft/server/MinecraftServer;aW()Z
      intermediary method_32303 Lnet/minecraft/server/MinecraftServer;method_32303()Z
      named requireResourcePack Lnet/minecraft/server/MinecraftServer;requireResourcePack()Z
    • getPlayerInteractionManager

      public ServerPlayerInteractionManager getPlayerInteractionManager(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official b Lnet/minecraft/server/MinecraftServer;b(Ladd;)Lade;
      intermediary method_32816 Lnet/minecraft/server/MinecraftServer;method_32816(Lnet/minecraft/class_3222;)Lnet/minecraft/class_3225;
      named getPlayerInteractionManager Lnet/minecraft/server/MinecraftServer;getPlayerInteractionManager(Lnet/minecraft/server/network/ServerPlayerEntity;)Lnet/minecraft/server/network/ServerPlayerInteractionManager;
    • getForcedGameMode

      @Nullable public @Nullable GameMode getForcedGameMode()
      Returns the game mode a player should be set to when connecting to the server, or null if none is set.
      Mappings:
      Namespace Name Mixin selector
      official aX Lnet/minecraft/server/MinecraftServer;aX()Lbzt;
      intermediary method_3761 Lnet/minecraft/server/MinecraftServer;method_3761()Lnet/minecraft/class_1934;
      named getForcedGameMode Lnet/minecraft/server/MinecraftServer;getForcedGameMode()Lnet/minecraft/world/GameMode;
    • getResourceManager

      public ResourceManager getResourceManager()
      Mappings:
      Namespace Name Mixin selector
      official aY Lnet/minecraft/server/MinecraftServer;aY()Lafe;
      intermediary method_34864 Lnet/minecraft/server/MinecraftServer;method_34864()Lnet/minecraft/class_3300;
      named getResourceManager Lnet/minecraft/server/MinecraftServer;getResourceManager()Lnet/minecraft/resource/ResourceManager;
    • getResourcePackPrompt

      @Nullable public @Nullable Text getResourcePackPrompt()
      Mappings:
      Namespace Name Mixin selector
      official aZ Lnet/minecraft/server/MinecraftServer;aZ()Lpt;
      intermediary method_36326 Lnet/minecraft/server/MinecraftServer;method_36326()Lnet/minecraft/class_2561;
      named getResourcePackPrompt Lnet/minecraft/server/MinecraftServer;getResourcePackPrompt()Lnet/minecraft/text/Text;
    • isSaving

      public boolean isSaving()
      Mappings:
      Namespace Name Mixin selector
      official ba Lnet/minecraft/server/MinecraftServer;ba()Z
      intermediary method_39219 Lnet/minecraft/server/MinecraftServer;method_39219()Z
      named isSaving Lnet/minecraft/server/MinecraftServer;isSaving()Z
    • isDebugRunning

      public boolean isDebugRunning()
      Mappings:
      Namespace Name Mixin selector
      official bb Lnet/minecraft/server/MinecraftServer;bb()Z
      intermediary method_24488 Lnet/minecraft/server/MinecraftServer;method_24488()Z
      named isDebugRunning Lnet/minecraft/server/MinecraftServer;isDebugRunning()Z
    • startDebug

      public void startDebug()
      Mappings:
      Namespace Name Mixin selector
      official bc Lnet/minecraft/server/MinecraftServer;bc()V
      intermediary method_3832 Lnet/minecraft/server/MinecraftServer;method_3832()V
      named startDebug Lnet/minecraft/server/MinecraftServer;startDebug()V
    • stopDebug

      public ProfileResult stopDebug()
      Mappings:
      Namespace Name Mixin selector
      official bd Lnet/minecraft/server/MinecraftServer;bd()Larz;
      intermediary method_24489 Lnet/minecraft/server/MinecraftServer;method_24489()Lnet/minecraft/class_3696;
      named stopDebug Lnet/minecraft/server/MinecraftServer;stopDebug()Lnet/minecraft/util/profiler/ProfileResult;