Class MinecraftServer
- All Implemented Interfaces:
AutoCloseable,Executor,CommandOutput,MessageListener<ServerTask>,SampleableExecutor
- Direct Known Subclasses:
IntegratedServer,MinecraftDedicatedServer,TestServer
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 intermediary net/minecraft/server/MinecraftServerofficial net/minecraft/server/MinecraftServernamed net/minecraft/server/MinecraftServer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static final recordstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.authlib.GameProfileprotected final ApiServicesprivate final BossBarManagerprivate final CombinedDynamicRegistries<ServerDynamicRegistryType>private final CommandFunctionManagerprivate @Nullable DataCommandStorageprivate final com.mojang.datafixers.DataFixerprivate final ResourcePackManagerprivate @Nullable MinecraftServer.DebugStartprivate booleanstatic final LevelInfoprivate booleanprivate ServerMetadata.Faviconstatic final intprivate static final floatprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate booleanprivate @Nullable com.mojang.authlib.GameProfileprivate longfinal long[]private longprivate booleanprivate static final Loggerstatic final intprivate @Nullable ServerMetadataprivate final MetricsDataprivate static final longprivate booleanprivate booleanprivate final ServerNetworkIoprivate longprivate booleanprivate static final longprivate intprivate PlayerManagerprivate booleanprivate Profilerprotected final Proxyprivate booleanprivate final Randomprivate Recorderprivate Consumer<ProfileResult>private booleanprotected final WorldSaveHandlerprotected final SavePropertiesprivate booleanprivate final ServerScoreboardprivate Stringprivate intprivate final Threadprotected final LevelStorage.Sessionstatic final intprivate static final intprivate booleanprivate final StructureTemplateManagerprivate intprivate floatprivate longstatic final Stringprivate booleanprivate final Executorprivate final WorldGenerationProgressListenerFactoryprivate final Map<RegistryKey<World>,ServerWorld> Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY -
Constructor Summary
ConstructorsConstructorDescriptionMinecraftServer(Thread serverThread, LevelStorage.Session session, ResourcePackManager dataPackManager, SaveLoader saveLoader, Proxy proxy, com.mojang.datafixers.DataFixer dataFixer, ApiServices apiServices, WorldGenerationProgressListenerFactory worldGenerationProgressListenerFactory) -
Method Summary
Modifier and TypeMethodDescriptionbooleanabstract SystemDetailsaddExtraSystemDetails(SystemDetails details) voidaddServerGuiTickable(Runnable tickable) addSystemDetails(SystemDetails details) intadjustTrackingDistance(int initialDistance) abstract booleanSpecifies whether command blocks can execute commands on the server.protected booleancanExecute(ServerTask serverTask) voidclose()private static CrashReportcreateCrashReport(Throwable throwable) private static DataPackSettingscreateDataPackSettings(ResourcePackManager dataPackManager) createFilterer(ServerPlayerEntity player) private ServerMetadataprivate ServerMetadata.Playersprotected ServerTaskcreateTask(Runnable runnable) protected voidcreateWorlds(WorldGenerationProgressListener worldGenerationProgressListener) private voidprivate voiddumpClasspath(Path path) private voiddumpGamerules(Path path) private voiddumpNativeModules(Path path) voiddumpProperties(Path file) private voidprivate voiddumpThreads(Path path) private voidvoidexecuteSync(Runnable runnable) protected voidexecuteTask(ServerTask serverTask) voidexit()voidvoidprotected voidGets the server's command manager.Creates a command source which represents this Minecraft server instance.intcom.mojang.datafixers.DataFixerReturns the game mode a player should be set to when connecting to the server, ornullif none is set.abstract intcom.mojang.authlib.GameProfileRepository@Nullable com.mojang.authlib.GameProfileintintintReturns the message decorator used by the server.intabstract intfinal ServerWorldintgetPermissionLevel(com.mojang.authlib.GameProfile profile) intString[]getProxy()abstract intgetSavePath(WorldSavePath worldSavePath) intcom.mojang.authlib.minecraft.MinecraftSessionServiceintintgetSpawnRadius(@Nullable ServerWorld world) intgetTicks()Gets the amount of ticks the server has been running for.floatlonggetWorld(RegistryKey<World> key) booleanhasGui()booleanprivate voidinitScoreboard(PersistentStateManager persistentStateManager) booleanabstract booleanChecks whether this server is a dedicated server.booleanisDemo()booleanbooleanbooleanabstract booleanisHost(com.mojang.authlib.GameProfile profile) booleanbooleanbooleanbooleanReturns whether this Minecraft server authenticates players logging in with the Minecraft Session Service.booleanbooleanabstract booleanisRemote()booleanbooleanisSaving()booleanReturns whether this server is a singleplayer server.booleanisSpawnProtected(ServerWorld world, BlockPos pos, PlayerEntity player) booleanbooleanabstract booleanvoidstatic DataConfigurationloadDataPacks(ResourcePackManager resourcePackManager, DataPackSettings dataPackSettings, boolean safeMode, FeatureSet enabledFeatures) private Optional<ServerMetadata.Favicon>protected voidvoidlogChatMessage(Text message, MessageType.Parameters params, @Nullable String prefix) booleanOpens a server for LAN connections.private voidprepareStartRegion(WorldGenerationProgressListener worldGenerationProgressListener) reloadResources(Collection<String> dataPacks) Reloads this server's data packs.booleanvoidprivate booleanprotected voidbooleanrunTask()protected voidbooleansave(boolean suppressLogs, boolean flush, boolean force) Saves the server to the data storage device.booleansaveAll(boolean suppressLogs, boolean flush, boolean force) private voidsendDifficulty(ServerPlayerEntity player) voidsendMessage(Text message) Sends a system message.voidprivate voidsendTimeUpdatePackets(ServerWorld world) voidsetCrashReport(CrashReport report) voidsetDefaultGameMode(GameMode gameMode) voidsetDemo(boolean demo) voidsetDifficulty(Difficulty difficulty, boolean forceUpdate) voidsetDifficultyLocked(boolean locked) voidsetEnforceWhitelist(boolean enforceWhitelist) voidsetFlightEnabled(boolean flightEnabled) voidsetHostProfile(@Nullable com.mojang.authlib.GameProfile hostProfile) voidvoidsetOnlineMode(boolean onlineMode) Sets whether this server is in the online mode, or whether it authenticates connecting players with the Minecraft Session Service.voidsetPlayerIdleTimeout(int playerIdleTimeout) voidsetPlayerManager(PlayerManager playerManager) voidsetPreventProxyConnections(boolean preventProxyConnections) voidsetPvpEnabled(boolean pvpEnabled) protected voidsetServerId(String serverId) voidsetServerIp(String serverIp) voidsetServerPort(int serverPort) private voidsetToDebugWorldProperties(SaveProperties properties) voidsetupRecorder(Consumer<ProfileResult> resultConsumer, Consumer<Path> dumpConsumer) protected abstract booleanSetups a Minecraft server to be ready for players to connect.private static voidsetupSpawn(ServerWorld world, ServerWorldProperties worldProperties, boolean bonusChest, boolean debugWorld) abstract booleanabstract booleanbooleanbooleanprivate booleanbooleanbooleanbooleanbooleanbooleanvoidshutdown()voidstatic <S extends MinecraftServer>
SstartServer(Function<Thread, S> serverFactory) private voidvoidstop(boolean waitForShutdown) Stops this server.voidbooleanvoidtick(BooleanSupplier shouldKeepTicking) voidtickWorlds(BooleanSupplier shouldKeepTicking) protected voidprivate voidMethods inherited from class net.minecraft.util.thread.ReentrantThreadExecutor
hasRunningTasksMethods inherited from class net.minecraft.util.thread.ThreadExecutor
cancelTasks, createSamplers, execute, getName, getTaskCount, isOnThread, runTasks, runTasks, send, submit, submit, submitAndJoin, waitForTasksMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilencedMethods inherited from interface net.minecraft.util.thread.MessageListener
ask, askFallible
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector intermediary field_4546Lnet/minecraft/server/MinecraftServer;field_4546:Lorg/slf4j/Logger;official nLnet/minecraft/server/MinecraftServer;n:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/server/MinecraftServer;LOGGER:Lorg/slf4j/Logger;
-
VANILLA
- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_34982Lnet/minecraft/server/MinecraftServer;field_34982:Ljava/lang/String;official bLnet/minecraft/server/MinecraftServer;b:Ljava/lang/String;named VANILLALnet/minecraft/server/MinecraftServer;VANILLA:Ljava/lang/String;
-
field_33212
private static final float field_33212- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_33212Lnet/minecraft/server/MinecraftServer;field_33212:Fofficial oLnet/minecraft/server/MinecraftServer;o:Fnamed field_33212Lnet/minecraft/server/MinecraftServer;field_33212:F
-
field_33213
private static final int field_33213- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_33213Lnet/minecraft/server/MinecraftServer;field_33213:Iofficial pLnet/minecraft/server/MinecraftServer;p:Inamed field_33213Lnet/minecraft/server/MinecraftServer;field_33213:I
-
field_33206
public static final int field_33206- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_33206Lnet/minecraft/server/MinecraftServer;field_33206:Iofficial cLnet/minecraft/server/MinecraftServer;c:Inamed field_33206Lnet/minecraft/server/MinecraftServer;field_33206:I
-
field_33215
private static final int field_33215- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_33215Lnet/minecraft/server/MinecraftServer;field_33215:Iofficial qLnet/minecraft/server/MinecraftServer;q:Inamed field_33215Lnet/minecraft/server/MinecraftServer;field_33215:I
-
field_33216
private static final int field_33216- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_33216Lnet/minecraft/server/MinecraftServer;field_33216:Iofficial rLnet/minecraft/server/MinecraftServer;r:Inamed field_33216Lnet/minecraft/server/MinecraftServer;field_33216:I
-
PLAYER_SAMPLE_UPDATE_INTERVAL
private static final long PLAYER_SAMPLE_UPDATE_INTERVAL- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_33217Lnet/minecraft/server/MinecraftServer;field_33217:Jofficial sLnet/minecraft/server/MinecraftServer;s:Jnamed PLAYER_SAMPLE_UPDATE_INTERVALLnet/minecraft/server/MinecraftServer;PLAYER_SAMPLE_UPDATE_INTERVAL:J
-
field_33218
private static final int field_33218- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_33218Lnet/minecraft/server/MinecraftServer;field_33218:Iofficial tLnet/minecraft/server/MinecraftServer;t:Inamed field_33218Lnet/minecraft/server/MinecraftServer;field_33218:I
-
START_TICKET_CHUNK_RADIUS
public static final int START_TICKET_CHUNK_RADIUS- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_33210Lnet/minecraft/server/MinecraftServer;field_33210:Iofficial dLnet/minecraft/server/MinecraftServer;d:Inamed START_TICKET_CHUNK_RADIUSLnet/minecraft/server/MinecraftServer;START_TICKET_CHUNK_RADIUS:I
-
START_TICKET_CHUNKS
private static final int START_TICKET_CHUNKS- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_33219Lnet/minecraft/server/MinecraftServer;field_33219:Iofficial uLnet/minecraft/server/MinecraftServer;u:Inamed START_TICKET_CHUNKSLnet/minecraft/server/MinecraftServer;START_TICKET_CHUNKS:I
-
field_33220
private static final int field_33220- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_33220Lnet/minecraft/server/MinecraftServer;field_33220:Iofficial vLnet/minecraft/server/MinecraftServer;v:Inamed field_33220Lnet/minecraft/server/MinecraftServer;field_33220:I
-
field_33221
private static final int field_33221- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_33221Lnet/minecraft/server/MinecraftServer;field_33221:Iofficial wLnet/minecraft/server/MinecraftServer;w:Inamed field_33221Lnet/minecraft/server/MinecraftServer;field_33221:I
-
MAX_WORLD_BORDER_RADIUS
public static final int MAX_WORLD_BORDER_RADIUS- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_33211Lnet/minecraft/server/MinecraftServer;field_33211:Iofficial eLnet/minecraft/server/MinecraftServer;e:Inamed MAX_WORLD_BORDER_RADIUSLnet/minecraft/server/MinecraftServer;MAX_WORLD_BORDER_RADIUS:I
-
DEMO_LEVEL_INFO
- Mappings:
Namespace Name Mixin selector intermediary field_17704Lnet/minecraft/server/MinecraftServer;field_17704:Lnet/minecraft/class_1940;official fLnet/minecraft/server/MinecraftServer;f:Lcmo;named DEMO_LEVEL_INFOLnet/minecraft/server/MinecraftServer;DEMO_LEVEL_INFO:Lnet/minecraft/world/level/LevelInfo;
-
MILLISECONDS_PER_TICK
private static final long MILLISECONDS_PER_TICK- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_33205Lnet/minecraft/server/MinecraftServer;field_33205:Jofficial xLnet/minecraft/server/MinecraftServer;x:Jnamed MILLISECONDS_PER_TICKLnet/minecraft/server/MinecraftServer;MILLISECONDS_PER_TICK:J
-
ANONYMOUS_PLAYER_PROFILE
public static final com.mojang.authlib.GameProfile ANONYMOUS_PLAYER_PROFILE- Mappings:
Namespace Name Mixin selector intermediary field_35641Lnet/minecraft/server/MinecraftServer;field_35641:Lcom/mojang/authlib/GameProfile;official gLnet/minecraft/server/MinecraftServer;g:Lcom/mojang/authlib/GameProfile;named ANONYMOUS_PLAYER_PROFILELnet/minecraft/server/MinecraftServer;ANONYMOUS_PLAYER_PROFILE:Lcom/mojang/authlib/GameProfile;
-
session
- Mappings:
Namespace Name Mixin selector intermediary field_23784Lnet/minecraft/server/MinecraftServer;field_23784:Lnet/minecraft/class_32$class_5143;official hLnet/minecraft/server/MinecraftServer;h:Ldyv$c;named sessionLnet/minecraft/server/MinecraftServer;session:Lnet/minecraft/world/level/storage/LevelStorage$Session;
-
saveHandler
- Mappings:
Namespace Name Mixin selector intermediary field_24371Lnet/minecraft/server/MinecraftServer;field_24371:Lnet/minecraft/class_29;official iLnet/minecraft/server/MinecraftServer;i:Ldyy;named saveHandlerLnet/minecraft/server/MinecraftServer;saveHandler:Lnet/minecraft/world/WorldSaveHandler;
-
serverGuiTickables
- Mappings:
Namespace Name Mixin selector intermediary field_4568Lnet/minecraft/server/MinecraftServer;field_4568:Ljava/util/List;official yLnet/minecraft/server/MinecraftServer;y:Ljava/util/List;named serverGuiTickablesLnet/minecraft/server/MinecraftServer;serverGuiTickables:Ljava/util/List;
-
recorder
- Mappings:
Namespace Name Mixin selector intermediary field_22250Lnet/minecraft/server/MinecraftServer;field_22250:Lnet/minecraft/class_5962;official zLnet/minecraft/server/MinecraftServer;z:Lbby;named recorderLnet/minecraft/server/MinecraftServer;recorder:Lnet/minecraft/util/profiler/Recorder;
-
profiler
- Mappings:
Namespace Name Mixin selector intermediary field_16258Lnet/minecraft/server/MinecraftServer;field_16258:Lnet/minecraft/class_3695;official ALnet/minecraft/server/MinecraftServer;A:Lbam;named profilerLnet/minecraft/server/MinecraftServer;profiler:Lnet/minecraft/util/profiler/Profiler;
-
recorderResultConsumer
- Mappings:
Namespace Name Mixin selector intermediary field_33975Lnet/minecraft/server/MinecraftServer;field_33975:Ljava/util/function/Consumer;official BLnet/minecraft/server/MinecraftServer;B:Ljava/util/function/Consumer;named recorderResultConsumerLnet/minecraft/server/MinecraftServer;recorderResultConsumer:Ljava/util/function/Consumer;
-
recorderDumpConsumer
- Mappings:
Namespace Name Mixin selector intermediary field_33976Lnet/minecraft/server/MinecraftServer;field_33976:Ljava/util/function/Consumer;official CLnet/minecraft/server/MinecraftServer;C:Ljava/util/function/Consumer;named recorderDumpConsumerLnet/minecraft/server/MinecraftServer;recorderDumpConsumer:Ljava/util/function/Consumer;
-
needsRecorderSetup
private boolean needsRecorderSetup- Mappings:
Namespace Name Mixin selector intermediary field_33977Lnet/minecraft/server/MinecraftServer;field_33977:Zofficial DLnet/minecraft/server/MinecraftServer;D:Znamed needsRecorderSetupLnet/minecraft/server/MinecraftServer;needsRecorderSetup:Z
-
debugStart
- Mappings:
Namespace Name Mixin selector intermediary field_33978Lnet/minecraft/server/MinecraftServer;field_33978:Lnet/minecraft/server/MinecraftServer$class_6414;official ELnet/minecraft/server/MinecraftServer;E:Lnet/minecraft/server/MinecraftServer$c;named debugStartLnet/minecraft/server/MinecraftServer;debugStart:Lnet/minecraft/server/MinecraftServer$DebugStart;
-
needsDebugSetup
private boolean needsDebugSetup- Mappings:
Namespace Name Mixin selector intermediary field_33979Lnet/minecraft/server/MinecraftServer;field_33979:Zofficial FLnet/minecraft/server/MinecraftServer;F:Znamed needsDebugSetupLnet/minecraft/server/MinecraftServer;needsDebugSetup:Z
-
networkIo
- Mappings:
Namespace Name Mixin selector intermediary field_4563Lnet/minecraft/server/MinecraftServer;field_4563:Lnet/minecraft/class_3242;official GLnet/minecraft/server/MinecraftServer;G:Laix;named networkIoLnet/minecraft/server/MinecraftServer;networkIo:Lnet/minecraft/server/ServerNetworkIo;
-
worldGenerationProgressListenerFactory
- Mappings:
Namespace Name Mixin selector intermediary field_17439Lnet/minecraft/server/MinecraftServer;field_17439:Lnet/minecraft/class_3950;official HLnet/minecraft/server/MinecraftServer;H:Laip;named worldGenerationProgressListenerFactoryLnet/minecraft/server/MinecraftServer;worldGenerationProgressListenerFactory:Lnet/minecraft/server/WorldGenerationProgressListenerFactory;
-
metadata
- Mappings:
Namespace Name Mixin selector intermediary field_4593Lnet/minecraft/server/MinecraftServer;field_4593:Lnet/minecraft/class_2926;official ILnet/minecraft/server/MinecraftServer;I:Labt;named metadataLnet/minecraft/server/MinecraftServer;metadata:Lnet/minecraft/server/ServerMetadata;
-
favicon
- Mappings:
Namespace Name Mixin selector intermediary field_42958Lnet/minecraft/server/MinecraftServer;field_42958:Lnet/minecraft/class_2926$class_8145;official JLnet/minecraft/server/MinecraftServer;J:Labt$a;named faviconLnet/minecraft/server/MinecraftServer;favicon:Lnet/minecraft/server/ServerMetadata$Favicon;
-
random
- Mappings:
Namespace Name Mixin selector intermediary field_4602Lnet/minecraft/server/MinecraftServer;field_4602:Lnet/minecraft/class_5819;official KLnet/minecraft/server/MinecraftServer;K:Lapf;named randomLnet/minecraft/server/MinecraftServer;random:Lnet/minecraft/util/math/random/Random;
-
dataFixer
private final com.mojang.datafixers.DataFixer dataFixer- Mappings:
Namespace Name Mixin selector intermediary field_4587Lnet/minecraft/server/MinecraftServer;field_4587:Lcom/mojang/datafixers/DataFixer;official LLnet/minecraft/server/MinecraftServer;L:Lcom/mojang/datafixers/DataFixer;named dataFixerLnet/minecraft/server/MinecraftServer;dataFixer:Lcom/mojang/datafixers/DataFixer;
-
serverIp
- Mappings:
Namespace Name Mixin selector intermediary field_4585Lnet/minecraft/server/MinecraftServer;field_4585:Ljava/lang/String;official MLnet/minecraft/server/MinecraftServer;M:Ljava/lang/String;named serverIpLnet/minecraft/server/MinecraftServer;serverIp:Ljava/lang/String;
-
serverPort
private int serverPort- Mappings:
Namespace Name Mixin selector intermediary field_4555Lnet/minecraft/server/MinecraftServer;field_4555:Iofficial NLnet/minecraft/server/MinecraftServer;N:Inamed serverPortLnet/minecraft/server/MinecraftServer;serverPort:I
-
combinedDynamicRegistries
- Mappings:
Namespace Name Mixin selector intermediary field_25132Lnet/minecraft/server/MinecraftServer;field_25132:Lnet/minecraft/class_7780;official OLnet/minecraft/server/MinecraftServer;O:Lhl;named combinedDynamicRegistriesLnet/minecraft/server/MinecraftServer;combinedDynamicRegistries:Lnet/minecraft/registry/CombinedDynamicRegistries;
-
worlds
- Mappings:
Namespace Name Mixin selector intermediary field_4589Lnet/minecraft/server/MinecraftServer;field_4589:Ljava/util/Map;official PLnet/minecraft/server/MinecraftServer;P:Ljava/util/Map;named worldsLnet/minecraft/server/MinecraftServer;worlds:Ljava/util/Map;
-
playerManager
- Mappings:
Namespace Name Mixin selector intermediary field_4550Lnet/minecraft/server/MinecraftServer;field_4550:Lnet/minecraft/class_3324;official QLnet/minecraft/server/MinecraftServer;Q:Lalk;named playerManagerLnet/minecraft/server/MinecraftServer;playerManager:Lnet/minecraft/server/PlayerManager;
-
running
private volatile boolean running- Mappings:
Namespace Name Mixin selector intermediary field_4544Lnet/minecraft/server/MinecraftServer;field_4544:Zofficial RLnet/minecraft/server/MinecraftServer;R:Znamed runningLnet/minecraft/server/MinecraftServer;running:Z
-
stopped
private boolean stopped- Mappings:
Namespace Name Mixin selector intermediary field_4561Lnet/minecraft/server/MinecraftServer;field_4561:Zofficial SLnet/minecraft/server/MinecraftServer;S:Znamed stoppedLnet/minecraft/server/MinecraftServer;stopped:Z
-
ticks
private int ticks- Mappings:
Namespace Name Mixin selector intermediary field_4572Lnet/minecraft/server/MinecraftServer;field_4572:Iofficial TLnet/minecraft/server/MinecraftServer;T:Inamed ticksLnet/minecraft/server/MinecraftServer;ticks:I
-
proxy
- Mappings:
Namespace Name Mixin selector intermediary field_4599Lnet/minecraft/server/MinecraftServer;field_4599:Ljava/net/Proxy;official jLnet/minecraft/server/MinecraftServer;j:Ljava/net/Proxy;named proxyLnet/minecraft/server/MinecraftServer;proxy:Ljava/net/Proxy;
-
onlineMode
private boolean onlineMode- Mappings:
Namespace Name Mixin selector intermediary field_4543Lnet/minecraft/server/MinecraftServer;field_4543:Zofficial ULnet/minecraft/server/MinecraftServer;U:Znamed onlineModeLnet/minecraft/server/MinecraftServer;onlineMode:Z
-
preventProxyConnections
private boolean preventProxyConnections- Mappings:
Namespace Name Mixin selector intermediary field_4560Lnet/minecraft/server/MinecraftServer;field_4560:Zofficial VLnet/minecraft/server/MinecraftServer;V:Znamed preventProxyConnectionsLnet/minecraft/server/MinecraftServer;preventProxyConnections:Z
-
pvpEnabled
private boolean pvpEnabled- Mappings:
Namespace Name Mixin selector intermediary field_4604Lnet/minecraft/server/MinecraftServer;field_4604:Zofficial WLnet/minecraft/server/MinecraftServer;W:Znamed pvpEnabledLnet/minecraft/server/MinecraftServer;pvpEnabled:Z
-
flightEnabled
private boolean flightEnabled- Mappings:
Namespace Name Mixin selector intermediary field_4554Lnet/minecraft/server/MinecraftServer;field_4554:Zofficial XLnet/minecraft/server/MinecraftServer;X:Znamed flightEnabledLnet/minecraft/server/MinecraftServer;flightEnabled:Z
-
motd
- Mappings:
Namespace Name Mixin selector intermediary field_4564Lnet/minecraft/server/MinecraftServer;field_4564:Ljava/lang/String;official YLnet/minecraft/server/MinecraftServer;Y:Ljava/lang/String;named motdLnet/minecraft/server/MinecraftServer;motd:Ljava/lang/String;
-
playerIdleTimeout
private int playerIdleTimeout- Mappings:
Namespace Name Mixin selector intermediary field_4596Lnet/minecraft/server/MinecraftServer;field_4596:Iofficial ZLnet/minecraft/server/MinecraftServer;Z:Inamed playerIdleTimeoutLnet/minecraft/server/MinecraftServer;playerIdleTimeout:I
-
lastTickLengths
public final long[] lastTickLengths- Mappings:
Namespace Name Mixin selector intermediary field_4573Lnet/minecraft/server/MinecraftServer;field_4573:[Jofficial kLnet/minecraft/server/MinecraftServer;k:[Jnamed lastTickLengthsLnet/minecraft/server/MinecraftServer;lastTickLengths:[J
-
keyPair
- Mappings:
Namespace Name Mixin selector intermediary field_4552Lnet/minecraft/server/MinecraftServer;field_4552:Ljava/security/KeyPair;official aaLnet/minecraft/server/MinecraftServer;aa:Ljava/security/KeyPair;named keyPairLnet/minecraft/server/MinecraftServer;keyPair:Ljava/security/KeyPair;
-
hostProfile
- Mappings:
Namespace Name Mixin selector intermediary field_39214Lnet/minecraft/server/MinecraftServer;field_39214:Lcom/mojang/authlib/GameProfile;official abLnet/minecraft/server/MinecraftServer;ab:Lcom/mojang/authlib/GameProfile;named hostProfileLnet/minecraft/server/MinecraftServer;hostProfile:Lcom/mojang/authlib/GameProfile;
-
demo
private boolean demo- Mappings:
Namespace Name Mixin selector intermediary field_4549Lnet/minecraft/server/MinecraftServer;field_4549:Zofficial acLnet/minecraft/server/MinecraftServer;ac:Znamed demoLnet/minecraft/server/MinecraftServer;demo:Z
-
loading
private volatile boolean loading- Mappings:
Namespace Name Mixin selector intermediary field_4547Lnet/minecraft/server/MinecraftServer;field_4547:Zofficial adLnet/minecraft/server/MinecraftServer;ad:Znamed loadingLnet/minecraft/server/MinecraftServer;loading:Z
-
lastTimeReference
private long lastTimeReference- Mappings:
Namespace Name Mixin selector intermediary field_4557Lnet/minecraft/server/MinecraftServer;field_4557:Jofficial aeLnet/minecraft/server/MinecraftServer;ae:Jnamed lastTimeReferenceLnet/minecraft/server/MinecraftServer;lastTimeReference:J
-
apiServices
- Mappings:
Namespace Name Mixin selector intermediary field_39440Lnet/minecraft/server/MinecraftServer;field_39440:Lnet/minecraft/class_7497;official lLnet/minecraft/server/MinecraftServer;l:Ladh;named apiServicesLnet/minecraft/server/MinecraftServer;apiServices:Lnet/minecraft/util/ApiServices;
-
lastPlayerSampleUpdate
private long lastPlayerSampleUpdate- Mappings:
Namespace Name Mixin selector intermediary field_4551Lnet/minecraft/server/MinecraftServer;field_4551:Jofficial afLnet/minecraft/server/MinecraftServer;af:Jnamed lastPlayerSampleUpdateLnet/minecraft/server/MinecraftServer;lastPlayerSampleUpdate:J
-
serverThread
- Mappings:
Namespace Name Mixin selector intermediary field_16257Lnet/minecraft/server/MinecraftServer;field_16257:Ljava/lang/Thread;official agLnet/minecraft/server/MinecraftServer;ag:Ljava/lang/Thread;named serverThreadLnet/minecraft/server/MinecraftServer;serverThread:Ljava/lang/Thread;
-
timeReference
private long timeReference- Mappings:
Namespace Name Mixin selector intermediary field_4571Lnet/minecraft/server/MinecraftServer;field_4571:Jofficial ahLnet/minecraft/server/MinecraftServer;ah:Jnamed timeReferenceLnet/minecraft/server/MinecraftServer;timeReference:J
-
nextTickTimestamp
private long nextTickTimestamp- Mappings:
Namespace Name Mixin selector intermediary field_19248Lnet/minecraft/server/MinecraftServer;field_19248:Jofficial aiLnet/minecraft/server/MinecraftServer;ai:Jnamed nextTickTimestampLnet/minecraft/server/MinecraftServer;nextTickTimestamp:J
-
waitingForNextTick
private boolean waitingForNextTick- Mappings:
Namespace Name Mixin selector intermediary field_19249Lnet/minecraft/server/MinecraftServer;field_19249:Zofficial ajLnet/minecraft/server/MinecraftServer;aj:Znamed waitingForNextTickLnet/minecraft/server/MinecraftServer;waitingForNextTick:Z
-
dataPackManager
- Mappings:
Namespace Name Mixin selector intermediary field_4595Lnet/minecraft/server/MinecraftServer;field_4595:Lnet/minecraft/class_3283;official akLnet/minecraft/server/MinecraftServer;ak:Laki;named dataPackManagerLnet/minecraft/server/MinecraftServer;dataPackManager:Lnet/minecraft/resource/ResourcePackManager;
-
scoreboard
- Mappings:
Namespace Name Mixin selector intermediary field_4558Lnet/minecraft/server/MinecraftServer;field_4558:Lnet/minecraft/class_2995;official alLnet/minecraft/server/MinecraftServer;al:Ladg;named scoreboardLnet/minecraft/server/MinecraftServer;scoreboard:Lnet/minecraft/scoreboard/ServerScoreboard;
-
dataCommandStorage
- Mappings:
Namespace Name Mixin selector intermediary field_20850Lnet/minecraft/server/MinecraftServer;field_20850:Lnet/minecraft/class_4565;official amLnet/minecraft/server/MinecraftServer;am:Ldyo;named dataCommandStorageLnet/minecraft/server/MinecraftServer;dataCommandStorage:Lnet/minecraft/command/DataCommandStorage;
-
bossBarManager
- Mappings:
Namespace Name Mixin selector intermediary field_4548Lnet/minecraft/server/MinecraftServer;field_4548:Lnet/minecraft/class_3004;official anLnet/minecraft/server/MinecraftServer;an:Lado;named bossBarManagerLnet/minecraft/server/MinecraftServer;bossBarManager:Lnet/minecraft/entity/boss/BossBarManager;
-
commandFunctionManager
- Mappings:
Namespace Name Mixin selector intermediary field_4591Lnet/minecraft/server/MinecraftServer;field_4591:Lnet/minecraft/class_2991;official aoLnet/minecraft/server/MinecraftServer;ao:Lade;named commandFunctionManagerLnet/minecraft/server/MinecraftServer;commandFunctionManager:Lnet/minecraft/server/function/CommandFunctionManager;
-
metricsData
- Mappings:
Namespace Name Mixin selector intermediary field_16205Lnet/minecraft/server/MinecraftServer;field_16205:Lnet/minecraft/class_3517;official apLnet/minecraft/server/MinecraftServer;ap:Laoo;named metricsDataLnet/minecraft/server/MinecraftServer;metricsData:Lnet/minecraft/util/MetricsData;
-
enforceWhitelist
private boolean enforceWhitelist- Mappings:
Namespace Name Mixin selector intermediary field_4570Lnet/minecraft/server/MinecraftServer;field_4570:Zofficial aqLnet/minecraft/server/MinecraftServer;aq:Znamed enforceWhitelistLnet/minecraft/server/MinecraftServer;enforceWhitelist:Z
-
tickTime
private float tickTime- Mappings:
Namespace Name Mixin selector intermediary field_4592Lnet/minecraft/server/MinecraftServer;field_4592:Fofficial arLnet/minecraft/server/MinecraftServer;ar:Fnamed tickTimeLnet/minecraft/server/MinecraftServer;tickTime:F
-
workerExecutor
- Mappings:
Namespace Name Mixin selector intermediary field_17200Lnet/minecraft/server/MinecraftServer;field_17200:Ljava/util/concurrent/Executor;official asLnet/minecraft/server/MinecraftServer;as:Ljava/util/concurrent/Executor;named workerExecutorLnet/minecraft/server/MinecraftServer;workerExecutor:Ljava/util/concurrent/Executor;
-
serverId
- Mappings:
Namespace Name Mixin selector intermediary field_17601Lnet/minecraft/server/MinecraftServer;field_17601:Ljava/lang/String;official atLnet/minecraft/server/MinecraftServer;at:Ljava/lang/String;named serverIdLnet/minecraft/server/MinecraftServer;serverId:Ljava/lang/String;
-
resourceManagerHolder
- Mappings:
Namespace Name Mixin selector intermediary field_25318Lnet/minecraft/server/MinecraftServer;field_25318:Lnet/minecraft/server/MinecraftServer$class_6897;official auLnet/minecraft/server/MinecraftServer;au:Lnet/minecraft/server/MinecraftServer$a;named resourceManagerHolderLnet/minecraft/server/MinecraftServer;resourceManagerHolder:Lnet/minecraft/server/MinecraftServer$ResourceManagerHolder;
-
structureTemplateManager
- Mappings:
Namespace Name Mixin selector intermediary field_24370Lnet/minecraft/server/MinecraftServer;field_24370:Lnet/minecraft/class_3485;official avLnet/minecraft/server/MinecraftServer;av:Ldvr;named structureTemplateManagerLnet/minecraft/server/MinecraftServer;structureTemplateManager:Lnet/minecraft/structure/StructureTemplateManager;
-
saveProperties
- Mappings:
Namespace Name Mixin selector intermediary field_24372Lnet/minecraft/server/MinecraftServer;field_24372:Lnet/minecraft/class_5219;official mLnet/minecraft/server/MinecraftServer;m:Ldzb;named savePropertiesLnet/minecraft/server/MinecraftServer;saveProperties:Lnet/minecraft/world/SaveProperties;
-
saving
private volatile boolean saving- Mappings:
Namespace Name Mixin selector intermediary field_35437Lnet/minecraft/server/MinecraftServer;field_35437:Zofficial awLnet/minecraft/server/MinecraftServer;aw:Znamed savingLnet/minecraft/server/MinecraftServer;saving: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 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;)Vofficial <init>Lnet/minecraft/server/MinecraftServer;<init>(Ljava/lang/Thread;Ldyv$c;Laki;Ladk;Ljava/net/Proxy;Lcom/mojang/datafixers/DataFixer;Ladh;Laip;)Vnamed <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
-
-
Method Details
-
startServer
- Mappings:
Namespace Name Mixin selector intermediary method_29740Lnet/minecraft/server/MinecraftServer;method_29740(Ljava/util/function/Function;)Lnet/minecraft/server/MinecraftServer;official aLnet/minecraft/server/MinecraftServer;a(Ljava/util/function/Function;)Lnet/minecraft/server/MinecraftServer;named startServerLnet/minecraft/server/MinecraftServer;startServer(Ljava/util/function/Function;)Lnet/minecraft/server/MinecraftServer;
-
initScoreboard
- Mappings:
Namespace Name Mixin selector intermediary method_17976Lnet/minecraft/server/MinecraftServer;method_17976(Lnet/minecraft/class_26;)Vofficial aLnet/minecraft/server/MinecraftServer;a(Ldyr;)Vnamed initScoreboardLnet/minecraft/server/MinecraftServer;initScoreboard(Lnet/minecraft/world/PersistentStateManager;)V
-
setupServer
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 intermediary method_3823Lnet/minecraft/server/MinecraftServer;method_3823()Zofficial eLnet/minecraft/server/MinecraftServer;e()Znamed setupServerLnet/minecraft/server/MinecraftServer;setupServer()Z
-
loadWorld
protected void loadWorld()- Mappings:
Namespace Name Mixin selector intermediary method_3735Lnet/minecraft/server/MinecraftServer;method_3735()Vofficial m_Lnet/minecraft/server/MinecraftServer;m_()Vnamed loadWorldLnet/minecraft/server/MinecraftServer;loadWorld()V
-
updateDifficulty
protected void updateDifficulty()- Mappings:
Namespace Name Mixin selector intermediary method_27731Lnet/minecraft/server/MinecraftServer;method_27731()Vofficial rLnet/minecraft/server/MinecraftServer;r()Vnamed updateDifficultyLnet/minecraft/server/MinecraftServer;updateDifficulty()V
-
createWorlds
- Mappings:
Namespace Name Mixin selector intermediary method_3786Lnet/minecraft/server/MinecraftServer;method_3786(Lnet/minecraft/class_3949;)Vofficial aLnet/minecraft/server/MinecraftServer;a(Laio;)Vnamed createWorldsLnet/minecraft/server/MinecraftServer;createWorlds(Lnet/minecraft/server/WorldGenerationProgressListener;)V
-
setupSpawn
private static void setupSpawn(ServerWorld world, ServerWorldProperties worldProperties, boolean bonusChest, boolean debugWorld) - Mappings:
Namespace Name Mixin selector intermediary method_27901Lnet/minecraft/server/MinecraftServer;method_27901(Lnet/minecraft/class_3218;Lnet/minecraft/class_5268;ZZ)Vofficial aLnet/minecraft/server/MinecraftServer;a(Laif;Ldza;ZZ)Vnamed setupSpawnLnet/minecraft/server/MinecraftServer;setupSpawn(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/level/ServerWorldProperties;ZZ)V
-
setToDebugWorldProperties
- Mappings:
Namespace Name Mixin selector intermediary method_17977Lnet/minecraft/server/MinecraftServer;method_17977(Lnet/minecraft/class_5219;)Vofficial aLnet/minecraft/server/MinecraftServer;a(Ldzb;)Vnamed setToDebugWorldPropertiesLnet/minecraft/server/MinecraftServer;setToDebugWorldProperties(Lnet/minecraft/world/SaveProperties;)V
-
prepareStartRegion
- Mappings:
Namespace Name Mixin selector intermediary method_3774Lnet/minecraft/server/MinecraftServer;method_3774(Lnet/minecraft/class_3949;)Vofficial bLnet/minecraft/server/MinecraftServer;b(Laio;)Vnamed prepareStartRegionLnet/minecraft/server/MinecraftServer;prepareStartRegion(Lnet/minecraft/server/WorldGenerationProgressListener;)V
-
getDefaultGameMode
- Mappings:
Namespace Name Mixin selector intermediary method_3790Lnet/minecraft/server/MinecraftServer;method_3790()Lnet/minecraft/class_1934;official n_Lnet/minecraft/server/MinecraftServer;n_()Lcmh;named getDefaultGameModeLnet/minecraft/server/MinecraftServer;getDefaultGameMode()Lnet/minecraft/world/GameMode;
-
isHardcore
public boolean isHardcore()- Mappings:
Namespace Name Mixin selector intermediary method_3754Lnet/minecraft/server/MinecraftServer;method_3754()Zofficial hLnet/minecraft/server/MinecraftServer;h()Znamed isHardcoreLnet/minecraft/server/MinecraftServer;isHardcore()Z
-
getOpPermissionLevel
public abstract int getOpPermissionLevel()- Mappings:
Namespace Name Mixin selector intermediary method_3798Lnet/minecraft/server/MinecraftServer;method_3798()Iofficial iLnet/minecraft/server/MinecraftServer;i()Inamed getOpPermissionLevelLnet/minecraft/server/MinecraftServer;getOpPermissionLevel()I
-
getFunctionPermissionLevel
public abstract int getFunctionPermissionLevel()- Mappings:
Namespace Name Mixin selector intermediary method_21714Lnet/minecraft/server/MinecraftServer;method_21714()Iofficial jLnet/minecraft/server/MinecraftServer;j()Inamed getFunctionPermissionLevelLnet/minecraft/server/MinecraftServer;getFunctionPermissionLevel()I
-
shouldBroadcastRconToOps
public abstract boolean shouldBroadcastRconToOps()- Mappings:
Namespace Name Mixin selector intermediary method_3732Lnet/minecraft/server/MinecraftServer;method_3732()Zofficial kLnet/minecraft/server/MinecraftServer;k()Znamed shouldBroadcastRconToOpsLnet/minecraft/server/MinecraftServer;shouldBroadcastRconToOps()Z
-
save
public boolean save(boolean suppressLogs, boolean flush, boolean force) Saves the server to the data storage device. To store the player data in addition to server data, callPlayerManager.saveAllPlayerData().- Parameters:
flush- if it should immediately write all data to storage deviceforce- when set to true, all theServerWorlds will be saved even ifServerWorld.savingDisabledis set to true- Returns:
- whether saving was successful
- Mappings:
Namespace Name Mixin selector intermediary method_3723Lnet/minecraft/server/MinecraftServer;method_3723(ZZZ)Zofficial aLnet/minecraft/server/MinecraftServer;a(ZZZ)Znamed saveLnet/minecraft/server/MinecraftServer;save(ZZZ)Z
-
saveAll
public boolean saveAll(boolean suppressLogs, boolean flush, boolean force) - Mappings:
Namespace Name Mixin selector intermediary method_39218Lnet/minecraft/server/MinecraftServer;method_39218(ZZZ)Zofficial bLnet/minecraft/server/MinecraftServer;b(ZZZ)Znamed saveAllLnet/minecraft/server/MinecraftServer;saveAll(ZZZ)Z
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceMessageListener<ServerTask>
-
shutdown
public void shutdown()- Mappings:
Namespace Name Mixin selector intermediary method_3782Lnet/minecraft/server/MinecraftServer;method_3782()Vofficial tLnet/minecraft/server/MinecraftServer;t()Vnamed shutdownLnet/minecraft/server/MinecraftServer;shutdown()V
-
getServerIp
- Mappings:
Namespace Name Mixin selector intermediary method_3819Lnet/minecraft/server/MinecraftServer;method_3819()Ljava/lang/String;official uLnet/minecraft/server/MinecraftServer;u()Ljava/lang/String;named getServerIpLnet/minecraft/server/MinecraftServer;getServerIp()Ljava/lang/String;
-
setServerIp
- Mappings:
Namespace Name Mixin selector intermediary method_3842Lnet/minecraft/server/MinecraftServer;method_3842(Ljava/lang/String;)Vofficial a_Lnet/minecraft/server/MinecraftServer;a_(Ljava/lang/String;)Vnamed setServerIpLnet/minecraft/server/MinecraftServer;setServerIp(Ljava/lang/String;)V
-
isRunning
public boolean isRunning()- Mappings:
Namespace Name Mixin selector intermediary method_3806Lnet/minecraft/server/MinecraftServer;method_3806()Zofficial vLnet/minecraft/server/MinecraftServer;v()Znamed isRunningLnet/minecraft/server/MinecraftServer;isRunning()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
truetowaitForShutdownto wait until the server shuts down. Note that this must befalseif called from the server thread, otherwise it deadlocks. - Mappings:
Namespace Name Mixin selector intermediary method_3747Lnet/minecraft/server/MinecraftServer;method_3747(Z)Vofficial aLnet/minecraft/server/MinecraftServer;a(Z)Vnamed stopLnet/minecraft/server/MinecraftServer;stop(Z)V
-
runServer
protected void runServer()- Mappings:
Namespace Name Mixin selector intermediary method_29741Lnet/minecraft/server/MinecraftServer;method_29741()Vofficial wLnet/minecraft/server/MinecraftServer;w()Vnamed runServerLnet/minecraft/server/MinecraftServer;runServer()V
-
createCrashReport
- Mappings:
Namespace Name Mixin selector intermediary method_40376Lnet/minecraft/server/MinecraftServer;method_40376(Ljava/lang/Throwable;)Lnet/minecraft/class_128;official aLnet/minecraft/server/MinecraftServer;a(Ljava/lang/Throwable;)Lo;named createCrashReportLnet/minecraft/server/MinecraftServer;createCrashReport(Ljava/lang/Throwable;)Lnet/minecraft/util/crash/CrashReport;
-
shouldKeepTicking
private boolean shouldKeepTicking()- Mappings:
Namespace Name Mixin selector intermediary method_3866Lnet/minecraft/server/MinecraftServer;method_3866()Zofficial bfLnet/minecraft/server/MinecraftServer;bf()Znamed shouldKeepTickingLnet/minecraft/server/MinecraftServer;shouldKeepTicking()Z
-
runTasksTillTickEnd
protected void runTasksTillTickEnd()- Mappings:
Namespace Name Mixin selector intermediary method_16208Lnet/minecraft/server/MinecraftServer;method_16208()Vofficial o_Lnet/minecraft/server/MinecraftServer;o_()Vnamed runTasksTillTickEndLnet/minecraft/server/MinecraftServer;runTasksTillTickEnd()V
-
createTask
- Specified by:
createTaskin classThreadExecutor<ServerTask>- Mappings:
Namespace Name Mixin selector intermediary method_16209Lnet/minecraft/server/MinecraftServer;method_16209(Ljava/lang/Runnable;)Lnet/minecraft/class_3738;official aLnet/minecraft/server/MinecraftServer;a(Ljava/lang/Runnable;)Ladi;named createTaskLnet/minecraft/server/MinecraftServer;createTask(Ljava/lang/Runnable;)Lnet/minecraft/server/ServerTask;
-
canExecute
- Specified by:
canExecutein classThreadExecutor<ServerTask>- Mappings:
Namespace Name Mixin selector intermediary method_19464Lnet/minecraft/server/MinecraftServer;method_19464(Lnet/minecraft/class_3738;)Zofficial aLnet/minecraft/server/MinecraftServer;a(Ladi;)Znamed canExecuteLnet/minecraft/server/MinecraftServer;canExecute(Lnet/minecraft/server/ServerTask;)Z
-
runTask
public boolean runTask()- Overrides:
runTaskin classThreadExecutor<ServerTask>- Mappings:
Namespace Name Mixin selector intermediary method_16075Lnet/minecraft/class_1255;method_16075()Zofficial xLbcm;x()Znamed runTaskLnet/minecraft/util/thread/ThreadExecutor;runTask()Z
-
runOneTask
private boolean runOneTask()- Mappings:
Namespace Name Mixin selector intermediary method_20415Lnet/minecraft/server/MinecraftServer;method_20415()Zofficial bgLnet/minecraft/server/MinecraftServer;bg()Znamed runOneTaskLnet/minecraft/server/MinecraftServer;runOneTask()Z
-
executeTask
Description copied from class:ReentrantThreadExecutor- Overrides:
executeTaskin classReentrantThreadExecutor<ServerTask>- Mappings:
Namespace Name Mixin selector intermediary method_24306Lnet/minecraft/server/MinecraftServer;method_24306(Lnet/minecraft/class_3738;)Vofficial bLnet/minecraft/server/MinecraftServer;b(Ladi;)Vnamed executeTaskLnet/minecraft/server/MinecraftServer;executeTask(Lnet/minecraft/server/ServerTask;)V
-
loadFavicon
- Mappings:
Namespace Name Mixin selector intermediary method_49384Lnet/minecraft/server/MinecraftServer;method_49384()Ljava/util/Optional;official bhLnet/minecraft/server/MinecraftServer;bh()Ljava/util/Optional;named loadFaviconLnet/minecraft/server/MinecraftServer;loadFavicon()Ljava/util/Optional;
-
getIconFile
- Mappings:
Namespace Name Mixin selector intermediary method_3725Lnet/minecraft/server/MinecraftServer;method_3725()Ljava/util/Optional;official yLnet/minecraft/server/MinecraftServer;y()Ljava/util/Optional;named getIconFileLnet/minecraft/server/MinecraftServer;getIconFile()Ljava/util/Optional;
-
getRunDirectory
- Mappings:
Namespace Name Mixin selector intermediary method_3831Lnet/minecraft/server/MinecraftServer;method_3831()Ljava/io/File;official zLnet/minecraft/server/MinecraftServer;z()Ljava/io/File;named getRunDirectoryLnet/minecraft/server/MinecraftServer;getRunDirectory()Ljava/io/File;
-
setCrashReport
- Mappings:
Namespace Name Mixin selector intermediary method_3744Lnet/minecraft/server/MinecraftServer;method_3744(Lnet/minecraft/class_128;)Vofficial aLnet/minecraft/server/MinecraftServer;a(Lo;)Vnamed setCrashReportLnet/minecraft/server/MinecraftServer;setCrashReport(Lnet/minecraft/util/crash/CrashReport;)V
-
exit
public void exit()- Mappings:
Namespace Name Mixin selector intermediary method_3821Lnet/minecraft/server/MinecraftServer;method_3821()Vofficial gLnet/minecraft/server/MinecraftServer;g()Vnamed exitLnet/minecraft/server/MinecraftServer;exit()V
-
tick
- Mappings:
Namespace Name Mixin selector intermediary method_3748Lnet/minecraft/server/MinecraftServer;method_3748(Ljava/util/function/BooleanSupplier;)Vofficial aLnet/minecraft/server/MinecraftServer;a(Ljava/util/function/BooleanSupplier;)Vnamed tickLnet/minecraft/server/MinecraftServer;tick(Ljava/util/function/BooleanSupplier;)V
-
createMetadata
- Mappings:
Namespace Name Mixin selector intermediary method_49385Lnet/minecraft/server/MinecraftServer;method_49385()Lnet/minecraft/class_2926;official biLnet/minecraft/server/MinecraftServer;bi()Labt;named createMetadataLnet/minecraft/server/MinecraftServer;createMetadata()Lnet/minecraft/server/ServerMetadata;
-
createMetadataPlayers
- Mappings:
Namespace Name Mixin selector intermediary method_49386Lnet/minecraft/server/MinecraftServer;method_49386()Lnet/minecraft/class_2926$class_2927;official bjLnet/minecraft/server/MinecraftServer;bj()Labt$b;named createMetadataPlayersLnet/minecraft/server/MinecraftServer;createMetadataPlayers()Lnet/minecraft/server/ServerMetadata$Players;
-
tickWorlds
- Mappings:
Namespace Name Mixin selector intermediary method_3813Lnet/minecraft/server/MinecraftServer;method_3813(Ljava/util/function/BooleanSupplier;)Vofficial bLnet/minecraft/server/MinecraftServer;b(Ljava/util/function/BooleanSupplier;)Vnamed tickWorldsLnet/minecraft/server/MinecraftServer;tickWorlds(Ljava/util/function/BooleanSupplier;)V
-
sendTimeUpdatePackets
- Mappings:
Namespace Name Mixin selector intermediary method_49750Lnet/minecraft/server/MinecraftServer;method_49750(Lnet/minecraft/class_3218;)Vofficial bLnet/minecraft/server/MinecraftServer;b(Laif;)Vnamed sendTimeUpdatePacketsLnet/minecraft/server/MinecraftServer;sendTimeUpdatePackets(Lnet/minecraft/server/world/ServerWorld;)V
-
sendTimeUpdatePackets
public void sendTimeUpdatePackets()- Mappings:
Namespace Name Mixin selector intermediary method_49749Lnet/minecraft/server/MinecraftServer;method_49749()Vofficial ALnet/minecraft/server/MinecraftServer;A()Vnamed sendTimeUpdatePacketsLnet/minecraft/server/MinecraftServer;sendTimeUpdatePackets()V
-
isNetherAllowed
public boolean isNetherAllowed()- Mappings:
Namespace Name Mixin selector intermediary method_3839Lnet/minecraft/server/MinecraftServer;method_3839()Zofficial BLnet/minecraft/server/MinecraftServer;B()Znamed isNetherAllowedLnet/minecraft/server/MinecraftServer;isNetherAllowed()Z
-
addServerGuiTickable
- Mappings:
Namespace Name Mixin selector intermediary method_3742Lnet/minecraft/server/MinecraftServer;method_3742(Ljava/lang/Runnable;)Vofficial bLnet/minecraft/server/MinecraftServer;b(Ljava/lang/Runnable;)Vnamed addServerGuiTickableLnet/minecraft/server/MinecraftServer;addServerGuiTickable(Ljava/lang/Runnable;)V
-
setServerId
- Mappings:
Namespace Name Mixin selector intermediary method_17819Lnet/minecraft/server/MinecraftServer;method_17819(Ljava/lang/String;)Vofficial bLnet/minecraft/server/MinecraftServer;b(Ljava/lang/String;)Vnamed setServerIdLnet/minecraft/server/MinecraftServer;setServerId(Ljava/lang/String;)V
-
isStopping
public boolean isStopping()- Mappings:
Namespace Name Mixin selector intermediary method_16043Lnet/minecraft/server/MinecraftServer;method_16043()Zofficial CLnet/minecraft/server/MinecraftServer;C()Znamed isStoppingLnet/minecraft/server/MinecraftServer;isStopping()Z
-
getFile
- Parameters:
path- relative path from the run directory- Mappings:
Namespace Name Mixin selector intermediary method_3758Lnet/minecraft/server/MinecraftServer;method_3758(Ljava/lang/String;)Ljava/io/File;official cLnet/minecraft/server/MinecraftServer;c(Ljava/lang/String;)Ljava/io/File;named getFileLnet/minecraft/server/MinecraftServer;getFile(Ljava/lang/String;)Ljava/io/File;
-
getOverworld
- Mappings:
Namespace Name Mixin selector intermediary method_30002Lnet/minecraft/server/MinecraftServer;method_30002()Lnet/minecraft/class_3218;official DLnet/minecraft/server/MinecraftServer;D()Laif;named getOverworldLnet/minecraft/server/MinecraftServer;getOverworld()Lnet/minecraft/server/world/ServerWorld;
-
getWorld
- Mappings:
Namespace Name Mixin selector intermediary method_3847Lnet/minecraft/server/MinecraftServer;method_3847(Lnet/minecraft/class_5321;)Lnet/minecraft/class_3218;official aLnet/minecraft/server/MinecraftServer;a(Lacp;)Laif;named getWorldLnet/minecraft/server/MinecraftServer;getWorld(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/server/world/ServerWorld;
-
getWorldRegistryKeys
- Mappings:
Namespace Name Mixin selector intermediary method_29435Lnet/minecraft/server/MinecraftServer;method_29435()Ljava/util/Set;official ELnet/minecraft/server/MinecraftServer;E()Ljava/util/Set;named getWorldRegistryKeysLnet/minecraft/server/MinecraftServer;getWorldRegistryKeys()Ljava/util/Set;
-
getWorlds
- Mappings:
Namespace Name Mixin selector intermediary method_3738Lnet/minecraft/server/MinecraftServer;method_3738()Ljava/lang/Iterable;official FLnet/minecraft/server/MinecraftServer;F()Ljava/lang/Iterable;named getWorldsLnet/minecraft/server/MinecraftServer;getWorlds()Ljava/lang/Iterable;
-
getVersion
- Mappings:
Namespace Name Mixin selector intermediary method_3827Lnet/minecraft/server/MinecraftServer;method_3827()Ljava/lang/String;official GLnet/minecraft/server/MinecraftServer;G()Ljava/lang/String;named getVersionLnet/minecraft/server/MinecraftServer;getVersion()Ljava/lang/String;
-
getCurrentPlayerCount
public int getCurrentPlayerCount()- Mappings:
Namespace Name Mixin selector intermediary method_3788Lnet/minecraft/server/MinecraftServer;method_3788()Iofficial HLnet/minecraft/server/MinecraftServer;H()Inamed getCurrentPlayerCountLnet/minecraft/server/MinecraftServer;getCurrentPlayerCount()I
-
getMaxPlayerCount
public int getMaxPlayerCount()- Mappings:
Namespace Name Mixin selector intermediary method_3802Lnet/minecraft/server/MinecraftServer;method_3802()Iofficial ILnet/minecraft/server/MinecraftServer;I()Inamed getMaxPlayerCountLnet/minecraft/server/MinecraftServer;getMaxPlayerCount()I
-
getPlayerNames
- Mappings:
Namespace Name Mixin selector intermediary method_3858Lnet/minecraft/server/MinecraftServer;method_3858()[Ljava/lang/String;official JLnet/minecraft/server/MinecraftServer;J()[Ljava/lang/String;named getPlayerNamesLnet/minecraft/server/MinecraftServer;getPlayerNames()[Ljava/lang/String;
-
getServerModName
-
addSystemDetails
- Mappings:
Namespace Name Mixin selector intermediary method_37324Lnet/minecraft/server/MinecraftServer;method_37324(Lnet/minecraft/class_6396;)Lnet/minecraft/class_6396;official bLnet/minecraft/server/MinecraftServer;b(Lab;)Lab;named addSystemDetailsLnet/minecraft/server/MinecraftServer;addSystemDetails(Lnet/minecraft/util/SystemDetails;)Lnet/minecraft/util/SystemDetails;
-
addExtraSystemDetails
- Mappings:
Namespace Name Mixin selector intermediary method_3859Lnet/minecraft/server/MinecraftServer;method_3859(Lnet/minecraft/class_6396;)Lnet/minecraft/class_6396;official aLnet/minecraft/server/MinecraftServer;a(Lab;)Lab;named addExtraSystemDetailsLnet/minecraft/server/MinecraftServer;addExtraSystemDetails(Lnet/minecraft/util/SystemDetails;)Lnet/minecraft/util/SystemDetails;
-
getModStatus
- Mappings:
Namespace Name Mixin selector intermediary method_24307Lnet/minecraft/server/MinecraftServer;method_24307()Lnet/minecraft/class_6683;official KLnet/minecraft/server/MinecraftServer;K()Laoz;named getModStatusLnet/minecraft/server/MinecraftServer;getModStatus()Lnet/minecraft/util/ModStatus;
-
sendMessage
Sends a system message.- Specified by:
sendMessagein interfaceCommandOutput- Mappings:
Namespace Name Mixin selector intermediary method_43496Lnet/minecraft/class_2165;method_43496(Lnet/minecraft/class_2561;)Vofficial aLdr;a(Lsw;)Vnamed sendMessageLnet/minecraft/server/command/CommandOutput;sendMessage(Lnet/minecraft/text/Text;)V
-
getKeyPair
- Mappings:
Namespace Name Mixin selector intermediary method_3716Lnet/minecraft/server/MinecraftServer;method_3716()Ljava/security/KeyPair;official LLnet/minecraft/server/MinecraftServer;L()Ljava/security/KeyPair;named getKeyPairLnet/minecraft/server/MinecraftServer;getKeyPair()Ljava/security/KeyPair;
-
getServerPort
public int getServerPort()- Mappings:
Namespace Name Mixin selector intermediary method_3756Lnet/minecraft/server/MinecraftServer;method_3756()Iofficial MLnet/minecraft/server/MinecraftServer;M()Inamed getServerPortLnet/minecraft/server/MinecraftServer;getServerPort()I
-
setServerPort
public void setServerPort(int serverPort) - Mappings:
Namespace Name Mixin selector intermediary method_3779Lnet/minecraft/server/MinecraftServer;method_3779(I)Vofficial aLnet/minecraft/server/MinecraftServer;a(I)Vnamed setServerPortLnet/minecraft/server/MinecraftServer;setServerPort(I)V
-
getHostProfile
- Mappings:
Namespace Name Mixin selector intermediary method_43824Lnet/minecraft/server/MinecraftServer;method_43824()Lcom/mojang/authlib/GameProfile;official NLnet/minecraft/server/MinecraftServer;N()Lcom/mojang/authlib/GameProfile;named getHostProfileLnet/minecraft/server/MinecraftServer;getHostProfile()Lcom/mojang/authlib/GameProfile;
-
setHostProfile
- Mappings:
Namespace Name Mixin selector intermediary method_43825Lnet/minecraft/server/MinecraftServer;method_43825(Lcom/mojang/authlib/GameProfile;)Vofficial bLnet/minecraft/server/MinecraftServer;b(Lcom/mojang/authlib/GameProfile;)Vnamed setHostProfileLnet/minecraft/server/MinecraftServer;setHostProfile(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 thelevel.datapplies. 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 intermediary method_3724Lnet/minecraft/server/MinecraftServer;method_3724()Zofficial OLnet/minecraft/server/MinecraftServer;O()Znamed isSingleplayerLnet/minecraft/server/MinecraftServer;isSingleplayer()Z
-
generateKeyPair
protected void generateKeyPair()- Mappings:
Namespace Name Mixin selector intermediary method_31400Lnet/minecraft/server/MinecraftServer;method_31400()Vofficial PLnet/minecraft/server/MinecraftServer;P()Vnamed generateKeyPairLnet/minecraft/server/MinecraftServer;generateKeyPair()V
-
setDifficulty
- Mappings:
Namespace Name Mixin selector intermediary method_3776Lnet/minecraft/server/MinecraftServer;method_3776(Lnet/minecraft/class_1267;Z)Vofficial aLnet/minecraft/server/MinecraftServer;a(Lbdt;Z)Vnamed setDifficultyLnet/minecraft/server/MinecraftServer;setDifficulty(Lnet/minecraft/world/Difficulty;Z)V
-
adjustTrackingDistance
public int adjustTrackingDistance(int initialDistance) - Mappings:
Namespace Name Mixin selector intermediary method_27903Lnet/minecraft/server/MinecraftServer;method_27903(I)Iofficial bLnet/minecraft/server/MinecraftServer;b(I)Inamed adjustTrackingDistanceLnet/minecraft/server/MinecraftServer;adjustTrackingDistance(I)I
-
updateMobSpawnOptions
private void updateMobSpawnOptions()- Mappings:
Namespace Name Mixin selector intermediary method_27729Lnet/minecraft/server/MinecraftServer;method_27729()Vofficial bsLnet/minecraft/server/MinecraftServer;bs()Vnamed updateMobSpawnOptionsLnet/minecraft/server/MinecraftServer;updateMobSpawnOptions()V
-
setDifficultyLocked
public void setDifficultyLocked(boolean locked) - Mappings:
Namespace Name Mixin selector intermediary method_19467Lnet/minecraft/server/MinecraftServer;method_19467(Z)Vofficial bLnet/minecraft/server/MinecraftServer;b(Z)Vnamed setDifficultyLockedLnet/minecraft/server/MinecraftServer;setDifficultyLocked(Z)V
-
sendDifficulty
- Mappings:
Namespace Name Mixin selector intermediary method_19465Lnet/minecraft/server/MinecraftServer;method_19465(Lnet/minecraft/class_3222;)Vofficial cLnet/minecraft/server/MinecraftServer;c(Laig;)Vnamed sendDifficultyLnet/minecraft/server/MinecraftServer;sendDifficulty(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
isMonsterSpawningEnabled
public boolean isMonsterSpawningEnabled()- Mappings:
Namespace Name Mixin selector intermediary method_3783Lnet/minecraft/server/MinecraftServer;method_3783()Zofficial QLnet/minecraft/server/MinecraftServer;Q()Znamed isMonsterSpawningEnabledLnet/minecraft/server/MinecraftServer;isMonsterSpawningEnabled()Z
-
isDemo
public boolean isDemo()- Mappings:
Namespace Name Mixin selector intermediary method_3799Lnet/minecraft/server/MinecraftServer;method_3799()Zofficial RLnet/minecraft/server/MinecraftServer;R()Znamed isDemoLnet/minecraft/server/MinecraftServer;isDemo()Z
-
setDemo
public void setDemo(boolean demo) - Mappings:
Namespace Name Mixin selector intermediary method_3730Lnet/minecraft/server/MinecraftServer;method_3730(Z)Vofficial cLnet/minecraft/server/MinecraftServer;c(Z)Vnamed setDemoLnet/minecraft/server/MinecraftServer;setDemo(Z)V
-
getResourcePackProperties
- Mappings:
Namespace Name Mixin selector intermediary method_43659Lnet/minecraft/server/MinecraftServer;method_43659()Ljava/util/Optional;official SLnet/minecraft/server/MinecraftServer;S()Ljava/util/Optional;named getResourcePackPropertiesLnet/minecraft/server/MinecraftServer;getResourcePackProperties()Ljava/util/Optional;
-
requireResourcePack
public boolean requireResourcePack()- Mappings:
Namespace Name Mixin selector intermediary method_32303Lnet/minecraft/server/MinecraftServer;method_32303()Zofficial TLnet/minecraft/server/MinecraftServer;T()Znamed requireResourcePackLnet/minecraft/server/MinecraftServer;requireResourcePack()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 intermediary method_3816Lnet/minecraft/server/MinecraftServer;method_3816()Zofficial lLnet/minecraft/server/MinecraftServer;l()Znamed isDedicatedLnet/minecraft/server/MinecraftServer;isDedicated()Z
-
getRateLimit
public abstract int getRateLimit()- Mappings:
Namespace Name Mixin selector intermediary method_30612Lnet/minecraft/server/MinecraftServer;method_30612()Iofficial mLnet/minecraft/server/MinecraftServer;m()Inamed getRateLimitLnet/minecraft/server/MinecraftServer;getRateLimit()I
-
isOnlineMode
public boolean isOnlineMode()Returns whether this Minecraft server authenticates players logging in with the Minecraft Session Service. If this server is singleplayer, such as integrated servers, it will accept unauthenticated players; otherwise, it disconnects such players.- Returns:
- whether this Minecraft server authenticates players logging in with the Minecraft Session Service
- See Also:
- Mappings:
Namespace Name Mixin selector intermediary method_3828Lnet/minecraft/server/MinecraftServer;method_3828()Zofficial ULnet/minecraft/server/MinecraftServer;U()Znamed isOnlineModeLnet/minecraft/server/MinecraftServer;isOnlineMode()Z
-
setOnlineMode
public void setOnlineMode(boolean onlineMode) Sets whether this server is in the online mode, or whether it authenticates connecting players with the Minecraft Session Service.This is called by individual server implementations on their setup.
- Parameters:
onlineMode- whether the server will be in online mode- See Also:
- Mappings:
Namespace Name Mixin selector intermediary method_3864Lnet/minecraft/server/MinecraftServer;method_3864(Z)Vofficial dLnet/minecraft/server/MinecraftServer;d(Z)Vnamed setOnlineModeLnet/minecraft/server/MinecraftServer;setOnlineMode(Z)V
-
shouldPreventProxyConnections
public boolean shouldPreventProxyConnections()- Mappings:
Namespace Name Mixin selector intermediary method_3775Lnet/minecraft/server/MinecraftServer;method_3775()Zofficial VLnet/minecraft/server/MinecraftServer;V()Znamed shouldPreventProxyConnectionsLnet/minecraft/server/MinecraftServer;shouldPreventProxyConnections()Z
-
setPreventProxyConnections
public void setPreventProxyConnections(boolean preventProxyConnections) - Mappings:
Namespace Name Mixin selector intermediary method_3764Lnet/minecraft/server/MinecraftServer;method_3764(Z)Vofficial eLnet/minecraft/server/MinecraftServer;e(Z)Vnamed setPreventProxyConnectionsLnet/minecraft/server/MinecraftServer;setPreventProxyConnections(Z)V
-
shouldSpawnAnimals
public boolean shouldSpawnAnimals()- Mappings:
Namespace Name Mixin selector intermediary method_3796Lnet/minecraft/server/MinecraftServer;method_3796()Zofficial WLnet/minecraft/server/MinecraftServer;W()Znamed shouldSpawnAnimalsLnet/minecraft/server/MinecraftServer;shouldSpawnAnimals()Z
-
shouldSpawnNpcs
public boolean shouldSpawnNpcs()- Mappings:
Namespace Name Mixin selector intermediary method_3736Lnet/minecraft/server/MinecraftServer;method_3736()Zofficial XLnet/minecraft/server/MinecraftServer;X()Znamed shouldSpawnNpcsLnet/minecraft/server/MinecraftServer;shouldSpawnNpcs()Z
-
isUsingNativeTransport
public abstract boolean isUsingNativeTransport()- Mappings:
Namespace Name Mixin selector intermediary method_3759Lnet/minecraft/server/MinecraftServer;method_3759()Zofficial nLnet/minecraft/server/MinecraftServer;n()Znamed isUsingNativeTransportLnet/minecraft/server/MinecraftServer;isUsingNativeTransport()Z
-
isPvpEnabled
public boolean isPvpEnabled()- Mappings:
Namespace Name Mixin selector intermediary method_3852Lnet/minecraft/server/MinecraftServer;method_3852()Zofficial YLnet/minecraft/server/MinecraftServer;Y()Znamed isPvpEnabledLnet/minecraft/server/MinecraftServer;isPvpEnabled()Z
-
setPvpEnabled
public void setPvpEnabled(boolean pvpEnabled) - Mappings:
Namespace Name Mixin selector intermediary method_3815Lnet/minecraft/server/MinecraftServer;method_3815(Z)Vofficial fLnet/minecraft/server/MinecraftServer;f(Z)Vnamed setPvpEnabledLnet/minecraft/server/MinecraftServer;setPvpEnabled(Z)V
-
isFlightEnabled
public boolean isFlightEnabled()- Mappings:
Namespace Name Mixin selector intermediary method_3718Lnet/minecraft/server/MinecraftServer;method_3718()Zofficial ZLnet/minecraft/server/MinecraftServer;Z()Znamed isFlightEnabledLnet/minecraft/server/MinecraftServer;isFlightEnabled()Z
-
setFlightEnabled
public void setFlightEnabled(boolean flightEnabled) - Mappings:
Namespace Name Mixin selector intermediary method_3745Lnet/minecraft/server/MinecraftServer;method_3745(Z)Vofficial gLnet/minecraft/server/MinecraftServer;g(Z)Vnamed setFlightEnabledLnet/minecraft/server/MinecraftServer;setFlightEnabled(Z)V
-
areCommandBlocksEnabled
public abstract boolean areCommandBlocksEnabled()Specifies whether command blocks can execute commands on the server.- Mappings:
Namespace Name Mixin selector intermediary method_3812Lnet/minecraft/server/MinecraftServer;method_3812()Zofficial oLnet/minecraft/server/MinecraftServer;o()Znamed areCommandBlocksEnabledLnet/minecraft/server/MinecraftServer;areCommandBlocksEnabled()Z
-
getServerMotd
- Mappings:
Namespace Name Mixin selector intermediary method_3818Lnet/minecraft/server/MinecraftServer;method_3818()Ljava/lang/String;official aaLnet/minecraft/server/MinecraftServer;aa()Ljava/lang/String;named getServerMotdLnet/minecraft/server/MinecraftServer;getServerMotd()Ljava/lang/String;
-
setMotd
- Mappings:
Namespace Name Mixin selector intermediary method_3834Lnet/minecraft/server/MinecraftServer;method_3834(Ljava/lang/String;)Vofficial dLnet/minecraft/server/MinecraftServer;d(Ljava/lang/String;)Vnamed setMotdLnet/minecraft/server/MinecraftServer;setMotd(Ljava/lang/String;)V
-
isStopped
public boolean isStopped()- Mappings:
Namespace Name Mixin selector intermediary method_3750Lnet/minecraft/server/MinecraftServer;method_3750()Zofficial abLnet/minecraft/server/MinecraftServer;ab()Znamed isStoppedLnet/minecraft/server/MinecraftServer;isStopped()Z
-
getPlayerManager
- Mappings:
Namespace Name Mixin selector intermediary method_3760Lnet/minecraft/server/MinecraftServer;method_3760()Lnet/minecraft/class_3324;official acLnet/minecraft/server/MinecraftServer;ac()Lalk;named getPlayerManagerLnet/minecraft/server/MinecraftServer;getPlayerManager()Lnet/minecraft/server/PlayerManager;
-
setPlayerManager
- Mappings:
Namespace Name Mixin selector intermediary method_3846Lnet/minecraft/server/MinecraftServer;method_3846(Lnet/minecraft/class_3324;)Vofficial aLnet/minecraft/server/MinecraftServer;a(Lalk;)Vnamed setPlayerManagerLnet/minecraft/server/MinecraftServer;setPlayerManager(Lnet/minecraft/server/PlayerManager;)V
-
isRemote
public abstract boolean isRemote()- Mappings:
Namespace Name Mixin selector intermediary method_3860Lnet/minecraft/server/MinecraftServer;method_3860()Zofficial pLnet/minecraft/server/MinecraftServer;p()Znamed isRemoteLnet/minecraft/server/MinecraftServer;isRemote()Z
-
setDefaultGameMode
- Mappings:
Namespace Name Mixin selector intermediary method_3838Lnet/minecraft/server/MinecraftServer;method_3838(Lnet/minecraft/class_1934;)Vofficial aLnet/minecraft/server/MinecraftServer;a(Lcmh;)Vnamed setDefaultGameModeLnet/minecraft/server/MinecraftServer;setDefaultGameMode(Lnet/minecraft/world/GameMode;)V
-
getNetworkIo
- Mappings:
Namespace Name Mixin selector intermediary method_3787Lnet/minecraft/server/MinecraftServer;method_3787()Lnet/minecraft/class_3242;official adLnet/minecraft/server/MinecraftServer;ad()Laix;named getNetworkIoLnet/minecraft/server/MinecraftServer;getNetworkIo()Lnet/minecraft/server/ServerNetworkIo;
-
isLoading
public boolean isLoading()- Mappings:
Namespace Name Mixin selector intermediary method_3820Lnet/minecraft/server/MinecraftServer;method_3820()Zofficial aeLnet/minecraft/server/MinecraftServer;ae()Znamed isLoadingLnet/minecraft/server/MinecraftServer;isLoading()Z
-
hasGui
public boolean hasGui()- Mappings:
Namespace Name Mixin selector intermediary method_3727Lnet/minecraft/server/MinecraftServer;method_3727()Zofficial afLnet/minecraft/server/MinecraftServer;af()Znamed hasGuiLnet/minecraft/server/MinecraftServer;hasGui()Z
-
openToLan
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 defaultcheatsAllowed- whether players on the server have operator permissionsport- the port to open up to LAN connections- Returns:
- whether the server was successfully opened to LAN
- Mappings:
Namespace Name Mixin selector intermediary method_3763Lnet/minecraft/server/MinecraftServer;method_3763(Lnet/minecraft/class_1934;ZI)Zofficial aLnet/minecraft/server/MinecraftServer;a(Lcmh;ZI)Znamed openToLanLnet/minecraft/server/MinecraftServer;openToLan(Lnet/minecraft/world/GameMode;ZI)Z
-
getTicks
public int getTicks()Gets the amount of ticks the server has been running for.- Mappings:
Namespace Name Mixin selector intermediary method_3780Lnet/minecraft/server/MinecraftServer;method_3780()Iofficial agLnet/minecraft/server/MinecraftServer;ag()Inamed getTicksLnet/minecraft/server/MinecraftServer;getTicks()I
-
getSpawnProtectionRadius
public int getSpawnProtectionRadius()- Mappings:
Namespace Name Mixin selector intermediary method_3841Lnet/minecraft/server/MinecraftServer;method_3841()Iofficial ahLnet/minecraft/server/MinecraftServer;ah()Inamed getSpawnProtectionRadiusLnet/minecraft/server/MinecraftServer;getSpawnProtectionRadius()I
-
isSpawnProtected
- Mappings:
Namespace Name Mixin selector intermediary method_3785Lnet/minecraft/server/MinecraftServer;method_3785(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;)Zofficial aLnet/minecraft/server/MinecraftServer;a(Laif;Lgu;Lbym;)Znamed isSpawnProtectedLnet/minecraft/server/MinecraftServer;isSpawnProtected(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;)Z
-
acceptsStatusQuery
public boolean acceptsStatusQuery()- Mappings:
Namespace Name Mixin selector intermediary method_27902Lnet/minecraft/server/MinecraftServer;method_27902()Zofficial aiLnet/minecraft/server/MinecraftServer;ai()Znamed acceptsStatusQueryLnet/minecraft/server/MinecraftServer;acceptsStatusQuery()Z
-
hideOnlinePlayers
public boolean hideOnlinePlayers()- Mappings:
Namespace Name Mixin selector intermediary method_39424Lnet/minecraft/server/MinecraftServer;method_39424()Zofficial ajLnet/minecraft/server/MinecraftServer;aj()Znamed hideOnlinePlayersLnet/minecraft/server/MinecraftServer;hideOnlinePlayers()Z
-
getProxy
- Mappings:
Namespace Name Mixin selector intermediary method_36113Lnet/minecraft/server/MinecraftServer;method_36113()Ljava/net/Proxy;official akLnet/minecraft/server/MinecraftServer;ak()Ljava/net/Proxy;named getProxyLnet/minecraft/server/MinecraftServer;getProxy()Ljava/net/Proxy;
-
getPlayerIdleTimeout
public int getPlayerIdleTimeout()- Mappings:
Namespace Name Mixin selector intermediary method_3862Lnet/minecraft/server/MinecraftServer;method_3862()Iofficial alLnet/minecraft/server/MinecraftServer;al()Inamed getPlayerIdleTimeoutLnet/minecraft/server/MinecraftServer;getPlayerIdleTimeout()I
-
setPlayerIdleTimeout
public void setPlayerIdleTimeout(int playerIdleTimeout) - Mappings:
Namespace Name Mixin selector intermediary method_3803Lnet/minecraft/server/MinecraftServer;method_3803(I)Vofficial cLnet/minecraft/server/MinecraftServer;c(I)Vnamed setPlayerIdleTimeoutLnet/minecraft/server/MinecraftServer;setPlayerIdleTimeout(I)V
-
getSessionService
public com.mojang.authlib.minecraft.MinecraftSessionService getSessionService()- Mappings:
Namespace Name Mixin selector intermediary method_3844Lnet/minecraft/server/MinecraftServer;method_3844()Lcom/mojang/authlib/minecraft/MinecraftSessionService;official amLnet/minecraft/server/MinecraftServer;am()Lcom/mojang/authlib/minecraft/MinecraftSessionService;named getSessionServiceLnet/minecraft/server/MinecraftServer;getSessionService()Lcom/mojang/authlib/minecraft/MinecraftSessionService;
-
getServicesSignatureVerifier
- Mappings:
Namespace Name Mixin selector intermediary method_44301Lnet/minecraft/server/MinecraftServer;method_44301()Lnet/minecraft/class_7500;official anLnet/minecraft/server/MinecraftServer;an()Lapj;named getServicesSignatureVerifierLnet/minecraft/server/MinecraftServer;getServicesSignatureVerifier()Lnet/minecraft/network/encryption/SignatureVerifier;
-
getGameProfileRepo
public com.mojang.authlib.GameProfileRepository getGameProfileRepo()- Mappings:
Namespace Name Mixin selector intermediary method_3719Lnet/minecraft/server/MinecraftServer;method_3719()Lcom/mojang/authlib/GameProfileRepository;official aoLnet/minecraft/server/MinecraftServer;ao()Lcom/mojang/authlib/GameProfileRepository;named getGameProfileRepoLnet/minecraft/server/MinecraftServer;getGameProfileRepo()Lcom/mojang/authlib/GameProfileRepository;
-
getUserCache
- Mappings:
Namespace Name Mixin selector intermediary method_3793Lnet/minecraft/server/MinecraftServer;method_3793()Lnet/minecraft/class_3312;official apLnet/minecraft/server/MinecraftServer;ap()Lalg;named getUserCacheLnet/minecraft/server/MinecraftServer;getUserCache()Lnet/minecraft/util/UserCache;
-
getServerMetadata
- Mappings:
Namespace Name Mixin selector intermediary method_3765Lnet/minecraft/server/MinecraftServer;method_3765()Lnet/minecraft/class_2926;official aqLnet/minecraft/server/MinecraftServer;aq()Labt;named getServerMetadataLnet/minecraft/server/MinecraftServer;getServerMetadata()Lnet/minecraft/server/ServerMetadata;
-
forcePlayerSampleUpdate
public void forcePlayerSampleUpdate()- Mappings:
Namespace Name Mixin selector intermediary method_3856Lnet/minecraft/server/MinecraftServer;method_3856()Vofficial arLnet/minecraft/server/MinecraftServer;ar()Vnamed forcePlayerSampleUpdateLnet/minecraft/server/MinecraftServer;forcePlayerSampleUpdate()V
-
getMaxWorldBorderRadius
public int getMaxWorldBorderRadius()- Mappings:
Namespace Name Mixin selector intermediary method_3749Lnet/minecraft/server/MinecraftServer;method_3749()Iofficial asLnet/minecraft/server/MinecraftServer;as()Inamed getMaxWorldBorderRadiusLnet/minecraft/server/MinecraftServer;getMaxWorldBorderRadius()I
-
shouldExecuteAsync
public boolean shouldExecuteAsync()- Overrides:
shouldExecuteAsyncin classReentrantThreadExecutor<ServerTask>- Mappings:
Namespace Name Mixin selector intermediary method_5384Lnet/minecraft/class_1255;method_5384()Zofficial atLbcm;at()Znamed shouldExecuteAsyncLnet/minecraft/util/thread/ThreadExecutor;shouldExecuteAsync()Z
-
executeSync
- Overrides:
executeSyncin classThreadExecutor<ServerTask>- Mappings:
Namespace Name Mixin selector intermediary method_40000Lnet/minecraft/class_1255;method_40000(Ljava/lang/Runnable;)Vofficial cLbcm;c(Ljava/lang/Runnable;)Vnamed executeSyncLnet/minecraft/util/thread/ThreadExecutor;executeSync(Ljava/lang/Runnable;)V
-
getThread
- Specified by:
getThreadin classThreadExecutor<ServerTask>- Mappings:
Namespace Name Mixin selector intermediary method_3777Lnet/minecraft/class_1255;method_3777()Ljava/lang/Thread;official auLbcm;au()Ljava/lang/Thread;named getThreadLnet/minecraft/util/thread/ThreadExecutor;getThread()Ljava/lang/Thread;
-
getNetworkCompressionThreshold
public int getNetworkCompressionThreshold()- Mappings:
Namespace Name Mixin selector intermediary method_3773Lnet/minecraft/server/MinecraftServer;method_3773()Iofficial avLnet/minecraft/server/MinecraftServer;av()Inamed getNetworkCompressionThresholdLnet/minecraft/server/MinecraftServer;getNetworkCompressionThreshold()I
-
shouldEnforceSecureProfile
public boolean shouldEnforceSecureProfile()- Mappings:
Namespace Name Mixin selector intermediary method_43500Lnet/minecraft/server/MinecraftServer;method_43500()Zofficial awLnet/minecraft/server/MinecraftServer;aw()Znamed shouldEnforceSecureProfileLnet/minecraft/server/MinecraftServer;shouldEnforceSecureProfile()Z
-
getTimeReference
public long getTimeReference()- Mappings:
Namespace Name Mixin selector intermediary method_3826Lnet/minecraft/server/MinecraftServer;method_3826()Jofficial axLnet/minecraft/server/MinecraftServer;ax()Jnamed getTimeReferenceLnet/minecraft/server/MinecraftServer;getTimeReference()J
-
getDataFixer
public com.mojang.datafixers.DataFixer getDataFixer()- Mappings:
Namespace Name Mixin selector intermediary method_3855Lnet/minecraft/server/MinecraftServer;method_3855()Lcom/mojang/datafixers/DataFixer;official ayLnet/minecraft/server/MinecraftServer;ay()Lcom/mojang/datafixers/DataFixer;named getDataFixerLnet/minecraft/server/MinecraftServer;getDataFixer()Lcom/mojang/datafixers/DataFixer;
-
getSpawnRadius
- Mappings:
Namespace Name Mixin selector intermediary method_3829Lnet/minecraft/server/MinecraftServer;method_3829(Lnet/minecraft/class_3218;)Iofficial aLnet/minecraft/server/MinecraftServer;a(Laif;)Inamed getSpawnRadiusLnet/minecraft/server/MinecraftServer;getSpawnRadius(Lnet/minecraft/server/world/ServerWorld;)I
-
getAdvancementLoader
- Mappings:
Namespace Name Mixin selector intermediary method_3851Lnet/minecraft/server/MinecraftServer;method_3851()Lnet/minecraft/class_2989;official azLnet/minecraft/server/MinecraftServer;az()Ladc;named getAdvancementLoaderLnet/minecraft/server/MinecraftServer;getAdvancementLoader()Lnet/minecraft/server/ServerAdvancementLoader;
-
getCommandFunctionManager
- Mappings:
Namespace Name Mixin selector intermediary method_3740Lnet/minecraft/server/MinecraftServer;method_3740()Lnet/minecraft/class_2991;official aALnet/minecraft/server/MinecraftServer;aA()Lade;named getCommandFunctionManagerLnet/minecraft/server/MinecraftServer;getCommandFunctionManager()Lnet/minecraft/server/function/CommandFunctionManager;
-
reloadResources
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 intermediary method_29439Lnet/minecraft/server/MinecraftServer;method_29439(Ljava/util/Collection;)Ljava/util/concurrent/CompletableFuture;official aLnet/minecraft/server/MinecraftServer;a(Ljava/util/Collection;)Ljava/util/concurrent/CompletableFuture;named reloadResourcesLnet/minecraft/server/MinecraftServer;reloadResources(Ljava/util/Collection;)Ljava/util/concurrent/CompletableFuture;
-
loadDataPacks
public static DataConfiguration loadDataPacks(ResourcePackManager resourcePackManager, DataPackSettings dataPackSettings, boolean safeMode, FeatureSet enabledFeatures) - Mappings:
Namespace Name Mixin selector intermediary method_29736Lnet/minecraft/server/MinecraftServer;method_29736(Lnet/minecraft/class_3283;Lnet/minecraft/class_5359;ZLnet/minecraft/class_7699;)Lnet/minecraft/class_7712;official aLnet/minecraft/server/MinecraftServer;a(Laki;Lcly;ZLcau;)Lcnd;named loadDataPacksLnet/minecraft/server/MinecraftServer;loadDataPacks(Lnet/minecraft/resource/ResourcePackManager;Lnet/minecraft/resource/DataPackSettings;ZLnet/minecraft/resource/featuretoggle/FeatureSet;)Lnet/minecraft/resource/DataConfiguration;
-
createDataPackSettings
- Mappings:
Namespace Name Mixin selector intermediary method_29735Lnet/minecraft/server/MinecraftServer;method_29735(Lnet/minecraft/class_3283;)Lnet/minecraft/class_5359;official aLnet/minecraft/server/MinecraftServer;a(Laki;)Lcly;named createDataPackSettingsLnet/minecraft/server/MinecraftServer;createDataPackSettings(Lnet/minecraft/resource/ResourcePackManager;)Lnet/minecraft/resource/DataPackSettings;
-
kickNonWhitelistedPlayers
- Mappings:
Namespace Name Mixin selector intermediary method_3728Lnet/minecraft/server/MinecraftServer;method_3728(Lnet/minecraft/class_2168;)Vofficial aLnet/minecraft/server/MinecraftServer;a(Lds;)Vnamed kickNonWhitelistedPlayersLnet/minecraft/server/MinecraftServer;kickNonWhitelistedPlayers(Lnet/minecraft/server/command/ServerCommandSource;)V
-
getDataPackManager
- Mappings:
Namespace Name Mixin selector intermediary method_3836Lnet/minecraft/server/MinecraftServer;method_3836()Lnet/minecraft/class_3283;official aBLnet/minecraft/server/MinecraftServer;aB()Laki;named getDataPackManagerLnet/minecraft/server/MinecraftServer;getDataPackManager()Lnet/minecraft/resource/ResourcePackManager;
-
getCommandManager
Gets the server's command manager. The command manager is responsible for parsing and dispatching commands.- Mappings:
Namespace Name Mixin selector intermediary method_3734Lnet/minecraft/server/MinecraftServer;method_3734()Lnet/minecraft/class_2170;official aCLnet/minecraft/server/MinecraftServer;aC()Ldt;named getCommandManagerLnet/minecraft/server/MinecraftServer;getCommandManager()Lnet/minecraft/server/command/CommandManager;
-
getCommandSource
Creates a command source which represents this Minecraft server instance.- Mappings:
Namespace Name Mixin selector intermediary method_3739Lnet/minecraft/server/MinecraftServer;method_3739()Lnet/minecraft/class_2168;official aDLnet/minecraft/server/MinecraftServer;aD()Lds;named getCommandSourceLnet/minecraft/server/MinecraftServer;getCommandSource()Lnet/minecraft/server/command/ServerCommandSource;
-
shouldReceiveFeedback
public boolean shouldReceiveFeedback()- Specified by:
shouldReceiveFeedbackin interfaceCommandOutput- Mappings:
Namespace Name Mixin selector intermediary method_9200Lnet/minecraft/class_2165;method_9200()Zofficial e_Ldr;e_()Znamed shouldReceiveFeedbackLnet/minecraft/server/command/CommandOutput;shouldReceiveFeedback()Z
-
shouldTrackOutput
public boolean shouldTrackOutput()- Specified by:
shouldTrackOutputin interfaceCommandOutput- Mappings:
Namespace Name Mixin selector intermediary method_9202Lnet/minecraft/class_2165;method_9202()Zofficial p_Ldr;p_()Znamed shouldTrackOutputLnet/minecraft/server/command/CommandOutput;shouldTrackOutput()Z
-
shouldBroadcastConsoleToOps
public abstract boolean shouldBroadcastConsoleToOps()- Specified by:
shouldBroadcastConsoleToOpsin interfaceCommandOutput- Mappings:
Namespace Name Mixin selector intermediary method_9201Lnet/minecraft/class_2165;method_9201()Zofficial M_Ldr;M_()Znamed shouldBroadcastConsoleToOpsLnet/minecraft/server/command/CommandOutput;shouldBroadcastConsoleToOps()Z
-
getRecipeManager
- Mappings:
Namespace Name Mixin selector intermediary method_3772Lnet/minecraft/server/MinecraftServer;method_3772()Lnet/minecraft/class_1863;official aELnet/minecraft/server/MinecraftServer;aE()Lcjb;named getRecipeManagerLnet/minecraft/server/MinecraftServer;getRecipeManager()Lnet/minecraft/recipe/RecipeManager;
-
getScoreboard
- Mappings:
Namespace Name Mixin selector intermediary method_3845Lnet/minecraft/server/MinecraftServer;method_3845()Lnet/minecraft/class_2995;official aFLnet/minecraft/server/MinecraftServer;aF()Ladg;named getScoreboardLnet/minecraft/server/MinecraftServer;getScoreboard()Lnet/minecraft/scoreboard/ServerScoreboard;
-
getDataCommandStorage
- Mappings:
Namespace Name Mixin selector intermediary method_22827Lnet/minecraft/server/MinecraftServer;method_22827()Lnet/minecraft/class_4565;official aGLnet/minecraft/server/MinecraftServer;aG()Ldyo;named getDataCommandStorageLnet/minecraft/server/MinecraftServer;getDataCommandStorage()Lnet/minecraft/command/DataCommandStorage;
-
getLootManager
- Mappings:
Namespace Name Mixin selector intermediary method_3857Lnet/minecraft/server/MinecraftServer;method_3857()Lnet/minecraft/class_60;official aHLnet/minecraft/server/MinecraftServer;aH()Ldzk;named getLootManagerLnet/minecraft/server/MinecraftServer;getLootManager()Lnet/minecraft/loot/LootManager;
-
getGameRules
- Mappings:
Namespace Name Mixin selector intermediary method_3767Lnet/minecraft/server/MinecraftServer;method_3767()Lnet/minecraft/class_1928;official aILnet/minecraft/server/MinecraftServer;aI()Lcmg;named getGameRulesLnet/minecraft/server/MinecraftServer;getGameRules()Lnet/minecraft/world/GameRules;
-
getBossBarManager
- Mappings:
Namespace Name Mixin selector intermediary method_3837Lnet/minecraft/server/MinecraftServer;method_3837()Lnet/minecraft/class_3004;official aJLnet/minecraft/server/MinecraftServer;aJ()Lado;named getBossBarManagerLnet/minecraft/server/MinecraftServer;getBossBarManager()Lnet/minecraft/entity/boss/BossBarManager;
-
isEnforceWhitelist
public boolean isEnforceWhitelist()- Mappings:
Namespace Name Mixin selector intermediary method_3729Lnet/minecraft/server/MinecraftServer;method_3729()Zofficial aKLnet/minecraft/server/MinecraftServer;aK()Znamed isEnforceWhitelistLnet/minecraft/server/MinecraftServer;isEnforceWhitelist()Z
-
setEnforceWhitelist
public void setEnforceWhitelist(boolean enforceWhitelist) - Mappings:
Namespace Name Mixin selector intermediary method_3731Lnet/minecraft/server/MinecraftServer;method_3731(Z)Vofficial hLnet/minecraft/server/MinecraftServer;h(Z)Vnamed setEnforceWhitelistLnet/minecraft/server/MinecraftServer;setEnforceWhitelist(Z)V
-
getTickTime
public float getTickTime()- Mappings:
Namespace Name Mixin selector intermediary method_3830Lnet/minecraft/server/MinecraftServer;method_3830()Fofficial aLLnet/minecraft/server/MinecraftServer;aL()Fnamed getTickTimeLnet/minecraft/server/MinecraftServer;getTickTime()F
-
getPermissionLevel
public int getPermissionLevel(com.mojang.authlib.GameProfile profile) - Mappings:
Namespace Name Mixin selector intermediary method_3835Lnet/minecraft/server/MinecraftServer;method_3835(Lcom/mojang/authlib/GameProfile;)Iofficial cLnet/minecraft/server/MinecraftServer;c(Lcom/mojang/authlib/GameProfile;)Inamed getPermissionLevelLnet/minecraft/server/MinecraftServer;getPermissionLevel(Lcom/mojang/authlib/GameProfile;)I
-
getMetricsData
- Mappings:
Namespace Name Mixin selector intermediary method_15876Lnet/minecraft/server/MinecraftServer;method_15876()Lnet/minecraft/class_3517;official aMLnet/minecraft/server/MinecraftServer;aM()Laoo;named getMetricsDataLnet/minecraft/server/MinecraftServer;getMetricsData()Lnet/minecraft/util/MetricsData;
-
getProfiler
- Mappings:
Namespace Name Mixin selector intermediary method_16044Lnet/minecraft/server/MinecraftServer;method_16044()Lnet/minecraft/class_3695;official aNLnet/minecraft/server/MinecraftServer;aN()Lbam;named getProfilerLnet/minecraft/server/MinecraftServer;getProfiler()Lnet/minecraft/util/profiler/Profiler;
-
isHost
public abstract boolean isHost(com.mojang.authlib.GameProfile profile) - Mappings:
Namespace Name Mixin selector intermediary method_19466Lnet/minecraft/server/MinecraftServer;method_19466(Lcom/mojang/authlib/GameProfile;)Zofficial aLnet/minecraft/server/MinecraftServer;a(Lcom/mojang/authlib/GameProfile;)Znamed isHostLnet/minecraft/server/MinecraftServer;isHost(Lcom/mojang/authlib/GameProfile;)Z
-
dumpProperties
- Throws:
IOException- Mappings:
Namespace Name Mixin selector intermediary method_37113Lnet/minecraft/server/MinecraftServer;method_37113(Ljava/nio/file/Path;)Vofficial aLnet/minecraft/server/MinecraftServer;a(Ljava/nio/file/Path;)Vnamed dumpPropertiesLnet/minecraft/server/MinecraftServer;dumpProperties(Ljava/nio/file/Path;)V
-
dump
- Mappings:
Namespace Name Mixin selector intermediary method_21613Lnet/minecraft/server/MinecraftServer;method_21613(Ljava/nio/file/Path;)Vofficial bLnet/minecraft/server/MinecraftServer;b(Ljava/nio/file/Path;)Vnamed dumpLnet/minecraft/server/MinecraftServer;dump(Ljava/nio/file/Path;)V
-
dumpStats
- Throws:
IOException- Mappings:
Namespace Name Mixin selector intermediary method_21692Lnet/minecraft/server/MinecraftServer;method_21692(Ljava/nio/file/Path;)Vofficial cLnet/minecraft/server/MinecraftServer;c(Ljava/nio/file/Path;)Vnamed dumpStatsLnet/minecraft/server/MinecraftServer;dumpStats(Ljava/nio/file/Path;)V
-
dumpGamerules
- Throws:
IOException- Mappings:
Namespace Name Mixin selector intermediary method_21615Lnet/minecraft/server/MinecraftServer;method_21615(Ljava/nio/file/Path;)Vofficial dLnet/minecraft/server/MinecraftServer;d(Ljava/nio/file/Path;)Vnamed dumpGamerulesLnet/minecraft/server/MinecraftServer;dumpGamerules(Ljava/nio/file/Path;)V
-
dumpClasspath
- Throws:
IOException- Mappings:
Namespace Name Mixin selector intermediary method_21616Lnet/minecraft/server/MinecraftServer;method_21616(Ljava/nio/file/Path;)Vofficial eLnet/minecraft/server/MinecraftServer;e(Ljava/nio/file/Path;)Vnamed dumpClasspathLnet/minecraft/server/MinecraftServer;dumpClasspath(Ljava/nio/file/Path;)V
-
dumpThreads
- Throws:
IOException- Mappings:
Namespace Name Mixin selector intermediary method_21713Lnet/minecraft/server/MinecraftServer;method_21713(Ljava/nio/file/Path;)Vofficial fLnet/minecraft/server/MinecraftServer;f(Ljava/nio/file/Path;)Vnamed dumpThreadsLnet/minecraft/server/MinecraftServer;dumpThreads(Ljava/nio/file/Path;)V
-
dumpNativeModules
- Throws:
IOException- Mappings:
Namespace Name Mixin selector intermediary method_38584Lnet/minecraft/server/MinecraftServer;method_38584(Ljava/nio/file/Path;)Vofficial gLnet/minecraft/server/MinecraftServer;g(Ljava/nio/file/Path;)Vnamed dumpNativeModulesLnet/minecraft/server/MinecraftServer;dumpNativeModules(Ljava/nio/file/Path;)V
-
startTickMetrics
private void startTickMetrics()- Mappings:
Namespace Name Mixin selector intermediary method_24487Lnet/minecraft/server/MinecraftServer;method_24487()Vofficial btLnet/minecraft/server/MinecraftServer;bt()Vnamed startTickMetricsLnet/minecraft/server/MinecraftServer;startTickMetrics()V
-
endTickMetrics
private void endTickMetrics()- Mappings:
Namespace Name Mixin selector intermediary method_24490Lnet/minecraft/server/MinecraftServer;method_24490()Vofficial buLnet/minecraft/server/MinecraftServer;bu()Vnamed endTickMetricsLnet/minecraft/server/MinecraftServer;endTickMetrics()V
-
isRecorderActive
public boolean isRecorderActive()- Mappings:
Namespace Name Mixin selector intermediary method_37321Lnet/minecraft/server/MinecraftServer;method_37321()Zofficial aOLnet/minecraft/server/MinecraftServer;aO()Znamed isRecorderActiveLnet/minecraft/server/MinecraftServer;isRecorderActive()Z
-
setupRecorder
- Mappings:
Namespace Name Mixin selector intermediary method_37320Lnet/minecraft/server/MinecraftServer;method_37320(Ljava/util/function/Consumer;Ljava/util/function/Consumer;)Vofficial aLnet/minecraft/server/MinecraftServer;a(Ljava/util/function/Consumer;Ljava/util/function/Consumer;)Vnamed setupRecorderLnet/minecraft/server/MinecraftServer;setupRecorder(Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V
-
resetRecorder
public void resetRecorder()- Mappings:
Namespace Name Mixin selector intermediary method_37322Lnet/minecraft/server/MinecraftServer;method_37322()Vofficial aPLnet/minecraft/server/MinecraftServer;aP()Vnamed resetRecorderLnet/minecraft/server/MinecraftServer;resetRecorder()V
-
stopRecorder
public void stopRecorder()- Mappings:
Namespace Name Mixin selector intermediary method_37323Lnet/minecraft/server/MinecraftServer;method_37323()Vofficial aQLnet/minecraft/server/MinecraftServer;aQ()Vnamed stopRecorderLnet/minecraft/server/MinecraftServer;stopRecorder()V
-
forceStopRecorder
public void forceStopRecorder()- Mappings:
Namespace Name Mixin selector intermediary method_42062Lnet/minecraft/server/MinecraftServer;method_42062()Vofficial aRLnet/minecraft/server/MinecraftServer;aR()Vnamed forceStopRecorderLnet/minecraft/server/MinecraftServer;forceStopRecorder()V
-
getSavePath
- Mappings:
Namespace Name Mixin selector intermediary method_27050Lnet/minecraft/server/MinecraftServer;method_27050(Lnet/minecraft/class_5218;)Ljava/nio/file/Path;official aLnet/minecraft/server/MinecraftServer;a(Ldyt;)Ljava/nio/file/Path;named getSavePathLnet/minecraft/server/MinecraftServer;getSavePath(Lnet/minecraft/util/WorldSavePath;)Ljava/nio/file/Path;
-
syncChunkWrites
public boolean syncChunkWrites()- Mappings:
Namespace Name Mixin selector intermediary method_27051Lnet/minecraft/server/MinecraftServer;method_27051()Zofficial aSLnet/minecraft/server/MinecraftServer;aS()Znamed syncChunkWritesLnet/minecraft/server/MinecraftServer;syncChunkWrites()Z
-
getStructureTemplateManager
- Mappings:
Namespace Name Mixin selector intermediary method_27727Lnet/minecraft/server/MinecraftServer;method_27727()Lnet/minecraft/class_3485;official aTLnet/minecraft/server/MinecraftServer;aT()Ldvr;named getStructureTemplateManagerLnet/minecraft/server/MinecraftServer;getStructureTemplateManager()Lnet/minecraft/structure/StructureTemplateManager;
-
getSaveProperties
- Mappings:
Namespace Name Mixin selector intermediary method_27728Lnet/minecraft/server/MinecraftServer;method_27728()Lnet/minecraft/class_5219;official aULnet/minecraft/server/MinecraftServer;aU()Ldzb;named getSavePropertiesLnet/minecraft/server/MinecraftServer;getSaveProperties()Lnet/minecraft/world/SaveProperties;
-
getRegistryManager
- Mappings:
Namespace Name Mixin selector intermediary method_30611Lnet/minecraft/server/MinecraftServer;method_30611()Lnet/minecraft/class_5455$class_6890;official aVLnet/minecraft/server/MinecraftServer;aV()Lhs$b;named getRegistryManagerLnet/minecraft/server/MinecraftServer;getRegistryManager()Lnet/minecraft/registry/DynamicRegistryManager$Immutable;
-
getCombinedDynamicRegistries
- Mappings:
Namespace Name Mixin selector intermediary method_46221Lnet/minecraft/server/MinecraftServer;method_46221()Lnet/minecraft/class_7780;official aWLnet/minecraft/server/MinecraftServer;aW()Lhl;named getCombinedDynamicRegistriesLnet/minecraft/server/MinecraftServer;getCombinedDynamicRegistries()Lnet/minecraft/registry/CombinedDynamicRegistries;
-
createFilterer
- Mappings:
Namespace Name Mixin selector intermediary method_31371Lnet/minecraft/server/MinecraftServer;method_31371(Lnet/minecraft/class_3222;)Lnet/minecraft/class_5513;official aLnet/minecraft/server/MinecraftServer;a(Laig;)Lajd;named createFiltererLnet/minecraft/server/MinecraftServer;createFilterer(Lnet/minecraft/server/network/ServerPlayerEntity;)Lnet/minecraft/server/filter/TextStream;
-
getPlayerInteractionManager
- Mappings:
Namespace Name Mixin selector intermediary method_32816Lnet/minecraft/server/MinecraftServer;method_32816(Lnet/minecraft/class_3222;)Lnet/minecraft/class_3225;official bLnet/minecraft/server/MinecraftServer;b(Laig;)Laih;named getPlayerInteractionManagerLnet/minecraft/server/MinecraftServer;getPlayerInteractionManager(Lnet/minecraft/server/network/ServerPlayerEntity;)Lnet/minecraft/server/network/ServerPlayerInteractionManager;
-
getForcedGameMode
Returns the game mode a player should be set to when connecting to the server, ornullif none is set.- Mappings:
Namespace Name Mixin selector intermediary method_3761Lnet/minecraft/server/MinecraftServer;method_3761()Lnet/minecraft/class_1934;official aXLnet/minecraft/server/MinecraftServer;aX()Lcmh;named getForcedGameModeLnet/minecraft/server/MinecraftServer;getForcedGameMode()Lnet/minecraft/world/GameMode;
-
getResourceManager
- Mappings:
Namespace Name Mixin selector intermediary method_34864Lnet/minecraft/server/MinecraftServer;method_34864()Lnet/minecraft/class_3300;official aYLnet/minecraft/server/MinecraftServer;aY()Lakx;named getResourceManagerLnet/minecraft/server/MinecraftServer;getResourceManager()Lnet/minecraft/resource/ResourceManager;
-
isSaving
public boolean isSaving()- Mappings:
Namespace Name Mixin selector intermediary method_39219Lnet/minecraft/server/MinecraftServer;method_39219()Zofficial aZLnet/minecraft/server/MinecraftServer;aZ()Znamed isSavingLnet/minecraft/server/MinecraftServer;isSaving()Z
-
isDebugRunning
public boolean isDebugRunning()- Mappings:
Namespace Name Mixin selector intermediary method_24488Lnet/minecraft/server/MinecraftServer;method_24488()Zofficial baLnet/minecraft/server/MinecraftServer;ba()Znamed isDebugRunningLnet/minecraft/server/MinecraftServer;isDebugRunning()Z
-
startDebug
public void startDebug()- Mappings:
Namespace Name Mixin selector intermediary method_3832Lnet/minecraft/server/MinecraftServer;method_3832()Vofficial bbLnet/minecraft/server/MinecraftServer;bb()Vnamed startDebugLnet/minecraft/server/MinecraftServer;startDebug()V
-
stopDebug
- Mappings:
Namespace Name Mixin selector intermediary method_24489Lnet/minecraft/server/MinecraftServer;method_24489()Lnet/minecraft/class_3696;official bcLnet/minecraft/server/MinecraftServer;bc()Lbal;named stopDebugLnet/minecraft/server/MinecraftServer;stopDebug()Lnet/minecraft/util/profiler/ProfileResult;
-
getMaxChainedNeighborUpdates
public int getMaxChainedNeighborUpdates()- Mappings:
Namespace Name Mixin selector intermediary method_41239Lnet/minecraft/server/MinecraftServer;method_41239()Iofficial bdLnet/minecraft/server/MinecraftServer;bd()Inamed getMaxChainedNeighborUpdatesLnet/minecraft/server/MinecraftServer;getMaxChainedNeighborUpdates()I
-
logChatMessage
public void logChatMessage(Text message, MessageType.Parameters params, @Nullable @Nullable String prefix) - Mappings:
Namespace Name Mixin selector intermediary method_43614Lnet/minecraft/server/MinecraftServer;method_43614(Lnet/minecraft/class_2561;Lnet/minecraft/class_2556$class_7602;Ljava/lang/String;)Vofficial aLnet/minecraft/server/MinecraftServer;a(Lsw;Lss$a;Ljava/lang/String;)Vnamed logChatMessageLnet/minecraft/server/MinecraftServer;logChatMessage(Lnet/minecraft/text/Text;Lnet/minecraft/network/message/MessageType$Parameters;Ljava/lang/String;)V
-
getMessageDecorator
Returns the message decorator used by the server.- Returns:
- the message decorator used by the server
- See Also:
- Mappings:
Namespace Name Mixin selector intermediary method_43929Lnet/minecraft/server/MinecraftServer;method_43929()Lnet/minecraft/class_7492;official beLnet/minecraft/server/MinecraftServer;be()Lsr;named getMessageDecoratorLnet/minecraft/server/MinecraftServer;getMessageDecorator()Lnet/minecraft/network/message/MessageDecorator;
-