Package net.minecraft.server.integrated
Class IntegratedServer
java.lang.Object
net.minecraft.server.MinecraftServer
net.minecraft.server.integrated.IntegratedServer
- All Implemented Interfaces:
Runnable,CommandSource,Snoopable,ThreadExecutor
- Mappings:
Namespace Name official cchintermediary net/minecraft/class_601named net/minecraft/server/integrated/IntegratedServer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MinecraftClientprivate final LevelInfoprivate static final Loggerprivate booleanprivate LanServerPingerprivate booleanFields inherited from class net.minecraft.server.MinecraftServer
field_3858, lastTickLengths, profiler, progress, progressType, provider, proxy, queue, USER_CACHE_FILE, worlds -
Constructor Summary
ConstructorsConstructorDescriptionIntegratedServer(MinecraftClient minecraftClient, String string, String string2, LevelInfo levelInfo, com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService yggdrasilAuthenticationService, com.mojang.authlib.minecraft.MinecraftSessionService minecraftSessionService, com.mojang.authlib.GameProfileRepository gameProfileRepository, UserCache userCache) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSnooperInfo(Snooper snooper) booleanprotected CommandManagerintbooleanbooleanbooleanbooleanbooleanvoidvoidmethod_2999(GameMode gameMode) method_3000(GameMode gameMode, boolean bool) populateCrashReport(CrashReport report) protected voidsaveWorlds(boolean silent) protected voidsetCrashReport(CrashReport report) voidsetDifficulty(Difficulty difficulty) protected booleanprotected voidprotected voidsetupWorld(String world, String worldName, long seed, LevelGeneratorType generatorType, String generatorOptions) booleanbooleanbooleanvoidvoidMethods inherited from class net.minecraft.server.MinecraftServer
addSnooper, addTickable, canUseCommand, enableProfiler, execute, exit, forcePlayerSampleUpdate, getBlockPos, getCommandManager, getCurrentPlayerCount, getEntity, getEntity, getFile, getGameProfileRepo, getKeyPair, getLevelName, getMaxPlayerCount, getMaxWorldBorderRadius, getMinecraftServer, getNetworkCompressionThreshold, getNetworkIo, getPlayerIdleTimeout, getPlayerManager, getPlayerNames, getPos, getProfiles, getProxy, getResourcePackHash, getResourcePackUrl, getSaveStorage, getServerIp, getServerMetadata, getServerModName, getServerMotd, getServerName, getServerOperation, getServerPort, getServerStartTime, getSessionService, getSnooper, getSpawnProtectionRadius, getThread, getTicks, getTimeMillis, getTranslatedName, getUserCache, getUserName, getVersion, getWorld, getWorld, getWorldHeight, hasGameDir, hasGui, info, isDebuggingEnabled, isDemo, isFlightEnabled, isLoading, isMonsterSpawningEnabled, isNetherAllowed, isOnlineMode, isOnThread, isPvpEnabled, isRunning, isSinglePlayer, isSpawnProtected, isStopped, loadResourcePack, log, logError, logProgress, main, method_10815, method_12834, method_12835, method_12836, method_12837, method_12838, method_13912, method_13913, method_6344, prepareWorlds, run, save, sendCommandFeedback, sendMessage, setDemo, setFlightEnabled, setForceGameMode, setForceWorldUpgrade, setKeyPair, setLevelName, setMotd, setOnlineMode, setPlayerIdleTimeout, setPlayerManager, setPvpEnabled, setResourcePack, setServerIp, setServerMeta, setServerName, setServerOperation, setServerPort, setSpawnAnimals, setSpawnNpcs, setStat, setUserName, setWorldHeight, shouldAnnouncePlayerAchievements, shouldForceGameMode, shouldSpawnAnimals, shouldSpawnNpcs, startServerThread, tick, upgradeWorld, warn
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official kLcch;k:Lorg/apache/logging/log4j/Logger;intermediary field_8166Lnet/minecraft/class_601;field_8166:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/server/integrated/IntegratedServer;LOGGER:Lorg/apache/logging/log4j/Logger;
-
client
- Mappings:
Namespace Name Mixin selector official lLcch;l:Lbes;intermediary field_2204Lnet/minecraft/class_601;field_2204:Lnet/minecraft/class_1600;named clientLnet/minecraft/server/integrated/IntegratedServer;client:Lnet/minecraft/client/MinecraftClient;
-
levelInfo
- Mappings:
Namespace Name Mixin selector official mLcch;m:Lajv;intermediary field_2205Lnet/minecraft/class_601;field_2205:Lnet/minecraft/class_1156;named levelInfoLnet/minecraft/server/integrated/IntegratedServer;levelInfo:Lnet/minecraft/world/level/LevelInfo;
-
paused
private boolean paused- Mappings:
Namespace Name Mixin selector official nLcch;n:Zintermediary field_2207Lnet/minecraft/class_601;field_2207:Znamed pausedLnet/minecraft/server/integrated/IntegratedServer;paused:Z
-
published
private boolean published- Mappings:
Namespace Name Mixin selector official oLcch;o:Zintermediary field_2208Lnet/minecraft/class_601;field_2208:Znamed publishedLnet/minecraft/server/integrated/IntegratedServer;published:Z
-
pinger
- Mappings:
Namespace Name Mixin selector official pLcch;p:Lccl;intermediary field_2209Lnet/minecraft/class_601;field_2209:Lnet/minecraft/class_609;named pingerLnet/minecraft/server/integrated/IntegratedServer;pinger:Lnet/minecraft/server/LanServerPinger;
-
-
Constructor Details
-
IntegratedServer
public IntegratedServer(MinecraftClient minecraftClient, String string, String string2, LevelInfo levelInfo, com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService yggdrasilAuthenticationService, com.mojang.authlib.minecraft.MinecraftSessionService minecraftSessionService, com.mojang.authlib.GameProfileRepository gameProfileRepository, UserCache userCache)
-
-
Method Details
-
createCommandManager
- Overrides:
createCommandManagerin classMinecraftServer- Mappings:
Namespace Name Mixin selector official iLnet/minecraft/server/MinecraftServer;i()Lbd;intermediary method_10824Lnet/minecraft/server/MinecraftServer;method_10824()Lnet/minecraft/class_765;named createCommandManagerLnet/minecraft/server/MinecraftServer;createCommandManager()Lnet/minecraft/server/command/CommandManager;
-
setupWorld
protected void setupWorld(String world, String worldName, long seed, LevelGeneratorType generatorType, String generatorOptions) - Overrides:
setupWorldin classMinecraftServer- Mappings:
Namespace Name Mixin selector official aLnet/minecraft/server/MinecraftServer;a(Ljava/lang/String;Ljava/lang/String;JLajx;Ljava/lang/String;)Vintermediary method_2995Lnet/minecraft/server/MinecraftServer;method_2995(Ljava/lang/String;Ljava/lang/String;JLnet/minecraft/class_1160;Ljava/lang/String;)Vnamed setupWorldLnet/minecraft/server/MinecraftServer;setupWorld(Ljava/lang/String;Ljava/lang/String;JLnet/minecraft/world/level/LevelGeneratorType;Ljava/lang/String;)V
-
setupServer
- Specified by:
setupServerin classMinecraftServer- Throws:
IOException- Mappings:
Namespace Name Mixin selector official jLnet/minecraft/server/MinecraftServer;j()Zintermediary method_3011Lnet/minecraft/server/MinecraftServer;method_3011()Znamed setupServerLnet/minecraft/server/MinecraftServer;setupServer()Z
-
setupWorld
protected void setupWorld()- Overrides:
setupWorldin classMinecraftServer- Mappings:
Namespace Name Mixin selector official CLnet/minecraft/server/MinecraftServer;C()Vintermediary method_3044Lnet/minecraft/server/MinecraftServer;method_3044()Vnamed setupWorldLnet/minecraft/server/MinecraftServer;setupWorld()V
-
shouldGenerateStructures
public boolean shouldGenerateStructures()- Specified by:
shouldGenerateStructuresin classMinecraftServer- Mappings:
Namespace Name Mixin selector official mLnet/minecraft/server/MinecraftServer;m()Zintermediary method_3023Lnet/minecraft/server/MinecraftServer;method_3023()Znamed shouldGenerateStructuresLnet/minecraft/server/MinecraftServer;shouldGenerateStructures()Z
-
method_3026
- Specified by:
method_3026in classMinecraftServer- Mappings:
Namespace Name Mixin selector official nLnet/minecraft/server/MinecraftServer;n()Lajq;intermediary method_3026Lnet/minecraft/server/MinecraftServer;method_3026()Lnet/minecraft/class_1157;named method_3026Lnet/minecraft/server/MinecraftServer;method_3026()Lnet/minecraft/world/GameMode;
-
getDefaultDifficulty
- Specified by:
getDefaultDifficultyin classMinecraftServer- Mappings:
Namespace Name Mixin selector official oLnet/minecraft/server/MinecraftServer;o()Lrg;intermediary method_3029Lnet/minecraft/server/MinecraftServer;method_3029()Lnet/minecraft/class_2151;named getDefaultDifficultyLnet/minecraft/server/MinecraftServer;getDefaultDifficulty()Lnet/minecraft/world/Difficulty;
-
isHardcore
public boolean isHardcore()- Specified by:
isHardcorein classMinecraftServer- Mappings:
Namespace Name Mixin selector official pLnet/minecraft/server/MinecraftServer;p()Zintermediary method_3031Lnet/minecraft/server/MinecraftServer;method_3031()Znamed isHardcoreLnet/minecraft/server/MinecraftServer;isHardcore()Z
-
shouldBroadcastRconToOps
public boolean shouldBroadcastRconToOps()- Specified by:
shouldBroadcastRconToOpsin classMinecraftServer- Mappings:
Namespace Name Mixin selector official rLnet/minecraft/server/MinecraftServer;r()Zintermediary method_8164Lnet/minecraft/server/MinecraftServer;method_8164()Znamed shouldBroadcastRconToOpsLnet/minecraft/server/MinecraftServer;shouldBroadcastRconToOps()Z
-
shouldBroadcastConsoleToIps
public boolean shouldBroadcastConsoleToIps()- Specified by:
shouldBroadcastConsoleToIpsin classMinecraftServer- Mappings:
Namespace Name Mixin selector official sLnet/minecraft/server/MinecraftServer;s()Zintermediary method_10825Lnet/minecraft/server/MinecraftServer;method_10825()Znamed shouldBroadcastConsoleToIpsLnet/minecraft/server/MinecraftServer;shouldBroadcastConsoleToIps()Z
-
saveWorlds
protected void saveWorlds(boolean silent) - Overrides:
saveWorldsin classMinecraftServer- Mappings:
Namespace Name Mixin selector official aLnet/minecraft/server/MinecraftServer;a(Z)Vintermediary method_3001Lnet/minecraft/server/MinecraftServer;method_3001(Z)Vnamed saveWorldsLnet/minecraft/server/MinecraftServer;saveWorlds(Z)V
-
getRunDirectory
- Overrides:
getRunDirectoryin classMinecraftServer- Mappings:
Namespace Name Mixin selector official ALnet/minecraft/server/MinecraftServer;A()Ljava/io/File;intermediary method_3040Lnet/minecraft/server/MinecraftServer;method_3040()Ljava/io/File;named getRunDirectoryLnet/minecraft/server/MinecraftServer;getRunDirectory()Ljava/io/File;
-
isDedicated
public boolean isDedicated()- Specified by:
isDedicatedin classMinecraftServer- Mappings:
Namespace Name Mixin selector official aaLnet/minecraft/server/MinecraftServer;aa()Zintermediary method_2983Lnet/minecraft/server/MinecraftServer;method_2983()Znamed isDedicatedLnet/minecraft/server/MinecraftServer;isDedicated()Z
-
isUsingNativeTransport
public boolean isUsingNativeTransport()- Specified by:
isUsingNativeTransportin classMinecraftServer- Mappings:
Namespace Name Mixin selector official afLnet/minecraft/server/MinecraftServer;af()Zintermediary method_10823Lnet/minecraft/server/MinecraftServer;method_10823()Znamed isUsingNativeTransportLnet/minecraft/server/MinecraftServer;isUsingNativeTransport()Z
-
setCrashReport
- Overrides:
setCrashReportin classMinecraftServer- Mappings:
Namespace Name Mixin selector official aLnet/minecraft/server/MinecraftServer;a(Lb;)Vintermediary method_2992Lnet/minecraft/server/MinecraftServer;method_2992(Lnet/minecraft/class_1;)Vnamed setCrashReportLnet/minecraft/server/MinecraftServer;setCrashReport(Lnet/minecraft/util/crash/CrashReport;)V
-
populateCrashReport
- Overrides:
populateCrashReportin classMinecraftServer- Mappings:
Namespace Name Mixin selector official bLnet/minecraft/server/MinecraftServer;b(Lb;)Lb;intermediary method_3013Lnet/minecraft/server/MinecraftServer;method_3013(Lnet/minecraft/class_1;)Lnet/minecraft/class_1;named populateCrashReportLnet/minecraft/server/MinecraftServer;populateCrashReport(Lnet/minecraft/util/crash/CrashReport;)Lnet/minecraft/util/crash/CrashReport;
-
setDifficulty
- Overrides:
setDifficultyin classMinecraftServer- Mappings:
Namespace Name Mixin selector official aLnet/minecraft/server/MinecraftServer;a(Lrg;)Vintermediary method_8155Lnet/minecraft/server/MinecraftServer;method_8155(Lnet/minecraft/class_2151;)Vnamed setDifficultyLnet/minecraft/server/MinecraftServer;setDifficulty(Lnet/minecraft/world/Difficulty;)V
-
addSnooperInfo
- Specified by:
addSnooperInfoin interfaceSnoopable- Overrides:
addSnooperInfoin classMinecraftServer- Mappings:
Namespace Name Mixin selector official aLrt;a(Lrs;)Vintermediary method_2410Lnet/minecraft/class_855;method_2410(Lnet/minecraft/class_853;)Vnamed addSnooperInfoLnet/minecraft/util/snooper/Snoopable;addSnooperInfo(Lnet/minecraft/util/snooper/Snooper;)V
-
isSnooperEnabled
public boolean isSnooperEnabled()- Specified by:
isSnooperEnabledin interfaceSnoopable- Overrides:
isSnooperEnabledin classMinecraftServer- Mappings:
Namespace Name Mixin selector official ZLrt;Z()Zintermediary method_2409Lnet/minecraft/class_855;method_2409()Znamed isSnooperEnabledLnet/minecraft/util/snooper/Snoopable;isSnooperEnabled()Z
-
method_3000
- Specified by:
method_3000in classMinecraftServer- Mappings:
Namespace Name Mixin selector official aLnet/minecraft/server/MinecraftServer;a(Lajq;Z)Ljava/lang/String;intermediary method_3000Lnet/minecraft/server/MinecraftServer;method_3000(Lnet/minecraft/class_1157;Z)Ljava/lang/String;named method_3000Lnet/minecraft/server/MinecraftServer;method_3000(Lnet/minecraft/world/GameMode;Z)Ljava/lang/String;
-
stopServer
public void stopServer()- Overrides:
stopServerin classMinecraftServer- Mappings:
Namespace Name Mixin selector official uLnet/minecraft/server/MinecraftServer;u()Vintermediary method_3034Lnet/minecraft/server/MinecraftServer;method_3034()Vnamed stopServerLnet/minecraft/server/MinecraftServer;stopServer()V
-
stopRunning
public void stopRunning()- Overrides:
stopRunningin classMinecraftServer- Mappings:
Namespace Name Mixin selector official xLnet/minecraft/server/MinecraftServer;x()Vintermediary method_3038Lnet/minecraft/server/MinecraftServer;method_3038()Vnamed stopRunningLnet/minecraft/server/MinecraftServer;stopRunning()V
-
isPublished
public boolean isPublished()- Mappings:
Namespace Name Mixin selector official aLcch;a()Zintermediary method_1638Lnet/minecraft/class_601;method_1638()Znamed isPublishedLnet/minecraft/server/integrated/IntegratedServer;isPublished()Z
-
method_2999
- Overrides:
method_2999in classMinecraftServer- Mappings:
Namespace Name Mixin selector official aLnet/minecraft/server/MinecraftServer;a(Lajq;)Vintermediary method_2999Lnet/minecraft/server/MinecraftServer;method_2999(Lnet/minecraft/class_1157;)Vnamed method_2999Lnet/minecraft/server/MinecraftServer;method_2999(Lnet/minecraft/world/GameMode;)V
-
areCommandBlocksEnabled
public boolean areCommandBlocksEnabled()- Specified by:
areCommandBlocksEnabledin classMinecraftServer- Mappings:
Namespace Name Mixin selector official aiLnet/minecraft/server/MinecraftServer;ai()Zintermediary method_4499Lnet/minecraft/server/MinecraftServer;method_4499()Znamed areCommandBlocksEnabledLnet/minecraft/server/MinecraftServer;areCommandBlocksEnabled()Z
-
getOpPermissionLevel
public int getOpPermissionLevel()- Specified by:
getOpPermissionLevelin classMinecraftServer- Mappings:
Namespace Name Mixin selector official qLnet/minecraft/server/MinecraftServer;q()Iintermediary method_6085Lnet/minecraft/server/MinecraftServer;method_6085()Inamed getOpPermissionLevelLnet/minecraft/server/MinecraftServer;getOpPermissionLevel()I
-
method_12535
public void method_12535()- Mappings:
Namespace Name Mixin selector official bLcch;b()Vintermediary method_12535Lnet/minecraft/class_601;method_12535()Vnamed method_12535Lnet/minecraft/server/integrated/IntegratedServer;method_12535()V
-