Class MinecraftServer

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

public abstract class MinecraftServer extends ReentrantThreadExecutor<ServerTask> implements QueryableServer, CommandOutput, ChunkErrorHandler
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
named net/minecraft/server/MinecraftServer
intermediary net/minecraft/server/MinecraftServer
official net/minecraft/server/MinecraftServer
  • Field Details

    • LOGGER

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

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

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

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

      private static final long OVERLOAD_THRESHOLD_NANOS
      Mappings:
      Namespace Name Mixin selector
      named OVERLOAD_THRESHOLD_NANOS Lnet/minecraft/server/MinecraftServer;OVERLOAD_THRESHOLD_NANOS:J
      intermediary field_47143 Lnet/minecraft/server/MinecraftServer;field_47143:J
      official p Lnet/minecraft/server/MinecraftServer;p:J
    • field_47144

      private static final int field_47144
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_47144 Lnet/minecraft/server/MinecraftServer;field_47144:I
      intermediary field_47144 Lnet/minecraft/server/MinecraftServer;field_47144:I
      official q Lnet/minecraft/server/MinecraftServer;q:I
    • OVERLOAD_WARNING_INTERVAL_NANOS

      private static final long OVERLOAD_WARNING_INTERVAL_NANOS
      Mappings:
      Namespace Name Mixin selector
      named OVERLOAD_WARNING_INTERVAL_NANOS Lnet/minecraft/server/MinecraftServer;OVERLOAD_WARNING_INTERVAL_NANOS:J
      intermediary field_47145 Lnet/minecraft/server/MinecraftServer;field_47145:J
      official r Lnet/minecraft/server/MinecraftServer;r:J
    • field_47146

      private static final int field_47146
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_47146 Lnet/minecraft/server/MinecraftServer;field_47146:I
      intermediary field_47146 Lnet/minecraft/server/MinecraftServer;field_47146:I
      official s Lnet/minecraft/server/MinecraftServer;s:I
    • PLAYER_SAMPLE_UPDATE_INTERVAL_NANOS

      private static final long PLAYER_SAMPLE_UPDATE_INTERVAL_NANOS
      Mappings:
      Namespace Name Mixin selector
      named PLAYER_SAMPLE_UPDATE_INTERVAL_NANOS Lnet/minecraft/server/MinecraftServer;PLAYER_SAMPLE_UPDATE_INTERVAL_NANOS:J
      intermediary field_47147 Lnet/minecraft/server/MinecraftServer;field_47147:J
      official t Lnet/minecraft/server/MinecraftServer;t:J
    • PREPARE_START_REGION_TICK_DELAY_NANOS

      private static final long PREPARE_START_REGION_TICK_DELAY_NANOS
      Mappings:
      Namespace Name Mixin selector
      named PREPARE_START_REGION_TICK_DELAY_NANOS Lnet/minecraft/server/MinecraftServer;PREPARE_START_REGION_TICK_DELAY_NANOS:J
      intermediary field_47148 Lnet/minecraft/server/MinecraftServer;field_47148:J
      official u Lnet/minecraft/server/MinecraftServer;u:J
    • field_33218

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

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

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

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

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

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

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

      public static final PlayerConfigEntry ANONYMOUS_PLAYER_PROFILE
      Mappings:
      Namespace Name Mixin selector
      named ANONYMOUS_PLAYER_PROFILE Lnet/minecraft/server/MinecraftServer;ANONYMOUS_PLAYER_PROFILE:Lnet/minecraft/server/PlayerConfigEntry;
      intermediary field_35641 Lnet/minecraft/server/MinecraftServer;field_35641:Lnet/minecraft/class_11560;
      official f Lnet/minecraft/server/MinecraftServer;f:Lbbb;
    • WORLD_GEN_EXCEPTION

      private static final AtomicReference<RuntimeException> WORLD_GEN_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named WORLD_GEN_EXCEPTION Lnet/minecraft/server/MinecraftServer;WORLD_GEN_EXCEPTION:Ljava/util/concurrent/atomic/AtomicReference;
      intermediary field_51917 Lnet/minecraft/server/MinecraftServer;field_51917:Ljava/util/concurrent/atomic/AtomicReference;
      official aJ Lnet/minecraft/server/MinecraftServer;aJ:Ljava/util/concurrent/atomic/AtomicReference;
    • session

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

      protected final PlayerSaveHandler saveHandler
      Mappings:
      Namespace Name Mixin selector
      named saveHandler Lnet/minecraft/server/MinecraftServer;saveHandler:Lnet/minecraft/world/PlayerSaveHandler;
      intermediary field_24371 Lnet/minecraft/server/MinecraftServer;field_24371:Lnet/minecraft/class_29;
      official h Lnet/minecraft/server/MinecraftServer;h:Lfik;
    • serverGuiTickables

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

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

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

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

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

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

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

      private final ServerNetworkIo networkIo
      Mappings:
      Namespace Name Mixin selector
      named networkIo Lnet/minecraft/server/MinecraftServer;networkIo:Lnet/minecraft/server/ServerNetworkIo;
      intermediary field_4563 Lnet/minecraft/server/MinecraftServer;field_4563:Lnet/minecraft/class_3242;
      official G Lnet/minecraft/server/MinecraftServer;G:Laxy;
    • chunkLoadProgress

      private final ChunkLoadProgress chunkLoadProgress
      Mappings:
      Namespace Name Mixin selector
      named chunkLoadProgress Lnet/minecraft/server/MinecraftServer;chunkLoadProgress:Lnet/minecraft/world/chunk/ChunkLoadProgress;
      intermediary field_61872 Lnet/minecraft/server/MinecraftServer;field_61872:Lnet/minecraft/class_11545;
      official H Lnet/minecraft/server/MinecraftServer;H:Laxi;
    • metadata

      Mappings:
      Namespace Name Mixin selector
      named metadata Lnet/minecraft/server/MinecraftServer;metadata:Lnet/minecraft/server/ServerMetadata;
      intermediary field_4593 Lnet/minecraft/server/MinecraftServer;field_4593:Lnet/minecraft/class_2926;
      official I Lnet/minecraft/server/MinecraftServer;I:Lalg;
    • favicon

      Mappings:
      Namespace Name Mixin selector
      named favicon Lnet/minecraft/server/MinecraftServer;favicon:Lnet/minecraft/server/ServerMetadata$Favicon;
      intermediary field_42958 Lnet/minecraft/server/MinecraftServer;field_42958:Lnet/minecraft/class_2926$class_8145;
      official J Lnet/minecraft/server/MinecraftServer;J:Lalg$a;
    • random

      private final Random random
      Mappings:
      Namespace Name Mixin selector
      named random Lnet/minecraft/server/MinecraftServer;random:Lnet/minecraft/util/math/random/Random;
      intermediary field_4602 Lnet/minecraft/server/MinecraftServer;field_4602:Lnet/minecraft/class_5819;
      official K Lnet/minecraft/server/MinecraftServer;K:Lbfq;
    • dataFixer

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

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

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

      private final CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries
      Mappings:
      Namespace Name Mixin selector
      named combinedDynamicRegistries Lnet/minecraft/server/MinecraftServer;combinedDynamicRegistries:Lnet/minecraft/registry/CombinedDynamicRegistries;
      intermediary field_25132 Lnet/minecraft/server/MinecraftServer;field_25132:Lnet/minecraft/class_7780;
      official O Lnet/minecraft/server/MinecraftServer;O:Ljr;
    • worlds

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

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

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

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

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

      private int ticksUntilAutosave
      Mappings:
      Namespace Name Mixin selector
      named ticksUntilAutosave Lnet/minecraft/server/MinecraftServer;ticksUntilAutosave:I
      intermediary field_47135 Lnet/minecraft/server/MinecraftServer;field_47135:I
      official U Lnet/minecraft/server/MinecraftServer;U:I
    • proxy

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

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

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

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

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

      private final long[] tickTimes
      Mappings:
      Namespace Name Mixin selector
      named tickTimes Lnet/minecraft/server/MinecraftServer;tickTimes:[J
      intermediary field_47136 Lnet/minecraft/server/MinecraftServer;field_47136:[J
      official Z Lnet/minecraft/server/MinecraftServer;Z:[J
    • recentTickTimesNanos

      private long recentTickTimesNanos
      Mappings:
      Namespace Name Mixin selector
      named recentTickTimesNanos Lnet/minecraft/server/MinecraftServer;recentTickTimesNanos:J
      intermediary field_47137 Lnet/minecraft/server/MinecraftServer;field_47137:J
      official aa Lnet/minecraft/server/MinecraftServer;aa:J
    • keyPair

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

      @Nullable private @Nullable com.mojang.authlib.GameProfile hostProfile
      Mappings:
      Namespace Name Mixin selector
      named hostProfile Lnet/minecraft/server/MinecraftServer;hostProfile:Lcom/mojang/authlib/GameProfile;
      intermediary field_39214 Lnet/minecraft/server/MinecraftServer;field_39214:Lcom/mojang/authlib/GameProfile;
      official ac Lnet/minecraft/server/MinecraftServer;ac:Lcom/mojang/authlib/GameProfile;
    • demo

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

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

      private long lastOverloadWarningNanos
      Mappings:
      Namespace Name Mixin selector
      named lastOverloadWarningNanos Lnet/minecraft/server/MinecraftServer;lastOverloadWarningNanos:J
      intermediary field_47138 Lnet/minecraft/server/MinecraftServer;field_47138:J
      official af Lnet/minecraft/server/MinecraftServer;af:J
    • apiServices

      protected final ApiServices apiServices
      Mappings:
      Namespace Name Mixin selector
      named apiServices Lnet/minecraft/server/MinecraftServer;apiServices:Lnet/minecraft/util/ApiServices;
      intermediary field_39440 Lnet/minecraft/server/MinecraftServer;field_39440:Lnet/minecraft/class_7497;
      official j Lnet/minecraft/server/MinecraftServer;j:Lane;
    • managementListener

      private final CompositeManagementListener managementListener
      Mappings:
      Namespace Name Mixin selector
      named managementListener Lnet/minecraft/server/MinecraftServer;managementListener:Lnet/minecraft/server/dedicated/management/listener/CompositeManagementListener;
      intermediary field_62494 Lnet/minecraft/server/MinecraftServer;field_62494:Lnet/minecraft/class_11870;
      official ag Lnet/minecraft/server/MinecraftServer;ag:Layo;
    • lastPlayerSampleUpdate

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

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

      private long lastFullTickLogTime
      Mappings:
      Namespace Name Mixin selector
      named lastFullTickLogTime Lnet/minecraft/server/MinecraftServer;lastFullTickLogTime:J
      intermediary field_48773 Lnet/minecraft/server/MinecraftServer;field_48773:J
      official aj Lnet/minecraft/server/MinecraftServer;aj:J
    • tasksStartTime

      private long tasksStartTime
      Mappings:
      Namespace Name Mixin selector
      named tasksStartTime Lnet/minecraft/server/MinecraftServer;tasksStartTime:J
      intermediary field_48774 Lnet/minecraft/server/MinecraftServer;field_48774:J
      official ak Lnet/minecraft/server/MinecraftServer;ak:J
    • waitTime

      private long waitTime
      Mappings:
      Namespace Name Mixin selector
      named waitTime Lnet/minecraft/server/MinecraftServer;waitTime:J
      intermediary field_48775 Lnet/minecraft/server/MinecraftServer;field_48775:J
      official al Lnet/minecraft/server/MinecraftServer;al:J
    • tickStartTimeNanos

      private long tickStartTimeNanos
      Mappings:
      Namespace Name Mixin selector
      named tickStartTimeNanos Lnet/minecraft/server/MinecraftServer;tickStartTimeNanos:J
      intermediary field_47139 Lnet/minecraft/server/MinecraftServer;field_47139:J
      official am Lnet/minecraft/server/MinecraftServer;am:J
    • waitingForNextTick

      private boolean waitingForNextTick
      Mappings:
      Namespace Name Mixin selector
      named waitingForNextTick Lnet/minecraft/server/MinecraftServer;waitingForNextTick:Z
      intermediary field_53718 Lnet/minecraft/server/MinecraftServer;field_53718:Z
      official an Lnet/minecraft/server/MinecraftServer;an:Z
    • tickEndTimeNanos

      private long tickEndTimeNanos
      Mappings:
      Namespace Name Mixin selector
      named tickEndTimeNanos Lnet/minecraft/server/MinecraftServer;tickEndTimeNanos:J
      intermediary field_47140 Lnet/minecraft/server/MinecraftServer;field_47140:J
      official ao Lnet/minecraft/server/MinecraftServer;ao:J
    • hasJustExecutedTask

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

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

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

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

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

      private final CommandFunctionManager commandFunctionManager
      Mappings:
      Namespace Name Mixin selector
      named commandFunctionManager Lnet/minecraft/server/MinecraftServer;commandFunctionManager:Lnet/minecraft/server/function/CommandFunctionManager;
      intermediary field_4591 Lnet/minecraft/server/MinecraftServer;field_4591:Lnet/minecraft/class_2991;
      official au Lnet/minecraft/server/MinecraftServer;au:Lamy;
    • enforceWhitelist

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

      private boolean useAllowlist
      Mappings:
      Namespace Name Mixin selector
      named useAllowlist Lnet/minecraft/server/MinecraftServer;useAllowlist:Z
      intermediary field_62495 Lnet/minecraft/server/MinecraftServer;field_62495:Z
      official aw Lnet/minecraft/server/MinecraftServer;aw:Z
    • averageTickTime

      private float averageTickTime
      Mappings:
      Namespace Name Mixin selector
      named averageTickTime Lnet/minecraft/server/MinecraftServer;averageTickTime:F
      intermediary field_47141 Lnet/minecraft/server/MinecraftServer;field_47141:F
      official ax Lnet/minecraft/server/MinecraftServer;ax:F
    • workerExecutor

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

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

      private MinecraftServer.ResourceManagerHolder resourceManagerHolder
      Mappings:
      Namespace Name Mixin selector
      named resourceManagerHolder Lnet/minecraft/server/MinecraftServer;resourceManagerHolder:Lnet/minecraft/server/MinecraftServer$ResourceManagerHolder;
      intermediary field_25318 Lnet/minecraft/server/MinecraftServer;field_25318:Lnet/minecraft/server/MinecraftServer$class_6897;
      official aA Lnet/minecraft/server/MinecraftServer;aA:Lnet/minecraft/server/MinecraftServer$a;
    • structureTemplateManager

      private final StructureTemplateManager structureTemplateManager
      Mappings:
      Namespace Name Mixin selector
      named structureTemplateManager Lnet/minecraft/server/MinecraftServer;structureTemplateManager:Lnet/minecraft/structure/StructureTemplateManager;
      intermediary field_24370 Lnet/minecraft/server/MinecraftServer;field_24370:Lnet/minecraft/class_3485;
      official aB Lnet/minecraft/server/MinecraftServer;aB:Lfeq;
    • tickManager

      private final ServerTickManager tickManager
      Mappings:
      Namespace Name Mixin selector
      named tickManager Lnet/minecraft/server/MinecraftServer;tickManager:Lnet/minecraft/server/ServerTickManager;
      intermediary field_47142 Lnet/minecraft/server/MinecraftServer;field_47142:Lnet/minecraft/class_8915;
      official aC Lnet/minecraft/server/MinecraftServer;aC:Land;
    • subscriberTracker

      private final SubscriberTracker subscriberTracker
      Mappings:
      Namespace Name Mixin selector
      named subscriberTracker Lnet/minecraft/server/MinecraftServer;subscriberTracker:Lnet/minecraft/server/debug/SubscriberTracker;
      intermediary field_62998 Lnet/minecraft/server/MinecraftServer;field_62998:Lnet/minecraft/class_12027;
      official aD Lnet/minecraft/server/MinecraftServer;aD:Lbvx;
    • saveProperties

      protected final SaveProperties saveProperties
      Mappings:
      Namespace Name Mixin selector
      named saveProperties Lnet/minecraft/server/MinecraftServer;saveProperties:Lnet/minecraft/world/SaveProperties;
      intermediary field_24372 Lnet/minecraft/server/MinecraftServer;field_24372:Lnet/minecraft/class_5219;
      official k Lnet/minecraft/server/MinecraftServer;k:Lfis;
    • spawnPoint

      private WorldProperties.SpawnPoint spawnPoint
      Mappings:
      Namespace Name Mixin selector
      named spawnPoint Lnet/minecraft/server/MinecraftServer;spawnPoint:Lnet/minecraft/world/WorldProperties$SpawnPoint;
      intermediary field_63111 Lnet/minecraft/server/MinecraftServer;field_63111:Lnet/minecraft/class_5217$class_12064;
      official aE Lnet/minecraft/server/MinecraftServer;aE:Lfid$a;
    • brewingRecipeRegistry

      private final BrewingRecipeRegistry brewingRecipeRegistry
      Mappings:
      Namespace Name Mixin selector
      named brewingRecipeRegistry Lnet/minecraft/server/MinecraftServer;brewingRecipeRegistry:Lnet/minecraft/recipe/BrewingRecipeRegistry;
      intermediary field_51466 Lnet/minecraft/server/MinecraftServer;field_51466:Lnet/minecraft/class_1845;
      official aF Lnet/minecraft/server/MinecraftServer;aF:Ldjl;
    • fuelRegistry

      private FuelRegistry fuelRegistry
      Mappings:
      Namespace Name Mixin selector
      named fuelRegistry Lnet/minecraft/server/MinecraftServer;fuelRegistry:Lnet/minecraft/item/FuelRegistry;
      intermediary field_53715 Lnet/minecraft/server/MinecraftServer;field_53715:Lnet/minecraft/class_9895;
      official aG Lnet/minecraft/server/MinecraftServer;aG:Lehg;
    • idleTickCount

      private int idleTickCount
      Mappings:
      Namespace Name Mixin selector
      named idleTickCount Lnet/minecraft/server/MinecraftServer;idleTickCount:I
      intermediary field_53716 Lnet/minecraft/server/MinecraftServer;field_53716:I
      official aH Lnet/minecraft/server/MinecraftServer;aH:I
    • saving

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

      private final SuppressedExceptionsTracker suppressedExceptionsTracker
      Mappings:
      Namespace Name Mixin selector
      named suppressedExceptionsTracker Lnet/minecraft/server/MinecraftServer;suppressedExceptionsTracker:Lnet/minecraft/util/crash/SuppressedExceptionsTracker;
      intermediary field_53717 Lnet/minecraft/server/MinecraftServer;field_53717:Lnet/minecraft/class_9843;
      official aK Lnet/minecraft/server/MinecraftServer;aK:Lanf;
    • discontinuousFrame

      private final com.mojang.jtracy.DiscontinuousFrame discontinuousFrame
      Mappings:
      Namespace Name Mixin selector
      named discontinuousFrame Lnet/minecraft/server/MinecraftServer;discontinuousFrame:Lcom/mojang/jtracy/DiscontinuousFrame;
      intermediary field_54275 Lnet/minecraft/server/MinecraftServer;field_54275:Lcom/mojang/jtracy/DiscontinuousFrame;
      official aL Lnet/minecraft/server/MinecraftServer;aL:Lcom/mojang/jtracy/DiscontinuousFrame;
    • packetApplyBatcher

      private final PacketApplyBatcher packetApplyBatcher
      Mappings:
      Namespace Name Mixin selector
      named packetApplyBatcher Lnet/minecraft/server/MinecraftServer;packetApplyBatcher:Lnet/minecraft/network/PacketApplyBatcher;
      intermediary field_62766 Lnet/minecraft/server/MinecraftServer;field_62766:Lnet/minecraft/class_11980;
      official aM Lnet/minecraft/server/MinecraftServer;aM:Lxb;
  • Constructor Details

    • MinecraftServer

      public MinecraftServer(Thread serverThread, LevelStorage.Session session, ResourcePackManager dataPackManager, SaveLoader saveLoader, Proxy proxy, com.mojang.datafixers.DataFixer dataFixer, ApiServices apiServices, ChunkLoadProgress chunkLoadProgress)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/MinecraftServer;<init>(Ljava/lang/Thread;Lnet/minecraft/world/level/storage/LevelStorage$Session;Lnet/minecraft/resource/ResourcePackManager;Lnet/minecraft/server/SaveLoader;Ljava/net/Proxy;Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/util/ApiServices;Lnet/minecraft/world/chunk/ChunkLoadProgress;)V
      intermediary <init> Lnet/minecraft/server/MinecraftServer;<init>(Ljava/lang/Thread;Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_3283;Lnet/minecraft/class_6904;Ljava/net/Proxy;Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/class_7497;Lnet/minecraft/class_11545;)V
      official <init> Lnet/minecraft/server/MinecraftServer;<init>(Ljava/lang/Thread;Lfih$c;Lbaa;Lani;Ljava/net/Proxy;Lcom/mojang/datafixers/DataFixer;Lane;Laxi;)V
  • Method Details

    • startServer

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

      private void initScoreboard(PersistentStateManager persistentStateManager)
      Mappings:
      Namespace Name Mixin selector
      named initScoreboard Lnet/minecraft/server/MinecraftServer;initScoreboard(Lnet/minecraft/world/PersistentStateManager;)V
      intermediary method_17976 Lnet/minecraft/server/MinecraftServer;method_17976(Lnet/minecraft/class_26;)V
      official a Lnet/minecraft/server/MinecraftServer;a(Lfib;)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
      named setupServer Lnet/minecraft/server/MinecraftServer;setupServer()Z
      intermediary method_3823 Lnet/minecraft/server/MinecraftServer;method_3823()Z
      official e Lnet/minecraft/server/MinecraftServer;e()Z
    • createChunkLoadMap

      public ChunkLoadMap createChunkLoadMap(int radius)
      Returns a ChunkLoadMap to visualize chunk loading in singleplayer.
      Returns:
      a ChunkLoadMap to visualize chunk loading in singleplayer
      Mappings:
      Namespace Name Mixin selector
      named createChunkLoadMap Lnet/minecraft/server/MinecraftServer;createChunkLoadMap(I)Lnet/minecraft/world/chunk/ChunkLoadMap;
      intermediary method_73044 Lnet/minecraft/server/MinecraftServer;method_73044(I)Lnet/minecraft/class_11544;
      official a Lnet/minecraft/server/MinecraftServer;a(I)Laxh;
    • loadWorld

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

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

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

      private static void setupSpawn(ServerWorld world, ServerWorldProperties worldProperties, boolean bonusChest, boolean debugWorld, ChunkLoadProgress loadProgress)
      Mappings:
      Namespace Name Mixin selector
      named setupSpawn Lnet/minecraft/server/MinecraftServer;setupSpawn(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/level/ServerWorldProperties;ZZLnet/minecraft/world/chunk/ChunkLoadProgress;)V
      intermediary method_27901 Lnet/minecraft/server/MinecraftServer;method_27901(Lnet/minecraft/class_3218;Lnet/minecraft/class_5268;ZZLnet/minecraft/class_11545;)V
      official a Lnet/minecraft/server/MinecraftServer;a(Lawx;Lfim;ZZLaxi;)V
    • setToDebugWorldProperties

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

      private void prepareStartRegion()
      Mappings:
      Namespace Name Mixin selector
      named prepareStartRegion Lnet/minecraft/server/MinecraftServer;prepareStartRegion()V
      intermediary method_3774 Lnet/minecraft/server/MinecraftServer;method_3774()V
      official bB Lnet/minecraft/server/MinecraftServer;bB()V
    • getSpawnPos

      public GlobalPos getSpawnPos()
      Mappings:
      Namespace Name Mixin selector
      named getSpawnPos Lnet/minecraft/server/MinecraftServer;getSpawnPos()Lnet/minecraft/util/math/GlobalPos;
      intermediary method_73041 Lnet/minecraft/server/MinecraftServer;method_73041()Lnet/minecraft/class_4208;
      official x Lnet/minecraft/server/MinecraftServer;x()Ljj;
    • getDefaultGameMode

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

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

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

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

      public abstract boolean shouldBroadcastRconToOps()
      Mappings:
      Namespace Name Mixin selector
      named shouldBroadcastRconToOps Lnet/minecraft/server/MinecraftServer;shouldBroadcastRconToOps()Z
      intermediary method_3732 Lnet/minecraft/server/MinecraftServer;method_3732()Z
      official m Lnet/minecraft/server/MinecraftServer;m()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
      named save Lnet/minecraft/server/MinecraftServer;save(ZZZ)Z
      intermediary method_3723 Lnet/minecraft/server/MinecraftServer;method_3723(ZZZ)Z
      official a Lnet/minecraft/server/MinecraftServer;a(ZZZ)Z
    • saveAll

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

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

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

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

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

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

      public void stop(boolean waitForShutdown)
      Stops this server.
      Parameters:
      waitForShutdown - whether to wait for server shutdown, if called outside the server thread
      API Note:
      Pass true to waitForShutdown to wait until the server shuts down. Note that this must be false if called from the server thread, otherwise it deadlocks.
      Mappings:
      Namespace Name Mixin selector
      named stop Lnet/minecraft/server/MinecraftServer;stop(Z)V
      intermediary method_3747 Lnet/minecraft/server/MinecraftServer;method_3747(Z)V
      official a Lnet/minecraft/server/MinecraftServer;a(Z)V
    • runServer

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

      private void pushFullTickLog()
      Mappings:
      Namespace Name Mixin selector
      named pushFullTickLog Lnet/minecraft/server/MinecraftServer;pushFullTickLog()V
      intermediary method_56603 Lnet/minecraft/server/MinecraftServer;method_56603()V
      official bC Lnet/minecraft/server/MinecraftServer;bC()V
    • startTaskPerformanceLog

      private void startTaskPerformanceLog()
      Mappings:
      Namespace Name Mixin selector
      named startTaskPerformanceLog Lnet/minecraft/server/MinecraftServer;startTaskPerformanceLog()V
      intermediary method_56604 Lnet/minecraft/server/MinecraftServer;method_56604()V
      official bD Lnet/minecraft/server/MinecraftServer;bD()V
    • pushPerformanceLogs

      private void pushPerformanceLogs()
      Mappings:
      Namespace Name Mixin selector
      named pushPerformanceLogs Lnet/minecraft/server/MinecraftServer;pushPerformanceLogs()V
      intermediary method_56605 Lnet/minecraft/server/MinecraftServer;method_56605()V
      official bE Lnet/minecraft/server/MinecraftServer;bE()V
    • createCrashReport

      private static CrashReport createCrashReport(Throwable throwable)
      Mappings:
      Namespace Name Mixin selector
      named createCrashReport Lnet/minecraft/server/MinecraftServer;createCrashReport(Ljava/lang/Throwable;)Lnet/minecraft/util/crash/CrashReport;
      intermediary method_40376 Lnet/minecraft/server/MinecraftServer;method_40376(Ljava/lang/Throwable;)Lnet/minecraft/class_128;
      official b Lnet/minecraft/server/MinecraftServer;b(Ljava/lang/Throwable;)Lp;
    • shouldKeepTicking

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

      public static boolean checkWorldGenException()
      Mappings:
      Namespace Name Mixin selector
      named checkWorldGenException Lnet/minecraft/server/MinecraftServer;checkWorldGenException()Z
      intermediary method_60584 Lnet/minecraft/server/MinecraftServer;method_60584()Z
      official D Lnet/minecraft/server/MinecraftServer;D()Z
    • setWorldGenException

      public static void setWorldGenException(RuntimeException exception)
      Mappings:
      Namespace Name Mixin selector
      named setWorldGenException Lnet/minecraft/server/MinecraftServer;setWorldGenException(Ljava/lang/RuntimeException;)V
      intermediary method_60582 Lnet/minecraft/server/MinecraftServer;method_60582(Ljava/lang/RuntimeException;)V
      official a Lnet/minecraft/server/MinecraftServer;a(Ljava/lang/RuntimeException;)V
    • runTasks

      public void runTasks(BooleanSupplier stopCondition)
      Overrides:
      runTasks in class ThreadExecutor<ServerTask>
      Mappings:
      Namespace Name Mixin selector
      named runTasks Lnet/minecraft/util/thread/ThreadExecutor;runTasks(Ljava/util/function/BooleanSupplier;)V
      intermediary method_18857 Lnet/minecraft/class_1255;method_18857(Ljava/util/function/BooleanSupplier;)V
      official b Lcae;b(Ljava/util/function/BooleanSupplier;)V
    • getManagementListener

      public CompositeManagementListener getManagementListener()
      Mappings:
      Namespace Name Mixin selector
      named getManagementListener Lnet/minecraft/server/MinecraftServer;getManagementListener()Lnet/minecraft/server/dedicated/management/listener/CompositeManagementListener;
      intermediary method_74055 Lnet/minecraft/server/MinecraftServer;method_74055()Lnet/minecraft/class_11870;
      official E Lnet/minecraft/server/MinecraftServer;E()Layo;
    • runTasksTillTickEnd

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

      public void waitForTasks()
      Overrides:
      waitForTasks in class ThreadExecutor<ServerTask>
      Mappings:
      Namespace Name Mixin selector
      named waitForTasks Lnet/minecraft/util/thread/ThreadExecutor;waitForTasks()V
      intermediary method_20813 Lnet/minecraft/class_1255;method_20813()V
      official F Lcae;F()V
    • createTask

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

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

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

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

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

      private Optional<ServerMetadata.Favicon> loadFavicon()
      Mappings:
      Namespace Name Mixin selector
      named loadFavicon Lnet/minecraft/server/MinecraftServer;loadFavicon()Ljava/util/Optional;
      intermediary method_49384 Lnet/minecraft/server/MinecraftServer;method_49384()Ljava/util/Optional;
      official bH Lnet/minecraft/server/MinecraftServer;bH()Ljava/util/Optional;
    • getIconFile

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

      public Path getRunDirectory()
      Mappings:
      Namespace Name Mixin selector
      named getRunDirectory Lnet/minecraft/server/MinecraftServer;getRunDirectory()Ljava/nio/file/Path;
      intermediary method_3831 Lnet/minecraft/server/MinecraftServer;method_3831()Ljava/nio/file/Path;
      official I Lnet/minecraft/server/MinecraftServer;I()Ljava/nio/file/Path;
    • setCrashReport

      public void setCrashReport(CrashReport report)
      Mappings:
      Namespace Name Mixin selector
      named setCrashReport Lnet/minecraft/server/MinecraftServer;setCrashReport(Lnet/minecraft/util/crash/CrashReport;)V
      intermediary method_3744 Lnet/minecraft/server/MinecraftServer;method_3744(Lnet/minecraft/class_128;)V
      official a Lnet/minecraft/server/MinecraftServer;a(Lp;)V
    • exit

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

      public boolean isPaused()
      Mappings:
      Namespace Name Mixin selector
      named isPaused Lnet/minecraft/server/MinecraftServer;isPaused()Z
      intermediary method_54809 Lnet/minecraft/server/MinecraftServer;method_54809()Z
      official J Lnet/minecraft/server/MinecraftServer;J()Z
    • tick

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

      private void runAutosave()
      Mappings:
      Namespace Name Mixin selector
      named runAutosave Lnet/minecraft/server/MinecraftServer;runAutosave()V
      intermediary method_62734 Lnet/minecraft/server/MinecraftServer;method_62734()V
      official bI Lnet/minecraft/server/MinecraftServer;bI()V
    • pushTickLog

      private void pushTickLog(long tickStartTime)
      Mappings:
      Namespace Name Mixin selector
      named pushTickLog Lnet/minecraft/server/MinecraftServer;pushTickLog(J)V
      intermediary method_56602 Lnet/minecraft/server/MinecraftServer;method_56602(J)V
      official a Lnet/minecraft/server/MinecraftServer;a(J)V
    • getAutosaveInterval

      private int getAutosaveInterval()
      Mappings:
      Namespace Name Mixin selector
      named getAutosaveInterval Lnet/minecraft/server/MinecraftServer;getAutosaveInterval()I
      intermediary method_54837 Lnet/minecraft/server/MinecraftServer;method_54837()I
      official bJ Lnet/minecraft/server/MinecraftServer;bJ()I
    • updateAutosaveTicks

      public void updateAutosaveTicks()
      Mappings:
      Namespace Name Mixin selector
      named updateAutosaveTicks Lnet/minecraft/server/MinecraftServer;updateAutosaveTicks()V
      intermediary method_54831 Lnet/minecraft/server/MinecraftServer;method_54831()V
      official K Lnet/minecraft/server/MinecraftServer;K()V
    • getDebugSampleLog

      protected abstract DebugSampleLog getDebugSampleLog()
      Mappings:
      Namespace Name Mixin selector
      named getDebugSampleLog Lnet/minecraft/server/MinecraftServer;getDebugSampleLog()Lnet/minecraft/util/profiler/log/DebugSampleLog;
      intermediary method_56593 Lnet/minecraft/server/MinecraftServer;method_56593()Lnet/minecraft/class_8743;
      official f Lnet/minecraft/server/MinecraftServer;f()Lbwe;
    • shouldPushTickTimeLog

      public abstract boolean shouldPushTickTimeLog()
      Mappings:
      Namespace Name Mixin selector
      named shouldPushTickTimeLog Lnet/minecraft/server/MinecraftServer;shouldPushTickTimeLog()Z
      intermediary method_56626 Lnet/minecraft/server/MinecraftServer;method_56626()Z
      official g Lnet/minecraft/server/MinecraftServer;g()Z
    • createMetadata

      private ServerMetadata createMetadata()
      Mappings:
      Namespace Name Mixin selector
      named createMetadata Lnet/minecraft/server/MinecraftServer;createMetadata()Lnet/minecraft/server/ServerMetadata;
      intermediary method_49385 Lnet/minecraft/server/MinecraftServer;method_49385()Lnet/minecraft/class_2926;
      official bK Lnet/minecraft/server/MinecraftServer;bK()Lalg;
    • createMetadataPlayers

      private ServerMetadata.Players createMetadataPlayers()
      Mappings:
      Namespace Name Mixin selector
      named createMetadataPlayers Lnet/minecraft/server/MinecraftServer;createMetadataPlayers()Lnet/minecraft/server/ServerMetadata$Players;
      intermediary method_49386 Lnet/minecraft/server/MinecraftServer;method_49386()Lnet/minecraft/class_2926$class_2927;
      official bL Lnet/minecraft/server/MinecraftServer;bL()Lalg$b;
    • tickWorlds

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

      private void refreshSpawnPoint()
      Mappings:
      Namespace Name Mixin selector
      named refreshSpawnPoint Lnet/minecraft/server/MinecraftServer;refreshSpawnPoint()V
      intermediary method_74946 Lnet/minecraft/server/MinecraftServer;method_74946()V
      official bM Lnet/minecraft/server/MinecraftServer;bM()V
    • tickNetworkIo

      public void tickNetworkIo()
      Mappings:
      Namespace Name Mixin selector
      named tickNetworkIo Lnet/minecraft/server/MinecraftServer;tickNetworkIo()V
      intermediary method_61254 Lnet/minecraft/server/MinecraftServer;method_61254()V
      official L Lnet/minecraft/server/MinecraftServer;L()V
    • sendTimeUpdatePackets

      private void sendTimeUpdatePackets(ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      named sendTimeUpdatePackets Lnet/minecraft/server/MinecraftServer;sendTimeUpdatePackets(Lnet/minecraft/server/world/ServerWorld;)V
      intermediary method_49750 Lnet/minecraft/server/MinecraftServer;method_49750(Lnet/minecraft/class_3218;)V
      official a Lnet/minecraft/server/MinecraftServer;a(Lawx;)V
    • sendTimeUpdatePackets

      public void sendTimeUpdatePackets()
      Mappings:
      Namespace Name Mixin selector
      named sendTimeUpdatePackets Lnet/minecraft/server/MinecraftServer;sendTimeUpdatePackets()V
      intermediary method_49749 Lnet/minecraft/server/MinecraftServer;method_49749()V
      official M Lnet/minecraft/server/MinecraftServer;M()V
    • isEnterableWithPortal

      public boolean isEnterableWithPortal(World world)
      Mappings:
      Namespace Name Mixin selector
      named isEnterableWithPortal Lnet/minecraft/server/MinecraftServer;isEnterableWithPortal(Lnet/minecraft/world/World;)Z
      intermediary method_74057 Lnet/minecraft/server/MinecraftServer;method_74057(Lnet/minecraft/class_1937;)Z
      official a Lnet/minecraft/server/MinecraftServer;a(Ldrq;)Z
    • addServerGuiTickable

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

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

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

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

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

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

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

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

      public String getVersion()
      Specified by:
      getVersion in interface QueryableServer
      Mappings:
      Namespace Name Mixin selector
      named getVersion Lnet/minecraft/network/QueryableServer;getVersion()Ljava/lang/String;
      intermediary method_3827 Lnet/minecraft/class_8599;method_3827()Ljava/lang/String;
      official R Lamz;R()Ljava/lang/String;
    • getCurrentPlayerCount

      public int getCurrentPlayerCount()
      Specified by:
      getCurrentPlayerCount in interface QueryableServer
      Mappings:
      Namespace Name Mixin selector
      named getCurrentPlayerCount Lnet/minecraft/network/QueryableServer;getCurrentPlayerCount()I
      intermediary method_3788 Lnet/minecraft/class_8599;method_3788()I
      official S Lamz;S()I
    • getPlayerNames

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

      public String getServerModName()
    • addSystemDetails

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

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

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

      public void sendMessage(Text message)
      Sends a system message.
      Specified by:
      sendMessage in interface CommandOutput
      Implementation Note:
      The output location depends on the implementation; players will use the in-game chat, and others will output to the log.
      Mappings:
      Namespace Name Mixin selector
      named sendMessage Lnet/minecraft/server/command/CommandOutput;sendMessage(Lnet/minecraft/text/Text;)V
      intermediary method_43496 Lnet/minecraft/class_2165;method_43496(Lnet/minecraft/class_2561;)V
      official a Lei;a(Lxx;)V
    • getKeyPair

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

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

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

      @Nullable public @Nullable com.mojang.authlib.GameProfile getHostProfile()
      Mappings:
      Namespace Name Mixin selector
      named getHostProfile Lnet/minecraft/server/MinecraftServer;getHostProfile()Lcom/mojang/authlib/GameProfile;
      intermediary method_43824 Lnet/minecraft/server/MinecraftServer;method_43824()Lcom/mojang/authlib/GameProfile;
      official X Lnet/minecraft/server/MinecraftServer;X()Lcom/mojang/authlib/GameProfile;
    • setHostProfile

      public void setHostProfile(@Nullable @Nullable com.mojang.authlib.GameProfile hostProfile)
      Mappings:
      Namespace Name Mixin selector
      named setHostProfile Lnet/minecraft/server/MinecraftServer;setHostProfile(Lcom/mojang/authlib/GameProfile;)V
      intermediary method_43825 Lnet/minecraft/server/MinecraftServer;method_43825(Lcom/mojang/authlib/GameProfile;)V
      official a Lnet/minecraft/server/MinecraftServer;a(Lcom/mojang/authlib/GameProfile;)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
      named isSingleplayer Lnet/minecraft/server/MinecraftServer;isSingleplayer()Z
      intermediary method_3724 Lnet/minecraft/server/MinecraftServer;method_3724()Z
      official Y Lnet/minecraft/server/MinecraftServer;Y()Z
    • generateKeyPair

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

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

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

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

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

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

      public boolean shouldSpawnMonsters()
      Mappings:
      Namespace Name Mixin selector
      named shouldSpawnMonsters Lnet/minecraft/server/MinecraftServer;shouldSpawnMonsters()Z
      intermediary method_74056 Lnet/minecraft/server/MinecraftServer;method_74056()Z
      official ab Lnet/minecraft/server/MinecraftServer;ab()Z
    • isDemo

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

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

      public Map<String,String> getCodeOfConductLanguages()
      Mappings:
      Namespace Name Mixin selector
      named getCodeOfConductLanguages Lnet/minecraft/server/MinecraftServer;getCodeOfConductLanguages()Ljava/util/Map;
      intermediary method_73282 Lnet/minecraft/server/MinecraftServer;method_73282()Ljava/util/Map;
      official ad Lnet/minecraft/server/MinecraftServer;ad()Ljava/util/Map;
    • getResourcePackProperties

      public Optional<MinecraftServer.ServerResourcePackProperties> getResourcePackProperties()
      Mappings:
      Namespace Name Mixin selector
      named getResourcePackProperties Lnet/minecraft/server/MinecraftServer;getResourcePackProperties()Ljava/util/Optional;
      intermediary method_43659 Lnet/minecraft/server/MinecraftServer;method_43659()Ljava/util/Optional;
      official ae Lnet/minecraft/server/MinecraftServer;ae()Ljava/util/Optional;
    • requireResourcePack

      public boolean requireResourcePack()
      Mappings:
      Namespace Name Mixin selector
      named requireResourcePack Lnet/minecraft/server/MinecraftServer;requireResourcePack()Z
      intermediary method_32303 Lnet/minecraft/server/MinecraftServer;method_32303()Z
      official af Lnet/minecraft/server/MinecraftServer;af()Z
    • 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
      named isDedicated Lnet/minecraft/server/MinecraftServer;isDedicated()Z
      intermediary method_3816 Lnet/minecraft/server/MinecraftServer;method_3816()Z
      official n Lnet/minecraft/server/MinecraftServer;n()Z
    • getRateLimit

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

      public boolean isOnlineMode()
      Returns whether this Minecraft server authenticates players logging in with the
      invalid reference
      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
      invalid reference
      Minecraft Session Service
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named isOnlineMode Lnet/minecraft/server/MinecraftServer;isOnlineMode()Z
      intermediary method_3828 Lnet/minecraft/server/MinecraftServer;method_3828()Z
      official ag Lnet/minecraft/server/MinecraftServer;ag()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
      named setOnlineMode Lnet/minecraft/server/MinecraftServer;setOnlineMode(Z)V
      intermediary method_3864 Lnet/minecraft/server/MinecraftServer;method_3864(Z)V
      official d Lnet/minecraft/server/MinecraftServer;d(Z)V
    • shouldPreventProxyConnections

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

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

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

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

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

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

      public boolean areSpawnerBlocksEnabled()
      Mappings:
      Namespace Name Mixin selector
      named areSpawnerBlocksEnabled Lnet/minecraft/server/MinecraftServer;areSpawnerBlocksEnabled()Z
      intermediary method_74842 Lnet/minecraft/server/MinecraftServer;method_74842()Z
      official r Lnet/minecraft/server/MinecraftServer;r()Z
    • getServerMotd

      public String getServerMotd()
      Specified by:
      getServerMotd in interface QueryableServer
      Mappings:
      Namespace Name Mixin selector
      named getServerMotd Lnet/minecraft/network/QueryableServer;getServerMotd()Ljava/lang/String;
      intermediary method_3818 Lnet/minecraft/class_8599;method_3818()Ljava/lang/String;
      official ak Lamz;ak()Ljava/lang/String;
    • setMotd

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

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

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

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

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

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

      public int changeGameModeGlobally(@Nullable @Nullable GameMode gameMode)
      Mappings:
      Namespace Name Mixin selector
      named changeGameModeGlobally Lnet/minecraft/server/MinecraftServer;changeGameModeGlobally(Lnet/minecraft/world/GameMode;)I
      intermediary method_74059 Lnet/minecraft/server/MinecraftServer;method_74059(Lnet/minecraft/class_1934;)I
      official b Lnet/minecraft/server/MinecraftServer;b(Ldrn;)I
    • getNetworkIo

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

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

      public boolean hasGui()
      Mappings:
      Namespace Name Mixin selector
      named hasGui Lnet/minecraft/server/MinecraftServer;hasGui()Z
      intermediary method_3727 Lnet/minecraft/server/MinecraftServer;method_3727()Z
      official ap Lnet/minecraft/server/MinecraftServer;ap()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
      named openToLan Lnet/minecraft/server/MinecraftServer;openToLan(Lnet/minecraft/world/GameMode;ZI)Z
      intermediary method_3763 Lnet/minecraft/server/MinecraftServer;method_3763(Lnet/minecraft/class_1934;ZI)Z
      official a Lnet/minecraft/server/MinecraftServer;a(Ldrn;ZI)Z
    • getTicks

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

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

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

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

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

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

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

      public ApiServices getApiServices()
      Mappings:
      Namespace Name Mixin selector
      named getApiServices Lnet/minecraft/server/MinecraftServer;getApiServices()Lnet/minecraft/util/ApiServices;
      intermediary method_73550 Lnet/minecraft/server/MinecraftServer;method_73550()Lnet/minecraft/class_7497;
      official av Lnet/minecraft/server/MinecraftServer;av()Lane;
    • getServerMetadata

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

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

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

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

      public void executeSync(Runnable runnable)
      Overrides:
      executeSync in class ThreadExecutor<ServerTask>
      Mappings:
      Namespace Name Mixin selector
      named executeSync Lnet/minecraft/util/thread/ThreadExecutor;executeSync(Ljava/lang/Runnable;)V
      intermediary method_40000 Lnet/minecraft/class_1255;method_40000(Ljava/lang/Runnable;)V
      official c Lcae;c(Ljava/lang/Runnable;)V
    • getThread

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

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

      public boolean shouldEnforceSecureProfile()
      Mappings:
      Namespace Name Mixin selector
      named shouldEnforceSecureProfile Lnet/minecraft/server/MinecraftServer;shouldEnforceSecureProfile()Z
      intermediary method_43500 Lnet/minecraft/server/MinecraftServer;method_43500()Z
      official aC Lnet/minecraft/server/MinecraftServer;aC()Z
    • getTimeReference

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

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

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

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

      public CompletableFuture<Void> reloadResources(Collection<String> dataPacks)
      Reloads this server's data packs.
      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
      named reloadResources Lnet/minecraft/server/MinecraftServer;reloadResources(Ljava/util/Collection;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_29439 Lnet/minecraft/server/MinecraftServer;method_29439(Ljava/util/Collection;)Ljava/util/concurrent/CompletableFuture;
      official a Lnet/minecraft/server/MinecraftServer;a(Ljava/util/Collection;)Ljava/util/concurrent/CompletableFuture;
    • loadDataPacks

      public static DataConfiguration loadDataPacks(ResourcePackManager resourcePackManager, DataConfiguration dataConfiguration, boolean initMode, boolean safeMode)
      Mappings:
      Namespace Name Mixin selector
      named loadDataPacks Lnet/minecraft/server/MinecraftServer;loadDataPacks(Lnet/minecraft/resource/ResourcePackManager;Lnet/minecraft/resource/DataConfiguration;ZZ)Lnet/minecraft/resource/DataConfiguration;
      intermediary method_29736 Lnet/minecraft/server/MinecraftServer;method_29736(Lnet/minecraft/class_3283;Lnet/minecraft/class_7712;ZZ)Lnet/minecraft/class_7712;
      official a Lnet/minecraft/server/MinecraftServer;a(Lbaa;Ldso;ZZ)Ldso;
    • loadDataPacks

      private static DataConfiguration loadDataPacks(ResourcePackManager resourcePackManager, Collection<String> enabledProfiles, FeatureSet enabledFeatures, boolean allowEnabling)
      Mappings:
      Namespace Name Mixin selector
      named loadDataPacks Lnet/minecraft/server/MinecraftServer;loadDataPacks(Lnet/minecraft/resource/ResourcePackManager;Ljava/util/Collection;Lnet/minecraft/resource/featuretoggle/FeatureSet;Z)Lnet/minecraft/resource/DataConfiguration;
      intermediary method_59848 Lnet/minecraft/server/MinecraftServer;method_59848(Lnet/minecraft/class_3283;Ljava/util/Collection;Lnet/minecraft/class_7699;Z)Lnet/minecraft/class_7712;
      official a Lnet/minecraft/server/MinecraftServer;a(Lbaa;Ljava/util/Collection;Ldcx;Z)Ldso;
    • forceEnableRequestedFeatures

      private static void forceEnableRequestedFeatures(ResourcePackManager resourcePackManager, FeatureSet enabledFeatures)
      Mappings:
      Namespace Name Mixin selector
      named forceEnableRequestedFeatures Lnet/minecraft/server/MinecraftServer;forceEnableRequestedFeatures(Lnet/minecraft/resource/ResourcePackManager;Lnet/minecraft/resource/featuretoggle/FeatureSet;)V
      intermediary method_59847 Lnet/minecraft/server/MinecraftServer;method_59847(Lnet/minecraft/class_3283;Lnet/minecraft/class_7699;)V
      official a Lnet/minecraft/server/MinecraftServer;a(Lbaa;Ldcx;)V
    • createDataPackSettings

      private static DataPackSettings createDataPackSettings(ResourcePackManager dataPackManager, boolean allowEnabling)
      Mappings:
      Namespace Name Mixin selector
      named createDataPackSettings Lnet/minecraft/server/MinecraftServer;createDataPackSettings(Lnet/minecraft/resource/ResourcePackManager;Z)Lnet/minecraft/resource/DataPackSettings;
      intermediary method_29735 Lnet/minecraft/server/MinecraftServer;method_29735(Lnet/minecraft/class_3283;Z)Lnet/minecraft/class_5359;
      official a Lnet/minecraft/server/MinecraftServer;a(Lbaa;Z)Ldrd;
    • kickNonWhitelistedPlayers

      public void kickNonWhitelistedPlayers()
      Mappings:
      Namespace Name Mixin selector
      named kickNonWhitelistedPlayers Lnet/minecraft/server/MinecraftServer;kickNonWhitelistedPlayers()V
      intermediary method_3728 Lnet/minecraft/server/MinecraftServer;method_3728()V
      official aH Lnet/minecraft/server/MinecraftServer;aH()V
    • getDataPackManager

      public ResourcePackManager getDataPackManager()
      Mappings:
      Namespace Name Mixin selector
      named getDataPackManager Lnet/minecraft/server/MinecraftServer;getDataPackManager()Lnet/minecraft/resource/ResourcePackManager;
      intermediary method_3836 Lnet/minecraft/server/MinecraftServer;method_3836()Lnet/minecraft/class_3283;
      official aI Lnet/minecraft/server/MinecraftServer;aI()Lbaa;
    • 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
      named getCommandManager Lnet/minecraft/server/MinecraftServer;getCommandManager()Lnet/minecraft/server/command/CommandManager;
      intermediary method_3734 Lnet/minecraft/server/MinecraftServer;method_3734()Lnet/minecraft/class_2170;
      official aJ Lnet/minecraft/server/MinecraftServer;aJ()Lek;
    • getCommandSource

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

      public ServerWorld getSpawnWorld()
      Mappings:
      Namespace Name Mixin selector
      named getSpawnWorld Lnet/minecraft/server/MinecraftServer;getSpawnWorld()Lnet/minecraft/server/world/ServerWorld;
      intermediary method_74944 Lnet/minecraft/server/MinecraftServer;method_74944()Lnet/minecraft/class_3218;
      official aL Lnet/minecraft/server/MinecraftServer;aL()Lawx;
    • setSpawnPoint

      public void setSpawnPoint(WorldProperties.SpawnPoint spawnPoint)
      Mappings:
      Namespace Name Mixin selector
      named setSpawnPoint Lnet/minecraft/server/MinecraftServer;setSpawnPoint(Lnet/minecraft/world/WorldProperties$SpawnPoint;)V
      intermediary method_74943 Lnet/minecraft/server/MinecraftServer;method_74943(Lnet/minecraft/class_5217$class_12064;)V
      official a Lnet/minecraft/server/MinecraftServer;a(Lfid$a;)V
    • getSpawnPoint

      public WorldProperties.SpawnPoint getSpawnPoint()
      Mappings:
      Namespace Name Mixin selector
      named getSpawnPoint Lnet/minecraft/server/MinecraftServer;getSpawnPoint()Lnet/minecraft/world/WorldProperties$SpawnPoint;
      intermediary method_74945 Lnet/minecraft/server/MinecraftServer;method_74945()Lnet/minecraft/class_5217$class_12064;
      official aM Lnet/minecraft/server/MinecraftServer;aM()Lfid$a;
    • shouldReceiveFeedback

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

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

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

      public ServerRecipeManager getRecipeManager()
      Mappings:
      Namespace Name Mixin selector
      named getRecipeManager Lnet/minecraft/server/MinecraftServer;getRecipeManager()Lnet/minecraft/recipe/ServerRecipeManager;
      intermediary method_3772 Lnet/minecraft/server/MinecraftServer;method_3772()Lnet/minecraft/class_1863;
      official aN Lnet/minecraft/server/MinecraftServer;aN()Ldmp;
    • getScoreboard

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

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

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

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

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

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

      public boolean getUseAllowlist()
      Mappings:
      Namespace Name Mixin selector
      named getUseAllowlist Lnet/minecraft/server/MinecraftServer;getUseAllowlist()Z
      intermediary method_73568 Lnet/minecraft/server/MinecraftServer;method_73568()Z
      official aT Lnet/minecraft/server/MinecraftServer;aT()Z
    • setUseAllowlist

      public void setUseAllowlist(boolean useAllowlist)
      Mappings:
      Namespace Name Mixin selector
      named setUseAllowlist Lnet/minecraft/server/MinecraftServer;setUseAllowlist(Z)V
      intermediary method_73589 Lnet/minecraft/server/MinecraftServer;method_73589(Z)V
      official g Lnet/minecraft/server/MinecraftServer;g(Z)V
    • getAverageTickTime

      public float getAverageTickTime()
      Mappings:
      Namespace Name Mixin selector
      named getAverageTickTime Lnet/minecraft/server/MinecraftServer;getAverageTickTime()F
      intermediary method_54832 Lnet/minecraft/server/MinecraftServer;method_54832()F
      official aU Lnet/minecraft/server/MinecraftServer;aU()F
    • getTickManager

      public ServerTickManager getTickManager()
      Mappings:
      Namespace Name Mixin selector
      named getTickManager Lnet/minecraft/server/MinecraftServer;getTickManager()Lnet/minecraft/server/ServerTickManager;
      intermediary method_54833 Lnet/minecraft/server/MinecraftServer;method_54833()Lnet/minecraft/class_8915;
      official aV Lnet/minecraft/server/MinecraftServer;aV()Land;
    • getAverageNanosPerTick

      public long getAverageNanosPerTick()
      Mappings:
      Namespace Name Mixin selector
      named getAverageNanosPerTick Lnet/minecraft/server/MinecraftServer;getAverageNanosPerTick()J
      intermediary method_54834 Lnet/minecraft/server/MinecraftServer;method_54834()J
      official aW Lnet/minecraft/server/MinecraftServer;aW()J
    • getTickTimes

      public long[] getTickTimes()
      Mappings:
      Namespace Name Mixin selector
      named getTickTimes Lnet/minecraft/server/MinecraftServer;getTickTimes()[J
      intermediary method_54835 Lnet/minecraft/server/MinecraftServer;method_54835()[J
      official aX Lnet/minecraft/server/MinecraftServer;aX()[J
    • getPermissionLevel

      public int getPermissionLevel(PlayerConfigEntry player)
      Mappings:
      Namespace Name Mixin selector
      named getPermissionLevel Lnet/minecraft/server/MinecraftServer;getPermissionLevel(Lnet/minecraft/server/PlayerConfigEntry;)I
      intermediary method_3835 Lnet/minecraft/server/MinecraftServer;method_3835(Lnet/minecraft/class_11560;)I
      official b Lnet/minecraft/server/MinecraftServer;b(Lbbb;)I
    • isHost

      public abstract boolean isHost(PlayerConfigEntry player)
      Mappings:
      Namespace Name Mixin selector
      named isHost Lnet/minecraft/server/MinecraftServer;isHost(Lnet/minecraft/server/PlayerConfigEntry;)Z
      intermediary method_19466 Lnet/minecraft/server/MinecraftServer;method_19466(Lnet/minecraft/class_11560;)Z
      official a Lnet/minecraft/server/MinecraftServer;a(Lbbb;)Z
    • dumpProperties

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

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

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

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

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

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

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

      private Profiler startTickMetrics()
      Mappings:
      Namespace Name Mixin selector
      named startTickMetrics Lnet/minecraft/server/MinecraftServer;startTickMetrics()Lnet/minecraft/util/profiler/Profiler;
      intermediary method_16044 Lnet/minecraft/server/MinecraftServer;method_16044()Lnet/minecraft/class_3695;
      official bU Lnet/minecraft/server/MinecraftServer;bU()Lbya;
    • endTickMetrics

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

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

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

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

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

      public void forceStopRecorder()
      Mappings:
      Namespace Name Mixin selector
      named forceStopRecorder Lnet/minecraft/server/MinecraftServer;forceStopRecorder()V
      intermediary method_42062 Lnet/minecraft/server/MinecraftServer;method_42062()V
      official bc Lnet/minecraft/server/MinecraftServer;bc()V
    • getSavePath

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

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

      public StructureTemplateManager getStructureTemplateManager()
      Mappings:
      Namespace Name Mixin selector
      named getStructureTemplateManager Lnet/minecraft/server/MinecraftServer;getStructureTemplateManager()Lnet/minecraft/structure/StructureTemplateManager;
      intermediary method_27727 Lnet/minecraft/server/MinecraftServer;method_27727()Lnet/minecraft/class_3485;
      official be Lnet/minecraft/server/MinecraftServer;be()Lfeq;
    • getSaveProperties

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

      public DynamicRegistryManager.Immutable getRegistryManager()
      Mappings:
      Namespace Name Mixin selector
      named getRegistryManager Lnet/minecraft/server/MinecraftServer;getRegistryManager()Lnet/minecraft/registry/DynamicRegistryManager$Immutable;
      intermediary method_30611 Lnet/minecraft/server/MinecraftServer;method_30611()Lnet/minecraft/class_5455$class_6890;
      official bg Lnet/minecraft/server/MinecraftServer;bg()Ljy$b;
    • getCombinedDynamicRegistries

      public CombinedDynamicRegistries<ServerDynamicRegistryType> getCombinedDynamicRegistries()
      Mappings:
      Namespace Name Mixin selector
      named getCombinedDynamicRegistries Lnet/minecraft/server/MinecraftServer;getCombinedDynamicRegistries()Lnet/minecraft/registry/CombinedDynamicRegistries;
      intermediary method_46221 Lnet/minecraft/server/MinecraftServer;method_46221()Lnet/minecraft/class_7780;
      official bh Lnet/minecraft/server/MinecraftServer;bh()Ljr;
    • getReloadableRegistries

      public ReloadableRegistries.Lookup getReloadableRegistries()
      Mappings:
      Namespace Name Mixin selector
      named getReloadableRegistries Lnet/minecraft/server/MinecraftServer;getReloadableRegistries()Lnet/minecraft/registry/ReloadableRegistries$Lookup;
      intermediary method_58576 Lnet/minecraft/server/MinecraftServer;method_58576()Lnet/minecraft/class_9383$class_9385;
      official bi Lnet/minecraft/server/MinecraftServer;bi()Lamt$a;
    • createFilterer

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

      public ServerPlayerInteractionManager getPlayerInteractionManager(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      named getPlayerInteractionManager Lnet/minecraft/server/MinecraftServer;getPlayerInteractionManager(Lnet/minecraft/server/network/ServerPlayerEntity;)Lnet/minecraft/server/network/ServerPlayerInteractionManager;
      intermediary method_32816 Lnet/minecraft/server/MinecraftServer;method_32816(Lnet/minecraft/class_3222;)Lnet/minecraft/class_3225;
      official b Lnet/minecraft/server/MinecraftServer;b(Lawy;)Lawz;
    • 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
      named getForcedGameMode Lnet/minecraft/server/MinecraftServer;getForcedGameMode()Lnet/minecraft/world/GameMode;
      intermediary method_3761 Lnet/minecraft/server/MinecraftServer;method_3761()Lnet/minecraft/class_1934;
      official bj Lnet/minecraft/server/MinecraftServer;bj()Ldrn;
    • getResourceManager

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

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

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

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

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

      public int getMaxChainedNeighborUpdates()
      Mappings:
      Namespace Name Mixin selector
      named getMaxChainedNeighborUpdates Lnet/minecraft/server/MinecraftServer;getMaxChainedNeighborUpdates()I
      intermediary method_41239 Lnet/minecraft/server/MinecraftServer;method_41239()I
      official bp Lnet/minecraft/server/MinecraftServer;bp()I
    • logChatMessage

      public void logChatMessage(Text message, MessageType.Parameters params, @Nullable @Nullable String prefix)
      Mappings:
      Namespace Name Mixin selector
      named logChatMessage Lnet/minecraft/server/MinecraftServer;logChatMessage(Lnet/minecraft/text/Text;Lnet/minecraft/network/message/MessageType$Parameters;Ljava/lang/String;)V
      intermediary method_43614 Lnet/minecraft/server/MinecraftServer;method_43614(Lnet/minecraft/class_2561;Lnet/minecraft/class_2556$class_7602;Ljava/lang/String;)V
      official a Lnet/minecraft/server/MinecraftServer;a(Lxx;Lxt$a;Ljava/lang/String;)V
    • getMessageDecorator

      public MessageDecorator getMessageDecorator()
      Returns the message decorator used by the server.
      Returns:
      the message decorator used by the server
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named getMessageDecorator Lnet/minecraft/server/MinecraftServer;getMessageDecorator()Lnet/minecraft/network/message/MessageDecorator;
      intermediary method_43929 Lnet/minecraft/server/MinecraftServer;method_43929()Lnet/minecraft/class_7492;
      official bq Lnet/minecraft/server/MinecraftServer;bq()Lxs;
    • shouldLogIps

      public boolean shouldLogIps()
      Mappings:
      Namespace Name Mixin selector
      named shouldLogIps Lnet/minecraft/server/MinecraftServer;shouldLogIps()Z
      intermediary method_52344 Lnet/minecraft/server/MinecraftServer;method_52344()Z
      official br Lnet/minecraft/server/MinecraftServer;br()Z
    • handleCustomClickAction

      public void handleCustomClickAction(Identifier id, Optional<NbtElement> payload)
      Mappings:
      Namespace Name Mixin selector
      named handleCustomClickAction Lnet/minecraft/server/MinecraftServer;handleCustomClickAction(Lnet/minecraft/util/Identifier;Ljava/util/Optional;)V
      intermediary method_71943 Lnet/minecraft/server/MinecraftServer;method_71943(Lnet/minecraft/class_2960;Ljava/util/Optional;)V
      official a Lnet/minecraft/server/MinecraftServer;a(Lamj;Ljava/util/Optional;)V
    • getChunkLoadProgress

      public ChunkLoadProgress getChunkLoadProgress()
      Mappings:
      Namespace Name Mixin selector
      named getChunkLoadProgress Lnet/minecraft/server/MinecraftServer;getChunkLoadProgress()Lnet/minecraft/world/chunk/ChunkLoadProgress;
      intermediary method_73046 Lnet/minecraft/server/MinecraftServer;method_73046()Lnet/minecraft/class_11545;
      official bs Lnet/minecraft/server/MinecraftServer;bs()Laxi;
    • setAutosave

      public boolean setAutosave(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      named setAutosave Lnet/minecraft/server/MinecraftServer;setAutosave(Z)Z
      intermediary method_74061 Lnet/minecraft/server/MinecraftServer;method_74061(Z)Z
      official h Lnet/minecraft/server/MinecraftServer;h(Z)Z
    • getAutosave

      public boolean getAutosave()
      Mappings:
      Namespace Name Mixin selector
      named getAutosave Lnet/minecraft/server/MinecraftServer;getAutosave()Z
      intermediary method_74060 Lnet/minecraft/server/MinecraftServer;method_74060()Z
      official bt Lnet/minecraft/server/MinecraftServer;bt()Z
    • onGameRuleUpdated

      public void onGameRuleUpdated(String untypedGameRuleKey, GameRules.Rule<?> rule)
      Mappings:
      Namespace Name Mixin selector
      named onGameRuleUpdated Lnet/minecraft/server/MinecraftServer;onGameRuleUpdated(Ljava/lang/String;Lnet/minecraft/world/GameRules$Rule;)V
      intermediary method_74058 Lnet/minecraft/server/MinecraftServer;method_74058(Ljava/lang/String;Lnet/minecraft/class_1928$class_4315;)V
      official a Lnet/minecraft/server/MinecraftServer;a(Ljava/lang/String;Ldrm$g;)V
    • acceptsTransfers

      public boolean acceptsTransfers()
      Mappings:
      Namespace Name Mixin selector
      named acceptsTransfers Lnet/minecraft/server/MinecraftServer;acceptsTransfers()Z
      intermediary method_56040 Lnet/minecraft/server/MinecraftServer;method_56040()Z
      official bu Lnet/minecraft/server/MinecraftServer;bu()Z
    • writeChunkIoReport

      private void writeChunkIoReport(CrashReport report, ChunkPos pos, StorageKey key)
      Mappings:
      Namespace Name Mixin selector
      named writeChunkIoReport Lnet/minecraft/server/MinecraftServer;writeChunkIoReport(Lnet/minecraft/util/crash/CrashReport;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/world/storage/StorageKey;)V
      intermediary method_61089 Lnet/minecraft/server/MinecraftServer;method_61089(Lnet/minecraft/class_128;Lnet/minecraft/class_1923;Lnet/minecraft/class_9240;)V
      official a Lnet/minecraft/server/MinecraftServer;a(Lp;Ldqv;Leng;)V
    • onChunkLoadFailure

      public void onChunkLoadFailure(Throwable exception, StorageKey key, ChunkPos chunkPos)
      Specified by:
      onChunkLoadFailure in interface ChunkErrorHandler
      Mappings:
      Namespace Name Mixin selector
      named onChunkLoadFailure Lnet/minecraft/server/world/ChunkErrorHandler;onChunkLoadFailure(Ljava/lang/Throwable;Lnet/minecraft/world/storage/StorageKey;Lnet/minecraft/util/math/ChunkPos;)V
      intermediary method_57821 Lnet/minecraft/class_9820;method_57821(Ljava/lang/Throwable;Lnet/minecraft/class_9240;Lnet/minecraft/class_1923;)V
      official a Lemv;a(Ljava/lang/Throwable;Leng;Ldqv;)V
    • onChunkSaveFailure

      public void onChunkSaveFailure(Throwable exception, StorageKey key, ChunkPos chunkPos)
      Specified by:
      onChunkSaveFailure in interface ChunkErrorHandler
      Mappings:
      Namespace Name Mixin selector
      named onChunkSaveFailure Lnet/minecraft/server/world/ChunkErrorHandler;onChunkSaveFailure(Ljava/lang/Throwable;Lnet/minecraft/world/storage/StorageKey;Lnet/minecraft/util/math/ChunkPos;)V
      intermediary method_57822 Lnet/minecraft/class_9820;method_57822(Ljava/lang/Throwable;Lnet/minecraft/class_9240;Lnet/minecraft/class_1923;)V
      official b Lemv;b(Ljava/lang/Throwable;Leng;Ldqv;)V
    • onPacketException

      public void onPacketException(Throwable exception, PacketType<?> type)
      Mappings:
      Namespace Name Mixin selector
      named onPacketException Lnet/minecraft/server/MinecraftServer;onPacketException(Ljava/lang/Throwable;Lnet/minecraft/network/packet/PacketType;)V
      intermediary method_62733 Lnet/minecraft/server/MinecraftServer;method_62733(Ljava/lang/Throwable;Lnet/minecraft/class_9145;)V
      official a Lnet/minecraft/server/MinecraftServer;a(Ljava/lang/Throwable;Laaq;)V
    • getBrewingRecipeRegistry

      public BrewingRecipeRegistry getBrewingRecipeRegistry()
      Mappings:
      Namespace Name Mixin selector
      named getBrewingRecipeRegistry Lnet/minecraft/server/MinecraftServer;getBrewingRecipeRegistry()Lnet/minecraft/recipe/BrewingRecipeRegistry;
      intermediary method_59777 Lnet/minecraft/server/MinecraftServer;method_59777()Lnet/minecraft/class_1845;
      official bv Lnet/minecraft/server/MinecraftServer;bv()Ldjl;
    • getFuelRegistry

      public FuelRegistry getFuelRegistry()
      Mappings:
      Namespace Name Mixin selector
      named getFuelRegistry Lnet/minecraft/server/MinecraftServer;getFuelRegistry()Lnet/minecraft/item/FuelRegistry;
      intermediary method_62735 Lnet/minecraft/server/MinecraftServer;method_62735()Lnet/minecraft/class_9895;
      official bw Lnet/minecraft/server/MinecraftServer;bw()Lehg;
    • getServerLinks

      public ServerLinks getServerLinks()
      Mappings:
      Namespace Name Mixin selector
      named getServerLinks Lnet/minecraft/server/MinecraftServer;getServerLinks()Lnet/minecraft/server/ServerLinks;
      intermediary method_60672 Lnet/minecraft/server/MinecraftServer;method_60672()Lnet/minecraft/class_9782;
      official bx Lnet/minecraft/server/MinecraftServer;bx()Lanb;
    • getPauseWhenEmptySeconds

      protected int getPauseWhenEmptySeconds()
      Mappings:
      Namespace Name Mixin selector
      named getPauseWhenEmptySeconds Lnet/minecraft/server/MinecraftServer;getPauseWhenEmptySeconds()I
      intermediary method_61255 Lnet/minecraft/server/MinecraftServer;method_61255()I
      official by Lnet/minecraft/server/MinecraftServer;by()I
    • getPacketApplyBatcher

      public PacketApplyBatcher getPacketApplyBatcher()
      Mappings:
      Namespace Name Mixin selector
      named getPacketApplyBatcher Lnet/minecraft/server/MinecraftServer;getPacketApplyBatcher()Lnet/minecraft/network/PacketApplyBatcher;
      intermediary method_74432 Lnet/minecraft/server/MinecraftServer;method_74432()Lnet/minecraft/class_11980;
      official bz Lnet/minecraft/server/MinecraftServer;bz()Lxb;
    • getSubscriberTracker

      public SubscriberTracker getSubscriberTracker()
      Mappings:
      Namespace Name Mixin selector
      named getSubscriberTracker Lnet/minecraft/server/MinecraftServer;getSubscriberTracker()Lnet/minecraft/server/debug/SubscriberTracker;
      intermediary method_74841 Lnet/minecraft/server/MinecraftServer;method_74841()Lnet/minecraft/class_12027;
      official bA Lnet/minecraft/server/MinecraftServer;bA()Lbvx;