Class MinecraftServer

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

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

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

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

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

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

See Also:
Mappings:
Namespace Name
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 k Lnet/minecraft/server/MinecraftServer;k: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 l Lnet/minecraft/server/MinecraftServer;l: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 m Lnet/minecraft/server/MinecraftServer;m: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 n Lnet/minecraft/server/MinecraftServer;n: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 o Lnet/minecraft/server/MinecraftServer;o: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 p Lnet/minecraft/server/MinecraftServer;p: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 q Lnet/minecraft/server/MinecraftServer;q: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 r Lnet/minecraft/server/MinecraftServer;r: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 s Lnet/minecraft/server/MinecraftServer;s: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 t Lnet/minecraft/server/MinecraftServer;t:I
    • field_48466

      private 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 u Lnet/minecraft/server/MinecraftServer;u: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 v Lnet/minecraft/server/MinecraftServer;v: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 w Lnet/minecraft/server/MinecraftServer;w: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 x Lnet/minecraft/server/MinecraftServer;x: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 c Lnet/minecraft/server/MinecraftServer;c: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 d Lnet/minecraft/server/MinecraftServer;d:Ldda;
    • ANONYMOUS_PLAYER_PROFILE

      public static final com.mojang.authlib.GameProfile ANONYMOUS_PLAYER_PROFILE
      Mappings:
      Namespace Name Mixin selector
      named ANONYMOUS_PLAYER_PROFILE Lnet/minecraft/server/MinecraftServer;ANONYMOUS_PLAYER_PROFILE:Lcom/mojang/authlib/GameProfile;
      intermediary field_35641 Lnet/minecraft/server/MinecraftServer;field_35641:Lcom/mojang/authlib/GameProfile;
      official e Lnet/minecraft/server/MinecraftServer;e:Lcom/mojang/authlib/GameProfile;
    • 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 aE Lnet/minecraft/server/MinecraftServer;aE: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 f Lnet/minecraft/server/MinecraftServer;f:Lerf$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 g Lnet/minecraft/server/MinecraftServer;g:Leri;
    • 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 y Lnet/minecraft/server/MinecraftServer;y: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 z Lnet/minecraft/server/MinecraftServer;z:Lbot;
    • profiler

      private Profiler profiler
      Mappings:
      Namespace Name Mixin selector
      named profiler Lnet/minecraft/server/MinecraftServer;profiler:Lnet/minecraft/util/profiler/Profiler;
      intermediary field_16258 Lnet/minecraft/server/MinecraftServer;field_16258:Lnet/minecraft/class_3695;
      official A Lnet/minecraft/server/MinecraftServer;A:Lbnf;
    • 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:Lart;
    • worldGenerationProgressListenerFactory

      private final WorldGenerationProgressListenerFactory worldGenerationProgressListenerFactory
      Mappings:
      Namespace Name Mixin selector
      named worldGenerationProgressListenerFactory Lnet/minecraft/server/MinecraftServer;worldGenerationProgressListenerFactory:Lnet/minecraft/server/WorldGenerationProgressListenerFactory;
      intermediary field_17439 Lnet/minecraft/server/MinecraftServer;field_17439:Lnet/minecraft/class_3950;
      official H Lnet/minecraft/server/MinecraftServer;H:Lare;
    • 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:Lajq;
    • 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:Lajq$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:Layw;
    • 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:Ljt;
    • 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:Laur;
    • 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 h Lnet/minecraft/server/MinecraftServer;h: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
    • pvpEnabled

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

      private boolean flightEnabled
      Mappings:
      Namespace Name Mixin selector
      named flightEnabled Lnet/minecraft/server/MinecraftServer;flightEnabled:Z
      intermediary field_4554 Lnet/minecraft/server/MinecraftServer;field_4554:Z
      official Y Lnet/minecraft/server/MinecraftServer;Y: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 Z Lnet/minecraft/server/MinecraftServer;Z: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 aa Lnet/minecraft/server/MinecraftServer;aa: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 ab Lnet/minecraft/server/MinecraftServer;ab:[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 ac Lnet/minecraft/server/MinecraftServer;ac: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 ad Lnet/minecraft/server/MinecraftServer;ad: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 ae Lnet/minecraft/server/MinecraftServer;ae: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 af Lnet/minecraft/server/MinecraftServer;af: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 ag Lnet/minecraft/server/MinecraftServer;ag: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 ah Lnet/minecraft/server/MinecraftServer;ah: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 i Lnet/minecraft/server/MinecraftServer;i:Lalm;
    • 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 ai Lnet/minecraft/server/MinecraftServer;ai: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 aj Lnet/minecraft/server/MinecraftServer;aj:Ljava/lang/Thread;
    • prevFullTickLogTime

      private long prevFullTickLogTime
      Mappings:
      Namespace Name Mixin selector
      named prevFullTickLogTime Lnet/minecraft/server/MinecraftServer;prevFullTickLogTime:J
      intermediary field_48773 Lnet/minecraft/server/MinecraftServer;field_48773:J
      official ak Lnet/minecraft/server/MinecraftServer;ak: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 al Lnet/minecraft/server/MinecraftServer;al: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 am Lnet/minecraft/server/MinecraftServer;am: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 an Lnet/minecraft/server/MinecraftServer;an:J
    • 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
    • waitingForNextTick

      private boolean waitingForNextTick
      Mappings:
      Namespace Name Mixin selector
      named waitingForNextTick Lnet/minecraft/server/MinecraftServer;waitingForNextTick: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:Latp;
    • 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:Lalk;
    • 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:Leqw;
    • 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:Lalt;
    • 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:Lalg;
    • 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
    • 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 aw Lnet/minecraft/server/MinecraftServer;aw: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 ax Lnet/minecraft/server/MinecraftServer;ax: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 ay Lnet/minecraft/server/MinecraftServer;ay: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 az Lnet/minecraft/server/MinecraftServer;az: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 aA Lnet/minecraft/server/MinecraftServer;aA:Lenu;
    • 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 aB Lnet/minecraft/server/MinecraftServer;aB:Lall;
    • 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 j Lnet/minecraft/server/MinecraftServer;j:Lerl;
    • 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 aC Lnet/minecraft/server/MinecraftServer;aC:Lcwt;
    • 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 aD Lnet/minecraft/server/MinecraftServer;aD:Z
  • Constructor Details

    • MinecraftServer

      public MinecraftServer(Thread serverThread, LevelStorage.Session session, ResourcePackManager dataPackManager, SaveLoader saveLoader, Proxy proxy, com.mojang.datafixers.DataFixer dataFixer, ApiServices apiServices, WorldGenerationProgressListenerFactory worldGenerationProgressListenerFactory)
      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/server/WorldGenerationProgressListenerFactory;)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_3950;)V
      official <init> Lnet/minecraft/server/MinecraftServer;<init>(Ljava/lang/Thread;Lerf$c;Latp;Lalp;Ljava/net/Proxy;Lcom/mojang/datafixers/DataFixer;Lalm;Lare;)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(Leqz;)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
    • 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 t_ Lnet/minecraft/server/MinecraftServer;t_()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 t Lnet/minecraft/server/MinecraftServer;t()V
    • createWorlds

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

      private static void setupSpawn(ServerWorld world, ServerWorldProperties worldProperties, boolean bonusChest, boolean debugWorld)
      Mappings:
      Namespace Name Mixin selector
      named setupSpawn Lnet/minecraft/server/MinecraftServer;setupSpawn(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/level/ServerWorldProperties;ZZ)V
      intermediary method_27901 Lnet/minecraft/server/MinecraftServer;method_27901(Lnet/minecraft/class_3218;Lnet/minecraft/class_5268;ZZ)V
      official a Lnet/minecraft/server/MinecraftServer;a(Laqu;Lerk;ZZ)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(Lerl;)V
    • prepareStartRegion

      private void prepareStartRegion(WorldGenerationProgressListener worldGenerationProgressListener)
      Mappings:
      Namespace Name Mixin selector
      named prepareStartRegion Lnet/minecraft/server/MinecraftServer;prepareStartRegion(Lnet/minecraft/server/WorldGenerationProgressListener;)V
      intermediary method_3774 Lnet/minecraft/server/MinecraftServer;method_3774(Lnet/minecraft/class_3949;)V
      official b Lnet/minecraft/server/MinecraftServer;b(Lard;)V
    • 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 u_ Lnet/minecraft/server/MinecraftServer;u_()Ldct;
    • 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 j Lnet/minecraft/server/MinecraftServer;j()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 MessageListener<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 v Lnet/minecraft/server/MinecraftServer;v()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 w Lnet/minecraft/server/MinecraftServer;w()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 x Lnet/minecraft/server/MinecraftServer;x()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 y Lnet/minecraft/server/MinecraftServer;y()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 br Lnet/minecraft/server/MinecraftServer;br()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 bs Lnet/minecraft/server/MinecraftServer;bs()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 bt Lnet/minecraft/server/MinecraftServer;bt()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 a Lnet/minecraft/server/MinecraftServer;a(Ljava/lang/Throwable;)Lo;
    • 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 bu Lnet/minecraft/server/MinecraftServer;bu()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 z Lnet/minecraft/server/MinecraftServer;z()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 Lbph;b(Ljava/util/function/BooleanSupplier;)V
    • 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 v_ Lnet/minecraft/server/MinecraftServer;v_()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 A Lbph;A()V
    • createTask

      protected ServerTask createTask(Runnable runnable)
      Specified by:
      createTask in class ThreadExecutor<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;)Laln;
    • 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(Laln;)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 B Lbph;B()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 bv Lnet/minecraft/server/MinecraftServer;bv()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(Laln;)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 bD Lnet/minecraft/server/MinecraftServer;bD()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 C Lnet/minecraft/server/MinecraftServer;C()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 D Lnet/minecraft/server/MinecraftServer;D()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(Lo;)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 E Lnet/minecraft/server/MinecraftServer;E()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
    • 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 bE Lnet/minecraft/server/MinecraftServer;bE()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 F Lnet/minecraft/server/MinecraftServer;F()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()Lblu;
    • 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 bF Lnet/minecraft/server/MinecraftServer;bF()Lajq;
    • 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 bG Lnet/minecraft/server/MinecraftServer;bG()Lajq$b;
    • tickWorlds

      public 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
    • 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 b Lnet/minecraft/server/MinecraftServer;b(Laqu;)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 G Lnet/minecraft/server/MinecraftServer;G()V
    • isWorldAllowed

      public boolean isWorldAllowed(World world)
      Mappings:
      Namespace Name Mixin selector
      named isWorldAllowed Lnet/minecraft/server/MinecraftServer;isWorldAllowed(Lnet/minecraft/world/World;)Z
      intermediary method_60671 Lnet/minecraft/server/MinecraftServer;method_60671(Lnet/minecraft/class_1937;)Z
      official a Lnet/minecraft/server/MinecraftServer;a(Ldcw;)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 H Lnet/minecraft/server/MinecraftServer;H()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 I Lnet/minecraft/server/MinecraftServer;I()Laqu;
    • 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(Lakq;)Laqu;
    • 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 J Lnet/minecraft/server/MinecraftServer;J()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 K Lnet/minecraft/server/MinecraftServer;K()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 L Lalh;L()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 M Lalh;M()I
    • getMaxPlayerCount

      public int getMaxPlayerCount()
      Specified by:
      getMaxPlayerCount in interface QueryableServer
      Mappings:
      Namespace Name Mixin selector
      named getMaxPlayerCount Lnet/minecraft/network/QueryableServer;getMaxPlayerCount()I
      intermediary method_3802 Lnet/minecraft/class_8599;method_3802()I
      official N Lalh;N()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 O Lnet/minecraft/server/MinecraftServer;O()[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(Lac;)Lac;
    • 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(Lac;)Lac;
    • 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 P Lnet/minecraft/server/MinecraftServer;P()Layn;
    • 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 Les;a(Lwz;)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 Q Lnet/minecraft/server/MinecraftServer;Q()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 R Lnet/minecraft/server/MinecraftServer;R()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 a Lnet/minecraft/server/MinecraftServer;a(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 S Lnet/minecraft/server/MinecraftServer;S()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 b Lnet/minecraft/server/MinecraftServer;b(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 T Lnet/minecraft/server/MinecraftServer;T()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 U Lnet/minecraft/server/MinecraftServer;U()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(Lbqo;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 b Lnet/minecraft/server/MinecraftServer;b(I)I
    • updateMobSpawnOptions

      private 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 bH Lnet/minecraft/server/MinecraftServer;bH()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(Laqv;)V
    • isMonsterSpawningEnabled

      public boolean isMonsterSpawningEnabled()
      Mappings:
      Namespace Name Mixin selector
      named isMonsterSpawningEnabled Lnet/minecraft/server/MinecraftServer;isMonsterSpawningEnabled()Z
      intermediary method_3783 Lnet/minecraft/server/MinecraftServer;method_3783()Z
      official V Lnet/minecraft/server/MinecraftServer;V()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 W Lnet/minecraft/server/MinecraftServer;W()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
    • 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 X Lnet/minecraft/server/MinecraftServer;X()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 Y Lnet/minecraft/server/MinecraftServer;Y()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 Minecraft Session Service. If this server is singleplayer, such as integrated servers, it will accept unauthenticated players; otherwise, it disconnects such players.
      Returns:
      whether this Minecraft server authenticates players logging in with the Minecraft Session Service
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named isOnlineMode Lnet/minecraft/server/MinecraftServer;isOnlineMode()Z
      intermediary method_3828 Lnet/minecraft/server/MinecraftServer;method_3828()Z
      official Z Lnet/minecraft/server/MinecraftServer;Z()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 aa Lnet/minecraft/server/MinecraftServer;aa()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
    • shouldSpawnAnimals

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

      public boolean shouldSpawnNpcs()
      Mappings:
      Namespace Name Mixin selector
      named shouldSpawnNpcs Lnet/minecraft/server/MinecraftServer;shouldSpawnNpcs()Z
      intermediary method_3736 Lnet/minecraft/server/MinecraftServer;method_3736()Z
      official ac Lnet/minecraft/server/MinecraftServer;ac()Z
    • 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 ad Lnet/minecraft/server/MinecraftServer;ad()Z
    • setPvpEnabled

      public void setPvpEnabled(boolean pvpEnabled)
      Mappings:
      Namespace Name Mixin selector
      named setPvpEnabled Lnet/minecraft/server/MinecraftServer;setPvpEnabled(Z)V
      intermediary method_3815 Lnet/minecraft/server/MinecraftServer;method_3815(Z)V
      official f Lnet/minecraft/server/MinecraftServer;f(Z)V
    • 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 ae Lnet/minecraft/server/MinecraftServer;ae()Z
    • setFlightEnabled

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

      public abstract 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 q Lnet/minecraft/server/MinecraftServer;q()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 af Lalh;af()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 ag Lnet/minecraft/server/MinecraftServer;ag()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 ah Lnet/minecraft/server/MinecraftServer;ah()Laur;
    • 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(Laur;)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 r Lnet/minecraft/server/MinecraftServer;r()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(Ldct;)V
    • 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 ai Lnet/minecraft/server/MinecraftServer;ai()Lart;
    • 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 aj Lnet/minecraft/server/MinecraftServer;aj()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 ak Lnet/minecraft/server/MinecraftServer;ak()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(Ldct;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 al Lnet/minecraft/server/MinecraftServer;al()I
    • getSpawnProtectionRadius

      public int getSpawnProtectionRadius()
      Mappings:
      Namespace Name Mixin selector
      named getSpawnProtectionRadius Lnet/minecraft/server/MinecraftServer;getSpawnProtectionRadius()I
      intermediary method_3841 Lnet/minecraft/server/MinecraftServer;method_3841()I
      official am Lnet/minecraft/server/MinecraftServer;am()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(Laqu;Ljd;Lcmx;)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 an Lnet/minecraft/server/MinecraftServer;an()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 ao Lnet/minecraft/server/MinecraftServer;ao()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 ap Lnet/minecraft/server/MinecraftServer;ap()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 aq Lnet/minecraft/server/MinecraftServer;aq()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 c Lnet/minecraft/server/MinecraftServer;c(I)V
    • getSessionService

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

      @Nullable public @Nullable SignatureVerifier getServicesSignatureVerifier()
      Mappings:
      Namespace Name Mixin selector
      named getServicesSignatureVerifier Lnet/minecraft/server/MinecraftServer;getServicesSignatureVerifier()Lnet/minecraft/network/encryption/SignatureVerifier;
      intermediary method_44301 Lnet/minecraft/server/MinecraftServer;method_44301()Lnet/minecraft/class_7500;
      official as Lnet/minecraft/server/MinecraftServer;as()Lazb;
    • getGameProfileRepo

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

      @Nullable public @Nullable UserCache getUserCache()
      Mappings:
      Namespace Name Mixin selector
      named getUserCache Lnet/minecraft/server/MinecraftServer;getUserCache()Lnet/minecraft/util/UserCache;
      intermediary method_3793 Lnet/minecraft/server/MinecraftServer;method_3793()Lnet/minecraft/class_3312;
      official au Lnet/minecraft/server/MinecraftServer;au()Laun;
    • 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 av Lnet/minecraft/server/MinecraftServer;av()Lajq;
    • 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 aw Lnet/minecraft/server/MinecraftServer;aw()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 ax Lnet/minecraft/server/MinecraftServer;ax()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 ay Lbph;ay()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 Lbph;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 az Lbph;az()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 aA Lnet/minecraft/server/MinecraftServer;aA()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 aB Lnet/minecraft/server/MinecraftServer;aB()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 aC Lnet/minecraft/server/MinecraftServer;aC()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 aD Lnet/minecraft/server/MinecraftServer;aD()Lcom/mojang/datafixers/DataFixer;
    • getSpawnRadius

      public int getSpawnRadius(@Nullable @Nullable ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      named getSpawnRadius Lnet/minecraft/server/MinecraftServer;getSpawnRadius(Lnet/minecraft/server/world/ServerWorld;)I
      intermediary method_3829 Lnet/minecraft/server/MinecraftServer;method_3829(Lnet/minecraft/class_3218;)I
      official a Lnet/minecraft/server/MinecraftServer;a(Laqu;)I
    • 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 aE Lnet/minecraft/server/MinecraftServer;aE()Lale;
    • 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 aF Lnet/minecraft/server/MinecraftServer;aF()Lalg;
    • 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(Latp;Lddr;ZZ)Lddr;
    • 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(Latp;Ljava/util/Collection;Lcpl;Z)Lddr;
    • 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(Latp;Lcpl;)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(Latp;Z)Ldck;
    • kickNonWhitelistedPlayers

      public void kickNonWhitelistedPlayers(ServerCommandSource source)
      Mappings:
      Namespace Name Mixin selector
      named kickNonWhitelistedPlayers Lnet/minecraft/server/MinecraftServer;kickNonWhitelistedPlayers(Lnet/minecraft/server/command/ServerCommandSource;)V
      intermediary method_3728 Lnet/minecraft/server/MinecraftServer;method_3728(Lnet/minecraft/class_2168;)V
      official a Lnet/minecraft/server/MinecraftServer;a(Let;)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 aG Lnet/minecraft/server/MinecraftServer;aG()Latp;
    • 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 aH Lnet/minecraft/server/MinecraftServer;aH()Leu;
    • 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 aI Lnet/minecraft/server/MinecraftServer;aI()Let;
    • 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 k_ Les;k_()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 w_ Les;w_()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 M_ Les;M_()Z
    • getRecipeManager

      public RecipeManager getRecipeManager()
      Mappings:
      Namespace Name Mixin selector
      named getRecipeManager Lnet/minecraft/server/MinecraftServer;getRecipeManager()Lnet/minecraft/recipe/RecipeManager;
      intermediary method_3772 Lnet/minecraft/server/MinecraftServer;method_3772()Lnet/minecraft/class_1863;
      official aJ Lnet/minecraft/server/MinecraftServer;aJ()Lczd;
    • 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 aK Lnet/minecraft/server/MinecraftServer;aK()Lalk;
    • 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 aL Lnet/minecraft/server/MinecraftServer;aL()Leqw;
    • 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 aM Lnet/minecraft/server/MinecraftServer;aM()Ldcs;
    • 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 aN Lnet/minecraft/server/MinecraftServer;aN()Lalt;
    • 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 aO Lnet/minecraft/server/MinecraftServer;aO()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 h Lnet/minecraft/server/MinecraftServer;h(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 aP Lnet/minecraft/server/MinecraftServer;aP()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 aQ Lnet/minecraft/server/MinecraftServer;aQ()Lall;
    • 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 aR Lnet/minecraft/server/MinecraftServer;aR()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 aS Lnet/minecraft/server/MinecraftServer;aS()[J
    • getPermissionLevel

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

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

      public abstract boolean isHost(com.mojang.authlib.GameProfile profile)
      Mappings:
      Namespace Name Mixin selector
      named isHost Lnet/minecraft/server/MinecraftServer;isHost(Lcom/mojang/authlib/GameProfile;)Z
      intermediary method_19466 Lnet/minecraft/server/MinecraftServer;method_19466(Lcom/mojang/authlib/GameProfile;)Z
      official a Lnet/minecraft/server/MinecraftServer;a(Lcom/mojang/authlib/GameProfile;)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 void startTickMetrics()
      Mappings:
      Namespace Name Mixin selector
      named startTickMetrics Lnet/minecraft/server/MinecraftServer;startTickMetrics()V
      intermediary method_24487 Lnet/minecraft/server/MinecraftServer;method_24487()V
      official bI Lnet/minecraft/server/MinecraftServer;bI()V
    • 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 aU Lnet/minecraft/server/MinecraftServer;aU()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 aV Lnet/minecraft/server/MinecraftServer;aV()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 aW Lnet/minecraft/server/MinecraftServer;aW()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 aX Lnet/minecraft/server/MinecraftServer;aX()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 aY Lnet/minecraft/server/MinecraftServer;aY()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(Lerd;)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 aZ Lnet/minecraft/server/MinecraftServer;aZ()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 ba Lnet/minecraft/server/MinecraftServer;ba()Lenu;
    • 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 bb Lnet/minecraft/server/MinecraftServer;bb()Lerl;
    • 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 bc Lnet/minecraft/server/MinecraftServer;bc()Lka$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 bd Lnet/minecraft/server/MinecraftServer;bd()Ljt;
    • 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 be Lnet/minecraft/server/MinecraftServer;be()Lalb$b;
    • 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(Laqv;)Larz;
    • 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(Laqv;)Laqw;
    • 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 bf Lnet/minecraft/server/MinecraftServer;bf()Ldct;
    • 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 bg Lnet/minecraft/server/MinecraftServer;bg()Laue;
    • 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 bh Lnet/minecraft/server/MinecraftServer;bh()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 bi Lnet/minecraft/server/MinecraftServer;bi()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 bj Lnet/minecraft/server/MinecraftServer;bj()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 bk Lnet/minecraft/server/MinecraftServer;bk()Lbne;
    • 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 bl Lnet/minecraft/server/MinecraftServer;bl()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(Lwz;Lwv$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 bm Lnet/minecraft/server/MinecraftServer;bm()Lwu;
    • 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 bn Lnet/minecraft/server/MinecraftServer;bn()Z
    • subscribeToDebugSample

      public void subscribeToDebugSample(ServerPlayerEntity player, DebugSampleType type)
      Mappings:
      Namespace Name Mixin selector
      named subscribeToDebugSample Lnet/minecraft/server/MinecraftServer;subscribeToDebugSample(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/util/profiler/log/DebugSampleType;)V
      intermediary method_56625 Lnet/minecraft/server/MinecraftServer;method_56625(Lnet/minecraft/class_3222;Lnet/minecraft/class_9192;)V
      official a Lnet/minecraft/server/MinecraftServer;a(Laqv;Lbls;)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 bo Lnet/minecraft/server/MinecraftServer;bo()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(Lo;Ldcd;Ldws;)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 Ldwg;a(Ljava/lang/Throwable;Ldws;Ldcd;)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 Ldwg;b(Ljava/lang/Throwable;Ldws;Ldcd;)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 bp Lnet/minecraft/server/MinecraftServer;bp()Lcwt;
    • 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 bq Lnet/minecraft/server/MinecraftServer;bq()Lalj;